Class: Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
- Inherits:
-
Object
- Object
- Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb
Overview
The child information of a management group.
Instance Attribute Summary collapse
-
#child_id ⇒ String
(management group or subscription).
-
#child_type ⇒ Enum
‘ManagementGroup’, ‘Subscription’.
-
#children ⇒ Array<ManagementGroupChildInfo>
The list of children.
-
#display_name ⇒ String
The friendly name of the child resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementGroupChildInfo class as Ruby Hash.
Instance Attribute Details
#child_id ⇒ String
(management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
22 23 24 |
# File 'lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 22 def child_id @child_id end |
#child_type ⇒ Enum
‘ManagementGroup’, ‘Subscription’
17 18 19 |
# File 'lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 17 def child_type @child_type end |
#children ⇒ Array<ManagementGroupChildInfo>
Returns The list of children.
28 29 30 |
# File 'lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 28 def children @children end |
#display_name ⇒ String
Returns The friendly name of the child resource.
25 26 27 |
# File 'lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 25 def display_name @display_name end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementGroupChildInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementGroupChildInfo', type: { name: 'Composite', class_name: 'ManagementGroupChildInfo', 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' } }, children: { client_side_validation: true, required: false, serialized_name: 'children', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ManagementGroupChildInfoElementType', type: { name: 'Composite', class_name: 'ManagementGroupChildInfo' } } } } } } } end |