Skip to content

Commit

Permalink
CodeGen from PR 32093 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6569bb0de53ff3252177e35f583625be975a0eba into 62f75b8d312ae499a304c736b310126069ef7606
  • Loading branch information
SDKAuto committed Jan 10, 2025
1 parent a12227f commit be3cd66
Show file tree
Hide file tree
Showing 89 changed files with 4,944 additions and 2,327 deletions.
89 changes: 35 additions & 54 deletions common/config/rush/pnpm-lock.yaml

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

95 changes: 88 additions & 7 deletions sdk/chaos/arm-chaos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,96 @@
# Release History

## 1.1.1 (Unreleased)


## 2.0.0-beta.1 (2025-01-10)
Compared with version 1.1.0

### Features Added

### Breaking Changes
- Added operation group PrivateAccesses
- Added Interface CustomerDataStorageProperties
- Added Interface ExperimentsCancelHeaders
- Added Interface ExperimentsCreateOrUpdateHeaders
- Added Interface ExperimentsDeleteHeaders
- Added Interface ExperimentsStartHeaders
- Added Interface ExperimentsUpdateHeaders
- Added Interface ManagedServiceIdentity
- Added Interface OperationStatusResult
- Added Interface PrivateAccess
- Added Interface PrivateAccessesCreateOrUpdateHeaders
- Added Interface PrivateAccessesCreateOrUpdateOptionalParams
- Added Interface PrivateAccessesDeleteAPrivateEndpointConnectionHeaders
- Added Interface PrivateAccessesDeleteAPrivateEndpointConnectionOptionalParams
- Added Interface PrivateAccessesDeleteHeaders
- Added Interface PrivateAccessesDeleteOptionalParams
- Added Interface PrivateAccessesGetAPrivateEndpointConnectionOptionalParams
- Added Interface PrivateAccessesGetOptionalParams
- Added Interface PrivateAccessesGetPrivateLinkResourcesNextOptionalParams
- Added Interface PrivateAccessesGetPrivateLinkResourcesOptionalParams
- Added Interface PrivateAccessesListAllNextOptionalParams
- Added Interface PrivateAccessesListAllOptionalParams
- Added Interface PrivateAccessesListNextOptionalParams
- Added Interface PrivateAccessesListOptionalParams
- Added Interface PrivateAccessesListPrivateEndpointConnectionsNextOptionalParams
- Added Interface PrivateAccessesListPrivateEndpointConnectionsOptionalParams
- Added Interface PrivateAccessesUpdateHeaders
- Added Interface PrivateAccessesUpdateOptionalParams
- Added Interface PrivateAccessListResult
- Added Interface PrivateAccessPatch
- Added Interface PrivateEndpoint
- Added Interface PrivateEndpointConnection
- Added Interface PrivateEndpointConnectionListResult
- Added Interface PrivateLinkResource
- Added Interface PrivateLinkResourceListResult
- Added Interface PrivateLinkServiceConnectionState
- Added Interface ProxyResource
- Added Type Alias ExperimentActionType
- Added Type Alias ExperimentsCancelResponse
- Added Type Alias ExperimentsDeleteResponse
- Added Type Alias ExperimentsStartResponse
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias PrivateAccessesCreateOrUpdateResponse
- Added Type Alias PrivateAccessesDeleteAPrivateEndpointConnectionResponse
- Added Type Alias PrivateAccessesDeleteResponse
- Added Type Alias PrivateAccessesGetAPrivateEndpointConnectionResponse
- Added Type Alias PrivateAccessesGetPrivateLinkResourcesNextResponse
- Added Type Alias PrivateAccessesGetPrivateLinkResourcesResponse
- Added Type Alias PrivateAccessesGetResponse
- Added Type Alias PrivateAccessesListAllNextResponse
- Added Type Alias PrivateAccessesListAllResponse
- Added Type Alias PrivateAccessesListNextResponse
- Added Type Alias PrivateAccessesListPrivateEndpointConnectionsNextResponse
- Added Type Alias PrivateAccessesListPrivateEndpointConnectionsResponse
- Added Type Alias PrivateAccessesListResponse
- Added Type Alias PrivateAccessesUpdateResponse
- Added Type Alias PrivateEndpointServiceConnectionStatus
- Added Type Alias PublicNetworkAccessOption
- Interface Experiment has a new optional parameter customerDataStorage
- Interface Resource has a new optional parameter systemData
- Type of parameter type of interface ChaosExperimentAction is changed from "delay" | "discrete" | "continuous" to "continuous" | "delay" | "discrete"
- Added Enum KnownExperimentActionType
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownPrivateEndpointServiceConnectionStatus
- Added Enum KnownPublicNetworkAccessOption

### Bugs Fixed

### Other Changes
### Breaking Changes

- Interface Capability no longer has parameter systemData
- Interface CapabilityType no longer has parameter systemData
- Interface Experiment no longer has parameter systemData
- Interface ExperimentExecution no longer has parameter id
- Interface ExperimentExecution no longer has parameter name
- Interface ExperimentExecution no longer has parameter type
- Interface Target no longer has parameter systemData
- Interface TargetType no longer has parameter systemData
- Parameter value of interface CapabilityListResult is now required
- Parameter value of interface CapabilityTypeListResult is now required
- Parameter value of interface ExperimentExecutionListResult is now required
- Parameter value of interface ExperimentListResult is now required
- Parameter value of interface TargetListResult is now required
- Parameter value of interface TargetTypeListResult is now required
- Type of parameter identity of interface Experiment is changed from ResourceIdentity to ManagedServiceIdentity
- Type of parameter identity of interface ExperimentUpdate is changed from ResourceIdentity to ManagedServiceIdentity


## 1.1.0 (2024-03-06)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/chaos/arm-chaos/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 4 additions & 5 deletions sdk/chaos/arm-chaos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Chaos Management Client

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

## Getting started
Expand Down Expand Up @@ -44,9 +44,8 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure ChaosManagement** 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).
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).

```javascript
const { ChaosManagementClient } = require("@azure/arm-chaos");
Expand All @@ -64,8 +63,8 @@ const client = new ChaosManagementClient(new DefaultAzureCredential(), subscript
// const client = new ChaosManagementClient(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 Down Expand Up @@ -101,7 +100,7 @@ If you'd like to contribute to this library, please read the [contributing guide

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fchaos%2Farm-chaos%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
Expand Down
8 changes: 4 additions & 4 deletions sdk/chaos/arm-chaos/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0bfc45106eea53d49f1b554c25c509a9fd69b9fa",
"commit": "1803f6e82776ba0d86344f4b6033b8fd2066d814",
"readme": "specification/chaos/resource-manager/readme.md",
"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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\chaos\\resource-manager\\readme.md --use=@autorest/[email protected].17 --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/chaos/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/[email protected].4",
"use": "@autorest/[email protected].17"
"release_tool": "@azure-tools/[email protected].18",
"use": "@autorest/typescript@^6.0.12"
}
Loading

0 comments on commit be3cd66

Please sign in to comment.