Skip to content

Commit d8d663c

Browse files
author
SDKAuto
committed
CodeGen from PR 13166 in Azure/azure-rest-api-specs
Merge b353336f78b47a9a9d83765d68a6b9b87ea76f95 into 89f00c23e9b247304c490504f182aebd0dff4f4e
1 parent 82c42a2 commit d8d663c

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class AppPlatformManagementClientContext extends msRestAzure.AzureService
3737
if (!options) {
3838
options = {};
3939
}
40-
if (!options.userAgent) {
40+
if(!options.userAgent) {
4141
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
4242
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
4343
}
@@ -52,10 +52,10 @@ export class AppPlatformManagementClientContext extends msRestAzure.AzureService
5252
this.credentials = credentials;
5353
this.subscriptionId = subscriptionId;
5454

55-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
55+
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
5656
this.acceptLanguage = options.acceptLanguage;
5757
}
58-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
58+
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
5959
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
6060
}
6161
}

sdk/appplatform/arm-appplatform/src/models/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ export interface ClusterResourceProperties {
120120
*/
121121
export interface Sku {
122122
/**
123-
* Name of the Sku
123+
* Name of the Sku. Default value: 'S0'.
124124
*/
125125
name?: string;
126126
/**
127-
* Tier of the Sku
127+
* Tier of the Sku. Default value: 'Standard'.
128128
*/
129129
tier?: string;
130130
/**
@@ -546,10 +546,6 @@ export interface AppResourceProperties {
546546
* Indicate if only https is allowed.
547547
*/
548548
httpsOnly?: boolean;
549-
/**
550-
* Indicate if end to end TLS is enabled.
551-
*/
552-
enableEndToEndTLS?: boolean;
553549
/**
554550
* Date time when the resource is created
555551
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -563,6 +559,10 @@ export interface AppResourceProperties {
563559
* Persistent disk settings
564560
*/
565561
persistentDisk?: PersistentDisk;
562+
/**
563+
* Indicate if end to end TLS is enabled.
564+
*/
565+
enableEndToEndTLS?: boolean;
566566
}
567567

568568
/**

sdk/appplatform/arm-appplatform/src/models/mappers.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,14 @@ export const Sku: msRest.CompositeMapper = {
196196
modelProperties: {
197197
name: {
198198
serializedName: "name",
199+
defaultValue: 'S0',
199200
type: {
200201
name: "String"
201202
}
202203
},
203204
tier: {
204205
serializedName: "tier",
206+
defaultValue: 'Standard',
205207
type: {
206208
name: "String"
207209
}
@@ -910,12 +912,6 @@ export const AppResourceProperties: msRest.CompositeMapper = {
910912
name: "Boolean"
911913
}
912914
},
913-
enableEndToEndTLS: {
914-
serializedName: "enableEndToEndTLS",
915-
type: {
916-
name: "Boolean"
917-
}
918-
},
919915
createdTime: {
920916
readOnly: true,
921917
serializedName: "createdTime",
@@ -936,6 +932,12 @@ export const AppResourceProperties: msRest.CompositeMapper = {
936932
name: "Composite",
937933
className: "PersistentDisk"
938934
}
935+
},
936+
enableEndToEndTLS: {
937+
serializedName: "enableEndToEndTLS",
938+
type: {
939+
name: "Boolean"
940+
}
939941
}
940942
}
941943
}

0 commit comments

Comments
 (0)