@azure/arm-visualstudio 4.0.0-alpha.20241216.1 → 4.0.0-alpha.20241219.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Visual Studio Resource Provider client.
|
|
4
4
|
|
|
5
|
-
Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://
|
|
5
|
+
Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://learn.microsoft.com/rest/api/index.
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/visualstudio/arm-visualstudio) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-visualstudio) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-visualstudio?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -46,7 +46,7 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure Visual Studio Resource Provider** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
51
|
```javascript
|
|
52
52
|
const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio");
|
|
@@ -64,8 +64,8 @@ const client = new VisualStudioResourceProviderClient(new DefaultAzureCredential
|
|
|
64
64
|
// const client = new VisualStudioResourceProviderClient(credential, subscriptionId);
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
### JavaScript Bundle
|
|
68
|
+
|
|
69
69
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
70
|
|
|
71
71
|
## Key concepts
|
|
@@ -101,7 +101,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
101
101
|
|
|
102
102
|

|
|
103
103
|
|
|
104
|
-
[azure_cli]: https://
|
|
104
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
105
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
106
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
107
|
[azure_portal]: https://portal.azure.com
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for VisualStudioResourceProviderClient.",
|
|
6
|
-
"version": "4.0.0-alpha.
|
|
6
|
+
"version": "4.0.0-alpha.20241219.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"chai": "^4.2.0",
|
|
38
38
|
"mocha": "^11.0.2",
|
|
39
39
|
"ts-node": "^10.0.0",
|
|
40
|
-
"typescript": "~5.
|
|
40
|
+
"typescript": "~5.7.2"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/visualstudio/arm-visualstudio",
|
|
43
43
|
"repository": {
|