Class: Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ActiveDirectoryObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/active_directory_object.rb

Overview

The Active Directory Object that will be used for authenticating the token of a container registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#object_idString

Directory Object that will be used for authenticating the token of a container registry.

Returns:

  • (String)

    The user/group/application object ID for Active



19
20
21
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/active_directory_object.rb', line 19

def object_id
  @object_id
end

#tenant_idString

Directory Object that will be used for authenticating the token of a container registry.

Returns:

  • (String)

    The tenant ID of user/group/application object Active



24
25
26
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/active_directory_object.rb', line 24

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



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
56
57
58
59
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/active_directory_object.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActiveDirectoryObject',
    type: {
      name: 'Composite',
      class_name: 'ActiveDirectoryObject',
      model_properties: {
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end