Class: Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb

Overview

The child information of a management group used during creation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#childrenArray<CreateManagementGroupChildInfo>

Returns The list of children.

Returns:



38
39
40
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 38

def children
  @children
end

#display_nameString

Returns The friendly name of the child resource.

Returns:

  • (String)

    The friendly name of the child resource.



31
32
33
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 31

def display_name
  @display_name
end

#idString

(management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000

Returns:

  • (String)

    The fully qualified ID for the child resource



25
26
27
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 25

def id
  @id
end

#nameString

Returns The name of the child entity.

Returns:

  • (String)

    The name of the child entity.



28
29
30
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 28

def name
  @name
end

#rolesArray<String>

management group.

Returns:

  • (Array<String>)

    The roles definitions associated with the



35
36
37
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 35

def roles
  @roles
end

#typeEnum

type which includes provider namespace (e.g. /providers/Microsoft.Management/managementGroups). Possible values include: ‘/providers/Microsoft.Management/managementGroups’, ‘/subscriptions’

Returns:

  • (Enum)

    The type of child resource. The fully qualified resource



20
21
22
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CreateManagementGroupChildInfo',
    type: {
      name: 'Composite',
      class_name: 'CreateManagementGroupChildInfo',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        roles: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'roles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        children: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'children',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'CreateManagementGroupChildInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'CreateManagementGroupChildInfo'
                }
            }
          }
        }
      }
    }
  }
end