Files
azure-sdk-for-js/sdk/machinelearningcompute/arm-machinelearningcompute/samples/v3-beta/javascript/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js
kazrael2119andGitHub bad133cbce recording refresh 14 (#24038)
* recording refresh 14

* update files

* update files

* update files

* update files

* update files

* Update CHANGELOG.md
2022-12-02 09:22:42 +00:00

34 lines
1.4 KiB
JavaScript

/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { MachineLearningComputeManagementClient } = require("@azure/arm-machinelearningcompute");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Checks if updates are available for system services in the cluster.
*
* @summary Checks if updates are available for system services in the cluster.
* x-ms-original-file: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_CheckSystemServicesUpdatesAvailable.json
*/
async function checkUpdateForAnOperationalizationCluster() {
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const resourceGroupName = "myResourceGroup";
const clusterName = "myCluster";
const credential = new DefaultAzureCredential();
const client = new MachineLearningComputeManagementClient(credential, subscriptionId);
const result = await client.operationalizationClusters.checkSystemServicesUpdatesAvailable(
resourceGroupName,
clusterName
);
console.log(result);
}
checkUpdateForAnOperationalizationCluster().catch(console.error);