Skip to content

Commit

Permalink
CodeGen from PR 32790 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 062191a96befd85c90b32e57f10575637ba6fb2a into c39f72c162b0ca345a4745cdfc9a1e276a725d5d
  • Loading branch information
SDKAuto committed Feb 27, 2025
1 parent 2388847 commit 400d46c
Show file tree
Hide file tree
Showing 47 changed files with 7,467 additions and 3,890 deletions.
12 changes: 6 additions & 6 deletions common/config/rush/pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,192 @@
# Release History

## 1.0.0-beta.4 (2025-02-27)
Compared with version 1.0.0-beta.3

### Features Added

- Added operation ManagedClusters.beginStartFaultSimulation
- Added operation ManagedClusters.beginStartFaultSimulationAndWait
- Added operation ManagedClusters.beginStopFaultSimulation
- Added operation ManagedClusters.beginStopFaultSimulationAndWait
- Added operation ManagedClusters.getFaultSimulation
- Added operation ManagedClusters.listFaultSimulation
- Added operation NodeTypes.beginDeallocate
- Added operation NodeTypes.beginDeallocateAndWait
- Added operation NodeTypes.beginRedeploy
- Added operation NodeTypes.beginRedeployAndWait
- Added operation NodeTypes.beginStart
- Added operation NodeTypes.beginStartAndWait
- Added operation NodeTypes.beginStartFaultSimulation
- Added operation NodeTypes.beginStartFaultSimulationAndWait
- Added operation NodeTypes.beginStopFaultSimulation
- Added operation NodeTypes.beginStopFaultSimulationAndWait
- Added operation NodeTypes.getFaultSimulation
- Added operation NodeTypes.listFaultSimulation
- Added Interface ApplicationTypesDeleteHeaders
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponse
- Added Interface FaultSimulation
- Added Interface FaultSimulationConstraints
- Added Interface FaultSimulationDetails
- Added Interface FaultSimulationIdParameters
- Added Interface FaultSimulationListResult
- Added Interface FaultSimulationParameters
- Added Interface ManagedClustersGetFaultSimulationOptionalParams
- Added Interface ManagedClustersListFaultSimulationNextOptionalParams
- Added Interface ManagedClustersListFaultSimulationOptionalParams
- Added Interface ManagedClustersStartFaultSimulationHeaders
- Added Interface ManagedClustersStartFaultSimulationOptionalParams
- Added Interface ManagedClustersStopFaultSimulationHeaders
- Added Interface ManagedClustersStopFaultSimulationOptionalParams
- Added Interface NodeTypeFaultSimulation
- Added Interface NodeTypesDeallocateHeaders
- Added Interface NodeTypesDeallocateOptionalParams
- Added Interface NodeTypesGetFaultSimulationOptionalParams
- Added Interface NodeTypesListFaultSimulationNextOptionalParams
- Added Interface NodeTypesListFaultSimulationOptionalParams
- Added Interface NodeTypesRedeployHeaders
- Added Interface NodeTypesRedeployOptionalParams
- Added Interface NodeTypesStartFaultSimulationHeaders
- Added Interface NodeTypesStartFaultSimulationOptionalParams
- Added Interface NodeTypesStartHeaders
- Added Interface NodeTypesStartOptionalParams
- Added Interface NodeTypesStopFaultSimulationHeaders
- Added Interface NodeTypesStopFaultSimulationOptionalParams
- Added Interface Operation
- Added Interface OperationDisplay
- Added Interface TrackedResource
- Added Interface ZoneFaultSimulationParameters
- Added Type Alias ActionType
- Added Type Alias ApplicationsDeleteResponse
- Added Type Alias ApplicationTypesDeleteResponse
- Added Type Alias ApplicationTypeVersionsDeleteResponse
- Added Type Alias CreatedByType
- Added Type Alias Environment
- Added Type Alias FaultKind
- Added Type Alias FaultSimulationParametersUnion
- Added Type Alias FaultSimulationStatus
- Added Type Alias ManagedClustersDeleteResponse
- Added Type Alias ManagedClustersGetFaultSimulationResponse
- Added Type Alias ManagedClustersListFaultSimulationNextResponse
- Added Type Alias ManagedClustersListFaultSimulationResponse
- Added Type Alias ManagedClustersStartFaultSimulationResponse
- Added Type Alias ManagedClustersStopFaultSimulationResponse
- Added Type Alias NodeTypesDeallocateResponse
- Added Type Alias NodeTypesDeleteNodeResponse
- Added Type Alias NodeTypesDeleteResponse
- Added Type Alias NodeTypesGetFaultSimulationResponse
- Added Type Alias NodeTypesListFaultSimulationNextResponse
- Added Type Alias NodeTypesListFaultSimulationResponse
- Added Type Alias NodeTypesRedeployResponse
- Added Type Alias NodeTypesReimageResponse
- Added Type Alias NodeTypesRestartResponse
- Added Type Alias NodeTypesStartFaultSimulationResponse
- Added Type Alias NodeTypesStartResponse
- Added Type Alias NodeTypesStopFaultSimulationResponse
- Added Type Alias Origin
- Added Type Alias ServicesDeleteResponse
- Added Type Alias SfmcOperationStatus
- Interface ApplicationResource has a new optional parameter location
- Interface ApplicationResource has a new optional parameter tags
- Interface ApplicationsCreateOrUpdateHeaders has a new optional parameter retryAfter
- Interface ApplicationsDeleteHeaders has a new optional parameter retryAfter
- Interface ApplicationsReadUpgradeHeaders has a new optional parameter retryAfter
- Interface ApplicationsResumeUpgradeHeaders has a new optional parameter retryAfter
- Interface ApplicationsStartRollbackHeaders has a new optional parameter retryAfter
- Interface ApplicationTypeResource has a new optional parameter location
- Interface ApplicationTypeResource has a new optional parameter tags
- Interface ApplicationTypeVersionResource has a new optional parameter location
- Interface ApplicationTypeVersionResource has a new optional parameter tags
- Interface ApplicationTypeVersionsCreateOrUpdateHeaders has a new optional parameter retryAfter
- Interface ApplicationTypeVersionsDeleteHeaders has a new optional parameter retryAfter
- Interface ManagedCluster has a new optional parameter etag
- Interface ManagedClustersCreateOrUpdateHeaders has a new optional parameter retryAfter
- Interface ManagedClustersDeleteHeaders has a new optional parameter retryAfter
- Interface NodeType has a new optional parameter tags
- Interface NodeTypesCreateOrUpdateHeaders has a new optional parameter retryAfter
- Interface NodeTypesDeleteHeaders has a new optional parameter retryAfter
- Interface NodeTypesDeleteNodeHeaders has a new optional parameter retryAfter
- Interface NodeTypesReimageHeaders has a new optional parameter retryAfter
- Interface NodeTypesRestartHeaders has a new optional parameter retryAfter
- Interface NodeTypesUpdateHeaders has a new optional parameter retryAfter
- Interface ServiceResource has a new optional parameter correlationScheme
- Interface ServiceResource has a new optional parameter defaultMoveCost
- Interface ServiceResource has a new optional parameter location
- Interface ServiceResource has a new optional parameter partitionDescription
- Interface ServiceResource has a new optional parameter placementConstraints
- Interface ServiceResource has a new optional parameter provisioningState
- Interface ServiceResource has a new optional parameter scalingPolicies
- Interface ServiceResource has a new optional parameter serviceDnsName
- Interface ServiceResource has a new optional parameter serviceKind
- Interface ServiceResource has a new optional parameter serviceLoadMetrics
- Interface ServiceResource has a new optional parameter servicePackageActivationMode
- Interface ServiceResource has a new optional parameter servicePlacementPolicies
- Interface ServiceResource has a new optional parameter serviceTypeName
- Interface ServiceResource has a new optional parameter tags
- Interface ServicesCreateOrUpdateHeaders has a new optional parameter retryAfter
- Interface ServicesDeleteHeaders has a new optional parameter retryAfter
- Type of parameter type of interface ServicePlacementPolicy is changed from "InvalidDomain" | "NonPartiallyPlaceService" | "PreferredPrimaryDomain" | "RequiredDomain" | "RequiredDomainDistribution" to "InvalidDomain" | "NonPartiallyPlaceService" | "PreferredPrimaryDomain" | "RequiredDomainDistribution" | "RequiredDomain"
- Added Enum KnownActionType
- Added Enum KnownCreatedByType
- Added Enum KnownEnvironment
- Added Enum KnownFaultKind
- Added Enum KnownFaultSimulationStatus
- Added Enum KnownOrigin
- Added Enum KnownSfmcOperationStatus
- Enum KnownDiskType has a new value PremiumV2LRS
- Enum KnownDiskType has a new value PremiumZRS
- Enum KnownDiskType has a new value StandardSSDZRS

### Breaking Changes

- Operation ManagedClusterVersion.getByEnvironment has a new signature
- Operation ManagedClusterVersion.listByEnvironment has a new signature
- Interface ApplicationsCreateOrUpdateHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationsDeleteHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationsReadUpgradeHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationsResumeUpgradeHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationsStartRollbackHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationTypeVersionsCreateOrUpdateHeaders no longer has parameter azureAsyncOperation
- Interface ApplicationTypeVersionsDeleteHeaders no longer has parameter azureAsyncOperation
- Interface ManagedClustersCreateOrUpdateHeaders no longer has parameter azureAsyncOperation
- Interface ManagedClustersDeleteHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesCreateOrUpdateHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesDeleteHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesDeleteNodeHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesReimageHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesRestartHeaders no longer has parameter azureAsyncOperation
- Interface NodeTypesUpdateHeaders no longer has parameter azureAsyncOperation
- Interface ProxyResource no longer has parameter location
- Interface ProxyResource no longer has parameter tags
- Interface Resource no longer has parameter etag
- Interface Resource no longer has parameter location
- Interface Resource no longer has parameter tags
- Interface ServiceResource no longer has parameter properties
- Interface ServicesCreateOrUpdateHeaders no longer has parameter azureAsyncOperation
- Interface ServicesDeleteHeaders no longer has parameter azureAsyncOperation
- Parameter value of interface ApplicationResourceList is now required
- Parameter value of interface ApplicationTypeResourceList is now required
- Parameter value of interface ApplicationTypeVersionResourceList is now required
- Parameter value of interface ManagedClusterListResult is now required
- Parameter value of interface ManagedVMSizesResult is now required
- Parameter value of interface NodeTypeListResult is now required
- Parameter value of interface NodeTypeListSkuResult is now required
- Parameter value of interface ServiceResourceList is now required
- Type of parameter value of interface OperationListResult is changed from OperationResult[] to Operation[]
- Type of parameter createdByType of interface SystemData is changed from string to CreatedByType
- Type of parameter lastModifiedByType of interface SystemData is changed from string to CreatedByType
- Type of parameter protectedSettings of interface VmssExtension is changed from Record<string, unknown> to {
[propertyName: string]: any;
}
- Type of parameter settings of interface VmssExtension is changed from Record<string, unknown> to {
[propertyName: string]: any;
}
- Removed Enum KnownManagedClusterVersionEnvironment
- Removed Enum KnownUpgradeMode


## 1.0.0-beta.3 (2024-12-12)
Compared with version 1.0.0-beta.2

Expand Down
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.
Original file line number Diff line number Diff line change
Expand Up @@ -48,34 +48,29 @@ You will also need to **register a new AAD application and grant access to Azure
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).

Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.

```ts snippet:ReadmeSampleCreateClient_Node
import { ServiceFabricManagedClustersManagementClient } from "@azure/arm-servicefabricmanagedclusters";
import { DefaultAzureCredential } from "@azure/identity";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ServiceFabricManagedClustersManagementClient(
new DefaultAzureCredential(),
subscriptionId,
);
const client = new ServiceFabricManagedClustersManagementClient(new DefaultAzureCredential(), subscriptionId);
```

For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.

```ts snippet:ReadmeSampleCreateClient_Browser
import { InteractiveBrowserCredential } from "@azure/identity";
import { ServiceFabricManagedClustersManagementClient } from "@azure/arm-servicefabricmanagedclusters";

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 ServiceFabricManagedClustersManagementClient(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 @@ -110,7 +105,7 @@ 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)


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

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "552b4dd311f90f4a7b2f7adf45461d7a8774a1cc",
"commit": "7da87199c3e1744afc19d2f2d0cf9863bcdb8acc",
"readme": "specification/servicefabricmanagedclusters/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\\servicefabricmanagedclusters\\resource-manager\\readme.md --use=@autorest/[email protected].29 --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/servicefabricmanagedclusters/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].16",
"use": "@autorest/[email protected].29"
"release_tool": "@azure-tools/[email protected].21",
"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-servicefabricmanagedclusters.d.ts"
"publicTrimmedFilePath": "./types/arm-servicefabricmanagedclusters.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
Loading

0 comments on commit 400d46c

Please sign in to comment.