UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

110 lines (109 loc) 4.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified Cloud HSM Cluster * * Uses Azure REST API version 2024-06-30-preview. * * Other available API versions: 2022-08-31-preview, 2023-12-10-preview, 2025-03-31. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hardwaresecuritymodules [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCloudHsmCluster(args: GetCloudHsmClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudHsmClusterResult>; export interface GetCloudHsmClusterArgs { /** * The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length. */ cloudHsmClusterName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Resource information with extended details. */ export interface GetCloudHsmClusterResult { /** * State of security domain activation */ readonly activationState: string; /** * The Cloud HSM Cluster's auto-generated Domain Name Label Scope */ readonly autoGeneratedDomainNameLabelScope?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An array of Cloud HSM Cluster's HSMs */ readonly hsms: outputs.hardwaresecuritymodules.CloudHsmPropertiesResponse[]; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Managed service identity (system assigned and/or user assigned identities) */ readonly identity?: outputs.hardwaresecuritymodules.ManagedServiceIdentityResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * List of private endpoint connection resources */ readonly privateEndpointConnections: outputs.hardwaresecuritymodules.PrivateEndpointConnectionResponse[]; /** * The Cloud HSM Cluster's provisioningState */ readonly provisioningState: string; /** * The Cloud HSM Cluster public network access */ readonly publicNetworkAccess?: string; /** * SKU details */ readonly sku?: outputs.hardwaresecuritymodules.CloudHsmClusterSkuResponse; /** * Cloud HSM Cluster status message */ readonly statusMessage: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.hardwaresecuritymodules.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets the specified Cloud HSM Cluster * * Uses Azure REST API version 2024-06-30-preview. * * Other available API versions: 2022-08-31-preview, 2023-12-10-preview, 2025-03-31. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hardwaresecuritymodules [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCloudHsmClusterOutput(args: GetCloudHsmClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudHsmClusterResult>; export interface GetCloudHsmClusterOutputArgs { /** * The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length. */ cloudHsmClusterName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }