Class: Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb

Overview

Tenant Id information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

/tenants/00000000-0000-0000-0000-000000000000.

Returns:

  • (String)

    The fully qualified ID of the tenant. For example,



17
18
19
# File 'lib/2016-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 17

def id
  @id
end

#tenant_idString

00000000-0000-0000-0000-000000000000.

Returns:

  • (String)

    The tenant ID. For example,



21
22
23
# File 'lib/2016-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 21

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/2016-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 28

def self.mapper()
  {
    required: false,
    serialized_name: 'TenantIdDescription',
    type: {
      name: 'Composite',
      class_name: 'TenantIdDescription',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end