Class: Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupChildInfo
- Inherits:
-
Object
- Object
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupChildInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb
Overview
The unique identifier (ID) of a management group.
Instance Attribute Summary collapse
-
#child_id ⇒ String
subscription).
-
#child_type ⇒ Enum
‘Enrollment’, ‘Department’, ‘Account’, ‘Subscription’.
-
#display_name ⇒ String
The friendly name of the child resource.
-
#tenant_id ⇒ Optional
resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementGroupChildInfo 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_child_info.rb', line 22 def child_id @child_id end |
#child_type ⇒ Enum
‘Enrollment’, ‘Department’, ‘Account’, ‘Subscription’
17 18 19 |
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 17 def child_type @child_type 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_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_child_info.rb', line 29 def tenant_id @tenant_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementGroupChildInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb', line 36 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' } }, tenant_id: { client_side_validation: true, required: false, serialized_name: 'tenantId', type: { name: 'String' } } } } } end |