Skip to content

Commit

Permalink
[mgmt] servicefabricmanagedclusters release (Azure#32188)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Dec 19, 2024
1 parent 8179e26 commit 13e505c
Show file tree
Hide file tree
Showing 169 changed files with 503 additions and 344 deletions.
4 changes: 2 additions & 2 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,15 +1,23 @@
# Release History

## 1.0.0-beta.3 (Unreleased)


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

### Features Added

### Breaking Changes
- Added operation NodeTypes.beginUpdate
- Added operation NodeTypes.beginUpdateAndWait
- Added Interface NodeTypesUpdateHeaders
- Interface ManagedCluster has a new optional parameter allocatedOutboundPorts
- Interface NodeTypesUpdateOptionalParams has a new optional parameter resumeFrom
- Interface NodeTypesUpdateOptionalParams has a new optional parameter updateIntervalInMs

### Bugs Fixed

### Other Changes
### Breaking Changes

- Removed operation NodeTypes.update
- Interface ManagedCluster no longer has parameter customFqdn


## 1.0.0-beta.2 (2024-10-16)
Compared with version 1.0.0-beta.1

Expand Down
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 ServiceFabricManagedClustersManagement** 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://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "7d0134ad6d42786b1ff2d49a3cfb331b336c3099",
"commit": "552b4dd311f90f4a7b2f7adf45461d7a8774a1cc",
"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].27 --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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicefabricmanagedclusters\\resource-manager\\readme.md --use=@autorest/[email protected].29 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].13",
"use": "@autorest/[email protected].27"
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/[email protected].29"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/servicefabricmanagedclusters/arm-servicefabricmanagedclusters",
"Tag": "js/servicefabricmanagedclusters/arm-servicefabricmanagedclusters_9d8d8c5093"
"Tag": "js/servicefabricmanagedclusters/arm-servicefabricmanagedclusters_6ace53711e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^11.0.2",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
Expand Down Expand Up @@ -89,7 +89,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -110,4 +111,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicefabricmanagedclusters?view=azure-node-preview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ export interface ManagedCluster extends Resource {
addonFeatures?: ManagedClusterAddOnFeature[];
adminPassword?: string;
adminUserName?: string;
allocatedOutboundPorts?: number;
allowRdpAccess?: boolean;
applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
Expand All @@ -842,7 +843,6 @@ export interface ManagedCluster extends Resource {
readonly clusterState?: ClusterState;
clusterUpgradeCadence?: ClusterUpgradeCadence;
clusterUpgradeMode?: ClusterUpgradeMode;
customFqdn?: string;
ddosProtectionPlanId?: string;
dnsName?: string;
enableAutoOSUpgrade?: boolean;
Expand Down Expand Up @@ -1239,9 +1239,10 @@ export interface NodeTypes {
beginReimageAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesReimageOptionalParams): Promise<void>;
beginRestart(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginRestartAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesRestartOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NodeTypesUpdateResponse>, NodeTypesUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
get(resourceGroupName: string, clusterName: string, nodeTypeName: string, options?: NodeTypesGetOptionalParams): Promise<NodeTypesGetResponse>;
listByManagedClusters(resourceGroupName: string, clusterName: string, options?: NodeTypesListByManagedClustersOptionalParams): PagedAsyncIterableIterator<NodeType>;
update(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
}

// @public
Expand Down Expand Up @@ -1365,8 +1366,16 @@ export interface NodeTypesRestartOptionalParams extends coreClient.OperationOpti
updateIntervalInMs?: number;
}

// @public
export interface NodeTypesUpdateHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface NodeTypesUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
Expand Down
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.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Create or update a Service Fabric managed application type version resource with the specified name.
*
* @summary Create or update a Service Fabric managed application type version resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeVersionPutOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionPutOperation_example.json
*/
async function putAnApplicationTypeVersion() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Delete a Service Fabric managed application type version resource with the specified name.
*
* @summary Delete a Service Fabric managed application type version resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json
*/
async function deleteAnApplicationTypeVersion() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.
*
* @summary Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeVersionGetOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionGetOperation_example.json
*/
async function getAnApplicationTypeVersion() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.
*
* @summary Gets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeVersionListOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionListOperation_example.json
*/
async function getAListOfApplicationTypeVersionResources() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates the tags of an application type version resource of a given managed cluster.
*
* @summary Updates the tags of an application type version resource of a given managed cluster.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json
*/
async function patchAnApplicationTypeVersion() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Create or update a Service Fabric managed application type name resource with the specified name.
*
* @summary Create or update a Service Fabric managed application type name resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeNamePutOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNamePutOperation_example.json
*/
async function putAnApplicationType() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Delete a Service Fabric managed application type name resource with the specified name.
*
* @summary Delete a Service Fabric managed application type name resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json
*/
async function deleteAnApplicationType() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.
*
* @summary Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeNameGetOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameGetOperation_example.json
*/
async function getAnApplicationType() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
*
* @summary Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeNameListOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameListOperation_example.json
*/
async function getAListOfApplicationTypeNameResources() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates the tags of an application type resource of a given managed cluster.
*
* @summary Updates the tags of an application type resource of a given managed cluster.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationTypeNamePatchOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNamePatchOperation_example.json
*/
async function patchAnApplicationType() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Create or update a Service Fabric managed application resource with the specified name.
*
* @summary Create or update a Service Fabric managed application resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationPutOperation_example_max.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationPutOperation_example_max.json
*/
async function putAnApplicationWithMaximumParameters() {
const subscriptionId =
Expand Down Expand Up @@ -87,7 +87,7 @@ async function putAnApplicationWithMaximumParameters() {
* This sample demonstrates how to Create or update a Service Fabric managed application resource with the specified name.
*
* @summary Create or update a Service Fabric managed application resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationPutOperation_example_min.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationPutOperation_example_min.json
*/
async function putAnApplicationWithMinimumParameters() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Delete a Service Fabric managed application resource with the specified name.
*
* @summary Delete a Service Fabric managed application resource with the specified name.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationDeleteOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationDeleteOperation_example.json
*/
async function deleteAnApplication() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.
*
* @summary Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationGetOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationGetOperation_example.json
*/
async function getAnApplication() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.
*
* @summary Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationListOperation_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationListOperation_example.json
*/
async function getAListOfApplicationResources() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.
*
* @summary Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/examples/ApplicationActionGetUpgrade_example.json
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationActionGetUpgrade_example.json
*/
async function getAnApplicationUpgrade() {
const subscriptionId =
Expand Down
Loading

0 comments on commit 13e505c

Please sign in to comment.