Class: Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ExternalSubscriptionDefinition
- Inherits:
-
Object
- Object
- Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ExternalSubscriptionDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb
Overview
The ExternalSubscription model definition
Instance Attribute Summary collapse
-
#collection_info ⇒ ConnectorCollectionInfo
Collection information.
-
#display_name ⇒ String
ExternalSubscription DisplayName.
-
#external_billing_account_id ⇒ String
Parent ExternalBillingAccountId.
-
#id ⇒ String
ExternalSubscription id.
-
#kind ⇒ String
ExternalSubscription kind (eg aws).
-
#management_group_id ⇒ String
Assigned ManagementGroupId.
-
#name ⇒ String
ExternalSubscription name.
-
#provider_account_id ⇒ String
Provider AccountId (eg AWS Linked Account number).
-
#provider_billing_account_id ⇒ String
number).
-
#type ⇒ String
ExternalSubscription type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExternalSubscriptionDefinition class as Ruby Hash.
Instance Attribute Details
#collection_info ⇒ ConnectorCollectionInfo
Returns Collection information.
44 45 46 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 44 def collection_info @collection_info end |
#display_name ⇒ String
Returns ExternalSubscription DisplayName.
28 29 30 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 28 def display_name @display_name end |
#external_billing_account_id ⇒ String
Returns Parent ExternalBillingAccountId.
41 42 43 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 41 def external_billing_account_id @external_billing_account_id end |
#id ⇒ String
Returns ExternalSubscription id.
16 17 18 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 16 def id @id end |
#kind ⇒ String
Returns ExternalSubscription kind (eg aws).
25 26 27 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 25 def kind @kind end |
#management_group_id ⇒ String
Returns Assigned ManagementGroupId.
31 32 33 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 31 def management_group_id @management_group_id end |
#name ⇒ String
Returns ExternalSubscription name.
19 20 21 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 19 def name @name end |
#provider_account_id ⇒ String
Returns Provider AccountId (eg AWS Linked Account number).
38 39 40 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 38 def provider_account_id @provider_account_id end |
#provider_billing_account_id ⇒ String
number)
35 36 37 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 35 def provider_billing_account_id @provider_billing_account_id end |
#type ⇒ String
Returns ExternalSubscription type.
22 23 24 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ExternalSubscriptionDefinition class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 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 |
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExternalSubscriptionDefinition', type: { name: 'Composite', class_name: 'ExternalSubscriptionDefinition', model_properties: { 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' } }, kind: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, management_group_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.managementGroupId', type: { name: 'String' } }, provider_billing_account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.providerBillingAccountId', type: { name: 'String' } }, provider_account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.providerAccountId', type: { name: 'String' } }, external_billing_account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.externalBillingAccountId', type: { name: 'String' } }, collection_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.collectionInfo', type: { name: 'Composite', class_name: 'ConnectorCollectionInfo' } } } } } end |