diff --git a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts index 88482c4f75bd..32eafd0a3d69 100644 --- a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts +++ b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts @@ -37,7 +37,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -52,10 +52,10 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/netapp/arm-netapp/src/models/index.ts b/sdk/netapp/arm-netapp/src/models/index.ts index 223629296175..1e0e9d9ad29f 100644 --- a/sdk/netapp/arm-netapp/src/models/index.ts +++ b/sdk/netapp/arm-netapp/src/models/index.ts @@ -750,7 +750,7 @@ export interface Volume extends BaseResource { */ exportPolicy?: VolumePropertiesExportPolicy; /** - * protocolTypes. Set of protocol types, default NFSv3, CIFS fro SMB protocol + * protocolTypes. Set of protocol types, default NFSv3, CIFS for SMB protocol */ protocolTypes?: string[]; /** @@ -1395,10 +1395,10 @@ export interface Backup extends BaseResource { */ label?: string; /** - * Type of backup adhoc or scheduled + * backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly backupType?: string; + readonly backupType?: BackupType; /** * Failure reason * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1444,10 +1444,10 @@ export interface BackupPatch extends BaseResource { */ label?: string; /** - * Type of backup adhoc or scheduled + * backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly backupType?: string; + readonly backupType?: BackupType; /** * Failure reason * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2043,6 +2043,14 @@ export type RelationshipStatus = 'Idle' | 'Transferring'; */ export type MirrorState = 'Uninitialized' | 'Mirrored' | 'Broken'; +/** + * Defines values for BackupType. + * Possible values include: 'Manual', 'Scheduled' + * @readonly + * @enum {string} + */ +export type BackupType = 'Manual' | 'Scheduled'; + /** * Contains response data for the list operation. */