azure_mgmt_managed_applications 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliance_definitions.rb +18 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb +23 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb +1 -3
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance.rb +18 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb +4 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition.rb +18 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb +4 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb +4 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb +18 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb +3 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/error_response.rb +4 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/generic_resource.rb +10 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/identity.rb +4 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan.rb +6 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +6 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource.rb +7 -0
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/sku.rb +7 -0
- data/lib/profiles/latest/managedapplications_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -8
- data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69ed6b19e99989a78246ab9a3e4d6ab44ea53af0
|
4
|
+
data.tar.gz: 06f2159baf1b069fcdc3fbeeecbfe91b5dd30778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cb30eb3cdea45cf346d608fcb0621912cb2769255ae7fcae423862d662225e0339494bfdfb6361d865f71cfe15672cd0407e590091cb864d25bff69d43b3ca
|
7
|
+
data.tar.gz: f60f64d3b4ec34e91e973f64b8ca3007f246c0d9133fa453ce8535aa2bffafaab8b29e757f232a86ee0c0348924bae5114dc76259178e5f86015c0074da1979c
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliance_definitions.rb
CHANGED
@@ -68,7 +68,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
68
68
|
#
|
69
69
|
def get_async(resource_group_name, appliance_definition_name, custom_headers = nil)
|
70
70
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
71
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
72
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
71
74
|
fail ArgumentError, 'appliance_definition_name is nil' if appliance_definition_name.nil?
|
75
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_definition_name.nil? && appliance_definition_name.length > 64
|
76
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_definition_name.nil? && appliance_definition_name.length < 3
|
72
77
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
73
78
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
79
|
|
@@ -251,6 +256,9 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
251
256
|
#
|
252
257
|
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
253
258
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
259
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
260
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
261
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
254
262
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
255
263
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
256
264
|
|
@@ -533,7 +541,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
533
541
|
#
|
534
542
|
def begin_delete_async(resource_group_name, appliance_definition_name, custom_headers = nil)
|
535
543
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
544
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
545
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
546
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
536
547
|
fail ArgumentError, 'appliance_definition_name is nil' if appliance_definition_name.nil?
|
548
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_definition_name.nil? && appliance_definition_name.length > 64
|
549
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_definition_name.nil? && appliance_definition_name.length < 3
|
537
550
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
538
551
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
539
552
|
|
@@ -626,7 +639,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
626
639
|
#
|
627
640
|
def begin_create_or_update_async(resource_group_name, appliance_definition_name, parameters, custom_headers = nil)
|
628
641
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
642
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
643
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
644
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
629
645
|
fail ArgumentError, 'appliance_definition_name is nil' if appliance_definition_name.nil?
|
646
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_definition_name.nil? && appliance_definition_name.length > 64
|
647
|
+
fail ArgumentError, "'appliance_definition_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_definition_name.nil? && appliance_definition_name.length < 3
|
630
648
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
631
649
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
632
650
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -65,7 +65,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
65
65
|
#
|
66
66
|
def get_async(resource_group_name, appliance_name, custom_headers = nil)
|
67
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
69
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
70
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
68
71
|
fail ArgumentError, 'appliance_name is nil' if appliance_name.nil?
|
72
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_name.nil? && appliance_name.length > 64
|
73
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_name.nil? && appliance_name.length < 3
|
69
74
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
70
75
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
76
|
|
@@ -256,7 +261,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
256
261
|
#
|
257
262
|
def update_async(resource_group_name, appliance_name, parameters = nil, custom_headers = nil)
|
258
263
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
264
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
265
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
266
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
259
267
|
fail ArgumentError, 'appliance_name is nil' if appliance_name.nil?
|
268
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_name.nil? && appliance_name.length > 64
|
269
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_name.nil? && appliance_name.length < 3
|
260
270
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
261
271
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
262
272
|
|
@@ -356,6 +366,9 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
356
366
|
#
|
357
367
|
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
358
368
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
369
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
370
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
371
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
359
372
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
360
373
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
361
374
|
|
@@ -821,7 +834,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
821
834
|
#
|
822
835
|
def begin_delete_async(resource_group_name, appliance_name, custom_headers = nil)
|
823
836
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
837
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
838
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
839
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
824
840
|
fail ArgumentError, 'appliance_name is nil' if appliance_name.nil?
|
841
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_name.nil? && appliance_name.length > 64
|
842
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_name.nil? && appliance_name.length < 3
|
825
843
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
826
844
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
827
845
|
|
@@ -911,7 +929,12 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
911
929
|
#
|
912
930
|
def begin_create_or_update_async(resource_group_name, appliance_name, parameters, custom_headers = nil)
|
913
931
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
932
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
933
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
934
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
914
935
|
fail ArgumentError, 'appliance_name is nil' if appliance_name.nil?
|
936
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MaxLength': '64'" if !appliance_name.nil? && appliance_name.length > 64
|
937
|
+
fail ArgumentError, "'appliance_name' should satisfy the constraint - 'MinLength': '3'" if !appliance_name.nil? && appliance_name.length < 3
|
915
938
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
916
939
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
917
940
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb
CHANGED
@@ -124,9 +124,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
124
124
|
#
|
125
125
|
def add_telemetry
|
126
126
|
sdk_information = 'azure_mgmt_managed_applications'
|
127
|
-
|
128
|
-
sdk_information = "#{sdk_information}/#{Azure::ManagedApplications::Mgmt::V2016_09_01_preview::VERSION}"
|
129
|
-
end
|
127
|
+
sdk_information = "#{sdk_information}/0.15.2"
|
130
128
|
add_user_agent_information(sdk_information)
|
131
129
|
end
|
132
130
|
end
|
@@ -47,6 +47,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
47
47
|
#
|
48
48
|
def self.mapper()
|
49
49
|
{
|
50
|
+
client_side_validation: true,
|
50
51
|
required: false,
|
51
52
|
serialized_name: 'Appliance',
|
52
53
|
type: {
|
@@ -54,6 +55,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
54
55
|
class_name: 'Appliance',
|
55
56
|
model_properties: {
|
56
57
|
id: {
|
58
|
+
client_side_validation: true,
|
57
59
|
required: false,
|
58
60
|
read_only: true,
|
59
61
|
serialized_name: 'id',
|
@@ -62,6 +64,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
62
64
|
}
|
63
65
|
},
|
64
66
|
name: {
|
67
|
+
client_side_validation: true,
|
65
68
|
required: false,
|
66
69
|
read_only: true,
|
67
70
|
serialized_name: 'name',
|
@@ -70,6 +73,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
70
73
|
}
|
71
74
|
},
|
72
75
|
type: {
|
76
|
+
client_side_validation: true,
|
73
77
|
required: false,
|
74
78
|
read_only: true,
|
75
79
|
serialized_name: 'type',
|
@@ -78,6 +82,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
78
82
|
}
|
79
83
|
},
|
80
84
|
location: {
|
85
|
+
client_side_validation: true,
|
81
86
|
required: false,
|
82
87
|
serialized_name: 'location',
|
83
88
|
type: {
|
@@ -85,11 +90,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
85
90
|
}
|
86
91
|
},
|
87
92
|
tags: {
|
93
|
+
client_side_validation: true,
|
88
94
|
required: false,
|
89
95
|
serialized_name: 'tags',
|
90
96
|
type: {
|
91
97
|
name: 'Dictionary',
|
92
98
|
value: {
|
99
|
+
client_side_validation: true,
|
93
100
|
required: false,
|
94
101
|
serialized_name: 'StringElementType',
|
95
102
|
type: {
|
@@ -99,6 +106,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
99
106
|
}
|
100
107
|
},
|
101
108
|
managed_by: {
|
109
|
+
client_side_validation: true,
|
102
110
|
required: false,
|
103
111
|
serialized_name: 'managedBy',
|
104
112
|
type: {
|
@@ -106,6 +114,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
106
114
|
}
|
107
115
|
},
|
108
116
|
sku: {
|
117
|
+
client_side_validation: true,
|
109
118
|
required: false,
|
110
119
|
serialized_name: 'sku',
|
111
120
|
type: {
|
@@ -114,6 +123,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
114
123
|
}
|
115
124
|
},
|
116
125
|
identity: {
|
126
|
+
client_side_validation: true,
|
117
127
|
required: false,
|
118
128
|
serialized_name: 'identity',
|
119
129
|
type: {
|
@@ -122,6 +132,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
122
132
|
}
|
123
133
|
},
|
124
134
|
managed_resource_group_id: {
|
135
|
+
client_side_validation: true,
|
125
136
|
required: true,
|
126
137
|
serialized_name: 'properties.managedResourceGroupId',
|
127
138
|
type: {
|
@@ -129,6 +140,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
129
140
|
}
|
130
141
|
},
|
131
142
|
appliance_definition_id: {
|
143
|
+
client_side_validation: true,
|
132
144
|
required: false,
|
133
145
|
serialized_name: 'properties.applianceDefinitionId',
|
134
146
|
type: {
|
@@ -136,6 +148,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
136
148
|
}
|
137
149
|
},
|
138
150
|
parameters: {
|
151
|
+
client_side_validation: true,
|
139
152
|
required: false,
|
140
153
|
serialized_name: 'properties.parameters',
|
141
154
|
type: {
|
@@ -143,6 +156,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
143
156
|
}
|
144
157
|
},
|
145
158
|
outputs: {
|
159
|
+
client_side_validation: true,
|
146
160
|
required: false,
|
147
161
|
read_only: true,
|
148
162
|
serialized_name: 'properties.outputs',
|
@@ -151,6 +165,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
151
165
|
}
|
152
166
|
},
|
153
167
|
provisioning_state: {
|
168
|
+
client_side_validation: true,
|
154
169
|
required: false,
|
155
170
|
read_only: true,
|
156
171
|
serialized_name: 'properties.provisioningState',
|
@@ -159,6 +174,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
159
174
|
}
|
160
175
|
},
|
161
176
|
ui_definition_uri: {
|
177
|
+
client_side_validation: true,
|
162
178
|
required: false,
|
163
179
|
serialized_name: 'properties.uiDefinitionUri',
|
164
180
|
type: {
|
@@ -166,6 +182,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
166
182
|
}
|
167
183
|
},
|
168
184
|
plan: {
|
185
|
+
client_side_validation: true,
|
169
186
|
required: false,
|
170
187
|
serialized_name: 'plan',
|
171
188
|
type: {
|
@@ -174,6 +191,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
174
191
|
}
|
175
192
|
},
|
176
193
|
kind: {
|
194
|
+
client_side_validation: true,
|
177
195
|
required: true,
|
178
196
|
serialized_name: 'kind',
|
179
197
|
constraints: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb
CHANGED
@@ -29,6 +29,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
29
29
|
#
|
30
30
|
def self.mapper()
|
31
31
|
{
|
32
|
+
client_side_validation: true,
|
32
33
|
required: false,
|
33
34
|
serialized_name: 'ApplianceArtifact',
|
34
35
|
type: {
|
@@ -36,6 +37,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
36
37
|
class_name: 'ApplianceArtifact',
|
37
38
|
model_properties: {
|
38
39
|
name: {
|
40
|
+
client_side_validation: true,
|
39
41
|
required: false,
|
40
42
|
serialized_name: 'name',
|
41
43
|
type: {
|
@@ -43,6 +45,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
43
45
|
}
|
44
46
|
},
|
45
47
|
uri: {
|
48
|
+
client_side_validation: true,
|
46
49
|
required: false,
|
47
50
|
serialized_name: 'uri',
|
48
51
|
type: {
|
@@ -50,6 +53,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
50
53
|
}
|
51
54
|
},
|
52
55
|
type: {
|
56
|
+
client_side_validation: true,
|
53
57
|
required: false,
|
54
58
|
serialized_name: 'type',
|
55
59
|
type: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition.rb
CHANGED
@@ -42,6 +42,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
42
42
|
#
|
43
43
|
def self.mapper()
|
44
44
|
{
|
45
|
+
client_side_validation: true,
|
45
46
|
required: false,
|
46
47
|
serialized_name: 'ApplianceDefinition',
|
47
48
|
type: {
|
@@ -49,6 +50,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
49
50
|
class_name: 'ApplianceDefinition',
|
50
51
|
model_properties: {
|
51
52
|
id: {
|
53
|
+
client_side_validation: true,
|
52
54
|
required: false,
|
53
55
|
read_only: true,
|
54
56
|
serialized_name: 'id',
|
@@ -57,6 +59,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
57
59
|
}
|
58
60
|
},
|
59
61
|
name: {
|
62
|
+
client_side_validation: true,
|
60
63
|
required: false,
|
61
64
|
read_only: true,
|
62
65
|
serialized_name: 'name',
|
@@ -65,6 +68,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
65
68
|
}
|
66
69
|
},
|
67
70
|
type: {
|
71
|
+
client_side_validation: true,
|
68
72
|
required: false,
|
69
73
|
read_only: true,
|
70
74
|
serialized_name: 'type',
|
@@ -73,6 +77,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
73
77
|
}
|
74
78
|
},
|
75
79
|
location: {
|
80
|
+
client_side_validation: true,
|
76
81
|
required: false,
|
77
82
|
serialized_name: 'location',
|
78
83
|
type: {
|
@@ -80,11 +85,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
80
85
|
}
|
81
86
|
},
|
82
87
|
tags: {
|
88
|
+
client_side_validation: true,
|
83
89
|
required: false,
|
84
90
|
serialized_name: 'tags',
|
85
91
|
type: {
|
86
92
|
name: 'Dictionary',
|
87
93
|
value: {
|
94
|
+
client_side_validation: true,
|
88
95
|
required: false,
|
89
96
|
serialized_name: 'StringElementType',
|
90
97
|
type: {
|
@@ -94,6 +101,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
94
101
|
}
|
95
102
|
},
|
96
103
|
managed_by: {
|
104
|
+
client_side_validation: true,
|
97
105
|
required: false,
|
98
106
|
serialized_name: 'managedBy',
|
99
107
|
type: {
|
@@ -101,6 +109,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
101
109
|
}
|
102
110
|
},
|
103
111
|
sku: {
|
112
|
+
client_side_validation: true,
|
104
113
|
required: false,
|
105
114
|
serialized_name: 'sku',
|
106
115
|
type: {
|
@@ -109,6 +118,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
109
118
|
}
|
110
119
|
},
|
111
120
|
identity: {
|
121
|
+
client_side_validation: true,
|
112
122
|
required: false,
|
113
123
|
serialized_name: 'identity',
|
114
124
|
type: {
|
@@ -117,6 +127,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
117
127
|
}
|
118
128
|
},
|
119
129
|
lock_level: {
|
130
|
+
client_side_validation: true,
|
120
131
|
required: true,
|
121
132
|
serialized_name: 'properties.lockLevel',
|
122
133
|
type: {
|
@@ -125,6 +136,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
125
136
|
}
|
126
137
|
},
|
127
138
|
display_name: {
|
139
|
+
client_side_validation: true,
|
128
140
|
required: false,
|
129
141
|
serialized_name: 'properties.displayName',
|
130
142
|
type: {
|
@@ -132,11 +144,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
132
144
|
}
|
133
145
|
},
|
134
146
|
authorizations: {
|
147
|
+
client_side_validation: true,
|
135
148
|
required: true,
|
136
149
|
serialized_name: 'properties.authorizations',
|
137
150
|
type: {
|
138
151
|
name: 'Sequence',
|
139
152
|
element: {
|
153
|
+
client_side_validation: true,
|
140
154
|
required: false,
|
141
155
|
serialized_name: 'ApplianceProviderAuthorizationElementType',
|
142
156
|
type: {
|
@@ -147,11 +161,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
147
161
|
}
|
148
162
|
},
|
149
163
|
artifacts: {
|
164
|
+
client_side_validation: true,
|
150
165
|
required: false,
|
151
166
|
serialized_name: 'properties.artifacts',
|
152
167
|
type: {
|
153
168
|
name: 'Sequence',
|
154
169
|
element: {
|
170
|
+
client_side_validation: true,
|
155
171
|
required: false,
|
156
172
|
serialized_name: 'ApplianceArtifactElementType',
|
157
173
|
type: {
|
@@ -162,6 +178,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
162
178
|
}
|
163
179
|
},
|
164
180
|
description: {
|
181
|
+
client_side_validation: true,
|
165
182
|
required: false,
|
166
183
|
serialized_name: 'properties.description',
|
167
184
|
type: {
|
@@ -169,6 +186,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
169
186
|
}
|
170
187
|
},
|
171
188
|
package_file_uri: {
|
189
|
+
client_side_validation: true,
|
172
190
|
required: true,
|
173
191
|
serialized_name: 'properties.packageFileUri',
|
174
192
|
type: {
|
@@ -58,6 +58,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
58
58
|
#
|
59
59
|
def self.mapper()
|
60
60
|
{
|
61
|
+
client_side_validation: true,
|
61
62
|
required: false,
|
62
63
|
serialized_name: 'ApplianceDefinitionListResult',
|
63
64
|
type: {
|
@@ -65,11 +66,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
65
66
|
class_name: 'ApplianceDefinitionListResult',
|
66
67
|
model_properties: {
|
67
68
|
value: {
|
69
|
+
client_side_validation: true,
|
68
70
|
required: false,
|
69
71
|
serialized_name: 'value',
|
70
72
|
type: {
|
71
73
|
name: 'Sequence',
|
72
74
|
element: {
|
75
|
+
client_side_validation: true,
|
73
76
|
required: false,
|
74
77
|
serialized_name: 'ApplianceDefinitionElementType',
|
75
78
|
type: {
|
@@ -80,6 +83,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
80
83
|
}
|
81
84
|
},
|
82
85
|
next_link: {
|
86
|
+
client_side_validation: true,
|
83
87
|
required: false,
|
84
88
|
serialized_name: 'nextLink',
|
85
89
|
type: {
|
@@ -57,6 +57,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
57
57
|
#
|
58
58
|
def self.mapper()
|
59
59
|
{
|
60
|
+
client_side_validation: true,
|
60
61
|
required: false,
|
61
62
|
serialized_name: 'ApplianceListResult',
|
62
63
|
type: {
|
@@ -64,11 +65,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
64
65
|
class_name: 'ApplianceListResult',
|
65
66
|
model_properties: {
|
66
67
|
value: {
|
68
|
+
client_side_validation: true,
|
67
69
|
required: false,
|
68
70
|
serialized_name: 'value',
|
69
71
|
type: {
|
70
72
|
name: 'Sequence',
|
71
73
|
element: {
|
74
|
+
client_side_validation: true,
|
72
75
|
required: false,
|
73
76
|
serialized_name: 'ApplianceElementType',
|
74
77
|
type: {
|
@@ -79,6 +82,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
79
82
|
}
|
80
83
|
},
|
81
84
|
next_link: {
|
85
|
+
client_side_validation: true,
|
82
86
|
required: false,
|
83
87
|
serialized_name: 'nextLink',
|
84
88
|
type: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb
CHANGED
@@ -47,6 +47,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
47
47
|
#
|
48
48
|
def self.mapper()
|
49
49
|
{
|
50
|
+
client_side_validation: true,
|
50
51
|
required: false,
|
51
52
|
serialized_name: 'AppliancePatchable',
|
52
53
|
type: {
|
@@ -54,6 +55,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
54
55
|
class_name: 'AppliancePatchable',
|
55
56
|
model_properties: {
|
56
57
|
id: {
|
58
|
+
client_side_validation: true,
|
57
59
|
required: false,
|
58
60
|
read_only: true,
|
59
61
|
serialized_name: 'id',
|
@@ -62,6 +64,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
62
64
|
}
|
63
65
|
},
|
64
66
|
name: {
|
67
|
+
client_side_validation: true,
|
65
68
|
required: false,
|
66
69
|
read_only: true,
|
67
70
|
serialized_name: 'name',
|
@@ -70,6 +73,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
70
73
|
}
|
71
74
|
},
|
72
75
|
type: {
|
76
|
+
client_side_validation: true,
|
73
77
|
required: false,
|
74
78
|
read_only: true,
|
75
79
|
serialized_name: 'type',
|
@@ -78,6 +82,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
78
82
|
}
|
79
83
|
},
|
80
84
|
location: {
|
85
|
+
client_side_validation: true,
|
81
86
|
required: false,
|
82
87
|
serialized_name: 'location',
|
83
88
|
type: {
|
@@ -85,11 +90,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
85
90
|
}
|
86
91
|
},
|
87
92
|
tags: {
|
93
|
+
client_side_validation: true,
|
88
94
|
required: false,
|
89
95
|
serialized_name: 'tags',
|
90
96
|
type: {
|
91
97
|
name: 'Dictionary',
|
92
98
|
value: {
|
99
|
+
client_side_validation: true,
|
93
100
|
required: false,
|
94
101
|
serialized_name: 'StringElementType',
|
95
102
|
type: {
|
@@ -99,6 +106,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
99
106
|
}
|
100
107
|
},
|
101
108
|
managed_by: {
|
109
|
+
client_side_validation: true,
|
102
110
|
required: false,
|
103
111
|
serialized_name: 'managedBy',
|
104
112
|
type: {
|
@@ -106,6 +114,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
106
114
|
}
|
107
115
|
},
|
108
116
|
sku: {
|
117
|
+
client_side_validation: true,
|
109
118
|
required: false,
|
110
119
|
serialized_name: 'sku',
|
111
120
|
type: {
|
@@ -114,6 +123,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
114
123
|
}
|
115
124
|
},
|
116
125
|
identity: {
|
126
|
+
client_side_validation: true,
|
117
127
|
required: false,
|
118
128
|
serialized_name: 'identity',
|
119
129
|
type: {
|
@@ -122,6 +132,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
122
132
|
}
|
123
133
|
},
|
124
134
|
managed_resource_group_id: {
|
135
|
+
client_side_validation: true,
|
125
136
|
required: false,
|
126
137
|
serialized_name: 'properties.managedResourceGroupId',
|
127
138
|
type: {
|
@@ -129,6 +140,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
129
140
|
}
|
130
141
|
},
|
131
142
|
appliance_definition_id: {
|
143
|
+
client_side_validation: true,
|
132
144
|
required: false,
|
133
145
|
serialized_name: 'properties.applianceDefinitionId',
|
134
146
|
type: {
|
@@ -136,6 +148,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
136
148
|
}
|
137
149
|
},
|
138
150
|
parameters: {
|
151
|
+
client_side_validation: true,
|
139
152
|
required: false,
|
140
153
|
serialized_name: 'properties.parameters',
|
141
154
|
type: {
|
@@ -143,6 +156,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
143
156
|
}
|
144
157
|
},
|
145
158
|
outputs: {
|
159
|
+
client_side_validation: true,
|
146
160
|
required: false,
|
147
161
|
read_only: true,
|
148
162
|
serialized_name: 'properties.outputs',
|
@@ -151,6 +165,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
151
165
|
}
|
152
166
|
},
|
153
167
|
provisioning_state: {
|
168
|
+
client_side_validation: true,
|
154
169
|
required: false,
|
155
170
|
read_only: true,
|
156
171
|
serialized_name: 'properties.provisioningState',
|
@@ -159,6 +174,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
159
174
|
}
|
160
175
|
},
|
161
176
|
ui_definition_uri: {
|
177
|
+
client_side_validation: true,
|
162
178
|
required: false,
|
163
179
|
serialized_name: 'properties.uiDefinitionUri',
|
164
180
|
type: {
|
@@ -166,6 +182,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
166
182
|
}
|
167
183
|
},
|
168
184
|
plan: {
|
185
|
+
client_side_validation: true,
|
169
186
|
required: false,
|
170
187
|
serialized_name: 'plan',
|
171
188
|
type: {
|
@@ -174,6 +191,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
174
191
|
}
|
175
192
|
},
|
176
193
|
kind: {
|
194
|
+
client_side_validation: true,
|
177
195
|
required: false,
|
178
196
|
serialized_name: 'kind',
|
179
197
|
constraints: {
|
@@ -30,6 +30,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
30
30
|
#
|
31
31
|
def self.mapper()
|
32
32
|
{
|
33
|
+
client_side_validation: true,
|
33
34
|
required: false,
|
34
35
|
serialized_name: 'ApplianceProviderAuthorization',
|
35
36
|
type: {
|
@@ -37,6 +38,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
37
38
|
class_name: 'ApplianceProviderAuthorization',
|
38
39
|
model_properties: {
|
39
40
|
principal_id: {
|
41
|
+
client_side_validation: true,
|
40
42
|
required: true,
|
41
43
|
serialized_name: 'principalId',
|
42
44
|
type: {
|
@@ -44,6 +46,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
44
46
|
}
|
45
47
|
},
|
46
48
|
role_definition_id: {
|
49
|
+
client_side_validation: true,
|
47
50
|
required: true,
|
48
51
|
serialized_name: 'roleDefinitionId',
|
49
52
|
type: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/error_response.rb
CHANGED
@@ -29,6 +29,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
29
29
|
#
|
30
30
|
def self.mapper()
|
31
31
|
{
|
32
|
+
client_side_validation: true,
|
32
33
|
required: false,
|
33
34
|
serialized_name: 'ErrorResponse',
|
34
35
|
type: {
|
@@ -36,6 +37,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
36
37
|
class_name: 'ErrorResponse',
|
37
38
|
model_properties: {
|
38
39
|
http_status: {
|
40
|
+
client_side_validation: true,
|
39
41
|
required: false,
|
40
42
|
serialized_name: 'httpStatus',
|
41
43
|
type: {
|
@@ -43,6 +45,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
43
45
|
}
|
44
46
|
},
|
45
47
|
error_code: {
|
48
|
+
client_side_validation: true,
|
46
49
|
required: false,
|
47
50
|
serialized_name: 'errorCode',
|
48
51
|
type: {
|
@@ -50,6 +53,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
50
53
|
}
|
51
54
|
},
|
52
55
|
error_message: {
|
56
|
+
client_side_validation: true,
|
53
57
|
required: false,
|
54
58
|
serialized_name: 'errorMessage',
|
55
59
|
type: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/generic_resource.rb
CHANGED
@@ -28,6 +28,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
28
28
|
#
|
29
29
|
def self.mapper()
|
30
30
|
{
|
31
|
+
client_side_validation: true,
|
31
32
|
required: false,
|
32
33
|
serialized_name: 'GenericResource',
|
33
34
|
type: {
|
@@ -35,6 +36,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
35
36
|
class_name: 'GenericResource',
|
36
37
|
model_properties: {
|
37
38
|
id: {
|
39
|
+
client_side_validation: true,
|
38
40
|
required: false,
|
39
41
|
read_only: true,
|
40
42
|
serialized_name: 'id',
|
@@ -43,6 +45,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
43
45
|
}
|
44
46
|
},
|
45
47
|
name: {
|
48
|
+
client_side_validation: true,
|
46
49
|
required: false,
|
47
50
|
read_only: true,
|
48
51
|
serialized_name: 'name',
|
@@ -51,6 +54,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
51
54
|
}
|
52
55
|
},
|
53
56
|
type: {
|
57
|
+
client_side_validation: true,
|
54
58
|
required: false,
|
55
59
|
read_only: true,
|
56
60
|
serialized_name: 'type',
|
@@ -59,6 +63,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
59
63
|
}
|
60
64
|
},
|
61
65
|
location: {
|
66
|
+
client_side_validation: true,
|
62
67
|
required: false,
|
63
68
|
serialized_name: 'location',
|
64
69
|
type: {
|
@@ -66,11 +71,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
66
71
|
}
|
67
72
|
},
|
68
73
|
tags: {
|
74
|
+
client_side_validation: true,
|
69
75
|
required: false,
|
70
76
|
serialized_name: 'tags',
|
71
77
|
type: {
|
72
78
|
name: 'Dictionary',
|
73
79
|
value: {
|
80
|
+
client_side_validation: true,
|
74
81
|
required: false,
|
75
82
|
serialized_name: 'StringElementType',
|
76
83
|
type: {
|
@@ -80,6 +87,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
80
87
|
}
|
81
88
|
},
|
82
89
|
managed_by: {
|
90
|
+
client_side_validation: true,
|
83
91
|
required: false,
|
84
92
|
serialized_name: 'managedBy',
|
85
93
|
type: {
|
@@ -87,6 +95,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
87
95
|
}
|
88
96
|
},
|
89
97
|
sku: {
|
98
|
+
client_side_validation: true,
|
90
99
|
required: false,
|
91
100
|
serialized_name: 'sku',
|
92
101
|
type: {
|
@@ -95,6 +104,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
95
104
|
}
|
96
105
|
},
|
97
106
|
identity: {
|
107
|
+
client_side_validation: true,
|
98
108
|
required: false,
|
99
109
|
serialized_name: 'identity',
|
100
110
|
type: {
|
@@ -29,6 +29,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
29
29
|
#
|
30
30
|
def self.mapper()
|
31
31
|
{
|
32
|
+
client_side_validation: true,
|
32
33
|
required: false,
|
33
34
|
serialized_name: 'Identity',
|
34
35
|
type: {
|
@@ -36,6 +37,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
36
37
|
class_name: 'Identity',
|
37
38
|
model_properties: {
|
38
39
|
principal_id: {
|
40
|
+
client_side_validation: true,
|
39
41
|
required: false,
|
40
42
|
read_only: true,
|
41
43
|
serialized_name: 'principalId',
|
@@ -44,6 +46,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
44
46
|
}
|
45
47
|
},
|
46
48
|
tenant_id: {
|
49
|
+
client_side_validation: true,
|
47
50
|
required: false,
|
48
51
|
read_only: true,
|
49
52
|
serialized_name: 'tenantId',
|
@@ -52,6 +55,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
52
55
|
}
|
53
56
|
},
|
54
57
|
type: {
|
58
|
+
client_side_validation: true,
|
55
59
|
required: false,
|
56
60
|
serialized_name: 'type',
|
57
61
|
type: {
|
@@ -34,6 +34,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
34
34
|
#
|
35
35
|
def self.mapper()
|
36
36
|
{
|
37
|
+
client_side_validation: true,
|
37
38
|
required: false,
|
38
39
|
serialized_name: 'Plan',
|
39
40
|
type: {
|
@@ -41,6 +42,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
41
42
|
class_name: 'Plan',
|
42
43
|
model_properties: {
|
43
44
|
name: {
|
45
|
+
client_side_validation: true,
|
44
46
|
required: true,
|
45
47
|
serialized_name: 'name',
|
46
48
|
type: {
|
@@ -48,6 +50,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
48
50
|
}
|
49
51
|
},
|
50
52
|
publisher: {
|
53
|
+
client_side_validation: true,
|
51
54
|
required: true,
|
52
55
|
serialized_name: 'publisher',
|
53
56
|
type: {
|
@@ -55,6 +58,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
55
58
|
}
|
56
59
|
},
|
57
60
|
product: {
|
61
|
+
client_side_validation: true,
|
58
62
|
required: true,
|
59
63
|
serialized_name: 'product',
|
60
64
|
type: {
|
@@ -62,6 +66,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
62
66
|
}
|
63
67
|
},
|
64
68
|
promotion_code: {
|
69
|
+
client_side_validation: true,
|
65
70
|
required: false,
|
66
71
|
serialized_name: 'promotionCode',
|
67
72
|
type: {
|
@@ -69,6 +74,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
69
74
|
}
|
70
75
|
},
|
71
76
|
version: {
|
77
|
+
client_side_validation: true,
|
72
78
|
required: true,
|
73
79
|
serialized_name: 'version',
|
74
80
|
type: {
|
data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan_patchable.rb
CHANGED
@@ -34,6 +34,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
34
34
|
#
|
35
35
|
def self.mapper()
|
36
36
|
{
|
37
|
+
client_side_validation: true,
|
37
38
|
required: false,
|
38
39
|
serialized_name: 'PlanPatchable',
|
39
40
|
type: {
|
@@ -41,6 +42,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
41
42
|
class_name: 'PlanPatchable',
|
42
43
|
model_properties: {
|
43
44
|
name: {
|
45
|
+
client_side_validation: true,
|
44
46
|
required: false,
|
45
47
|
serialized_name: 'name',
|
46
48
|
type: {
|
@@ -48,6 +50,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
48
50
|
}
|
49
51
|
},
|
50
52
|
publisher: {
|
53
|
+
client_side_validation: true,
|
51
54
|
required: false,
|
52
55
|
serialized_name: 'publisher',
|
53
56
|
type: {
|
@@ -55,6 +58,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
55
58
|
}
|
56
59
|
},
|
57
60
|
product: {
|
61
|
+
client_side_validation: true,
|
58
62
|
required: false,
|
59
63
|
serialized_name: 'product',
|
60
64
|
type: {
|
@@ -62,6 +66,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
62
66
|
}
|
63
67
|
},
|
64
68
|
promotion_code: {
|
69
|
+
client_side_validation: true,
|
65
70
|
required: false,
|
66
71
|
serialized_name: 'promotionCode',
|
67
72
|
type: {
|
@@ -69,6 +74,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
69
74
|
}
|
70
75
|
},
|
71
76
|
version: {
|
77
|
+
client_side_validation: true,
|
72
78
|
required: false,
|
73
79
|
serialized_name: 'version',
|
74
80
|
type: {
|
@@ -34,6 +34,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
34
34
|
#
|
35
35
|
def self.mapper()
|
36
36
|
{
|
37
|
+
client_side_validation: true,
|
37
38
|
required: false,
|
38
39
|
serialized_name: 'Resource',
|
39
40
|
type: {
|
@@ -41,6 +42,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
41
42
|
class_name: 'Resource',
|
42
43
|
model_properties: {
|
43
44
|
id: {
|
45
|
+
client_side_validation: true,
|
44
46
|
required: false,
|
45
47
|
read_only: true,
|
46
48
|
serialized_name: 'id',
|
@@ -49,6 +51,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
49
51
|
}
|
50
52
|
},
|
51
53
|
name: {
|
54
|
+
client_side_validation: true,
|
52
55
|
required: false,
|
53
56
|
read_only: true,
|
54
57
|
serialized_name: 'name',
|
@@ -57,6 +60,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
57
60
|
}
|
58
61
|
},
|
59
62
|
type: {
|
63
|
+
client_side_validation: true,
|
60
64
|
required: false,
|
61
65
|
read_only: true,
|
62
66
|
serialized_name: 'type',
|
@@ -65,6 +69,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
65
69
|
}
|
66
70
|
},
|
67
71
|
location: {
|
72
|
+
client_side_validation: true,
|
68
73
|
required: false,
|
69
74
|
serialized_name: 'location',
|
70
75
|
type: {
|
@@ -72,11 +77,13 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
72
77
|
}
|
73
78
|
},
|
74
79
|
tags: {
|
80
|
+
client_side_validation: true,
|
75
81
|
required: false,
|
76
82
|
serialized_name: 'tags',
|
77
83
|
type: {
|
78
84
|
name: 'Dictionary',
|
79
85
|
value: {
|
86
|
+
client_side_validation: true,
|
80
87
|
required: false,
|
81
88
|
serialized_name: 'StringElementType',
|
82
89
|
type: {
|
@@ -37,6 +37,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
37
37
|
#
|
38
38
|
def self.mapper()
|
39
39
|
{
|
40
|
+
client_side_validation: true,
|
40
41
|
required: false,
|
41
42
|
serialized_name: 'Sku',
|
42
43
|
type: {
|
@@ -44,6 +45,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
44
45
|
class_name: 'Sku',
|
45
46
|
model_properties: {
|
46
47
|
name: {
|
48
|
+
client_side_validation: true,
|
47
49
|
required: true,
|
48
50
|
serialized_name: 'name',
|
49
51
|
type: {
|
@@ -51,6 +53,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
51
53
|
}
|
52
54
|
},
|
53
55
|
tier: {
|
56
|
+
client_side_validation: true,
|
54
57
|
required: false,
|
55
58
|
serialized_name: 'tier',
|
56
59
|
type: {
|
@@ -58,6 +61,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
58
61
|
}
|
59
62
|
},
|
60
63
|
size: {
|
64
|
+
client_side_validation: true,
|
61
65
|
required: false,
|
62
66
|
serialized_name: 'size',
|
63
67
|
type: {
|
@@ -65,6 +69,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
65
69
|
}
|
66
70
|
},
|
67
71
|
family: {
|
72
|
+
client_side_validation: true,
|
68
73
|
required: false,
|
69
74
|
serialized_name: 'family',
|
70
75
|
type: {
|
@@ -72,6 +77,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
72
77
|
}
|
73
78
|
},
|
74
79
|
model: {
|
80
|
+
client_side_validation: true,
|
75
81
|
required: false,
|
76
82
|
serialized_name: 'model',
|
77
83
|
type: {
|
@@ -79,6 +85,7 @@ module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
79
85
|
}
|
80
86
|
},
|
81
87
|
capacity: {
|
88
|
+
client_side_validation: true,
|
82
89
|
required: false,
|
83
90
|
serialized_name: 'capacity',
|
84
91
|
type: {
|
@@ -4,15 +4,13 @@
|
|
4
4
|
|
5
5
|
require 'profiles/latest/managedapplications_module_definition'
|
6
6
|
require 'profiles/latest/modules/managedapplications_profile_module'
|
7
|
-
require 'profiles/common/configurable'
|
8
|
-
require 'profiles/common/default'
|
9
7
|
|
10
8
|
module Azure::ManagedApplications::Profiles::Latest::Mgmt
|
11
9
|
#
|
12
10
|
# Client class for the Latest profile SDK.
|
13
11
|
#
|
14
12
|
class Client < ManagedApplicationsClass
|
15
|
-
include
|
13
|
+
include MsRestAzure::Common::Configurable
|
16
14
|
|
17
15
|
|
18
16
|
def initialize(options = {})
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_managed_applications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.10.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.10.0
|
83
83
|
description: Microsoft Azure Managed Applications Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -110,11 +110,8 @@ files:
|
|
110
110
|
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb
|
111
111
|
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/sku.rb
|
112
112
|
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/module_definition.rb
|
113
|
-
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/version.rb
|
114
113
|
- lib/azure_mgmt_managed_applications.rb
|
115
114
|
- lib/module_definition.rb
|
116
|
-
- lib/profiles/common/configurable.rb
|
117
|
-
- lib/profiles/common/default.rb
|
118
115
|
- lib/profiles/latest/managedapplications_latest_profile_client.rb
|
119
116
|
- lib/profiles/latest/managedapplications_module_definition.rb
|
120
117
|
- lib/profiles/latest/modules/managedapplications_profile_module.rb
|
@@ -122,7 +119,12 @@ files:
|
|
122
119
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
123
120
|
licenses:
|
124
121
|
- MIT
|
125
|
-
metadata:
|
122
|
+
metadata:
|
123
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
124
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
125
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
126
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
127
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_managed_applications
|
126
128
|
post_install_message:
|
127
129
|
rdoc_options: []
|
128
130
|
require_paths:
|
@@ -1,86 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
module Azure::Common
|
6
|
-
# The Azure::Common::Configurable module provides basic configuration for Azure activities.
|
7
|
-
module Configurable
|
8
|
-
# @return [String] Azure tenant id (also known as domain).
|
9
|
-
attr_accessor :tenant_id
|
10
|
-
|
11
|
-
# @return [String] Azure client id.
|
12
|
-
attr_accessor :client_id
|
13
|
-
|
14
|
-
# @return [String] Azure secret key.
|
15
|
-
attr_accessor :client_secret
|
16
|
-
|
17
|
-
# @return [String] Azure subscription id.
|
18
|
-
attr_accessor :subscription_id
|
19
|
-
|
20
|
-
# @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
|
21
|
-
attr_accessor :active_directory_settings
|
22
|
-
|
23
|
-
# @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
24
|
-
attr_accessor :credentials
|
25
|
-
|
26
|
-
class << self
|
27
|
-
#
|
28
|
-
# List of configurable keys for {Azure::Common::Client}.
|
29
|
-
# @return [Array] of option keys.
|
30
|
-
#
|
31
|
-
def keys
|
32
|
-
@keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
#
|
37
|
-
# Set configuration options using a block.
|
38
|
-
#
|
39
|
-
def configure
|
40
|
-
yield self
|
41
|
-
end
|
42
|
-
|
43
|
-
#
|
44
|
-
# Resets the configurable options to provided options or defaults.
|
45
|
-
# This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
|
46
|
-
#
|
47
|
-
def reset!(options = {})
|
48
|
-
Azure::Common::Configurable.keys.each do |key|
|
49
|
-
default_value = Azure::Common::Default.options[key]
|
50
|
-
instance_variable_set(:"@#{key}", options.fetch(key, default_value))
|
51
|
-
end
|
52
|
-
|
53
|
-
fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
|
54
|
-
fail ArgumentError, 'client_id is nil' if self.client_id.nil?
|
55
|
-
fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
|
56
|
-
fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
|
57
|
-
fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
|
58
|
-
|
59
|
-
default_value = MsRest::TokenCredentials.new(
|
60
|
-
MsRestAzure::ApplicationTokenProvider.new(
|
61
|
-
self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
|
62
|
-
|
63
|
-
instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
|
64
|
-
|
65
|
-
self
|
66
|
-
end
|
67
|
-
|
68
|
-
def config
|
69
|
-
self
|
70
|
-
end
|
71
|
-
|
72
|
-
private
|
73
|
-
|
74
|
-
#
|
75
|
-
# configures configurable options to default values
|
76
|
-
#
|
77
|
-
def setup_default_options
|
78
|
-
opts = {}
|
79
|
-
Azure::Common::Configurable.keys.map do |key|
|
80
|
-
opts[key] = Azure::Common::Default.options[key]
|
81
|
-
end
|
82
|
-
|
83
|
-
opts
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
module Azure::Common
|
6
|
-
module Default
|
7
|
-
class << self
|
8
|
-
#
|
9
|
-
# Default Azure Tenant Id.
|
10
|
-
# @return [String] Azure Tenant Id.
|
11
|
-
#
|
12
|
-
def tenant_id
|
13
|
-
ENV['AZURE_TENANT_ID']
|
14
|
-
end
|
15
|
-
|
16
|
-
#
|
17
|
-
# Default Azure Client Id.
|
18
|
-
# @return [String] Azure Client Id.
|
19
|
-
#
|
20
|
-
def client_id
|
21
|
-
ENV['AZURE_CLIENT_ID']
|
22
|
-
end
|
23
|
-
|
24
|
-
#
|
25
|
-
# Default Azure Client Secret.
|
26
|
-
# @return [String] Azure Client Secret.
|
27
|
-
#
|
28
|
-
def client_secret
|
29
|
-
ENV['AZURE_CLIENT_SECRET']
|
30
|
-
end
|
31
|
-
|
32
|
-
#
|
33
|
-
# Default Azure Subscription Id.
|
34
|
-
# @return [String] Azure Subscription Id.
|
35
|
-
#
|
36
|
-
def subscription_id
|
37
|
-
ENV['AZURE_SUBSCRIPTION_ID']
|
38
|
-
end
|
39
|
-
|
40
|
-
#
|
41
|
-
# Default Azure Active Directory Service Settings.
|
42
|
-
# @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
|
43
|
-
#
|
44
|
-
def active_directory_settings
|
45
|
-
MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
|
46
|
-
end
|
47
|
-
|
48
|
-
#
|
49
|
-
# Configuration options.
|
50
|
-
# @return [Hash] Configuration options.
|
51
|
-
#
|
52
|
-
def options
|
53
|
-
Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|