Skip to content

Commit

Permalink
release netapp 2019-07-01 (#5188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruowan authored Sep 20, 2019
1 parent 1d6c7fd commit 42b5e89
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion sdk/netapp/arm-netapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ npm install @azure/arm-netapp

##### Install @azure/ms-rest-nodeauth

- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
```bash
npm install @azure/ms-rest-nodeauth
npm install @azure/ms-rest-nodeauth@"^3.0.0"
```

##### Sample code
Expand Down
16 changes: 8 additions & 8 deletions sdk/netapp/arm-netapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "@azure/arm-netapp",
"author": "Microsoft Corporation",
"description": "AzureNetAppFilesManagementClient Library with typescript type definitions for node.js and browser.",
"version": "4.0.0",
"version": "5.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
"tslib": "^1.10.0"
},
"keywords": [
"node",
Expand All @@ -20,11 +20,11 @@
"module": "./esm/azureNetAppFilesManagementClient.js",
"types": "./esm/azureNetAppFilesManagementClient.d.ts",
"devDependencies": {
"typescript": "^3.1.1",
"rollup": "^0.66.2",
"rollup-plugin-node-resolve": "^3.4.0",
"typescript": "^3.5.3",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/netapp/arm-netapp",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
*/`
},
plugins: [
nodeResolve({ module: true }),
nodeResolve({ mainFields: ['module', 'main'] }),
sourcemaps()
]
};
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 = "4.0.0";
const packageVersion = "5.0.0";

export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand Down Expand Up @@ -45,7 +45,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe

super(credentials, options);

this.apiVersion = '2019-06-01';
this.apiVersion = '2019-07-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
6 changes: 3 additions & 3 deletions sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ export interface ExportPolicyRule {
*/
nfsv3?: boolean;
/**
* Allows NFSv4 protocol
* Allows NFSv4.1 protocol
*/
nfsv4?: boolean;
nfsv41?: boolean;
/**
* Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses
* and host names
Expand Down Expand Up @@ -658,7 +658,7 @@ export interface Snapshot extends BaseResource {
* name. The creation date of the snapshot
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly creationDate?: Date;
readonly created?: Date;
/**
* Azure lifecycle management
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down
8 changes: 4 additions & 4 deletions sdk/netapp/arm-netapp/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ export const ExportPolicyRule: msRest.CompositeMapper = {
name: "Boolean"
}
},
nfsv4: {
serializedName: "nfsv4",
nfsv41: {
serializedName: "nfsv41",
type: {
name: "Boolean"
}
Expand Down Expand Up @@ -1062,9 +1062,9 @@ export const Snapshot: msRest.CompositeMapper = {
name: "String"
}
},
creationDate: {
created: {
readOnly: true,
serializedName: "properties.creationDate",
serializedName: "properties.created",
type: {
name: "DateTime"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const apiVersion: msRest.OperationQueryParameter = {
mapper: {
required: true,
serializedName: "api-version",
defaultValue: '2019-06-01',
defaultValue: '2019-07-01',
type: {
name: "String"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6"],
"lib": ["es6", "dom"],
"declaration": true,
"outDir": "./esm",
"importHelpers": true
Expand Down

0 comments on commit 42b5e89

Please sign in to comment.