Skip to content

Commit a64a0e9

Browse files
author
SDKAuto
committed
CodeGen from PR 12271 in Azure/azure-rest-api-specs
Merge 6322006fc01159444085fc92a764bf5e6d4c9000 into 4f48037eb2df7537f7468afe4b793ef4a31f5fe1
1 parent 9031d2e commit a64a0e9

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

sdk/appplatform/arm-appplatform/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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: 2 additions & 2 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
/**

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

Lines changed: 2 additions & 0 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
}

0 commit comments

Comments
 (0)