Class: Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ExternalSubscriptionDefinition

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#collection_infoConnectorCollectionInfo

Returns Collection information.

Returns:



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_nameString

Returns ExternalSubscription DisplayName.

Returns:

  • (String)

    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_idString

Returns Parent ExternalBillingAccountId.

Returns:

  • (String)

    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
end

#idString

Returns ExternalSubscription id.

Returns:

  • (String)

    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

#kindString

Returns ExternalSubscription kind (eg aws).

Returns:

  • (String)

    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_idString

Returns Assigned ManagementGroupId.

Returns:

  • (String)

    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

#nameString

Returns ExternalSubscription name.

Returns:

  • (String)

    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_idString

Returns Provider AccountId (eg AWS Linked Account number).

Returns:

  • (String)

    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
end

#provider_billing_account_idString

number)

Returns:

  • (String)

    Provider BillingAccountId (eg AWS Consolidated Account



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
end

#typeString

Returns ExternalSubscription type.

Returns:

  • (String)

    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

.mapperObject

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