azure_mgmt_resources_management 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_resources_management.rb +7 -0
- data/lib/generated/azure_mgmt_resources_management.rb +43 -0
- data/lib/generated/azure_mgmt_resources_management/management_groups.rb +349 -0
- data/lib/generated/azure_mgmt_resources_management/management_groups_api.rb +134 -0
- data/lib/generated/azure_mgmt_resources_management/models/error_details.rb +64 -0
- data/lib/generated/azure_mgmt_resources_management/models/error_response.rb +45 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group.rb +102 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +78 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_details_properties.rb +87 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_info.rb +91 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb +97 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_with_children.rb +120 -0
- data/lib/generated/azure_mgmt_resources_management/models/management_group_with_hierarchy.rb +121 -0
- data/lib/generated/azure_mgmt_resources_management/models/operation.rb +56 -0
- data/lib/generated/azure_mgmt_resources_management/models/operation_display.rb +68 -0
- data/lib/generated/azure_mgmt_resources_management/models/operation_list_result.rb +99 -0
- data/lib/generated/azure_mgmt_resources_management/models/parent_group_info.rb +55 -0
- data/lib/generated/azure_mgmt_resources_management/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_resources_management/operations.rb +217 -0
- data/lib/generated/azure_mgmt_resources_management/version.rb +8 -0
- metadata +135 -0
@@ -0,0 +1,64 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The details of the error.
|
10
|
+
#
|
11
|
+
class ErrorDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] One of a server-defined set of error codes.
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] A human-readable representation of the error.
|
19
|
+
attr_accessor :message
|
20
|
+
|
21
|
+
# @return [String] (Optional) The target of the error.
|
22
|
+
attr_accessor :target
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ErrorDetails class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ErrorDetails',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ErrorDetails',
|
36
|
+
model_properties: {
|
37
|
+
code: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'code',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
message: {
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'message',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
target: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'target',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The error object.
|
10
|
+
#
|
11
|
+
class ErrorResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ErrorDetails] Error.
|
16
|
+
attr_accessor :error
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'ErrorResponse',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'ErrorResponse',
|
30
|
+
model_properties: {
|
31
|
+
error: {
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'error',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ErrorDetails'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The management group details.
|
10
|
+
#
|
11
|
+
class ManagementGroup
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the management group. E.g.
|
16
|
+
# /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The type of the resource. E.g.
|
20
|
+
# /providers/Microsoft.Management/managementGroups
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
# @return The name of the management group. E.g.
|
24
|
+
# 20000000-0000-0000-0000-000000000000
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# @return The AAD Tenant ID associated with the management group. E.g.
|
28
|
+
# 10000000-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 [ManagementGroupDetailsProperties] Details.
|
35
|
+
attr_accessor :details
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for ManagementGroup class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'ManagementGroup',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'ManagementGroup',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'id',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
name: {
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'name',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
tenant_id: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'properties.tenantId',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
display_name: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'properties.displayName',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
details: {
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'properties.details',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'ManagementGroupDetailsProperties'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The unique identifier (ID) of a management group.
|
10
|
+
#
|
11
|
+
class ManagementGroupChildInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Enum] Managment Group Child Info. Possible values include:
|
16
|
+
# 'Enrollment', 'Department', 'Account', 'Subscription'
|
17
|
+
attr_accessor :child_type
|
18
|
+
|
19
|
+
# @return [String] The ID of the child resource (management group or
|
20
|
+
# subscription). E.g.
|
21
|
+
# /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
|
22
|
+
attr_accessor :child_id
|
23
|
+
|
24
|
+
# @return [String] The friendly name of the child resource.
|
25
|
+
attr_accessor :display_name
|
26
|
+
|
27
|
+
# @return (Optional) The AAD Tenant ID associated with the child
|
28
|
+
# resource.
|
29
|
+
attr_accessor :tenant_id
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for ManagementGroupChildInfo class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'ManagementGroupChildInfo',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ManagementGroupChildInfo',
|
43
|
+
model_properties: {
|
44
|
+
child_type: {
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'childType',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
child_id: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'childId',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
display_name: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'displayName',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
tenant_id: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'tenantId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
data/lib/generated/azure_mgmt_resources_management/models/management_group_details_properties.rb
ADDED
@@ -0,0 +1,87 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The details properties of a management group.
|
10
|
+
#
|
11
|
+
class ManagementGroupDetailsProperties
|
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 [ParentGroupInfo] Parent.
|
26
|
+
attr_accessor :parent
|
27
|
+
|
28
|
+
# @return [Enum] Management Group Type. Possible values include:
|
29
|
+
# 'Enrollment', 'Department', 'Account', 'Subscription'
|
30
|
+
attr_accessor :management_group_type
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for ManagementGroupDetailsProperties class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'ManagementGroupDetailsProperties',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ManagementGroupDetailsProperties',
|
44
|
+
model_properties: {
|
45
|
+
version: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'version',
|
48
|
+
type: {
|
49
|
+
name: 'Double'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
updated_time: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'updatedTime',
|
55
|
+
type: {
|
56
|
+
name: 'DateTime'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
updated_by: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'updatedBy',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
parent: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'parent',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'ParentGroupInfo'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
management_group_type: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'managementGroupType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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::ARM::ResourcesManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The management group.
|
10
|
+
#
|
11
|
+
class ManagementGroupInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the management group. E.g.
|
16
|
+
# /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The type of the resource. E.g.
|
20
|
+
# /providers/Microsoft.Management/managementGroups
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
# @return The name of the management group. E.g.
|
24
|
+
# 20000000-0000-0000-0000-000000000000
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# @return The AAD Tenant ID associated with the management group. E.g.
|
28
|
+
# 10000000-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
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ManagementGroupInfo class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ManagementGroupInfo',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ManagementGroupInfo',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'id',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'type',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
name: {
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
tenant_id: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'properties.tenantId',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
display_name: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'properties.displayName',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|