Skip to content
Draft
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
33 changes: 21 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

## 1.0.0 (2023-08-14)

## 2.0.0-beta.1 (2025-11-21)
Compared with version 1.0.0

### Features Added
- Added operation AppliancesOperations.createOrUpdate
- Added operation AppliancesOperations.delete
- Added Interface ApplianceOperationValueDisplay
- Added Interface ApplianceProperties
- Added Interface DnsConfiguration
- Added Interface Event_2
- Added Interface GatewayConfiguration
- Added Interface NetworkProfile
- Added Interface PagedAsyncIterableIterator
- Added Interface PageSettings
- Added Interface ProxyConfiguration
- Added Interface RestorePollerOptions
- Interface Appliance has a new optional parameter properties
- Interface ApplianceOperation has a new optional parameter display
- Interface AppliancesListKeysOptionalParams has a new optional parameter artifactType
- Added Type Alias AzureSupportedClouds
- Added Enum AzureClouds
- Added Enum KnownVersions
- Enum KnownStatus has a new value ArcGatewayUpdateComplete
- Enum KnownStatus has a new value ArcGatewayUpdateFailed
- Enum KnownStatus has a new value ArcGatewayUpdatePreparing
- Enum KnownStatus has a new value ArcGatewayUpdating
- Enum KnownStatus has a new value EtcdSnapshotFailed
- Enum KnownStatus has a new value NetworkDNSUpdateComplete
- Enum KnownStatus has a new value NetworkDNSUpdateFailed
- Enum KnownStatus has a new value NetworkDNSUpdatePreparing
- Enum KnownStatus has a new value NetworkDNSUpdating
- Enum KnownStatus has a new value NetworkProxyUpdateComplete
- Enum KnownStatus has a new value NetworkProxyUpdateFailed
- Enum KnownStatus has a new value NetworkProxyUpdatePreparing
- Enum KnownStatus has a new value NetworkProxyUpdating
- 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
- Removed operation Appliances.beginCreateOrUpdate
- Removed operation Appliances.beginCreateOrUpdateAndWait
- Removed operation Appliances.beginDelete
- Removed operation Appliances.beginDeleteAndWait
- Operation Appliances.update has a new signature
- Removed Interface ApplianceOperationsList
- Interface Appliance no longer has parameter distro
- Interface Appliance no longer has parameter infrastructureConfig
- Interface Appliance no longer has parameter provisioningState
- Interface Appliance no longer has parameter publicKey
- Interface Appliance no longer has parameter status
- Interface Appliance no longer has parameter version
- Interface ApplianceOperation no longer has parameter description
- Interface ApplianceOperation no longer has parameter operation
- Interface ApplianceOperation no longer has parameter provider
- Interface ApplianceOperation no longer has parameter resource
- Interface AppliancesUpdateOptionalParams no longer has parameter tags
- Removed Type Alias ArtifactType
- Removed Type Alias SSHKeyType
- Removed Enum KnownArtifactType
- Removed Enum KnownSSHKeyType
- 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 ).
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.
21 changes: 9 additions & 12 deletions sdk/resourceconnector/arm-resourceconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

The appliances Rest API spec.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-resourceconnector) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-resourceconnector) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
Key links:

- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector)
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-resourceconnector)
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-resourceconnector?view=azure-node-preview)
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector/samples)

## Getting started

Expand Down Expand Up @@ -44,7 +46,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 +65,16 @@ 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>",
});
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

### 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 All @@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur

## Next steps

Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector/samples) directory for detailed examples on how to use this library.

## Contributing

Expand All @@ -108,10 +109,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/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
Expand Down
8 changes: 0 additions & 8 deletions sdk/resourceconnector/arm-resourceconnector/_meta.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
6 changes: 0 additions & 6 deletions sdk/resourceconnector/arm-resourceconnector/assets.json

This file was deleted.

14 changes: 14 additions & 0 deletions sdk/resourceconnector/arm-resourceconnector/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";

export default azsdkEslint.config([
{
rules: {
"@azure/azure-sdk/ts-modules-only-named": "warn",
"@azure/azure-sdk/ts-package-json-types": "warn",
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
"@azure/azure-sdk/ts-package-json-files-required": "off",
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
"tsdoc/syntax": "warn",
},
},
]);
62 changes: 62 additions & 0 deletions sdk/resourceconnector/arm-resourceconnector/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"apiVersion": "2025-03-01-preview",
"emitterVersion": "0.46.1",
"crossLanguageDefinitions": {
"CrossLanguagePackageId": "Microsoft.ResourceConnector",
"CrossLanguageDefinitionId": {
"@azure/arm-resourceconnector!appliance:interface": "Microsoft.ResourceConnector.Appliance",
"@azure/arm-resourceconnector!applianceProperties:interface": "Microsoft.ResourceConnector.ApplianceProperties",
"@azure/arm-resourceconnector!appliancePropertiesInfrastructureConfig:interface": "Microsoft.ResourceConnector.AppliancePropertiesInfrastructureConfig",
"@azure/arm-resourceconnector!Event:interface": "Microsoft.ResourceConnector.Event",
"@azure/arm-resourceconnector!NetworkProfile:interface": "Microsoft.ResourceConnector.NetworkProfile",
"@azure/arm-resourceconnector!ProxyConfiguration:interface": "Microsoft.ResourceConnector.ProxyConfiguration",
"@azure/arm-resourceconnector!DnsConfiguration:interface": "Microsoft.ResourceConnector.DnsConfiguration",
"@azure/arm-resourceconnector!GatewayConfiguration:interface": "Microsoft.ResourceConnector.GatewayConfiguration",
"@azure/arm-resourceconnector!Identity:interface": "Microsoft.ResourceConnector.Identity",
"@azure/arm-resourceconnector!TrackedResource:interface": "Azure.ResourceManager.CommonTypes.TrackedResource",
"@azure/arm-resourceconnector!Resource:interface": "Azure.ResourceManager.CommonTypes.Resource",
"@azure/arm-resourceconnector!SystemData:interface": "Azure.ResourceManager.CommonTypes.SystemData",
"@azure/arm-resourceconnector!ErrorResponse:interface": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"@azure/arm-resourceconnector!ErrorDetail:interface": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"@azure/arm-resourceconnector!ErrorAdditionalInfo:interface": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"@azure/arm-resourceconnector!ArmOperationStatusResourceProvisioningState:interface": "Azure.ResourceManager.ArmOperationStatus",
"@azure/arm-resourceconnector!patchableAppliance:interface": "Microsoft.ResourceConnector.PatchableAppliance",
"@azure/arm-resourceconnector!applianceListResult:interface": "Microsoft.ResourceConnector.ApplianceListResult",
"@azure/arm-resourceconnector!applianceListCredentialResults:interface": "Microsoft.ResourceConnector.ApplianceListCredentialResults",
"@azure/arm-resourceconnector!HybridConnectionConfig:interface": "Microsoft.ResourceConnector.HybridConnectionConfig",
"@azure/arm-resourceconnector!applianceCredentialKubeconfig:interface": "Microsoft.ResourceConnector.ApplianceCredentialKubeconfig",
"@azure/arm-resourceconnector!applianceListKeysResults:interface": "Microsoft.ResourceConnector.ApplianceListKeysResults",
"@azure/arm-resourceconnector!ArtifactProfile:interface": "Microsoft.ResourceConnector.ArtifactProfile",
"@azure/arm-resourceconnector!SSHKey:interface": "Microsoft.ResourceConnector.SSHKey",
"@azure/arm-resourceconnector!UpgradeGraph:interface": "Microsoft.ResourceConnector.UpgradeGraph",
"@azure/arm-resourceconnector!UpgradeGraphProperties:interface": "Microsoft.ResourceConnector.UpgradeGraphProperties",
"@azure/arm-resourceconnector!SupportedVersion:interface": "Microsoft.ResourceConnector.SupportedVersion",
"@azure/arm-resourceconnector!SupportedVersionMetadata:interface": "Microsoft.ResourceConnector.SupportedVersionMetadata",
"@azure/arm-resourceconnector!SupportedVersionCatalogVersion:interface": "Microsoft.ResourceConnector.SupportedVersionCatalogVersion",
"@azure/arm-resourceconnector!SupportedVersionCatalogVersionData:interface": "Microsoft.ResourceConnector.SupportedVersionCatalogVersionData",
"@azure/arm-resourceconnector!applianceOperationsList:interface": "Microsoft.ResourceConnector.ApplianceOperationsList",
"@azure/arm-resourceconnector!applianceOperation:interface": "Microsoft.ResourceConnector.ApplianceOperation",
"@azure/arm-resourceconnector!applianceOperationValueDisplay:interface": "Microsoft.ResourceConnector.ApplianceOperationValueDisplay",
"@azure/arm-resourceconnector!applianceGetTelemetryConfigResult:interface": "Microsoft.ResourceConnector.ApplianceGetTelemetryConfigResult",
"@azure/arm-resourceconnector!KnownDistro:enum": "Microsoft.ResourceConnector.Distro",
"@azure/arm-resourceconnector!KnownProvider:enum": "Microsoft.ResourceConnector.Provider",
"@azure/arm-resourceconnector!KnownStatus:enum": "Microsoft.ResourceConnector.Status",
"@azure/arm-resourceconnector!KnownResourceIdentityType:enum": "Microsoft.ResourceConnector.ResourceIdentityType",
"@azure/arm-resourceconnector!KnowncreatedByType:enum": "Azure.ResourceManager.CommonTypes.createdByType",
"@azure/arm-resourceconnector!KnownResourceProvisioningState:enum": "Azure.ResourceManager.ResourceProvisioningState",
"@azure/arm-resourceconnector!KnownAccessProfileType:enum": "Microsoft.ResourceConnector.AccessProfileType",
"@azure/arm-resourceconnector!KnownVersions:enum": "Microsoft.ResourceConnector.Versions",
"@azure/arm-resourceconnector!AppliancesOperations#getTelemetryConfig:member": "Microsoft.ResourceConnector.AppliancesOperationGroup.getTelemetryConfig",
"@azure/arm-resourceconnector!AppliancesOperations#ListOperations:member": "Azure.ResourceManager.Legacy.Operations.list",
"@azure/arm-resourceconnector!AppliancesOperations#getUpgradeGraph:member": "Microsoft.ResourceConnector.Appliances.getUpgradeGraph",
"@azure/arm-resourceconnector!AppliancesOperations#listKeys:member": "Microsoft.ResourceConnector.Appliances.listKeys",
"@azure/arm-resourceconnector!AppliancesOperations#listClusterUserCredential:member": "Microsoft.ResourceConnector.Appliances.listClusterUserCredential",
"@azure/arm-resourceconnector!AppliancesOperations#listBySubscription:member": "Microsoft.ResourceConnector.Appliances.listBySubscription",
"@azure/arm-resourceconnector!AppliancesOperations#listByResourceGroup:member": "Microsoft.ResourceConnector.Appliances.listByResourceGroup",
"@azure/arm-resourceconnector!AppliancesOperations#delete:member": "Microsoft.ResourceConnector.Appliances.delete",
"@azure/arm-resourceconnector!AppliancesOperations#update:member": "Microsoft.ResourceConnector.Appliances.update",
"@azure/arm-resourceconnector!AppliancesOperations#createOrUpdate:member": "Microsoft.ResourceConnector.Appliances.createOrUpdate",
"@azure/arm-resourceconnector!AppliancesOperations#get:member": "Microsoft.ResourceConnector.Appliances.get"
}
}
}
Loading