Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
206 changes: 10 additions & 196 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

21 changes: 18 additions & 3 deletions sdk/resourceconnector/arm-resourceconnector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# Release History

## 1.0.0 (2023-08-14)

## 2.0.0 (2025-04-09)
### Features Added

The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
- Interface AppliancesListKeysOptionalParams has a new optional parameter artifactType
- Enum KnownStatus has a new value EtcdSnapshotFailed
- Enum KnownStatus has a new value ValidatingEtcdHealth
- Enum KnownStatus has a new value ValidatingImageDownload
- Enum KnownStatus has a new value ValidatingImageUpload
- Enum KnownStatus has a new value ValidatingSFSConnectivity

### Breaking Changes

- Enum KnownProvider no longer has value KubeVirt
- Enum KnownProvider no longer has value OpenStack


## 1.0.0 (2023-08-14)

The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/resourceconnector/arm-resourceconnector/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
8 changes: 2 additions & 6 deletions sdk/resourceconnector/arm-resourceconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

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

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).

Expand All @@ -64,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
clientId: "<YOUR_CLIENT_ID>"
});
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

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).

## Key concepts
Expand Down Expand Up @@ -109,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)



[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
8 changes: 4 additions & 4 deletions sdk/resourceconnector/arm-resourceconnector/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "6c6b16dc98d720304633b76c8e82c282ffa9cc08",
"commit": "ad541c189361c63b8b4aed2cb3f4f10d80fd2ebb",
"readme": "specification/resourceconnector/resource-manager/readme.md",
"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\\resourceconnector\\resource-manager\\readme.md --use=@autorest/typescript@6.0.5 --generate-sample=true",
"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/resourceconnector/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.5"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.23",
"use": "@autorest/typescript@^6.0.12"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-resourceconnector.d.ts"
"publicTrimmedFilePath": "./types/arm-resourceconnector.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
6 changes: 0 additions & 6 deletions sdk/resourceconnector/arm-resourceconnector/assets.json

This file was deleted.

24 changes: 8 additions & 16 deletions sdk/resourceconnector/arm-resourceconnector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ResourceConnectorManagementClient.",
"version": "1.0.0",
"version": "2.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-client": "^1.9.2",
"@azure/core-lro": "^2.5.3",
"@azure/core-client": "^1.9.3",
"@azure/core-lro": "^2.5.4",
"@azure/core-paging": "^1.6.2",
"@azure/core-rest-pipeline": "^1.19.0",
"@azure/core-rest-pipeline": "^1.19.1",
"tslib": "^2.8.1"
},
"keywords": [
Expand All @@ -25,20 +25,20 @@
],
"license": "MIT",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"module": "./dist-esm/src/index.js",
"types": "./dist/commonjs/index.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.1.0",
"@azure-tools/test-utils-vitest": "^1.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.6.0",
"@azure/identity": "^4.8.0",
"@azure/logger": "^1.1.4",
"@types/node": "^18.0.0",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"dotenv": "^16.0.0",
"playwright": "^1.50.1",
"playwright": "^1.51.1",
"typescript": "~5.8.2",
"vitest": "^3.0.9"
},
Expand Down Expand Up @@ -93,14 +93,6 @@
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-resourceconnector?view=azure-node-preview"
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.json",
Expand Down Expand Up @@ -141,4 +133,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentia

// @public
export interface AppliancesListKeysOptionalParams extends coreClient.OperationOptions {
artifactType?: string;
}

// @public
Expand Down Expand Up @@ -278,8 +279,6 @@ export enum KnownDistro {
// @public
export enum KnownProvider {
HCI = "HCI",
KubeVirt = "KubeVirt",
OpenStack = "OpenStack",
Scvmm = "SCVMM",
VMWare = "VMWare"
}
Expand All @@ -302,6 +301,7 @@ export enum KnownSSHKeyType {
export enum KnownStatus {
Connected = "Connected",
Connecting = "Connecting",
EtcdSnapshotFailed = "ETCDSnapshotFailed",
ImageDeprovisioning = "ImageDeprovisioning",
ImageDownloaded = "ImageDownloaded",
ImageDownloading = "ImageDownloading",
Expand All @@ -324,6 +324,10 @@ export enum KnownStatus {
UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
UpgradingKvaio = "UpgradingKVAIO",
Validating = "Validating",
ValidatingEtcdHealth = "ValidatingETCDHealth",
ValidatingImageDownload = "ValidatingImageDownload",
ValidatingImageUpload = "ValidatingImageUpload",
ValidatingSFSConnectivity = "ValidatingSFSConnectivity",
WaitingForCloudOperator = "WaitingForCloudOperator",
WaitingForHeartbeat = "WaitingForHeartbeat",
WaitingForKvaio = "WaitingForKVAIO"
Expand Down
5 changes: 1 addition & 4 deletions sdk/resourceconnector/arm-resourceconnector/sample.env
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# App registration secret for AAD authentication
AZURE_CLIENT_SECRET=
AZURE_CLIENT_ID=
AZURE_TENANT_ID=
# Feel free to add your own environment variables.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading