azure_mgmt_mixedreality 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +1 -1
- data/lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +1 -1
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality.rb +54 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +243 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/account_key_regenerate_request.rb +47 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/account_keys.rb +59 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb +75 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb +58 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb +70 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/identity.rb +72 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/name_availability.rb +16 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb +16 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation.rb +58 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation_display.rb +80 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation_page.rb +101 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/plan.rb +95 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/proxy_resource.rb +63 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account.rb +123 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account_identity.rb +63 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account_page.rb +101 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource.rb +83 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_identity_type.rb +15 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb +191 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_identity.rb +64 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_plan.rb +76 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_sku.rb +77 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/sku.rb +99 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/sku_tier.rb +18 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/tracked_resource.rb +92 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/module_definition.rb +9 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/operations.rb +218 -0
- data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/remote_rendering_accounts.rb +1066 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality.rb +44 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +243 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/account_key_regenerate_request.rb +47 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/account_keys.rb +59 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb +75 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb +58 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb +70 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/name_availability.rb +16 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb +16 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation.rb +58 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation_display.rb +80 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation_page.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/proxy_resource.rb +63 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/resource.rb +83 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/spatial_anchors_account.rb +111 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_page.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/tracked_resource.rb +92 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/module_definition.rb +9 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/operations.rb +218 -0
- data/lib/2020-05-01/generated/azure_mgmt_mixedreality/spatial_anchors_accounts.rb +1066 -0
- data/lib/azure_mgmt_mixedreality.rb +2 -0
- data/lib/profiles/latest/modules/mixedreality_profile_module.rb +100 -56
- data/lib/version.rb +1 -1
- metadata +54 -4
@@ -0,0 +1,83 @@
|
|
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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The name of the resource
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [String] The type of the resource. Ex-
|
24
|
+
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
|
28
|
+
# @return [String] the name of the resource group of the resource.
|
29
|
+
def resource_group
|
30
|
+
unless self.id.nil?
|
31
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
32
|
+
groups.captures[0].strip if groups
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for Resource class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'Resource',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'Resource',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_identity_type.rb
ADDED
@@ -0,0 +1,15 @@
|
|
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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResourceIdentityType
|
10
|
+
#
|
11
|
+
module ResourceIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,191 @@
|
|
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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition containing the full set of allowed
|
10
|
+
# properties for a resource. Except properties bag, there cannot be a top
|
11
|
+
# level property outside of this set.
|
12
|
+
#
|
13
|
+
class ResourceModelWithAllowedPropertySet
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
18
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] The name of the resource
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# @return [String] The type of the resource. Ex-
|
25
|
+
# Microsoft.Compute/virtualMachines or
|
26
|
+
# Microsoft.Storage/storageAccounts..
|
27
|
+
attr_accessor :type
|
28
|
+
|
29
|
+
# @return [String] The geo-location where the resource lives
|
30
|
+
attr_accessor :location
|
31
|
+
|
32
|
+
# @return [String] The fully qualified resource ID of the resource that
|
33
|
+
# manages this resource. Indicates if this resource is managed by another
|
34
|
+
# azure resource. If this is present, complete mode deployment will not
|
35
|
+
# delete the resource if it is removed from the template since it is
|
36
|
+
# managed by another resource.
|
37
|
+
attr_accessor :managed_by
|
38
|
+
|
39
|
+
# @return [String] Metadata used by portal/tooling/etc to render
|
40
|
+
# different UX experiences for resources of the same type; e.g. ApiApps
|
41
|
+
# are a kind of Microsoft.Web/sites type. If supported, the resource
|
42
|
+
# provider must validate and persist this value.
|
43
|
+
attr_accessor :kind
|
44
|
+
|
45
|
+
# @return [String] The etag field is *not* required. If it is provided in
|
46
|
+
# the response body, it must also be provided as a header per the normal
|
47
|
+
# etag convention. Entity tags are used for comparing two or more
|
48
|
+
# entities from the same requested resource. HTTP/1.1 uses entity tags in
|
49
|
+
# the etag (section 14.19), If-Match (section 14.24), If-None-Match
|
50
|
+
# (section 14.26), and If-Range (section 14.27) header fields.
|
51
|
+
attr_accessor :etag
|
52
|
+
|
53
|
+
# @return [Hash{String => String}] Resource tags.
|
54
|
+
attr_accessor :tags
|
55
|
+
|
56
|
+
# @return [ResourceModelWithAllowedPropertySetIdentity]
|
57
|
+
attr_accessor :identity
|
58
|
+
|
59
|
+
# @return [ResourceModelWithAllowedPropertySetSku]
|
60
|
+
attr_accessor :sku
|
61
|
+
|
62
|
+
# @return [ResourceModelWithAllowedPropertySetPlan]
|
63
|
+
attr_accessor :plan
|
64
|
+
|
65
|
+
|
66
|
+
#
|
67
|
+
# Mapper for ResourceModelWithAllowedPropertySet class as Ruby Hash.
|
68
|
+
# This will be used for serialization/deserialization.
|
69
|
+
#
|
70
|
+
def self.mapper()
|
71
|
+
{
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'ResourceModelWithAllowedPropertySet',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'ResourceModelWithAllowedPropertySet',
|
78
|
+
model_properties: {
|
79
|
+
id: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
read_only: true,
|
83
|
+
serialized_name: 'id',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
name: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'name',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
type: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'type',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
location: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'location',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
managed_by: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'managedBy',
|
118
|
+
type: {
|
119
|
+
name: 'String'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
kind: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'kind',
|
126
|
+
constraints: {
|
127
|
+
Pattern: '^[-\w\._,\(\)]+$'
|
128
|
+
},
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
etag: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
read_only: true,
|
137
|
+
serialized_name: 'etag',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
tags: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'tags',
|
146
|
+
type: {
|
147
|
+
name: 'Dictionary',
|
148
|
+
value: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'StringElementType',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
},
|
158
|
+
identity: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'identity',
|
162
|
+
type: {
|
163
|
+
name: 'Composite',
|
164
|
+
class_name: 'ResourceModelWithAllowedPropertySetIdentity'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
sku: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'sku',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'ResourceModelWithAllowedPropertySetSku'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
plan: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
serialized_name: 'plan',
|
180
|
+
type: {
|
181
|
+
name: 'Composite',
|
182
|
+
class_name: 'ResourceModelWithAllowedPropertySetPlan'
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
@@ -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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ResourceModelWithAllowedPropertySetIdentity < Identity
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ResourceModelWithAllowedPropertySetIdentity class as Ruby
|
19
|
+
# Hash.
|
20
|
+
# This will be used for serialization/deserialization.
|
21
|
+
#
|
22
|
+
def self.mapper()
|
23
|
+
{
|
24
|
+
client_side_validation: true,
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'ResourceModelWithAllowedPropertySet_identity',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'ResourceModelWithAllowedPropertySetIdentity',
|
30
|
+
model_properties: {
|
31
|
+
principal_id: {
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
read_only: true,
|
35
|
+
serialized_name: 'principalId',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
},
|
40
|
+
tenant_id: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'tenantId',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
type: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'Enum',
|
55
|
+
module: 'ResourceIdentityType'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,76 @@
|
|
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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ResourceModelWithAllowedPropertySetPlan < Plan
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ResourceModelWithAllowedPropertySetPlan class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ResourceModelWithAllowedPropertySet_plan',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ResourceModelWithAllowedPropertySetPlan',
|
29
|
+
model_properties: {
|
30
|
+
name: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: true,
|
33
|
+
serialized_name: 'name',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
publisher: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'publisher',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
product: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'product',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
promotion_code: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'promotionCode',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
version: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'version',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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::MixedReality::Mgmt::V2020_04_06_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ResourceModelWithAllowedPropertySetSku < Sku
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ResourceModelWithAllowedPropertySetSku class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ResourceModelWithAllowedPropertySet_sku',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ResourceModelWithAllowedPropertySetSku',
|
29
|
+
model_properties: {
|
30
|
+
name: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: true,
|
33
|
+
serialized_name: 'name',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
tier: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'tier',
|
42
|
+
type: {
|
43
|
+
name: 'Enum',
|
44
|
+
module: 'SkuTier'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
size: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'size',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
family: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'family',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
capacity: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'capacity',
|
67
|
+
type: {
|
68
|
+
name: 'Number'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|