Class: Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ConnectorDefinition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb

Overview

The Connector model definition

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#billing_modelConnectorBillingModel

values include: ‘trial’, ‘autoUpgrade’, ‘premium’, ‘expired’

Returns:



69
70
71
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 69

def billing_model
  @billing_model
end

#collection_infoConnectorCollectionInfo

Returns Collection information.

Returns:



75
76
77
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 75

def collection_info
  @collection_info
end

#created_onDateTime

Returns Connector definition creation datetime.

Returns:

  • (DateTime)

    Connector definition creation datetime



49
50
51
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 49

def created_on
  @created_on
end

#credentials_keyString

Returns Credentials authentication key (eg AWS ARN).

Returns:

  • (String)

    Credentials authentication key (eg AWS ARN)



39
40
41
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 39

def credentials_key
  @credentials_key
end

#credentials_secretString

Returns Credentials secret (eg AWS ExternalId).

Returns:

  • (String)

    Credentials secret (eg AWS ExternalId)



42
43
44
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 42

def credentials_secret
  @credentials_secret
end

#days_trial_remainingInteger

Returns Number of days remaining of trial.

Returns:

  • (Integer)

    Number of days remaining of trial



72
73
74
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 72

def days_trial_remaining
  @days_trial_remaining
end

#default_management_group_idString

Returns Default ManagementGroupId.

Returns:

  • (String)

    Default ManagementGroupId



62
63
64
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 62

def default_management_group_id
  @default_management_group_id
end

#display_nameString

Returns Connector DisplayName.

Returns:

  • (String)

    Connector DisplayName



28
29
30
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 28

def display_name
  @display_name
end

#external_billing_account_idString

Returns Associated ExternalBillingAccountId.

Returns:

  • (String)

    Associated ExternalBillingAccountId



59
60
61
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 59

def 
  @external_billing_account_id
end

#idString

Returns Connector id.

Returns:

  • (String)

    Connector id



19
20
21
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 19

def id
  @id
end

#kindString

Returns Connector kind (eg aws).

Returns:

  • (String)

    Connector kind (eg aws)



16
17
18
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 16

def kind
  @kind
end

#modified_onDateTime

Returns Connector last modified datetime.

Returns:

  • (DateTime)

    Connector last modified datetime



52
53
54
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 52

def modified_on
  @modified_on
end

#nameString

Returns Connector name.

Returns:

  • (String)

    Connector name



22
23
24
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 22

def name
  @name
end

#provider_billing_account_display_nameString

defined on the external provider

Returns:

  • (String)

    The display name of the providerBillingAccountId as



36
37
38
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 36

def 
  @provider_billing_account_display_name
end

#provider_billing_account_idString

credentials (eg AWS Consolidated account number)

Returns:

  • (String)

    Connector providerBillingAccountId, determined from



32
33
34
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 32

def 
  @provider_billing_account_id
end

#report_idString

report name, defined with Daily and with Resources)

Returns:

  • (String)

    Identifying source report. (For AWS this is a CUR



46
47
48
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 46

def report_id
  @report_id
end

#statusConnectorStatus

‘active’, ‘error’, ‘expired’, ‘warning’

Returns:



56
57
58
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 56

def status
  @status
end

#subscription_idString

Returns Billing SubscriptionId.

Returns:

  • (String)

    Billing SubscriptionId



65
66
67
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 65

def subscription_id
  @subscription_id
end

#typeString

Returns Connector type.

Returns:

  • (String)

    Connector type



25
26
27
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 25

def type
  @type
end

Class Method Details

.mapperObject

Mapper for ConnectorDefinition class as Ruby Hash. This will be used for serialization/deserialization.



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb', line 82

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectorDefinition',
    type: {
      name: 'Composite',
      class_name: 'ConnectorDefinition',
      model_properties: {
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        provider_billing_account_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerBillingAccountId',
          type: {
            name: 'String'
          }
        },
        provider_billing_account_display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerBillingAccountDisplayName',
          type: {
            name: 'String'
          }
        },
        credentials_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.credentialsKey',
          type: {
            name: 'String'
          }
        },
        credentials_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.credentialsSecret',
          type: {
            name: 'String'
          }
        },
        report_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.reportId',
          type: {
            name: 'String'
          }
        },
        created_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdOn',
          type: {
            name: 'DateTime'
          }
        },
        modified_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.modifiedOn',
          type: {
            name: 'DateTime'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        external_billing_account_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.externalBillingAccountId',
          type: {
            name: 'String'
          }
        },
        default_management_group_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.defaultManagementGroupId',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subscriptionId',
          type: {
            name: 'String'
          }
        },
        billing_model: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.billingModel',
          type: {
            name: 'String'
          }
        },
        days_trial_remaining: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.daysTrialRemaining',
          type: {
            name: 'Number'
          }
        },
        collection_info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.collectionInfo',
          type: {
            name: 'Composite',
            class_name: 'ConnectorCollectionInfo'
          }
        }
      }
    }
  }
end