Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Generated from 94aaf65edfd82b449c0d7e8128fcfedfe6870849 (#1386) (#1390)
Browse files Browse the repository at this point in the history
Update default tag to 2018-02-preview
  • Loading branch information
AutorestCI authored and sarangan12 committed Jun 19, 2018
1 parent c434e6f commit 281d6fa
Show file tree
Hide file tree
Showing 120 changed files with 1,111 additions and 1,457 deletions.
120 changes: 66 additions & 54 deletions azure_sdk/lib/latest/modules/containerregistry_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,44 @@ module Mgmt
Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks

module Models
RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource
RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters
ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult
RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition
OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
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
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
StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties
WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters
EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult
RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters
WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult
WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters
RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword
EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo
WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult
RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters
EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo
ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters
CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig
RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target
RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties
Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request
Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status
RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult
Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor
RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult
RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage
RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult
EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent
OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult
Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku
EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage
RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult
RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage
EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage
EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult
Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource
Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry
Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication
Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook
Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event
ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode
SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName
SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier
ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState
Expand Down Expand Up @@ -90,99 +93,105 @@ def method_missing(method, *args)
end

class ModelClasses
def registry_usage_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
end
def import_source
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource
end
def registry_name_check_request
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
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
end
def replication_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult
end
def registry_name_status
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
end
def operation_display_definition
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition
def operation_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult
end
def operation_definition
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
def resource
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource
end
def sku
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku
def status
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status
end
def webhook_create_parameters
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters
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_update_parameters
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters
end
def webhook_update_parameters
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters
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_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult
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 event_info
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo
end
def regenerate_credential_parameters
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters
def import_image_parameters
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters
end
def callback_config
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig
end
def registry_usage_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
def operation_definition
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
end
def target
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target
end
def registry_name_check_request
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
def storage_account_properties
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties
end
def request
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request
end
def status
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status
def registry_list_credentials_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult
end
def actor
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor
end
def registry_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult
def registry_name_status
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
end
def source
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
end
def registry_usage
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage
def registry_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult
end
def event_content
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent
end
def operation_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult
def sku
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku
end
def event_request_message
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage
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 event_response_message
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage
end
def event_list_result
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult
end
def resource
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource
end
def registry
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry
end
Expand All @@ -195,6 +204,9 @@ def webhook
def event
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event
end
def import_mode
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode
end
def sku_name
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ def make_request_async(method, path, options = {})
fail ArgumentError, 'path is nil' if path.nil?

request_url = options[:base_url] || @base_url
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
@request_headers['Content-Type'] = options[:headers]['Content-Type']
end

request_headers = @request_headers
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
Expand All @@ -123,7 +120,9 @@ def make_request_async(method, path, options = {})
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.16.0"
if defined? Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::VERSION
sdk_information = "#{sdk_information}/#{Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::VERSION}"
end
add_user_agent_information(sdk_information)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ class Registry < Resource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Registry',
type: {
name: 'Composite',
class_name: 'Registry',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
Expand All @@ -53,7 +51,6 @@ def self.mapper()
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
Expand All @@ -62,7 +59,6 @@ def self.mapper()
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
Expand All @@ -71,21 +67,18 @@ def self.mapper()
}
},
location: {
client_side_validation: true,
required: true,
serialized_name: 'location',
type: {
name: 'String'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
Expand All @@ -95,7 +88,6 @@ def self.mapper()
}
},
login_server: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.loginServer',
Expand All @@ -104,7 +96,6 @@ def self.mapper()
}
},
creation_date: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.creationDate',
Expand All @@ -113,7 +104,6 @@ def self.mapper()
}
},
admin_user_enabled: {
client_side_validation: true,
required: false,
serialized_name: 'properties.adminUserEnabled',
default_value: false,
Expand All @@ -122,7 +112,6 @@ def self.mapper()
}
},
storage_account: {
client_side_validation: true,
required: true,
serialized_name: 'properties.storageAccount',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,20 @@ class RegistryCredentials
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'RegistryCredentials',
type: {
name: 'Composite',
class_name: 'RegistryCredentials',
model_properties: {
username: {
client_side_validation: true,
required: false,
serialized_name: 'username',
type: {
name: 'String'
}
},
password: {
client_side_validation: true,
required: false,
serialized_name: 'password',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,18 @@ def get_next_page
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'RegistryListResult',
type: {
name: 'Composite',
class_name: 'RegistryListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'RegistryElementType',
type: {
Expand All @@ -85,7 +82,6 @@ def self.mapper()
}
},
next_link: {
client_side_validation: true,
required: false,
serialized_name: 'nextLink',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,20 @@ class RegistryNameCheckRequest
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'RegistryNameCheckRequest',
type: {
name: 'Composite',
class_name: 'RegistryNameCheckRequest',
model_properties: {
name: {
client_side_validation: true,
required: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,
is_constant: true,
serialized_name: 'type',
Expand Down
Loading

0 comments on commit 281d6fa

Please sign in to comment.