@azure/arm-servicefabricmanagedclusters 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +0 -1
- package/dist/index.js +93 -8
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsListByApplicationTypesSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesListSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationsListSample.js +1 -1
- package/dist-esm/samples-dev/applicationsReadUpgradeSample.js +1 -1
- package/dist-esm/samples-dev/applicationsResumeUpgradeSample.js +1 -1
- package/dist-esm/samples-dev/applicationsStartRollbackSample.js +1 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedApplyMaintenanceWindowPostSample.js +1 -1
- package/dist-esm/samples-dev/managedAzResiliencyStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionGetByEnvironmentSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionListByEnvironmentSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionListSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedMaintenanceWindowStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/managedUnsupportedVMSizesGetSample.js +1 -1
- package/dist-esm/samples-dev/managedUnsupportedVMSizesListSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypeSkusListSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js +8 -8
- package/dist-esm/samples-dev/nodeTypesDeleteNodeSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesListByManagedClustersSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesReimageSample.js +2 -2
- package/dist-esm/samples-dev/nodeTypesRestartSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/nodeTypesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +1 -1
- package/dist-esm/samples-dev/servicesListByApplicationsSample.js +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +15 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +23 -3
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/nodeTypes.d.ts +10 -1
- package/dist-esm/src/operations/nodeTypes.d.ts.map +1 -1
- package/dist-esm/src/operations/nodeTypes.js +66 -2
- package/dist-esm/src/operations/nodeTypes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts +10 -1
- package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts.map +1 -1
- package/dist-esm/src/serviceFabricManagedClustersManagementClient.js +2 -2
- package/package.json +7 -8
- package/review/arm-servicefabricmanagedclusters.api.md +11 -2
- package/src/models/index.ts +18 -5
- package/src/models/mappers.ts +24 -3
- package/src/models/parameters.ts +1 -1
- package/src/operations/nodeTypes.ts +98 -4
- package/src/operationsInterfaces/nodeTypes.ts +21 -1
- package/src/serviceFabricManagedClustersManagementClient.ts +2 -2
- package/tsconfig.json +2 -2
- package/types/arm-servicefabricmanagedclusters.d.ts +26 -5
- package/types/tsdoc-metadata.json +1 -1
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a Service Fabric managed application type version resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a Service Fabric managed application type version resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionPutOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function putAnApplicationTypeVersion() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a Service Fabric managed application type version resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a Service Fabric managed application type version resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteAnApplicationTypeVersion() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @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.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionGetOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAnApplicationTypeVersion() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionListOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAListOfApplicationTypeVersionResources() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates the tags of an application type version resource of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates the tags of an application type version resource of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function patchAnApplicationTypeVersion() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a Service Fabric managed application type name resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a Service Fabric managed application type name resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNamePutOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function putAnApplicationType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a Service Fabric managed application type name resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a Service Fabric managed application type name resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteAnApplicationType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameGetOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAnApplicationType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNameListOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAListOfApplicationTypeNameResources() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates the tags of an application type resource of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates the tags of an application type resource of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationTypeNamePatchOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function patchAnApplicationType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a Service Fabric managed application resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a Service Fabric managed application resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationPutOperation_example_max.json
|
|
20
20
|
*/
|
|
21
21
|
function putAnApplicationWithMaximumParameters() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -72,7 +72,7 @@ function putAnApplicationWithMaximumParameters() {
|
|
|
72
72
|
* This sample demonstrates how to Create or update a Service Fabric managed application resource with the specified name.
|
|
73
73
|
*
|
|
74
74
|
* @summary Create or update a Service Fabric managed application resource with the specified name.
|
|
75
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
75
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationPutOperation_example_min.json
|
|
76
76
|
*/
|
|
77
77
|
function putAnApplicationWithMinimumParameters() {
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a Service Fabric managed application resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a Service Fabric managed application resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationDeleteOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteAnApplication() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationGetOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAnApplication() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationListOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAListOfApplicationResources() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationActionGetUpgrade_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getAnApplicationUpgrade() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.
|
|
17
17
|
*
|
|
18
18
|
* @summary Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationActionResumeUpgrade_example.json
|
|
20
20
|
*/
|
|
21
21
|
function resumeUpgrade() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.
|
|
17
17
|
*
|
|
18
18
|
* @summary Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationActionStartRollback_example.json
|
|
20
20
|
*/
|
|
21
21
|
function startAnApplicationUpgradeRollback() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates the tags of an application resource of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates the tags of an application resource of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ApplicationPatchOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function patchAnApplication() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be applied.
|
|
17
17
|
*
|
|
18
18
|
* @summary Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be applied.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedApplyMaintenanceWindowPost_example.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceWindowStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Action to get Az Resiliency Status of all the Base resources constituting Service Fabric Managed Clusters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Action to get Az Resiliency Status of all the Base resources constituting Service Fabric Managed Clusters.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/managedAzResiliencyStatusGet_example.json
|
|
20
20
|
*/
|
|
21
21
|
function azResiliencyStatusOfBaseResources() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information about an available Service Fabric cluster code version by environment.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information about an available Service Fabric cluster code version by environment.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterVersionGetByEnvironment_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getClusterVersionByEnvironment() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information about an available Service Fabric managed cluster code version.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information about an available Service Fabric managed cluster code version.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterVersionGet_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getClusterVersion() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all available code versions for Service Fabric cluster resources by environment.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all available code versions for Service Fabric cluster resources by environment.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterVersionListByEnvironment.json
|
|
20
20
|
*/
|
|
21
21
|
function listClusterVersionsByEnvironment() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all available code versions for Service Fabric cluster resources by location.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all available code versions for Service Fabric cluster resources by location.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterVersionList_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listClusterVersions() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a Service Fabric managed cluster resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a Service Fabric managed cluster resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterPutOperation_example_max.json
|
|
20
20
|
*/
|
|
21
21
|
function putAClusterWithMaximumParameters() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -32,6 +32,7 @@ function putAClusterWithMaximumParameters() {
|
|
|
32
32
|
],
|
|
33
33
|
adminPassword: "{vm-password}",
|
|
34
34
|
adminUserName: "vmadmin",
|
|
35
|
+
allocatedOutboundPorts: 0,
|
|
35
36
|
allowRdpAccess: true,
|
|
36
37
|
applicationTypeVersionsCleanupPolicy: { maxUnusedVersionsToKeep: 3 },
|
|
37
38
|
autoGeneratedDomainNameLabelScope: "SubscriptionReuse",
|
|
@@ -151,7 +152,7 @@ function putAClusterWithMaximumParameters() {
|
|
|
151
152
|
* This sample demonstrates how to Create or update a Service Fabric managed cluster resource with the specified name.
|
|
152
153
|
*
|
|
153
154
|
* @summary Create or update a Service Fabric managed cluster resource with the specified name.
|
|
154
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
155
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterPutOperation_example_min.json
|
|
155
156
|
*/
|
|
156
157
|
function putAClusterWithMinimumParameters() {
|
|
157
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedClustersCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/managedClustersCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4CAA4C,GAC7C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,IAAI,OAAO,CAAC;QACxE,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAmB;YACjC,aAAa,EAAE;gBACb,YAAY;gBACZ,sBAAsB;gB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,CAC7D,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,0BAA0B,CACpE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;QACnC,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"managedClustersCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/managedClustersCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4CAA4C,GAC7C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC;YAC3D,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,IAAI,OAAO,CAAC;QACxE,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAmB;YACjC,aAAa,EAAE;gBACb,YAAY;gBACZ,sBAAsB;gBACtB,wBAAwB;aACzB;YACD,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,SAAS;YACxB,sBAAsB,EAAE,CAAC;YACzB,cAAc,EAAE,IAAI;YACpB,oCAAoC,EAAE,EAAE,uBAAuB,EAAE,CAAC,EAAE;YACpE,iCAAiC,EAAE,mBAAmB;YAC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AAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;QACnC,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a Service Fabric managed cluster resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a Service Fabric managed cluster resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterDeleteOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteACluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get a Service Fabric managed cluster resource created or in the process of being created in the specified resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get a Service Fabric managed cluster resource created or in the process of being created in the specified resource group.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterGetOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getACluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all Service Fabric cluster resources created or in the process of being created in the resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all Service Fabric cluster resources created or in the process of being created in the resource group.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listClusterByResourceGroup() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all Service Fabric cluster resources created or in the process of being created in the subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all Service Fabric cluster resources created or in the process of being created in the subscription.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterListBySubscriptionOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listManagedClusters() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update the tags of of a Service Fabric managed cluster resource with the specified name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update the tags of of a Service Fabric managed cluster resource with the specified name.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedClusterPatchOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function patchAManagedCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Action to get Maintenance Window Status of the Service Fabric Managed Clusters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Action to get Maintenance Window Status of the Service Fabric Managed Clusters.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ManagedMaintenanceWindowStatusGet_example.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceWindowStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get unsupported vm size for Service Fabric Managed Clusters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get unsupported vm size for Service Fabric Managed Clusters.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/managedUnsupportedVMSizesGet_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getUnsupportedVMSizes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/managedUnsupportedVMSizesList_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listUnsupportedVMSizes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get a Service Fabric node type supported SKUs.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get a Service Fabric node type supported SKUs.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypeSkusListOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listANodeTypeSkUs() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationAutoScale_example.json
|
|
20
20
|
*/
|
|
21
21
|
function putANodeTypeWithAutoScaleParameters() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -83,7 +83,7 @@ function putANodeTypeWithAutoScaleParameters() {
|
|
|
83
83
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
84
84
|
*
|
|
85
85
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
86
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
86
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperation_example_max.json
|
|
87
87
|
*/
|
|
88
88
|
function putANodeTypeWithMaximumParameters() {
|
|
89
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -231,7 +231,7 @@ function putANodeTypeWithMaximumParameters() {
|
|
|
231
231
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
232
232
|
*
|
|
233
233
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
234
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
234
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperation_example_min.json
|
|
235
235
|
*/
|
|
236
236
|
function putANodeTypeWithMinimumParameters() {
|
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -260,7 +260,7 @@ function putANodeTypeWithMinimumParameters() {
|
|
|
260
260
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
261
261
|
*
|
|
262
262
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
263
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
263
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationStateless_example.json
|
|
264
264
|
*/
|
|
265
265
|
function putAnStatelessNodeTypeWithTemporaryDiskForServiceFabric() {
|
|
266
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -302,7 +302,7 @@ function putAnStatelessNodeTypeWithTemporaryDiskForServiceFabric() {
|
|
|
302
302
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
303
303
|
*
|
|
304
304
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
305
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
305
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationCustomImage_example.json
|
|
306
306
|
*/
|
|
307
307
|
function putNodeTypeWithCustomVMImage() {
|
|
308
308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -328,7 +328,7 @@ function putNodeTypeWithCustomVMImage() {
|
|
|
328
328
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
329
329
|
*
|
|
330
330
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
331
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
331
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationDedicatedHost_example.json
|
|
332
332
|
*/
|
|
333
333
|
function putNodeTypeWithDedicatedHosts() {
|
|
334
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -362,7 +362,7 @@ function putNodeTypeWithDedicatedHosts() {
|
|
|
362
362
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
363
363
|
*
|
|
364
364
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
365
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
365
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json
|
|
366
366
|
*/
|
|
367
367
|
function putNodeTypeWithSharedGalleriesCustomVMImage() {
|
|
368
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -388,7 +388,7 @@ function putNodeTypeWithSharedGalleriesCustomVMImage() {
|
|
|
388
388
|
* This sample demonstrates how to Create or update a Service Fabric node type of a given managed cluster.
|
|
389
389
|
*
|
|
390
390
|
* @summary Create or update a Service Fabric node type of a given managed cluster.
|
|
391
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
391
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePutOperationVmImagePlan_example.json
|
|
392
392
|
*/
|
|
393
393
|
function putNodeTypeWithVMImagePlan() {
|
|
394
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes one or more nodes on the node type. It will disable the fabric nodes, trigger a delete on the VMs and removes the state from the cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes one or more nodes on the node type. It will disable the fabric nodes, trigger a delete on the VMs and removes the state from the cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/DeleteNodes_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteNodes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a Service Fabric node type of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a Service Fabric node type of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypeDeleteOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteANodeType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get a Service Fabric node type of a given managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get a Service Fabric node type of a given managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypeGetOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function getANodeType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all Node types of the specified managed cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all Node types of the specified managed cluster.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypeListOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function listNodeTypeOfTheSpecifiedManagedCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
|
|
17
17
|
*
|
|
18
18
|
* @summary Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ReimageNodes_UD_example.json
|
|
20
20
|
*/
|
|
21
21
|
function reimageAllNodesByUpgradeDomain() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -38,7 +38,7 @@ function reimageAllNodesByUpgradeDomain() {
|
|
|
38
38
|
* This sample demonstrates how to Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
|
|
39
39
|
*
|
|
40
40
|
* @summary Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
|
|
41
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
41
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/ReimageNodes_example.json
|
|
42
42
|
*/
|
|
43
43
|
function reimageNodes() {
|
|
44
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again.
|
|
17
17
|
*
|
|
18
18
|
* @summary Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/RestartNodes_example.json
|
|
20
20
|
*/
|
|
21
21
|
function restartNodes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
19
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
19
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePatchOperation_example.json
|
|
20
20
|
*/
|
|
21
21
|
function patchANodeType() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -28,7 +28,7 @@ function patchANodeType() {
|
|
|
28
28
|
const parameters = { tags: { a: "b" } };
|
|
29
29
|
const credential = new DefaultAzureCredential();
|
|
30
30
|
const client = new ServiceFabricManagedClustersManagementClient(credential, subscriptionId);
|
|
31
|
-
const result = yield client.nodeTypes.
|
|
31
|
+
const result = yield client.nodeTypes.beginUpdateAndWait(resourceGroupName, clusterName, nodeTypeName, parameters);
|
|
32
32
|
console.log(result);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@ function patchANodeType() {
|
|
|
36
36
|
* This sample demonstrates how to Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
37
37
|
*
|
|
38
38
|
* @summary Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
39
|
-
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-
|
|
39
|
+
* x-ms-original-file: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/examples/NodeTypePatchOperationAutoScale_example.json
|
|
40
40
|
*/
|
|
41
41
|
function patchANodeTypeWhileAutoScaling() {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -51,7 +51,7 @@ function patchANodeTypeWhileAutoScaling() {
|
|
|
51
51
|
};
|
|
52
52
|
const credential = new DefaultAzureCredential();
|
|
53
53
|
const client = new ServiceFabricManagedClustersManagementClient(credential, subscriptionId);
|
|
54
|
-
const result = yield client.nodeTypes.
|
|
54
|
+
const result = yield client.nodeTypes.beginUpdateAndWait(resourceGroupName, clusterName, nodeTypeName, parameters);
|
|
55
55
|
console.log(result);
|
|
56
56
|
});
|
|
57
57
|
}
|