azure_mgmt_storage 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +8 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +9 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb +2 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb +33 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb +2 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb +21 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +9 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +7 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb +12 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb +22 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +10 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +11 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +7 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb +11 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb +24 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +12 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +10 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2017-10-01/generated/azure_mgmt_storage.rb +88 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/{2015-06-15/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/models/action.rb} +9 -2
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb +102 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/{2015-05-01-preview/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/module_definition.rb} +4 -3
- data/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb +106 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb +111 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb +1319 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +141 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb +111 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +119 -119
- data/lib/profiles/latest/storage_latest_profile_client.rb +1 -3
- data/lib/profiles/v2017_03_09/storage_v2017_03_09_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +74 -12
- data/lib/2016-01-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/2016-12-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/2017-06-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'UsageListResult',
|
28
29
|
type: {
|
@@ -30,11 +31,13 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
30
31
|
class_name: 'UsageListResult',
|
31
32
|
model_properties: {
|
32
33
|
value: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
serialized_name: 'value',
|
35
37
|
type: {
|
36
38
|
name: 'Sequence',
|
37
39
|
element: {
|
40
|
+
client_side_validation: true,
|
38
41
|
required: false,
|
39
42
|
serialized_name: 'UsageElementType',
|
40
43
|
type: {
|
@@ -25,6 +25,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
25
25
|
#
|
26
26
|
def self.mapper()
|
27
27
|
{
|
28
|
+
client_side_validation: true,
|
28
29
|
required: false,
|
29
30
|
serialized_name: 'UsageName',
|
30
31
|
type: {
|
@@ -32,6 +33,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
32
33
|
class_name: 'UsageName',
|
33
34
|
model_properties: {
|
34
35
|
value: {
|
36
|
+
client_side_validation: true,
|
35
37
|
required: false,
|
36
38
|
read_only: true,
|
37
39
|
serialized_name: 'value',
|
@@ -40,6 +42,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
40
42
|
}
|
41
43
|
},
|
42
44
|
localized_value: {
|
45
|
+
client_side_validation: true,
|
43
46
|
required: false,
|
44
47
|
read_only: true,
|
45
48
|
serialized_name: 'localizedValue',
|
@@ -232,6 +232,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
232
232
|
def delete_async(resource_group_name, account_name, custom_headers = nil)
|
233
233
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
234
234
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
235
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
236
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
235
237
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
236
238
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
237
239
|
|
@@ -328,6 +330,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
328
330
|
def get_properties_async(resource_group_name, account_name, custom_headers = nil)
|
329
331
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
330
332
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
333
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
334
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
331
335
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
332
336
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
333
337
|
|
@@ -458,6 +462,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
458
462
|
def update_async(resource_group_name, account_name, parameters, custom_headers = nil)
|
459
463
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
460
464
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
465
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
466
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
461
467
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
462
468
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
463
469
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -747,6 +753,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
747
753
|
def list_keys_async(resource_group_name, account_name, custom_headers = nil)
|
748
754
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
749
755
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
756
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
757
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
750
758
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
751
759
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
752
760
|
|
@@ -853,6 +861,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
853
861
|
def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil)
|
854
862
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
855
863
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
864
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
865
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
856
866
|
fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil?
|
857
867
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
858
868
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -981,6 +991,8 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
981
991
|
def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil)
|
982
992
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
983
993
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
994
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
995
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
984
996
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
985
997
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
986
998
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -126,9 +126,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_storage'
|
129
|
-
|
130
|
-
sdk_information = "#{sdk_information}/#{Azure::Storage::Mgmt::V2016_01_01::VERSION}"
|
131
|
-
end
|
129
|
+
sdk_information = "#{sdk_information}/0.15.2"
|
132
130
|
add_user_agent_information(sdk_information)
|
133
131
|
end
|
134
132
|
end
|
@@ -55,6 +55,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
55
55
|
#
|
56
56
|
def self.mapper()
|
57
57
|
{
|
58
|
+
client_side_validation: true,
|
58
59
|
required: false,
|
59
60
|
serialized_name: 'AccountSasParameters',
|
60
61
|
type: {
|
@@ -62,6 +63,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
62
63
|
class_name: 'AccountSasParameters',
|
63
64
|
model_properties: {
|
64
65
|
services: {
|
66
|
+
client_side_validation: true,
|
65
67
|
required: true,
|
66
68
|
serialized_name: 'signedServices',
|
67
69
|
type: {
|
@@ -69,6 +71,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
69
71
|
}
|
70
72
|
},
|
71
73
|
resource_types: {
|
74
|
+
client_side_validation: true,
|
72
75
|
required: true,
|
73
76
|
serialized_name: 'signedResourceTypes',
|
74
77
|
type: {
|
@@ -76,6 +79,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
76
79
|
}
|
77
80
|
},
|
78
81
|
permissions: {
|
82
|
+
client_side_validation: true,
|
79
83
|
required: true,
|
80
84
|
serialized_name: 'signedPermission',
|
81
85
|
type: {
|
@@ -83,6 +87,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
83
87
|
}
|
84
88
|
},
|
85
89
|
ipaddress_or_range: {
|
90
|
+
client_side_validation: true,
|
86
91
|
required: false,
|
87
92
|
serialized_name: 'signedIp',
|
88
93
|
type: {
|
@@ -90,6 +95,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
90
95
|
}
|
91
96
|
},
|
92
97
|
protocols: {
|
98
|
+
client_side_validation: true,
|
93
99
|
required: false,
|
94
100
|
serialized_name: 'signedProtocol',
|
95
101
|
type: {
|
@@ -98,6 +104,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
98
104
|
}
|
99
105
|
},
|
100
106
|
shared_access_start_time: {
|
107
|
+
client_side_validation: true,
|
101
108
|
required: false,
|
102
109
|
serialized_name: 'signedStart',
|
103
110
|
type: {
|
@@ -105,6 +112,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
105
112
|
}
|
106
113
|
},
|
107
114
|
shared_access_expiry_time: {
|
115
|
+
client_side_validation: true,
|
108
116
|
required: true,
|
109
117
|
serialized_name: 'signedExpiry',
|
110
118
|
type: {
|
@@ -112,6 +120,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
112
120
|
}
|
113
121
|
},
|
114
122
|
key_to_sign: {
|
123
|
+
client_side_validation: true,
|
115
124
|
required: false,
|
116
125
|
serialized_name: 'keyToSign',
|
117
126
|
type: {
|
@@ -33,6 +33,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
33
33
|
#
|
34
34
|
def self.mapper()
|
35
35
|
{
|
36
|
+
client_side_validation: true,
|
36
37
|
required: false,
|
37
38
|
serialized_name: 'CheckNameAvailabilityResult',
|
38
39
|
type: {
|
@@ -40,6 +41,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
40
41
|
class_name: 'CheckNameAvailabilityResult',
|
41
42
|
model_properties: {
|
42
43
|
name_available: {
|
44
|
+
client_side_validation: true,
|
43
45
|
required: false,
|
44
46
|
read_only: true,
|
45
47
|
serialized_name: 'nameAvailable',
|
@@ -48,6 +50,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
48
50
|
}
|
49
51
|
},
|
50
52
|
reason: {
|
53
|
+
client_side_validation: true,
|
51
54
|
required: false,
|
52
55
|
read_only: true,
|
53
56
|
serialized_name: 'reason',
|
@@ -57,6 +60,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
57
60
|
}
|
58
61
|
},
|
59
62
|
message: {
|
63
|
+
client_side_validation: true,
|
60
64
|
required: false,
|
61
65
|
read_only: true,
|
62
66
|
serialized_name: 'message',
|
@@ -28,6 +28,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
28
28
|
#
|
29
29
|
def self.mapper()
|
30
30
|
{
|
31
|
+
client_side_validation: true,
|
31
32
|
required: false,
|
32
33
|
serialized_name: 'CustomDomain',
|
33
34
|
type: {
|
@@ -35,6 +36,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
35
36
|
class_name: 'CustomDomain',
|
36
37
|
model_properties: {
|
37
38
|
name: {
|
39
|
+
client_side_validation: true,
|
38
40
|
required: true,
|
39
41
|
serialized_name: 'name',
|
40
42
|
type: {
|
@@ -42,6 +44,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
42
44
|
}
|
43
45
|
},
|
44
46
|
use_sub_domain: {
|
47
|
+
client_side_validation: true,
|
45
48
|
required: false,
|
46
49
|
serialized_name: 'useSubDomain',
|
47
50
|
type: {
|
@@ -27,6 +27,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
27
27
|
#
|
28
28
|
def self.mapper()
|
29
29
|
{
|
30
|
+
client_side_validation: true,
|
30
31
|
required: false,
|
31
32
|
serialized_name: 'Encryption',
|
32
33
|
type: {
|
@@ -34,6 +35,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
34
35
|
class_name: 'Encryption',
|
35
36
|
model_properties: {
|
36
37
|
services: {
|
38
|
+
client_side_validation: true,
|
37
39
|
required: false,
|
38
40
|
serialized_name: 'services',
|
39
41
|
type: {
|
@@ -42,6 +44,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
42
44
|
}
|
43
45
|
},
|
44
46
|
key_source: {
|
47
|
+
client_side_validation: true,
|
45
48
|
required: true,
|
46
49
|
is_constant: true,
|
47
50
|
serialized_name: 'keySource',
|
@@ -29,6 +29,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
29
29
|
#
|
30
30
|
def self.mapper()
|
31
31
|
{
|
32
|
+
client_side_validation: true,
|
32
33
|
required: false,
|
33
34
|
serialized_name: 'EncryptionService',
|
34
35
|
type: {
|
@@ -36,6 +37,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
36
37
|
class_name: 'EncryptionService',
|
37
38
|
model_properties: {
|
38
39
|
enabled: {
|
40
|
+
client_side_validation: true,
|
39
41
|
required: false,
|
40
42
|
serialized_name: 'enabled',
|
41
43
|
type: {
|
@@ -43,6 +45,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
43
45
|
}
|
44
46
|
},
|
45
47
|
last_enabled_time: {
|
48
|
+
client_side_validation: true,
|
46
49
|
required: false,
|
47
50
|
read_only: true,
|
48
51
|
serialized_name: 'lastEnabledTime',
|
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
35
35
|
#
|
36
36
|
def self.mapper()
|
37
37
|
{
|
38
|
+
client_side_validation: true,
|
38
39
|
required: false,
|
39
40
|
serialized_name: 'EncryptionServices',
|
40
41
|
type: {
|
@@ -42,6 +43,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
42
43
|
class_name: 'EncryptionServices',
|
43
44
|
model_properties: {
|
44
45
|
blob: {
|
46
|
+
client_side_validation: true,
|
45
47
|
required: false,
|
46
48
|
serialized_name: 'blob',
|
47
49
|
type: {
|
@@ -50,6 +52,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
50
52
|
}
|
51
53
|
},
|
52
54
|
file: {
|
55
|
+
client_side_validation: true,
|
53
56
|
required: false,
|
54
57
|
serialized_name: 'file',
|
55
58
|
type: {
|
@@ -58,6 +61,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
58
61
|
}
|
59
62
|
},
|
60
63
|
table: {
|
64
|
+
client_side_validation: true,
|
61
65
|
required: false,
|
62
66
|
read_only: true,
|
63
67
|
serialized_name: 'table',
|
@@ -67,6 +71,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
67
71
|
}
|
68
72
|
},
|
69
73
|
queue: {
|
74
|
+
client_side_validation: true,
|
70
75
|
required: false,
|
71
76
|
read_only: true,
|
72
77
|
serialized_name: 'queue',
|
@@ -32,6 +32,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
32
32
|
#
|
33
33
|
def self.mapper()
|
34
34
|
{
|
35
|
+
client_side_validation: true,
|
35
36
|
required: false,
|
36
37
|
serialized_name: 'Endpoints',
|
37
38
|
type: {
|
@@ -39,6 +40,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
39
40
|
class_name: 'Endpoints',
|
40
41
|
model_properties: {
|
41
42
|
blob: {
|
43
|
+
client_side_validation: true,
|
42
44
|
required: false,
|
43
45
|
read_only: true,
|
44
46
|
serialized_name: 'blob',
|
@@ -47,6 +49,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
47
49
|
}
|
48
50
|
},
|
49
51
|
queue: {
|
52
|
+
client_side_validation: true,
|
50
53
|
required: false,
|
51
54
|
read_only: true,
|
52
55
|
serialized_name: 'queue',
|
@@ -55,6 +58,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
55
58
|
}
|
56
59
|
},
|
57
60
|
table: {
|
61
|
+
client_side_validation: true,
|
58
62
|
required: false,
|
59
63
|
read_only: true,
|
60
64
|
serialized_name: 'table',
|
@@ -63,6 +67,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
63
67
|
}
|
64
68
|
},
|
65
69
|
file: {
|
70
|
+
client_side_validation: true,
|
66
71
|
required: false,
|
67
72
|
read_only: true,
|
68
73
|
serialized_name: 'file',
|
@@ -22,6 +22,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'ListAccountSasResponse',
|
27
28
|
type: {
|
@@ -29,6 +30,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
29
30
|
class_name: 'ListAccountSasResponse',
|
30
31
|
model_properties: {
|
31
32
|
account_sas_token: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: false,
|
33
35
|
read_only: true,
|
34
36
|
serialized_name: 'accountSasToken',
|
@@ -22,6 +22,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'ListServiceSasResponse',
|
27
28
|
type: {
|
@@ -29,6 +30,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
29
30
|
class_name: 'ListServiceSasResponse',
|
30
31
|
model_properties: {
|
31
32
|
service_sas_token: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: false,
|
33
35
|
read_only: true,
|
34
36
|
serialized_name: 'serviceSasToken',
|
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
35
35
|
#
|
36
36
|
def self.mapper()
|
37
37
|
{
|
38
|
+
client_side_validation: true,
|
38
39
|
required: false,
|
39
40
|
serialized_name: 'Resource',
|
40
41
|
type: {
|
@@ -42,6 +43,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
42
43
|
class_name: 'Resource',
|
43
44
|
model_properties: {
|
44
45
|
id: {
|
46
|
+
client_side_validation: true,
|
45
47
|
required: false,
|
46
48
|
read_only: true,
|
47
49
|
serialized_name: 'id',
|
@@ -50,6 +52,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
50
52
|
}
|
51
53
|
},
|
52
54
|
name: {
|
55
|
+
client_side_validation: true,
|
53
56
|
required: false,
|
54
57
|
read_only: true,
|
55
58
|
serialized_name: 'name',
|
@@ -58,6 +61,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
58
61
|
}
|
59
62
|
},
|
60
63
|
type: {
|
64
|
+
client_side_validation: true,
|
61
65
|
required: false,
|
62
66
|
read_only: true,
|
63
67
|
serialized_name: 'type',
|
@@ -66,6 +70,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
66
70
|
}
|
67
71
|
},
|
68
72
|
location: {
|
73
|
+
client_side_validation: true,
|
69
74
|
required: false,
|
70
75
|
serialized_name: 'location',
|
71
76
|
type: {
|
@@ -73,11 +78,13 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
73
78
|
}
|
74
79
|
},
|
75
80
|
tags: {
|
81
|
+
client_side_validation: true,
|
76
82
|
required: false,
|
77
83
|
serialized_name: 'tags',
|
78
84
|
type: {
|
79
85
|
name: 'Dictionary',
|
80
86
|
value: {
|
87
|
+
client_side_validation: true,
|
81
88
|
required: false,
|
82
89
|
serialized_name: 'StringElementType',
|
83
90
|
type: {
|