Class: Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ConnectorDefinition
- Inherits:
-
Object
- Object
- Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ConnectorDefinition
- 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
-
#billing_model ⇒ ConnectorBillingModel
values include: ‘trial’, ‘autoUpgrade’, ‘premium’, ‘expired’.
-
#collection_info ⇒ ConnectorCollectionInfo
Collection information.
-
#created_on ⇒ DateTime
Connector definition creation datetime.
-
#credentials_key ⇒ String
Credentials authentication key (eg AWS ARN).
-
#credentials_secret ⇒ String
Credentials secret (eg AWS ExternalId).
-
#days_trial_remaining ⇒ Integer
Number of days remaining of trial.
-
#default_management_group_id ⇒ String
Default ManagementGroupId.
-
#display_name ⇒ String
Connector DisplayName.
-
#external_billing_account_id ⇒ String
Associated ExternalBillingAccountId.
-
#id ⇒ String
Connector id.
-
#kind ⇒ String
Connector kind (eg aws).
-
#modified_on ⇒ DateTime
Connector last modified datetime.
-
#name ⇒ String
Connector name.
-
#provider_billing_account_display_name ⇒ String
defined on the external provider.
-
#provider_billing_account_id ⇒ String
credentials (eg AWS Consolidated account number).
-
#report_id ⇒ String
report name, defined with Daily and with Resources).
-
#status ⇒ ConnectorStatus
‘active’, ‘error’, ‘expired’, ‘warning’.
-
#subscription_id ⇒ String
Billing SubscriptionId.
-
#type ⇒ String
Connector type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectorDefinition class as Ruby Hash.
Instance Attribute Details
#billing_model ⇒ ConnectorBillingModel
values include: ‘trial’, ‘autoUpgrade’, ‘premium’, ‘expired’
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_info ⇒ ConnectorCollectionInfo
Returns Collection information.
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_on ⇒ DateTime
Returns 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_key ⇒ String
Returns 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_secret ⇒ String
Returns 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_remaining ⇒ Integer
Returns 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_id ⇒ String
Returns 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_name ⇒ String
Returns 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_id ⇒ String
Returns 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 @external_billing_account_id end |
#id ⇒ String
Returns 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 |
#kind ⇒ String
Returns 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_on ⇒ DateTime
Returns 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 |
#name ⇒ String
Returns 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_name ⇒ String
defined on the external provider
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 @provider_billing_account_display_name end |
#provider_billing_account_id ⇒ String
credentials (eg AWS Consolidated account number)
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 @provider_billing_account_id end |
#report_id ⇒ String
report name, defined with Daily and with Resources)
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 |
#status ⇒ ConnectorStatus
‘active’, ‘error’, ‘expired’, ‘warning’
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_id ⇒ String
Returns 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 |
#type ⇒ String
Returns 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
.mapper ⇒ Object
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 |