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

[AutoPR] servermanagement/resource-manager #1316

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure_sdk/lib/azure_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

require 'latest/latest_profile_client'
require 'v2017_03_09/v2017_03_09_profile_client'
require 'latest/latest_profile_client'

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,34 @@ class EncryptionJwkResource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'EncryptionJwkResource',
type: {
name: 'Composite',
class_name: 'EncryptionJwkResource',
model_properties: {
kty: {
client_side_validation: true,
required: false,
serialized_name: 'kty',
type: {
name: 'String'
}
},
alg: {
client_side_validation: true,
required: false,
serialized_name: 'alg',
type: {
name: 'String'
}
},
e: {
client_side_validation: true,
required: false,
serialized_name: 'e',
type: {
name: 'String'
}
},
n: {
client_side_validation: true,
required: false,
serialized_name: 'n',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,27 @@ class Error
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Error',
type: {
name: 'Composite',
class_name: 'Error',
model_properties: {
code: {
client_side_validation: true,
required: false,
serialized_name: 'code',
type: {
name: 'Number'
}
},
message: {
client_side_validation: true,
required: false,
serialized_name: 'message',
type: {
name: 'String'
}
},
fields: {
client_side_validation: true,
required: false,
serialized_name: 'fields',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,27 @@ class GatewayParameters
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'GatewayParameters',
type: {
name: 'Composite',
class_name: 'GatewayParameters',
model_properties: {
location: {
client_side_validation: true,
required: false,
serialized_name: 'location',
type: {
name: 'String'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Object'
}
},
upgrade_mode: {
client_side_validation: true,
required: false,
serialized_name: 'properties.upgradeMode',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,87 +51,76 @@ class GatewayProfile
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'GatewayProfile',
type: {
name: 'Composite',
class_name: 'GatewayProfile',
model_properties: {
data_plane_service_base_address: {
client_side_validation: true,
required: false,
serialized_name: 'dataPlaneServiceBaseAddress',
type: {
name: 'String'
}
},
gateway_id: {
client_side_validation: true,
required: false,
serialized_name: 'gatewayId',
type: {
name: 'String'
}
},
environment: {
client_side_validation: true,
required: false,
serialized_name: 'environment',
type: {
name: 'String'
}
},
upgrade_manifest_url: {
client_side_validation: true,
required: false,
serialized_name: 'upgradeManifestUrl',
type: {
name: 'String'
}
},
messaging_namespace: {
client_side_validation: true,
required: false,
serialized_name: 'messagingNamespace',
type: {
name: 'String'
}
},
messaging_account: {
client_side_validation: true,
required: false,
serialized_name: 'messagingAccount',
type: {
name: 'String'
}
},
messaging_key: {
client_side_validation: true,
required: false,
serialized_name: 'messagingKey',
type: {
name: 'String'
}
},
request_queue: {
client_side_validation: true,
required: false,
serialized_name: 'requestQueue',
type: {
name: 'String'
}
},
response_topic: {
client_side_validation: true,
required: false,
serialized_name: 'responseTopic',
type: {
name: 'String'
}
},
status_blob_signature: {
client_side_validation: true,
required: false,
serialized_name: 'statusBlobSignature',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,13 @@ class GatewayResource < Resource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'GatewayResource',
type: {
name: 'Composite',
class_name: 'GatewayResource',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
Expand All @@ -70,7 +68,6 @@ def self.mapper()
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
Expand All @@ -79,7 +76,6 @@ def self.mapper()
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
Expand All @@ -88,7 +84,6 @@ def self.mapper()
}
},
location: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'location',
Expand All @@ -97,13 +92,11 @@ def self.mapper()
}
},
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 @@ -113,31 +106,27 @@ def self.mapper()
}
},
etag: {
client_side_validation: true,
required: false,
serialized_name: 'etag',
type: {
name: 'String'
}
},
created: {
client_side_validation: true,
required: false,
serialized_name: 'properties.created',
type: {
name: 'DateTime'
}
},
updated: {
client_side_validation: true,
required: false,
serialized_name: 'properties.updated',
type: {
name: 'DateTime'
}
},
upgrade_mode: {
client_side_validation: true,
required: false,
serialized_name: 'properties.upgradeMode',
type: {
Expand All @@ -146,21 +135,18 @@ def self.mapper()
}
},
desired_version: {
client_side_validation: true,
required: false,
serialized_name: 'properties.desiredVersion',
type: {
name: 'String'
}
},
instances: {
client_side_validation: true,
required: false,
serialized_name: 'properties.instances',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'GatewayStatusElementType',
type: {
Expand All @@ -171,31 +157,27 @@ def self.mapper()
}
},
active_message_count: {
client_side_validation: true,
required: false,
serialized_name: 'properties.activeMessageCount',
type: {
name: 'Number'
}
},
latest_published_msi_version: {
client_side_validation: true,
required: false,
serialized_name: 'properties.latestPublishedMsiVersion',
type: {
name: 'String'
}
},
published_time_utc: {
client_side_validation: true,
required: false,
serialized_name: 'properties.publishedTimeUtc',
type: {
name: 'DateTime'
}
},
installer_download: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.installerDownload',
Expand All @@ -204,7 +186,6 @@ def self.mapper()
}
},
minimum_version: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.minimumVersion',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,18 @@ def get_next_page
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'GatewayResources',
type: {
name: 'Composite',
class_name: 'GatewayResources',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'GatewayResourceElementType',
type: {
Expand All @@ -82,7 +79,6 @@ def self.mapper()
}
},
next_link: {
client_side_validation: true,
required: false,
serialized_name: 'nextLink',
type: {
Expand Down
Loading