azure_mgmt_resources_management 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +7 -6
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +28 -28
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +7 -6
- data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/{create_group_request.rb → create_management_group_request.rb} +4 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management.rb +56 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/entities.rb +257 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +209 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +793 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +254 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_request.rb +60 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_result.rb +83 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb +131 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_details.rb +84 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_request.rb +153 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_parent_group_info.rb +72 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_hierarchy_item.rb +118 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_info.rb +121 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_list_result.rb +99 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_parent_group_info.rb +48 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +69 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +150 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +125 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_display_properties.rb +83 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_results.rb +86 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +70 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/patch_management_group_request.rb +59 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/reason.rb +16 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/type.rb +15 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/module_definition.rb +9 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/operations.rb +219 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management.rb +58 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/entities.rb +381 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +202 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +799 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +401 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_request.rb +60 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_result.rb +83 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb +131 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_details.rb +84 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_request.rb +153 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_parent_group_info.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_hierarchy_item.rb +118 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_info.rb +210 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_list_result.rb +111 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_parent_group_info.rb +48 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +69 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +150 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +125 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_display_properties.rb +83 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_results.rb +86 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +70 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/patch_management_group_request.rb +59 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/reason.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/status.rb +20 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/tenant_backfill_status_result.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/type.rb +15 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/module_definition.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/operations.rb +218 -0
- data/lib/azure_mgmt_resources_management.rb +3 -1
- data/lib/profiles/latest/modules/resourcesmanagement_profile_module.rb +99 -37
- data/lib/version.rb +1 -1
- metadata +72 -6
@@ -0,0 +1,84 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ResourcesManagement::Mgmt::V2018_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The details of a management group used during creation.
|
10
|
+
#
|
11
|
+
class CreateManagementGroupDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Float] The version number of the object.
|
16
|
+
attr_accessor :version
|
17
|
+
|
18
|
+
# @return [DateTime] The date and time when this object was last updated.
|
19
|
+
attr_accessor :updated_time
|
20
|
+
|
21
|
+
# @return [String] The identity of the principal or process that updated
|
22
|
+
# the object.
|
23
|
+
attr_accessor :updated_by
|
24
|
+
|
25
|
+
# @return [CreateParentGroupInfo] Parent.
|
26
|
+
attr_accessor :parent
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for CreateManagementGroupDetails class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'CreateManagementGroupDetails',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'CreateManagementGroupDetails',
|
41
|
+
model_properties: {
|
42
|
+
version: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'version',
|
47
|
+
type: {
|
48
|
+
name: 'Double'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
updated_time: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'updatedTime',
|
56
|
+
type: {
|
57
|
+
name: 'DateTime'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
updated_by: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'updatedBy',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
parent: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'parent',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'CreateParentGroupInfo'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,153 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ResourcesManagement::Mgmt::V2018_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Management group creation parameters.
|
10
|
+
#
|
11
|
+
class CreateManagementGroupRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified ID for the management group. For
|
16
|
+
# example,
|
17
|
+
# /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The type of the resource. For example,
|
21
|
+
# /providers/Microsoft.Management/managementGroups
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] The name of the management group. For example,
|
25
|
+
# 00000000-0000-0000-0000-000000000000
|
26
|
+
attr_accessor :name
|
27
|
+
|
28
|
+
# @return [String] The AAD Tenant ID associated with the management
|
29
|
+
# group. For example, 00000000-0000-0000-0000-000000000000
|
30
|
+
attr_accessor :tenant_id
|
31
|
+
|
32
|
+
# @return [String] The friendly name of the management group. If no value
|
33
|
+
# is passed then this field will be set to the groupId.
|
34
|
+
attr_accessor :display_name
|
35
|
+
|
36
|
+
# @return [Array<String>] The roles definitions associated with the
|
37
|
+
# management group.
|
38
|
+
attr_accessor :roles
|
39
|
+
|
40
|
+
# @return [CreateManagementGroupDetails] Details.
|
41
|
+
attr_accessor :details
|
42
|
+
|
43
|
+
# @return [Array<CreateManagementGroupChildInfo>] The list of children.
|
44
|
+
attr_accessor :children
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for CreateManagementGroupRequest class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'CreateManagementGroupRequest',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'CreateManagementGroupRequest',
|
59
|
+
model_properties: {
|
60
|
+
id: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'id',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
type: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'type',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
name: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'name',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
tenant_id: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'properties.tenantId',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
display_name: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'properties.displayName',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
roles: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
read_only: true,
|
107
|
+
serialized_name: 'properties.roles',
|
108
|
+
type: {
|
109
|
+
name: 'Sequence',
|
110
|
+
element: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'StringElementType',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
},
|
120
|
+
details: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'properties.details',
|
124
|
+
type: {
|
125
|
+
name: 'Composite',
|
126
|
+
class_name: 'CreateManagementGroupDetails'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
children: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'properties.children',
|
134
|
+
type: {
|
135
|
+
name: 'Sequence',
|
136
|
+
element: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'CreateManagementGroupChildInfoElementType',
|
140
|
+
type: {
|
141
|
+
name: 'Composite',
|
142
|
+
class_name: 'CreateManagementGroupChildInfo'
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ResourcesManagement::Mgmt::V2018_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# (Optional) The ID of the parent management group used during creation.
|
10
|
+
#
|
11
|
+
class CreateParentGroupInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified ID for the parent management
|
16
|
+
# group. For example,
|
17
|
+
# /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The name of the parent management group
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [String] The friendly name of the parent management group.
|
24
|
+
attr_accessor :display_name
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for CreateParentGroupInfo class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'CreateParentGroupInfo',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'CreateParentGroupInfo',
|
39
|
+
model_properties: {
|
40
|
+
id: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
display_name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'displayName',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ResourcesManagement::Mgmt::V2018_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The management group details for the hierarchy view.
|
10
|
+
#
|
11
|
+
class EntityHierarchyItem
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified ID for the management group. For
|
16
|
+
# example,
|
17
|
+
# /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The type of the resource. For example,
|
21
|
+
# /providers/Microsoft.Management/managementGroups
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] The name of the management group. For example,
|
25
|
+
# 00000000-0000-0000-0000-000000000000
|
26
|
+
attr_accessor :name
|
27
|
+
|
28
|
+
# @return [String] The friendly name of the management group.
|
29
|
+
attr_accessor :display_name
|
30
|
+
|
31
|
+
# @return [Enum] Permissions. Possible values include: 'noaccess',
|
32
|
+
# 'view', 'edit', 'delete'
|
33
|
+
attr_accessor :permissions
|
34
|
+
|
35
|
+
# @return [Array<EntityHierarchyItem>] The list of children.
|
36
|
+
attr_accessor :children
|
37
|
+
|
38
|
+
|
39
|
+
#
|
40
|
+
# Mapper for EntityHierarchyItem class as Ruby Hash.
|
41
|
+
# This will be used for serialization/deserialization.
|
42
|
+
#
|
43
|
+
def self.mapper()
|
44
|
+
{
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'EntityHierarchyItem',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'EntityHierarchyItem',
|
51
|
+
model_properties: {
|
52
|
+
id: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'id',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'type',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
name: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'name',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
display_name: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.displayName',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
permissions: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'properties.permissions',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
children: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'properties.children',
|
99
|
+
type: {
|
100
|
+
name: 'Sequence',
|
101
|
+
element: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'EntityHierarchyItemElementType',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
class_name: 'EntityHierarchyItem'
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ResourcesManagement::Mgmt::V2018_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The entity.
|
10
|
+
#
|
11
|
+
class EntityInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified ID for the entity. For example,
|
16
|
+
# /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The type of the resource. For example,
|
20
|
+
# /providers/Microsoft.Management/managementGroups
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
# @return [String] The name of the entity. For example,
|
24
|
+
# 00000000-0000-0000-0000-000000000000
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# @return [String] The AAD Tenant ID associated with the entity. For
|
28
|
+
# example, 00000000-0000-0000-0000-000000000000
|
29
|
+
attr_accessor :tenant_id
|
30
|
+
|
31
|
+
# @return [String] The friendly name of the management group.
|
32
|
+
attr_accessor :display_name
|
33
|
+
|
34
|
+
# @return [EntityParentGroupInfo] Parent.
|
35
|
+
attr_accessor :parent
|
36
|
+
|
37
|
+
# @return [Enum] Permissions. Possible values include: 'noaccess',
|
38
|
+
# 'view', 'edit', 'delete'
|
39
|
+
attr_accessor :permissions
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for EntityInfo class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'EntityInfo',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'EntityInfo',
|
54
|
+
model_properties: {
|
55
|
+
id: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'id',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
type: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'type',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
name: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'name',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
tenant_id: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.tenantId',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
display_name: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'properties.displayName',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
parent: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.parent',
|
102
|
+
type: {
|
103
|
+
name: 'Composite',
|
104
|
+
class_name: 'EntityParentGroupInfo'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
permissions: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.permissions',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|