Skip to content

Commit ec5721a

Browse files
author
SDKAuto
committed
CodeGen from PR 13227 in Azure/azure-rest-api-specs
Merge 18823c21383323bcec69bc32d7adc394af69b049 into 717f25282193ed6a66572d43586c4a29823e4787
1 parent cf8895e commit ec5721a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+180
-116
lines changed

sdk/databoxedge/arm-databoxedge/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/databoxedge/arm-databoxedge/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-databoxedge
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

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

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { DataBoxEdgeManagementClient, DataBoxEdgeManagementModels, DataBoxEdgeManagementMappers } from "@azure/arm-databoxedge";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { DataBoxEdgeManagementClient } = require("@azure/arm-databoxedge");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/databoxedge/arm-databoxedge/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/databoxedge/arm-databoxedge/src/models/alertsMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/databoxedge/arm-databoxedge/src/models/bandwidthSchedulesMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/databoxedge/arm-databoxedge/src/models/containersMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/databoxedge/arm-databoxedge/src/models/devicesMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/databoxedge/arm-databoxedge/src/models/index.ts

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -1800,6 +1800,28 @@ export interface DevicesListByResourceGroupOptionalParams extends msRest.Request
18001800
expand?: string;
18011801
}
18021802

1803+
/**
1804+
* Optional Parameters.
1805+
*/
1806+
export interface DevicesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
1807+
/**
1808+
* Specify $expand=details to populate additional fields related to the resource or Specify
1809+
* $skipToken=<token> to populate the next page in the list.
1810+
*/
1811+
expand?: string;
1812+
}
1813+
1814+
/**
1815+
* Optional Parameters.
1816+
*/
1817+
export interface DevicesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
1818+
/**
1819+
* Specify $expand=details to populate additional fields related to the resource or Specify
1820+
* $skipToken=<token> to populate the next page in the list.
1821+
*/
1822+
expand?: string;
1823+
}
1824+
18031825
/**
18041826
* Optional Parameters.
18051827
*/
@@ -1810,6 +1832,16 @@ export interface TriggersListByDataBoxEdgeDeviceOptionalParams extends msRest.Re
18101832
filter?: string;
18111833
}
18121834

1835+
/**
1836+
* Optional Parameters.
1837+
*/
1838+
export interface TriggersListByDataBoxEdgeDeviceNextOptionalParams extends msRest.RequestOptionsBase {
1839+
/**
1840+
* Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property
1841+
*/
1842+
filter?: string;
1843+
}
1844+
18131845
/**
18141846
* Optional Parameters.
18151847
*/
@@ -1820,6 +1852,16 @@ export interface UsersListByDataBoxEdgeDeviceOptionalParams extends msRest.Reque
18201852
filter?: string;
18211853
}
18221854

1855+
/**
1856+
* Optional Parameters.
1857+
*/
1858+
export interface UsersListByDataBoxEdgeDeviceNextOptionalParams extends msRest.RequestOptionsBase {
1859+
/**
1860+
* Specify $filter='UserType eq <type>' to filter on user type property
1861+
*/
1862+
filter?: string;
1863+
}
1864+
18231865
/**
18241866
* Optional Parameters.
18251867
*/

0 commit comments

Comments
 (0)