Skip to content

Commit be5a588

Browse files
author
SDKAuto
committed
CodeGen from PR 26644 in Azure/azure-rest-api-specs
Merge 06dc1db8a1a676c6107841e411758bf94d1be61c into 8429152fd329f40b2b77e51d6c74921dd12af122
1 parent b4ef861 commit be5a588

40 files changed

Lines changed: 9648 additions & 7113 deletions

common/config/rush/pnpm-lock.yaml

Lines changed: 385 additions & 384 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/scvmm/arm-scvmm/CHANGELOG.md

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,5 @@
11
# Release History
2-
3-
## 1.0.0-beta.4 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 1.0.0-beta.3 (2023-02-01)
14-
15-
**Features**
16-
17-
- Exposes `getContinuationToken` helper function to extract continuation token
18-
19-
**Bugs Fixed**
20-
21-
- A series of small bug fixs relevant to authentication and apiVersion policy
22-
23-
## 1.0.0-beta.2 (2022-07-14)
24-
25-
**Features**
26-
27-
- Added Interface CloudInventoryItem
28-
- Added Interface InventoryItem
29-
- Added Interface ProxyResource
30-
- Added Interface VirtualMachineInventoryItem
31-
- Added Interface VirtualMachineTemplateInventoryItem
32-
- Added Interface VirtualNetworkInventoryItem
33-
342

35-
## 1.0.0-beta.1 (2022-04-27)
3+
## 1.0.0 (2024-03-27)
364

37-
The package of @azure/arm-scvmm is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
5+
The package of @azure/arm-scvmm is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

sdk/scvmm/arm-scvmm/LICENSE

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) 2023 Microsoft
3+
Copyright (c) 2024 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/scvmm/arm-scvmm/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Azure Scvmm client library for JavaScript
1+
# Azure ScVmm client library for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Scvmm client.
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ScVmm client.
44

55
The Microsoft.ScVmm Rest API spec.
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-scvmm) |
9-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-scvmm?view=azure-node-preview) |
9+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-scvmm) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
@@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
2424

2525
### Install the `@azure/arm-scvmm` package
2626

27-
Install the Azure Scvmm client library for JavaScript with `npm`:
27+
Install the Azure ScVmm client library for JavaScript with `npm`:
2828

2929
```bash
3030
npm install @azure/arm-scvmm
3131
```
3232

33-
### Create and authenticate a `Scvmm`
33+
### Create and authenticate a `ScVmm`
3434

35-
To create a client object to access the Azure Scvmm API, you will need the `endpoint` of your Azure Scvmm resource and a `credential`. The Azure Scvmm client can use Azure Active Directory credentials to authenticate.
36-
You can find the endpoint for your Azure Scvmm resource in the [Azure Portal][azure_portal].
35+
To create a client object to access the Azure ScVmm API, you will need the `endpoint` of your Azure ScVmm resource and a `credential`. The Azure ScVmm client can use Azure Active Directory credentials to authenticate.
36+
You can find the endpoint for your Azure ScVmm resource in the [Azure Portal][azure_portal].
3737

3838
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3939

@@ -43,25 +43,25 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
4343
npm install @azure/identity
4444
```
4545

46-
You will also need to **register a new AAD application and grant access to Azure Scvmm** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
46+
You will also need to **register a new AAD application and grant access to Azure ScVmm** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
4747
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`.
4848

4949
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5050

5151
```javascript
52-
const { Scvmm } = require("@azure/arm-scvmm");
52+
const { ScVmm } = require("@azure/arm-scvmm");
5353
const { DefaultAzureCredential } = require("@azure/identity");
5454
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
5555

5656
const subscriptionId = "00000000-0000-0000-0000-000000000000";
57-
const client = new Scvmm(new DefaultAzureCredential(), subscriptionId);
57+
const client = new ScVmm(new DefaultAzureCredential(), subscriptionId);
5858

5959
// For client-side applications running in the browser, use this code instead:
6060
// const credential = new InteractiveBrowserCredential({
6161
// tenantId: "<YOUR_TENANT_ID>",
6262
// clientId: "<YOUR_CLIENT_ID>"
6363
// });
64-
// const client = new Scvmm(credential, subscriptionId);
64+
// const client = new ScVmm(credential, subscriptionId);
6565
```
6666

6767

@@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For
7070

7171
## Key concepts
7272

73-
### Scvmm
73+
### ScVmm
7474

75-
`Scvmm` is the primary interface for developers using the Azure Scvmm client library. Explore the methods on this client object to understand the different features of the Azure Scvmm service that you can access.
75+
`ScVmm` is the primary interface for developers using the Azure ScVmm client library. Explore the methods on this client object to understand the different features of the Azure ScVmm service that you can access.
7676

7777
## Troubleshooting
7878

sdk/scvmm/arm-scvmm/_meta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "96c6e14d4dfd2aef59a69a43185308567fec8c07",
3-
"readme": "specification\\scvmm\\resource-manager\\readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\scvmm\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.7 --generate-sample=true",
2+
"commit": "68038bb17d4bed030160942a9704d20e070c2495",
3+
"readme": "specification/scvmm/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/scvmm/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.0",
7-
"use": "@autorest/typescript@6.0.0-rc.7"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/scvmm/arm-scvmm/package.json

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"name": "@azure/arm-scvmm",
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
5-
"description": "A generated SDK for Scvmm.",
6-
"version": "1.0.0-beta.4",
5+
"description": "A generated SDK for ScVmm.",
6+
"version": "1.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
11-
"@azure/core-lro": "^2.2.0",
11+
"@azure/core-lro": "^2.5.4",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
14-
"@azure/core-client": "^1.6.1",
15-
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.8.0",
14+
"@azure/core-client": "^1.7.0",
15+
"@azure/core-auth": "^1.6.0",
16+
"@azure/core-rest-pipeline": "^1.14.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -29,22 +29,23 @@
2929
"types": "./types/arm-scvmm.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.31.1",
32-
"mkdirp": "^1.0.4",
32+
"mkdirp": "^2.1.2",
3333
"typescript": "~5.3.3",
3434
"uglify-js": "^3.4.9",
35-
"rimraf": "^5.0.5",
35+
"rimraf": "^5.0.0",
3636
"dotenv": "^16.0.0",
37+
"@azure/dev-tool": "^1.0.0",
3738
"@azure/identity": "^4.0.1",
3839
"@azure-tools/test-recorder": "^3.0.0",
3940
"@azure-tools/test-credential": "^1.0.0",
4041
"mocha": "^10.0.0",
42+
"@types/mocha": "^10.0.0",
43+
"esm": "^3.2.18",
4144
"@types/chai": "^4.2.8",
4245
"chai": "^4.2.0",
4346
"cross-env": "^7.0.2",
4447
"@types/node": "^18.0.0",
45-
"@azure/dev-tool": "^1.0.0",
46-
"ts-node": "^10.0.0",
47-
"@types/mocha": "^10.0.0"
48+
"ts-node": "^10.0.0"
4849
},
4950
"repository": {
5051
"type": "git",
@@ -77,7 +78,6 @@
7778
"pack": "npm pack 2>&1",
7879
"extract-api": "api-extractor run --local",
7980
"lint": "echo skipped",
80-
"audit": "echo skipped",
8181
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
8282
"build:node": "echo skipped",
8383
"build:browser": "echo skipped",
@@ -100,19 +100,11 @@
100100
"//metadata": {
101101
"constantPaths": [
102102
{
103-
"path": "src/scvmm.ts",
103+
"path": "src/scVmm.ts",
104104
"prefix": "packageDetails"
105105
}
106106
]
107107
},
108108
"autoPublish": true,
109-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm",
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-scvmm?view=azure-node-preview"
117-
}
118-
}
109+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/scvmm/arm-scvmm"
110+
}

0 commit comments

Comments
 (0)