Files
azure-sdk-for-js/sdk/connectedcache/arm-connectedcache/samples-dev/enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsSample.ts

30 lines
1.2 KiB
TypeScript

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ConnectedCacheClient } from "@azure/arm-connectedcache";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to this api gets secrets of the ispCacheNode resource install details
*
* @summary this api gets secrets of the ispCacheNode resource install details
* x-ms-original-file: 2026-06-01/EnterpriseMccCacheNodesOperations_GetCacheNodeInstallDetails_MaximumSet_Gen.json
*/
async function getsRequiredPropertiesForEnterpriseMccCacheNodeResourceInstallKeyDetailsGeneratedByMaximumSetRule(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "12345678-1234-1234-1234-123456789098";
const client = new ConnectedCacheClient(credential, subscriptionId);
const result = await client.enterpriseMccCacheNodesOperations.getCacheNodeInstallDetails(
"rgConnectedCache",
"fzwxcjmdpxxzayecabqqlh",
"ccexmqqttritxvtctivraso",
);
console.log(result);
}
async function main(): Promise<void> {
await getsRequiredPropertiesForEnterpriseMccCacheNodeResourceInstallKeyDetailsGeneratedByMaximumSetRule();
}
main().catch(console.error);