diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 2432fa2b71..5cf1c96cf5 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -13,38 +13,43 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models - RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + OperationMetricSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters - EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters + WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo - ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor - RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication @@ -56,6 +61,8 @@ module Models ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus + TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction end @@ -93,101 +100,116 @@ def method_missing(method, *args) end class ModelClasses - def registry_usage_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + def trust_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy end def import_source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource end + def registry_policies + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies + end def registry_name_check_request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest end + def import_image_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + end + def registry_name_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + end + def operation_metric_specification_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition + end + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + end def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end - def operation_display_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end def resource Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def registry_password + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end - def registry_password - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + def registry_usage_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def import_image_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + def operation_display_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + end + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end - def registry_name_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + def operation_service_specification_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + def registry_list_credentials_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def quarantine_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage @@ -222,6 +244,12 @@ def password_name def registry_usage_unit Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end + def policy_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus + end + def trust_policy_type + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType + end def webhook_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb index 49a908af60..a3c4a38ffc 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry.rb @@ -27,38 +27,43 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01 autoload :ContainerRegistryManagementClient, '2017-10-01/generated/azure_mgmt_container_registry/container_registry_management_client.rb' module Models - autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb' + autoload :TrustPolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb' autoload :ImportSource, '2017-10-01/generated/azure_mgmt_container_registry/models/import_source.rb' + autoload :RegistryPolicies, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb' autoload :RegistryNameCheckRequest, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb' + autoload :ImportImageParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb' + autoload :RegistryNameStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb' + autoload :OperationMetricSpecificationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb' + autoload :OperationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb' autoload :ReplicationUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb' - autoload :OperationDisplayDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb' + autoload :Sku, '2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb' autoload :ReplicationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/replication_list_result.rb' - autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb' + autoload :StorageAccountProperties, '2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb' autoload :Resource, '2017-10-01/generated/azure_mgmt_container_registry/models/resource.rb' - autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb' - autoload :WebhookCreateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb' - autoload :EventListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb' autoload :RegistryUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb' - autoload :WebhookUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb' + autoload :WebhookCreateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb' autoload :RegistryPassword, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_password.rb' - autoload :WebhookListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb' + autoload :WebhookUpdateParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb' autoload :RegenerateCredentialParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb' + autoload :WebhookListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_list_result.rb' + autoload :RegistryUsageListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb' autoload :EventInfo, '2017-10-01/generated/azure_mgmt_container_registry/models/event_info.rb' - autoload :ImportImageParameters, '2017-10-01/generated/azure_mgmt_container_registry/models/import_image_parameters.rb' + autoload :OperationDisplayDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_display_definition.rb' autoload :CallbackConfig, '2017-10-01/generated/azure_mgmt_container_registry/models/callback_config.rb' - autoload :OperationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb' + autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_list_result.rb' autoload :Target, '2017-10-01/generated/azure_mgmt_container_registry/models/target.rb' - autoload :StorageAccountProperties, '2017-10-01/generated/azure_mgmt_container_registry/models/storage_account_properties.rb' + autoload :EventListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/event_list_result.rb' + autoload :RegistryListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb' autoload :Request, '2017-10-01/generated/azure_mgmt_container_registry/models/request.rb' - autoload :RegistryListCredentialsResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb' + autoload :RegistryUsage, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb' autoload :Actor, '2017-10-01/generated/azure_mgmt_container_registry/models/actor.rb' - autoload :RegistryNameStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb' + autoload :OperationServiceSpecificationDefinition, '2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb' autoload :Source, '2017-10-01/generated/azure_mgmt_container_registry/models/source.rb' - autoload :RegistryListResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_result.rb' + autoload :RegistryListCredentialsResult, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb' autoload :EventContent, '2017-10-01/generated/azure_mgmt_container_registry/models/event_content.rb' - autoload :Sku, '2017-10-01/generated/azure_mgmt_container_registry/models/sku.rb' + autoload :Status, '2017-10-01/generated/azure_mgmt_container_registry/models/status.rb' autoload :EventRequestMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_request_message.rb' - autoload :RegistryUsage, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage.rb' + autoload :QuarantinePolicy, '2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb' autoload :EventResponseMessage, '2017-10-01/generated/azure_mgmt_container_registry/models/event_response_message.rb' autoload :Registry, '2017-10-01/generated/azure_mgmt_container_registry/models/registry.rb' autoload :Replication, '2017-10-01/generated/azure_mgmt_container_registry/models/replication.rb' @@ -70,6 +75,8 @@ module Models autoload :ProvisioningState, '2017-10-01/generated/azure_mgmt_container_registry/models/provisioning_state.rb' autoload :PasswordName, '2017-10-01/generated/azure_mgmt_container_registry/models/password_name.rb' autoload :RegistryUsageUnit, '2017-10-01/generated/azure_mgmt_container_registry/models/registry_usage_unit.rb' + autoload :PolicyStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/policy_status.rb' + autoload :TrustPolicyType, '2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb' autoload :WebhookStatus, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_status.rb' autoload :WebhookAction, '2017-10-01/generated/azure_mgmt_container_registry/models/webhook_action.rb' end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb index 58d53dee3c..a896f07d42 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_definition.rb @@ -12,6 +12,10 @@ class OperationDefinition include MsRestAzure + # @return [String] The origin information of the container registry + # operation. + attr_accessor :origin + # @return [String] Operation name: {provider}/{resource}/{operation}. attr_accessor :name @@ -19,6 +23,10 @@ class OperationDefinition # container registry operation. attr_accessor :display + # @return [OperationServiceSpecificationDefinition] The definition of + # Azure Monitoring service. + attr_accessor :service_specification + # # Mapper for OperationDefinition class as Ruby Hash. @@ -32,6 +40,13 @@ def self.mapper() name: 'Composite', class_name: 'OperationDefinition', model_properties: { + origin: { + required: false, + serialized_name: 'origin', + type: { + name: 'String' + } + }, name: { required: false, serialized_name: 'name', @@ -46,6 +61,14 @@ def self.mapper() name: 'Composite', class_name: 'OperationDisplayDefinition' } + }, + service_specification: { + required: false, + serialized_name: 'properties.serviceSpecification', + type: { + name: 'Composite', + class_name: 'OperationServiceSpecificationDefinition' + } } } } diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb new file mode 100644 index 0000000000..1b020fdc7b --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_metric_specification_definition.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # The definition of Azure Monitoring metric. + # + class OperationMetricSpecificationDefinition + + include MsRestAzure + + # @return [String] Metric name. + attr_accessor :name + + # @return [String] Metric display name. + attr_accessor :display_name + + # @return [String] Metric description. + attr_accessor :display_description + + # @return [String] Metric unit. + attr_accessor :unit + + # @return [String] Metric aggregation type. + attr_accessor :aggregation_type + + # @return [String] Internal metric name. + attr_accessor :internal_metric_name + + + # + # Mapper for OperationMetricSpecificationDefinition class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationMetricSpecificationDefinition', + type: { + name: 'Composite', + class_name: 'OperationMetricSpecificationDefinition', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display_name: { + required: false, + serialized_name: 'displayName', + type: { + name: 'String' + } + }, + display_description: { + required: false, + serialized_name: 'displayDescription', + type: { + name: 'String' + } + }, + unit: { + required: false, + serialized_name: 'unit', + type: { + name: 'String' + } + }, + aggregation_type: { + required: false, + serialized_name: 'aggregationType', + type: { + name: 'String' + } + }, + internal_metric_name: { + required: false, + serialized_name: 'internalMetricName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb new file mode 100644 index 0000000000..207cb865ef --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/operation_service_specification_definition.rb @@ -0,0 +1,53 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # The definition of Azure Monitoring metrics list. + # + class OperationServiceSpecificationDefinition + + include MsRestAzure + + # @return [Array] A list of Azure + # Monitoring metrics definition. + attr_accessor :metric_specifications + + + # + # Mapper for OperationServiceSpecificationDefinition class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationServiceSpecificationDefinition', + type: { + name: 'Composite', + class_name: 'OperationServiceSpecificationDefinition', + model_properties: { + metric_specifications: { + required: false, + serialized_name: 'metricSpecifications', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationMetricSpecificationDefinitionElementType', + type: { + name: 'Composite', + class_name: 'OperationMetricSpecificationDefinition' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/policy_status.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/policy_status.rb new file mode 100644 index 0000000000..6137e3ae16 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/policy_status.rb @@ -0,0 +1,16 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # Defines values for PolicyStatus + # + module PolicyStatus + Enabled = "enabled" + Disabled = "disabled" + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb new file mode 100644 index 0000000000..6da5ec7be3 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/quarantine_policy.rb @@ -0,0 +1,45 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # An object that represents quarantine policy for a container registry. + # + class QuarantinePolicy + + include MsRestAzure + + # @return [PolicyStatus] The value that indicates whether the policy is + # enabled or not. Possible values include: 'enabled', 'disabled' + attr_accessor :status + + + # + # Mapper for QuarantinePolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'QuarantinePolicy', + type: { + name: 'Composite', + class_name: 'QuarantinePolicy', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb new file mode 100644 index 0000000000..0dda64d33a --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_policies.rb @@ -0,0 +1,58 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # An object that represents policies for a container registry. + # + class RegistryPolicies + + include MsRestAzure + + # @return [QuarantinePolicy] An object that represents quarantine policy + # for a container registry. + attr_accessor :quarantine_policy + + # @return [TrustPolicy] An object that represents content trust policy + # for a container registry. + attr_accessor :trust_policy + + + # + # Mapper for RegistryPolicies class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RegistryPolicies', + type: { + name: 'Composite', + class_name: 'RegistryPolicies', + model_properties: { + quarantine_policy: { + required: false, + serialized_name: 'quarantinePolicy', + type: { + name: 'Composite', + class_name: 'QuarantinePolicy' + } + }, + trust_policy: { + required: false, + serialized_name: 'trustPolicy', + type: { + name: 'Composite', + class_name: 'TrustPolicy' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb new file mode 100644 index 0000000000..fbbb8789d1 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb @@ -0,0 +1,56 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # An object that represents content trust policy for a container registry. + # + class TrustPolicy + + include MsRestAzure + + # @return [TrustPolicyType] The type of trust policy. Possible values + # include: 'Notary' + attr_accessor :type + + # @return [PolicyStatus] The value that indicates whether the policy is + # enabled or not. Possible values include: 'enabled', 'disabled' + attr_accessor :status + + + # + # Mapper for TrustPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrustPolicy', + type: { + name: 'Composite', + class_name: 'TrustPolicy', + model_properties: { + type: { + required: false, + serialized_name: 'type', + type: { + name: 'String' + } + }, + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb new file mode 100644 index 0000000000..47ebb92047 --- /dev/null +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy_type.rb @@ -0,0 +1,15 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerRegistry::Mgmt::V2017_10_01 + module Models + # + # Defines values for TrustPolicyType + # + module TrustPolicyType + Notary = "Notary" + end + end +end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_action.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_action.rb index e5b16d6528..5dd223f1e5 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_action.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/models/webhook_action.rb @@ -11,6 +11,7 @@ module Models module WebhookAction Push = "push" Delete = "delete" + Quarantine = "quarantine" end end end diff --git a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb index fe922f16b1..709c1e5725 100644 --- a/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb +++ b/management/azure_mgmt_container_registry/lib/2017-10-01/generated/azure_mgmt_container_registry/registries.rb @@ -876,6 +876,148 @@ def list_usages_async(resource_group_name, registry_name, custom_headers = nil) promise.execute end + # + # Lists the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RegistryPolicies] operation results. + # + def list_policies(resource_group_name, registry_name, custom_headers = nil) + response = list_policies_async(resource_group_name, registry_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_policies_with_http_info(resource_group_name, registry_name, custom_headers = nil) + list_policies_async(resource_group_name, registry_name, custom_headers).value! + end + + # + # Lists the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_policies_async(resource_group_name, registry_name, custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'registry_name is nil' if registry_name.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listPolicies' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Updates the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param registry_policies_update_parameters [RegistryPolicies] The parameters + # for updating policies of a container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RegistryPolicies] operation results. + # + def update_policies(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers = nil) + response = update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param registry_policies_update_parameters [RegistryPolicies] The parameters + # for updating policies of a container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers = nil) + # Send request + promise = begin_update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + # # Copies an image to this container registry from the specified container # registry. @@ -1298,6 +1440,116 @@ def begin_update_async(resource_group_name, registry_name, registry_update_param promise.execute end + # + # Updates the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param registry_policies_update_parameters [RegistryPolicies] The parameters + # for updating policies of a container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RegistryPolicies] operation results. + # + def begin_update_policies(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers = nil) + response = begin_update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param registry_policies_update_parameters [RegistryPolicies] The parameters + # for updating policies of a container registry. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_update_policies_with_http_info(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers = nil) + begin_update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers).value! + end + + # + # Updates the policies for the specified container registry. + # + # @param resource_group_name [String] The name of the resource group to which + # the container registry belongs. + # @param registry_name [String] The name of the container registry. + # @param registry_policies_update_parameters [RegistryPolicies] The parameters + # for updating policies of a container registry. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_update_policies_async(resource_group_name, registry_name, registry_policies_update_parameters, custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'registry_name is nil' if registry_name.nil? + fail ArgumentError, 'registry_policies_update_parameters is nil' if registry_policies_update_parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies.mapper() + request_content = @client.serialize(request_mapper, registry_policies_update_parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/updatePolicies' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + # # Lists all the container registries under the specified resource group. # diff --git a/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb b/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb index b29bedb1dc..7626f1638a 100644 --- a/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb +++ b/management/azure_mgmt_container_registry/lib/profiles/latest/modules/containerregistry_profile_module.rb @@ -12,38 +12,43 @@ module Mgmt Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models - RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource + RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest + ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + OperationMetricSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters - EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters + WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo - ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor - RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication @@ -55,6 +60,8 @@ module Models ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus + TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction end @@ -107,101 +114,116 @@ def method_missing(method, *args) end class ModelClasses - def registry_usage_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + def trust_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy end def import_source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource end + def registry_policies + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies + end def registry_name_check_request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest end + def import_image_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + end + def registry_name_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + end + def operation_metric_specification_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition + end + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + end def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end - def operation_display_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end def resource Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def registry_password + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end - def registry_password - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + def registry_usage_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def import_image_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + def operation_display_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + end + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def request Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end - def registry_name_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus + def operation_service_specification_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + def registry_list_credentials_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def quarantine_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage @@ -236,6 +258,12 @@ def password_name def registry_usage_unit Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end + def policy_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus + end + def trust_policy_type + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType + end def webhook_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus end