Skip to content

Commit e0a56ea

Browse files
author
SDKAuto
committed
CodeGen from PR 13729 in Azure/azure-rest-api-specs
Merge 0a9bab83c1bdbe8f1a3fa23a3e6a076ebf93ca45 into f7d973f621c207c58b3a06a797c2540089858e95
1 parent 346afa7 commit e0a56ea

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
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 AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
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/netapp/arm-netapp/src/models/index.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ export interface Volume extends BaseResource {
750750
*/
751751
exportPolicy?: VolumePropertiesExportPolicy;
752752
/**
753-
* protocolTypes. Set of protocol types, default NFSv3, CIFS fro SMB protocol
753+
* protocolTypes. Set of protocol types, default NFSv3, CIFS for SMB protocol
754754
*/
755755
protocolTypes?: string[];
756756
/**
@@ -1395,10 +1395,10 @@ export interface Backup extends BaseResource {
13951395
*/
13961396
label?: string;
13971397
/**
1398-
* Type of backup adhoc or scheduled
1398+
* backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled'
13991399
* **NOTE: This property will not be serialized. It can only be populated by the server.**
14001400
*/
1401-
readonly backupType?: string;
1401+
readonly backupType?: BackupType;
14021402
/**
14031403
* Failure reason
14041404
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -1444,10 +1444,10 @@ export interface BackupPatch extends BaseResource {
14441444
*/
14451445
label?: string;
14461446
/**
1447-
* Type of backup adhoc or scheduled
1447+
* backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled'
14481448
* **NOTE: This property will not be serialized. It can only be populated by the server.**
14491449
*/
1450-
readonly backupType?: string;
1450+
readonly backupType?: BackupType;
14511451
/**
14521452
* Failure reason
14531453
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -2043,6 +2043,14 @@ export type RelationshipStatus = 'Idle' | 'Transferring';
20432043
*/
20442044
export type MirrorState = 'Uninitialized' | 'Mirrored' | 'Broken';
20452045

2046+
/**
2047+
* Defines values for BackupType.
2048+
* Possible values include: 'Manual', 'Scheduled'
2049+
* @readonly
2050+
* @enum {string}
2051+
*/
2052+
export type BackupType = 'Manual' | 'Scheduled';
2053+
20462054
/**
20472055
* Contains response data for the list operation.
20482056
*/

0 commit comments

Comments
 (0)