Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) 2019 Microsoft
Copyright (c) 2020 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
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/arm-netapp",
"author": "Microsoft Corporation",
"description": "AzureNetAppFilesManagementClient Library with typescript type definitions for node.js and browser.",
"version": "7.0.0",
"version": "8.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
Expand Down
2 changes: 0 additions & 2 deletions sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
accounts: operations.Accounts;
pools: operations.Pools;
volumes: operations.Volumes;
mountTargets: operations.MountTargets;
snapshots: operations.Snapshots;

/**
Expand All @@ -39,7 +38,6 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
this.accounts = new operations.Accounts(this);
this.pools = new operations.Pools(this);
this.volumes = new operations.Volumes(this);
this.mountTargets = new operations.MountTargets(this);
this.snapshots = new operations.Snapshots(this);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/arm-netapp";
const packageVersion = "7.0.0";
const packageVersion = "8.0.0";

export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand All @@ -38,25 +38,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 = '2019-10-01';
this.apiVersion = '2019-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: 1 addition & 1 deletion sdk/netapp/arm-netapp/src/models/accountsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export {
CapacityPoolPatch,
CloudError,
ExportPolicyRule,
MountTarget,
NetAppAccount,
NetAppAccountList,
NetAppAccountPatch,
ReplicationObject,
Snapshot,
SnapshotPatch,
Volume,
VolumePatch,
VolumePatchPropertiesExportPolicy,
Expand Down
Loading