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

[AutoPR] storage/resource-manager #1321

Merged
merged 2 commits into from
Jun 13, 2018
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,20 @@ class CheckNameAvailabilityResult
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CheckNameAvailabilityResult',
type: {
name: 'Composite',
class_name: 'CheckNameAvailabilityResult',
model_properties: {
name_available: {
client_side_validation: true,
required: false,
serialized_name: 'nameAvailable',
type: {
name: 'Boolean'
}
},
reason: {
client_side_validation: true,
required: false,
serialized_name: 'reason',
type: {
Expand All @@ -58,7 +55,6 @@ def self.mapper()
}
},
message: {
client_side_validation: true,
required: false,
serialized_name: 'message',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,20 @@ class CustomDomain
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CustomDomain',
type: {
name: 'Composite',
class_name: 'CustomDomain',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
use_sub_domain: {
client_side_validation: true,
required: false,
serialized_name: 'useSubDomain',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,27 @@ class Endpoints
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Endpoints',
type: {
name: 'Composite',
class_name: 'Endpoints',
model_properties: {
blob: {
client_side_validation: true,
required: false,
serialized_name: 'blob',
type: {
name: 'String'
}
},
queue: {
client_side_validation: true,
required: false,
serialized_name: 'queue',
type: {
name: 'String'
}
},
table: {
client_side_validation: true,
required: false,
serialized_name: 'table',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ class Resource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Resource',
type: {
name: 'Composite',
class_name: 'Resource',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
Expand All @@ -52,7 +50,6 @@ def self.mapper()
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
Expand All @@ -61,7 +58,6 @@ def self.mapper()
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
Expand All @@ -70,21 +66,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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,13 @@ class StorageAccount < Resource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'StorageAccount',
type: {
name: 'Composite',
class_name: 'StorageAccount',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
Expand All @@ -92,7 +90,6 @@ def self.mapper()
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
Expand All @@ -101,7 +98,6 @@ def self.mapper()
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
Expand All @@ -110,21 +106,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 @@ -134,7 +127,6 @@ def self.mapper()
}
},
provisioning_state: {
client_side_validation: true,
required: false,
serialized_name: 'properties.provisioningState',
type: {
Expand All @@ -143,7 +135,6 @@ def self.mapper()
}
},
account_type: {
client_side_validation: true,
required: false,
serialized_name: 'properties.accountType',
type: {
Expand All @@ -152,7 +143,6 @@ def self.mapper()
}
},
primary_endpoints: {
client_side_validation: true,
required: false,
serialized_name: 'properties.primaryEndpoints',
type: {
Expand All @@ -161,15 +151,13 @@ def self.mapper()
}
},
primary_location: {
client_side_validation: true,
required: false,
serialized_name: 'properties.primaryLocation',
type: {
name: 'String'
}
},
status_of_primary: {
client_side_validation: true,
required: false,
serialized_name: 'properties.statusOfPrimary',
type: {
Expand All @@ -178,23 +166,20 @@ def self.mapper()
}
},
last_geo_failover_time: {
client_side_validation: true,
required: false,
serialized_name: 'properties.lastGeoFailoverTime',
type: {
name: 'DateTime'
}
},
secondary_location: {
client_side_validation: true,
required: false,
serialized_name: 'properties.secondaryLocation',
type: {
name: 'String'
}
},
status_of_secondary: {
client_side_validation: true,
required: false,
serialized_name: 'properties.statusOfSecondary',
type: {
Expand All @@ -203,15 +188,13 @@ def self.mapper()
}
},
creation_time: {
client_side_validation: true,
required: false,
serialized_name: 'properties.creationTime',
type: {
name: 'DateTime'
}
},
custom_domain: {
client_side_validation: true,
required: false,
serialized_name: 'properties.customDomain',
type: {
Expand All @@ -220,7 +203,6 @@ def self.mapper()
}
},
secondary_endpoints: {
client_side_validation: true,
required: false,
serialized_name: 'properties.secondaryEndpoints',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,20 @@ class StorageAccountCheckNameAvailabilityParameters
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'StorageAccountCheckNameAvailabilityParameters',
type: {
name: 'Composite',
class_name: 'StorageAccountCheckNameAvailabilityParameters',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
serialized_name: 'type',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ class StorageAccountCreateParameters < Resource
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'StorageAccountCreateParameters',
type: {
name: 'Composite',
class_name: 'StorageAccountCreateParameters',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
Expand All @@ -41,7 +39,6 @@ def self.mapper()
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
Expand All @@ -50,7 +47,6 @@ def self.mapper()
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
Expand All @@ -59,21 +55,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 @@ -83,7 +76,6 @@ def self.mapper()
}
},
account_type: {
client_side_validation: true,
required: false,
serialized_name: 'properties.accountType',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,20 @@ class StorageAccountKeys
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'StorageAccountKeys',
type: {
name: 'Composite',
class_name: 'StorageAccountKeys',
model_properties: {
key1: {
client_side_validation: true,
required: false,
serialized_name: 'key1',
type: {
name: 'String'
}
},
key2: {
client_side_validation: true,
required: false,
serialized_name: 'key2',
type: {
Expand Down
Loading