azure_mgmt_container_registry 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/2016-06-27-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -3
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb +11 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb +3 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb +4 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +3 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb +4 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +5 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/resource.rb +7 -0
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -3
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +5 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb +13 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb +7 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_password.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +5 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/resource.rb +7 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/sku.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_parameters.rb +3 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/registries.rb +18 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -3
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb +2 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb +8 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_info.rb +2 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_list_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_request_message.rb +7 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_response_message.rb +7 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_definition.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +5 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/operation_list_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +2 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry.rb +14 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_list_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_name_status.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_password.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +6 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage.rb +5 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication.rb +9 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_list_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/request.rb +6 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb +7 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/sku.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/source.rb +3 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/status.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +2 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/target.rb +8 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook.rb +12 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +11 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +4 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +10 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb +21 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb +27 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb +45 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb +1 -3
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb +2 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb +8 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb +2 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb +7 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb +7 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +5 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +2 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb +14 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +6 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb +5 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb +9 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb +6 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb +7 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/source.rb +3 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/status.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +2 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/target.rb +8 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook.rb +12 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +11 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +4 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +10 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +21 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/replications.rb +27 -0
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/webhooks.rb +45 -0
- data/lib/profiles/latest/containerregistry_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -11
- data/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/version.rb +0 -8
- data/lib/2017-03-01/generated/azure_mgmt_container_registry/version.rb +0 -8
- data/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/version.rb +0 -8
- data/lib/2017-10-01/generated/azure_mgmt_container_registry/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -71,7 +71,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
71
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
72
72
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
73
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
74
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
75
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
76
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
74
77
|
fail ArgumentError, 'replication_name is nil' if replication_name.nil?
|
78
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50
|
79
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5
|
80
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
75
81
|
|
76
82
|
|
77
83
|
request_headers = {}
|
@@ -306,6 +312,9 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
306
312
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
307
313
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
308
314
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
315
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
316
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
317
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
309
318
|
|
310
319
|
|
311
320
|
request_headers = {}
|
@@ -406,7 +415,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
406
415
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
407
416
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
408
417
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
418
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
419
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
420
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
409
421
|
fail ArgumentError, 'replication_name is nil' if replication_name.nil?
|
422
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50
|
423
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5
|
424
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
410
425
|
fail ArgumentError, 'replication is nil' if replication.nil?
|
411
426
|
|
412
427
|
|
@@ -523,7 +538,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
523
538
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
524
539
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
525
540
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
541
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
542
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
543
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
526
544
|
fail ArgumentError, 'replication_name is nil' if replication_name.nil?
|
545
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50
|
546
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5
|
547
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
527
548
|
|
528
549
|
|
529
550
|
request_headers = {}
|
@@ -617,7 +638,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
617
638
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
618
639
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
619
640
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
641
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
642
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
643
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
620
644
|
fail ArgumentError, 'replication_name is nil' if replication_name.nil?
|
645
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MaxLength': '50'" if !replication_name.nil? && replication_name.length > 50
|
646
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'MinLength': '5'" if !replication_name.nil? && replication_name.length < 5
|
647
|
+
fail ArgumentError, "'replication_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !replication_name.nil? && replication_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
621
648
|
fail ArgumentError, 'replication_update_parameters is nil' if replication_update_parameters.nil?
|
622
649
|
|
623
650
|
|
@@ -71,7 +71,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
71
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
72
72
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
73
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
74
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
75
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
76
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
74
77
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
78
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
79
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
80
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
75
81
|
|
76
82
|
|
77
83
|
request_headers = {}
|
@@ -308,6 +314,9 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
308
314
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
309
315
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
310
316
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
317
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
318
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
319
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
311
320
|
|
312
321
|
|
313
322
|
request_headers = {}
|
@@ -405,7 +414,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
405
414
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
406
415
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
407
416
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
417
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
418
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
419
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
408
420
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
421
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
422
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
423
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
409
424
|
|
410
425
|
|
411
426
|
request_headers = {}
|
@@ -503,7 +518,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
503
518
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
504
519
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
505
520
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
521
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
522
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
523
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
506
524
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
525
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
526
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
527
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
507
528
|
|
508
529
|
|
509
530
|
request_headers = {}
|
@@ -601,7 +622,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
601
622
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
602
623
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
603
624
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
625
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
626
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
627
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
604
628
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
629
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
630
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
631
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
605
632
|
|
606
633
|
|
607
634
|
request_headers = {}
|
@@ -705,7 +732,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
705
732
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
706
733
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
707
734
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
735
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
736
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
737
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
708
738
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
739
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
740
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
741
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
709
742
|
fail ArgumentError, 'webhook_create_parameters is nil' if webhook_create_parameters.nil?
|
710
743
|
|
711
744
|
|
@@ -822,7 +855,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
822
855
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
823
856
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
824
857
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
858
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
859
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
860
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
825
861
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
862
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
863
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
864
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
826
865
|
|
827
866
|
|
828
867
|
request_headers = {}
|
@@ -916,7 +955,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
|
|
916
955
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
917
956
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
918
957
|
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
|
958
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
|
959
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
|
960
|
+
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
919
961
|
fail ArgumentError, 'webhook_name is nil' if webhook_name.nil?
|
962
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MaxLength': '50'" if !webhook_name.nil? && webhook_name.length > 50
|
963
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'MinLength': '5'" if !webhook_name.nil? && webhook_name.length < 5
|
964
|
+
fail ArgumentError, "'webhook_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !webhook_name.nil? && webhook_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
|
920
965
|
fail ArgumentError, 'webhook_update_parameters is nil' if webhook_update_parameters.nil?
|
921
966
|
|
922
967
|
|
data/lib/2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb
CHANGED
@@ -132,9 +132,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
132
132
|
#
|
133
133
|
def add_telemetry
|
134
134
|
sdk_information = 'azure_mgmt_container_registry'
|
135
|
-
|
136
|
-
sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2017_10_01::VERSION}"
|
137
|
-
end
|
135
|
+
sdk_information = "#{sdk_information}/0.15.2"
|
138
136
|
add_user_agent_information(sdk_information)
|
139
137
|
end
|
140
138
|
end
|
@@ -24,6 +24,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
24
24
|
#
|
25
25
|
def self.mapper()
|
26
26
|
{
|
27
|
+
client_side_validation: true,
|
27
28
|
required: false,
|
28
29
|
serialized_name: 'Actor',
|
29
30
|
type: {
|
@@ -31,6 +32,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
31
32
|
class_name: 'Actor',
|
32
33
|
model_properties: {
|
33
34
|
name: {
|
35
|
+
client_side_validation: true,
|
34
36
|
required: false,
|
35
37
|
serialized_name: 'name',
|
36
38
|
type: {
|
@@ -26,6 +26,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
26
26
|
#
|
27
27
|
def self.mapper()
|
28
28
|
{
|
29
|
+
client_side_validation: true,
|
29
30
|
required: false,
|
30
31
|
serialized_name: 'CallbackConfig',
|
31
32
|
type: {
|
@@ -33,6 +34,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
33
34
|
class_name: 'CallbackConfig',
|
34
35
|
model_properties: {
|
35
36
|
service_uri: {
|
37
|
+
client_side_validation: true,
|
36
38
|
required: true,
|
37
39
|
serialized_name: 'serviceUri',
|
38
40
|
type: {
|
@@ -40,11 +42,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
40
42
|
}
|
41
43
|
},
|
42
44
|
custom_headers: {
|
45
|
+
client_side_validation: true,
|
43
46
|
required: false,
|
44
47
|
serialized_name: 'customHeaders',
|
45
48
|
type: {
|
46
49
|
name: 'Dictionary',
|
47
50
|
value: {
|
51
|
+
client_side_validation: true,
|
48
52
|
required: false,
|
49
53
|
serialized_name: 'StringElementType',
|
50
54
|
type: {
|
@@ -27,6 +27,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
27
27
|
#
|
28
28
|
def self.mapper()
|
29
29
|
{
|
30
|
+
client_side_validation: true,
|
30
31
|
required: false,
|
31
32
|
serialized_name: 'Event',
|
32
33
|
type: {
|
@@ -34,6 +35,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
34
35
|
class_name: 'Event',
|
35
36
|
model_properties: {
|
36
37
|
id: {
|
38
|
+
client_side_validation: true,
|
37
39
|
required: false,
|
38
40
|
serialized_name: 'id',
|
39
41
|
type: {
|
@@ -41,6 +43,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
41
43
|
}
|
42
44
|
},
|
43
45
|
event_request_message: {
|
46
|
+
client_side_validation: true,
|
44
47
|
required: false,
|
45
48
|
serialized_name: 'eventRequestMessage',
|
46
49
|
type: {
|
@@ -49,6 +52,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
49
52
|
}
|
50
53
|
},
|
51
54
|
event_response_message: {
|
55
|
+
client_side_validation: true,
|
52
56
|
required: false,
|
53
57
|
serialized_name: 'eventResponseMessage',
|
54
58
|
type: {
|
@@ -44,6 +44,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
44
44
|
#
|
45
45
|
def self.mapper()
|
46
46
|
{
|
47
|
+
client_side_validation: true,
|
47
48
|
required: false,
|
48
49
|
serialized_name: 'EventContent',
|
49
50
|
type: {
|
@@ -51,6 +52,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
51
52
|
class_name: 'EventContent',
|
52
53
|
model_properties: {
|
53
54
|
id: {
|
55
|
+
client_side_validation: true,
|
54
56
|
required: false,
|
55
57
|
serialized_name: 'id',
|
56
58
|
type: {
|
@@ -58,6 +60,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
58
60
|
}
|
59
61
|
},
|
60
62
|
timestamp: {
|
63
|
+
client_side_validation: true,
|
61
64
|
required: false,
|
62
65
|
serialized_name: 'timestamp',
|
63
66
|
type: {
|
@@ -65,6 +68,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
65
68
|
}
|
66
69
|
},
|
67
70
|
action: {
|
71
|
+
client_side_validation: true,
|
68
72
|
required: false,
|
69
73
|
serialized_name: 'action',
|
70
74
|
type: {
|
@@ -72,6 +76,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
72
76
|
}
|
73
77
|
},
|
74
78
|
target: {
|
79
|
+
client_side_validation: true,
|
75
80
|
required: false,
|
76
81
|
serialized_name: 'target',
|
77
82
|
type: {
|
@@ -80,6 +85,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
80
85
|
}
|
81
86
|
},
|
82
87
|
request: {
|
88
|
+
client_side_validation: true,
|
83
89
|
required: false,
|
84
90
|
serialized_name: 'request',
|
85
91
|
type: {
|
@@ -88,6 +94,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
88
94
|
}
|
89
95
|
},
|
90
96
|
actor: {
|
97
|
+
client_side_validation: true,
|
91
98
|
required: false,
|
92
99
|
serialized_name: 'actor',
|
93
100
|
type: {
|
@@ -96,6 +103,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
96
103
|
}
|
97
104
|
},
|
98
105
|
source: {
|
106
|
+
client_side_validation: true,
|
99
107
|
required: false,
|
100
108
|
serialized_name: 'source',
|
101
109
|
type: {
|
@@ -22,6 +22,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'EventInfo',
|
27
28
|
type: {
|
@@ -29,6 +30,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
29
30
|
class_name: 'EventInfo',
|
30
31
|
model_properties: {
|
31
32
|
id: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: false,
|
33
35
|
serialized_name: 'id',
|
34
36
|
type: {
|
@@ -60,6 +60,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
60
60
|
#
|
61
61
|
def self.mapper()
|
62
62
|
{
|
63
|
+
client_side_validation: true,
|
63
64
|
required: false,
|
64
65
|
serialized_name: 'EventListResult',
|
65
66
|
type: {
|
@@ -67,11 +68,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
67
68
|
class_name: 'EventListResult',
|
68
69
|
model_properties: {
|
69
70
|
value: {
|
71
|
+
client_side_validation: true,
|
70
72
|
required: false,
|
71
73
|
serialized_name: 'value',
|
72
74
|
type: {
|
73
75
|
name: 'Sequence',
|
74
76
|
element: {
|
77
|
+
client_side_validation: true,
|
75
78
|
required: false,
|
76
79
|
serialized_name: 'EventElementType',
|
77
80
|
type: {
|
@@ -82,6 +85,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
82
85
|
}
|
83
86
|
},
|
84
87
|
next_link: {
|
88
|
+
client_side_validation: true,
|
85
89
|
required: false,
|
86
90
|
serialized_name: 'nextLink',
|
87
91
|
type: {
|
@@ -36,6 +36,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
36
36
|
#
|
37
37
|
def self.mapper()
|
38
38
|
{
|
39
|
+
client_side_validation: true,
|
39
40
|
required: false,
|
40
41
|
serialized_name: 'EventRequestMessage',
|
41
42
|
type: {
|
@@ -43,6 +44,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
43
44
|
class_name: 'EventRequestMessage',
|
44
45
|
model_properties: {
|
45
46
|
content: {
|
47
|
+
client_side_validation: true,
|
46
48
|
required: false,
|
47
49
|
serialized_name: 'content',
|
48
50
|
type: {
|
@@ -51,11 +53,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
51
53
|
}
|
52
54
|
},
|
53
55
|
headers: {
|
56
|
+
client_side_validation: true,
|
54
57
|
required: false,
|
55
58
|
serialized_name: 'headers',
|
56
59
|
type: {
|
57
60
|
name: 'Dictionary',
|
58
61
|
value: {
|
62
|
+
client_side_validation: true,
|
59
63
|
required: false,
|
60
64
|
serialized_name: 'StringElementType',
|
61
65
|
type: {
|
@@ -65,6 +69,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
65
69
|
}
|
66
70
|
},
|
67
71
|
method: {
|
72
|
+
client_side_validation: true,
|
68
73
|
required: false,
|
69
74
|
serialized_name: 'method',
|
70
75
|
type: {
|
@@ -72,6 +77,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
72
77
|
}
|
73
78
|
},
|
74
79
|
request_uri: {
|
80
|
+
client_side_validation: true,
|
75
81
|
required: false,
|
76
82
|
serialized_name: 'requestUri',
|
77
83
|
type: {
|
@@ -79,6 +85,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
79
85
|
}
|
80
86
|
},
|
81
87
|
version: {
|
88
|
+
client_side_validation: true,
|
82
89
|
required: false,
|
83
90
|
serialized_name: 'version',
|
84
91
|
type: {
|
data/lib/2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb
CHANGED
@@ -35,6 +35,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
35
35
|
#
|
36
36
|
def self.mapper()
|
37
37
|
{
|
38
|
+
client_side_validation: true,
|
38
39
|
required: false,
|
39
40
|
serialized_name: 'EventResponseMessage',
|
40
41
|
type: {
|
@@ -42,6 +43,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
42
43
|
class_name: 'EventResponseMessage',
|
43
44
|
model_properties: {
|
44
45
|
content: {
|
46
|
+
client_side_validation: true,
|
45
47
|
required: false,
|
46
48
|
serialized_name: 'content',
|
47
49
|
type: {
|
@@ -49,11 +51,13 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
49
51
|
}
|
50
52
|
},
|
51
53
|
headers: {
|
54
|
+
client_side_validation: true,
|
52
55
|
required: false,
|
53
56
|
serialized_name: 'headers',
|
54
57
|
type: {
|
55
58
|
name: 'Dictionary',
|
56
59
|
value: {
|
60
|
+
client_side_validation: true,
|
57
61
|
required: false,
|
58
62
|
serialized_name: 'StringElementType',
|
59
63
|
type: {
|
@@ -63,6 +67,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
63
67
|
}
|
64
68
|
},
|
65
69
|
reason_phrase: {
|
70
|
+
client_side_validation: true,
|
66
71
|
required: false,
|
67
72
|
serialized_name: 'reasonPhrase',
|
68
73
|
type: {
|
@@ -70,6 +75,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
70
75
|
}
|
71
76
|
},
|
72
77
|
status_code: {
|
78
|
+
client_side_validation: true,
|
73
79
|
required: false,
|
74
80
|
serialized_name: 'statusCode',
|
75
81
|
type: {
|
@@ -77,6 +83,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
|
|
77
83
|
}
|
78
84
|
},
|
79
85
|
version: {
|
86
|
+
client_side_validation: true,
|
80
87
|
required: false,
|
81
88
|
serialized_name: 'version',
|
82
89
|
type: {
|