Skip to content

Commit 3ca024f

Browse files
authored
Arm netapp release (Azure#15242)
* arm-netapp-release * arm-netapp-release
1 parent 7a4837a commit 3ca024f

13 files changed

+1202
-961
lines changed

sdk/netapp/arm-netapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-netapp",
33
"author": "Microsoft Corporation",
44
"description": "AzureNetAppFilesManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "13.0.0",
5+
"version": "14.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
88
"@azure/ms-rest-js": "^2.0.4",

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import * as Mappers from "./models/mappers";
1313
import * as operations from "./operations";
1414
import { AzureNetAppFilesManagementClientContext } from "./azureNetAppFilesManagementClientContext";
1515

16-
1716
class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientContext {
1817
// Operation groups
1918
operations: operations.Operations;
@@ -23,9 +22,8 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
2322
volumes: operations.Volumes;
2423
snapshots: operations.Snapshots;
2524
snapshotPolicies: operations.SnapshotPolicies;
26-
volumeBackupStatus: operations.VolumeBackupStatus;
27-
accountBackups: operations.AccountBackups;
2825
backups: operations.Backups;
26+
accountBackups: operations.AccountBackups;
2927
backupPolicies: operations.BackupPolicies;
3028
vaults: operations.Vaults;
3129

@@ -36,7 +34,11 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
3634
* subscription. The subscription ID forms part of the URI for every service call.
3735
* @param [options] The parameter options
3836
*/
39-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureNetAppFilesManagementClientOptions) {
37+
constructor(
38+
credentials: msRest.ServiceClientCredentials,
39+
subscriptionId: string,
40+
options?: Models.AzureNetAppFilesManagementClientOptions
41+
) {
4042
super(credentials, subscriptionId, options);
4143
this.operations = new operations.Operations(this);
4244
this.netAppResource = new operations.NetAppResource(this);
@@ -45,9 +47,8 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
4547
this.volumes = new operations.Volumes(this);
4648
this.snapshots = new operations.Snapshots(this);
4749
this.snapshotPolicies = new operations.SnapshotPolicies(this);
48-
this.volumeBackupStatus = new operations.VolumeBackupStatus(this);
49-
this.accountBackups = new operations.AccountBackups(this);
5050
this.backups = new operations.Backups(this);
51+
this.accountBackups = new operations.AccountBackups(this);
5152
this.backupPolicies = new operations.BackupPolicies(this);
5253
this.vaults = new operations.Vaults(this);
5354
}

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

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js";
1212
import * as msRestAzure from "@azure/ms-rest-azure-js";
1313

1414
const packageName = "@azure/arm-netapp";
15-
const packageVersion = "13.0.0";
15+
const packageVersion = "14.0.0";
1616

1717
export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureServiceClient {
1818
credentials: msRest.ServiceClientCredentials;
@@ -26,12 +26,16 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
2626
* subscription. The subscription ID forms part of the URI for every service call.
2727
* @param [options] The parameter options
2828
*/
29-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureNetAppFilesManagementClientOptions) {
29+
constructor(
30+
credentials: msRest.ServiceClientCredentials,
31+
subscriptionId: string,
32+
options?: Models.AzureNetAppFilesManagementClientOptions
33+
) {
3034
if (credentials == undefined) {
31-
throw new Error('\'credentials\' cannot be null.');
35+
throw new Error("'credentials' cannot be null.");
3236
}
3337
if (subscriptionId == undefined) {
34-
throw new Error('\'subscriptionId\' cannot be null.');
38+
throw new Error("'subscriptionId' cannot be null.");
3539
}
3640

3741
if (!options) {
@@ -44,8 +48,8 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
4448

4549
super(credentials, options);
4650

47-
this.apiVersion = '2020-12-01';
48-
this.acceptLanguage = 'en-US';
51+
this.apiVersion = "2021-02-01";
52+
this.acceptLanguage = "en-US";
4953
this.longRunningOperationRetryTimeout = 30;
5054
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
5155
this.requestContentType = "application/json; charset=utf-8";
@@ -55,7 +59,10 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
5559
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
5660
this.acceptLanguage = options.acceptLanguage;
5761
}
58-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
62+
if (
63+
options.longRunningOperationRetryTimeout !== null &&
64+
options.longRunningOperationRetryTimeout !== undefined
65+
) {
5966
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
6067
}
6168
}

sdk/netapp/arm-netapp/src/models/backupsMappers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export {
1515
BackupPolicyDetails,
1616
BackupPolicyPatch,
1717
BackupsList,
18+
BackupStatus,
1819
BaseResource,
1920
CapacityPool,
2021
CapacityPoolPatch,

0 commit comments

Comments
 (0)