class Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantIdDescription

Tenant Id information.

Attributes

country[RW]

@return [String] Country/region name of the address for the tenant.

country_code[RW]

@return [String] Country/region abbreviation for the tenant.

display_name[RW]

@return [String] The display name of the tenant.

domains[RW]

@return [Array<String>] The list of domains for the tenant.

id[RW]

@return [String] The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.

tenant_category[RW]

@return [TenantCategory] Category of the tenant. Possible values include: 'Home', 'ProjectedBy', 'ManagedBy'

tenant_id[RW]

@return [String] The tenant ID. For example, 00000000-0000-0000-0000-000000000000.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TenantIdDescription',
    type: {
      name: 'Composite',
      class_name: 'TenantIdDescription',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        tenant_category: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantCategory',
          type: {
            name: 'Enum',
            module: 'TenantCategory'
          }
        },
        country: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'country',
          type: {
            name: 'String'
          }
        },
        country_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'countryCode',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        domains: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'domains',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end