Skip to content

Commit 99d67ec

Browse files
author
SDKAuto
committed
CodeGen from PR 16886 in Azure/azure-rest-api-specs
Merge c00e5ce96ae9732e967d50cb3c6e1e73e5abf34e into 37d690709ce4639bd0aafe7f4a5f5856f2bef624
1 parent 94c7e2f commit 99d67ec

24 files changed

+65
-71
lines changed

sdk/deploymentmanager/arm-deploymentmanager/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) 2019 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/deploymentmanager/arm-deploymentmanager/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Azure AzureDeploymentManager SDK for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureDeploymentManager.
3+
This package contains an isomorphic SDK (runs both in node.js and in browsers) for AzureDeploymentManager.
44

55
### Currently supported environments
66

77
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
8-
- Latest versions of Safari, Chrome, Edge, and Firefox.
8+
- Latest versions of Safari, Chrome, Edge and Firefox.
99

1010
### Prerequisites
1111

@@ -21,7 +21,6 @@ Install both packages using the below command:
2121
```bash
2222
npm install --save @azure/arm-deploymentmanager @azure/identity
2323
```
24-
2524
> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
2625
If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
2726

@@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/
3736

3837
In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
3938
Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
40-
4139
#### nodejs - Authentication, client creation, and get serviceTopologies as an example written in JavaScript.
4240

4341
##### Sample code
@@ -87,7 +85,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
8785
const credential = new InteractiveBrowserCredential(
8886
{
8987
clientId: "<client id for your Azure AD app>",
90-
tenantId: "<optional tenant for your organization>"
88+
tenant: "<optional tenant for your organization>"
9189
});
9290
const client = new Azure.ArmDeploymentmanager.AzureDeploymentManager(creds, subscriptionId);
9391
const resourceGroupName = "testresourceGroupName";

sdk/deploymentmanager/arm-deploymentmanager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/deploymentmanager/arm-deploymentmanager",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deploymentmanager/arm-deploymentmanager",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/deploymentmanager/arm-deploymentmanager/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/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManager.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/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManagerContext.ts

Lines changed: 3 additions & 4 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
@@ -10,8 +9,8 @@
109

1110
import * as Models from "./models";
1211
import * as msRest from "@azure/ms-rest-js";
13-
import { TokenCredential } from "@azure/core-auth";
1412
import * as msRestAzure from "@azure/ms-rest-azure-js";
13+
import { TokenCredential } from "@azure/core-auth";
1514

1615
const packageName = "@azure/arm-deploymentmanager";
1716
const packageVersion = "3.1.1";

sdk/deploymentmanager/arm-deploymentmanager/src/models/artifactSourcesMappers.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/deploymentmanager/arm-deploymentmanager/src/models/index.ts

Lines changed: 15 additions & 10 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.
@@ -63,11 +63,12 @@ export interface StepGroup {
6363
}
6464

6565
/**
66-
* An interface representing Resource.
66+
* Common fields that are returned in the response for all Azure Resource Manager resources
67+
* @summary Resource
6768
*/
6869
export interface Resource extends BaseResource {
6970
/**
70-
* Fully qualified resource Id for the resource. Ex -
71+
* Fully qualified resource ID for the resource. Ex -
7172
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
7273
* **NOTE: This property will not be serialized. It can only be populated by the server.**
7374
*/
@@ -78,15 +79,17 @@ export interface Resource extends BaseResource {
7879
*/
7980
readonly name?: string;
8081
/**
81-
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or
82-
* Microsoft.Storage/storageAccounts.
82+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
83+
* "Microsoft.Storage/storageAccounts"
8384
* **NOTE: This property will not be serialized. It can only be populated by the server.**
8485
*/
8586
readonly type?: string;
8687
}
8788

8889
/**
89-
* The resource model definition for a ARM tracked top level resource
90+
* The resource model definition for an Azure Resource Manager tracked top level resource which has
91+
* 'tags' and a 'location'
92+
* @summary Tracked Resource
9093
*/
9194
export interface TrackedResource extends Resource {
9295
/**
@@ -893,14 +896,16 @@ export interface WaitStepProperties {
893896
}
894897

895898
/**
896-
* The resource model definition for a ARM proxy resource. It will have everything other than
897-
* required location and tags
899+
* The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
900+
* and a location
901+
* @summary Proxy Resource
898902
*/
899903
export interface ProxyResource extends Resource {
900904
}
901905

902906
/**
903-
* The resource model definition for a Azure Resource Manager resource with an etag.
907+
* The resource model definition for an Azure Resource Manager resource with an etag.
908+
* @summary Entity Resource
904909
*/
905910
export interface AzureEntityResource extends Resource {
906911
/**

sdk/deploymentmanager/arm-deploymentmanager/src/models/mappers.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/deploymentmanager/arm-deploymentmanager/src/models/operationsMappers.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.

0 commit comments

Comments
 (0)