Skip to content

Commit

Permalink
CodeGen from PR 12852 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0420d4c2e447322b1465342983d19d7f2211bab0 into 01ba174408f23e21682faacef5a9359168e03180
  • Loading branch information
SDKAuto committed Feb 9, 2021
1 parent 4b9f676 commit c6aebba
Show file tree
Hide file tree
Showing 19 changed files with 556 additions and 110 deletions.
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft
Copyright (c) 2021 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}

super(credentials, options);

this.apiVersion = '2020-09-01';
this.apiVersion = '2020-11-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
this.requestContentType = "application/json; charset=utf-8";
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;
}
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/netapp/arm-netapp/src/models/accountBackupsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
AccountEncryption,
ActiveDirectory,
Backup,
BackupPatch,
Expand All @@ -28,6 +29,7 @@ export {
ReplicationObject,
Snapshot,
SnapshotPolicy,
SystemData,
Vault,
Volume,
VolumeBackupProperties,
Expand Down
2 changes: 2 additions & 0 deletions sdk/netapp/arm-netapp/src/models/accountsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
AccountEncryption,
ActiveDirectory,
Backup,
BackupPatch,
Expand All @@ -28,6 +29,7 @@ export {
ReplicationObject,
Snapshot,
SnapshotPolicy,
SystemData,
Vault,
Volume,
VolumeBackupProperties,
Expand Down
2 changes: 2 additions & 0 deletions sdk/netapp/arm-netapp/src/models/backupPoliciesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
AccountEncryption,
ActiveDirectory,
Backup,
BackupPatch,
Expand All @@ -28,6 +29,7 @@ export {
ReplicationObject,
Snapshot,
SnapshotPolicy,
SystemData,
Vault,
Volume,
VolumeBackupProperties,
Expand Down
2 changes: 2 additions & 0 deletions sdk/netapp/arm-netapp/src/models/backupsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
AccountEncryption,
ActiveDirectory,
Backup,
BackupPatch,
Expand All @@ -28,6 +29,7 @@ export {
ReplicationObject,
Snapshot,
SnapshotPolicy,
SystemData,
Vault,
Volume,
VolumeBackupProperties,
Expand Down
Loading

0 comments on commit c6aebba

Please sign in to comment.