Class: Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo
- Inherits:
-
Object
- Object
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo
- 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
-
#child_id ⇒ String
subscription).
-
#child_type ⇒ Enum
include: ‘Enrollment’, ‘Department’, ‘Account’, ‘Subscription’.
-
#children ⇒ Array<ManagementGroupRecursiveChildInfo>
children.
-
#display_name ⇒ String
The friendly name of the child resource.
-
#tenant_id ⇒ Optional
resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementGroupRecursiveChildInfo class as Ruby Hash.
Instance Attribute Details
#child_id ⇒ String
subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
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_type ⇒ Enum
include: ‘Enrollment’, ‘Department’, ‘Account’, ‘Subscription’
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 |
#children ⇒ Array<ManagementGroupRecursiveChildInfo>
children.
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_name ⇒ String
Returns 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_id ⇒ Optional
resource.
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
.mapper ⇒ Object
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 |