Class: Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb

Overview

The unique identifier (ID) of a management group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#child_idString

subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000

Returns:

  • (String)

    The ID of the child resource (management group or



22
23
24
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 22

def child_id
  @child_id
end

#child_typeEnum

include: ‘Enrollment’, ‘Department’, ‘Account’, ‘Subscription’

Returns:

  • (Enum)

    Managment Group Recursive Child Info. Possible values



17
18
19
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 17

def child_type
  @child_type
end

#childrenArray<ManagementGroupRecursiveChildInfo>

children.

Returns:



33
34
35
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 33

def children
  @children
end

#display_nameString

Returns The friendly name of the child resource.

Returns:

  • (String)

    The friendly name of the child resource.



25
26
27
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 25

def display_name
  @display_name
end

#tenant_idOptional

resource.

Returns:

  • (Optional)

    The AAD Tenant ID associated with the child



29
30
31
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 29

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



40
41
42
43
44
45
46
47
48
49
50
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
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementGroupRecursiveChildInfo',
    type: {
      name: 'Composite',
      class_name: 'ManagementGroupRecursiveChildInfo',
      model_properties: {
        child_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'childType',
          type: {
            name: 'String'
          }
        },
        child_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'childId',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        children: {
          client_side_validation: true,
          required: false,
          serialized_name: 'children',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ManagementGroupRecursiveChildInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ManagementGroupRecursiveChildInfo'
                }
            }
          }
        }
      }
    }
  }
end