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

64 lines (63 loc) 2.8 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration. * * Uses Azure REST API version 2023-11-13-preview. * * Other available API versions: 2025-01-01-preview, 2025-08-11-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native quantum [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listWorkspaceKeys(args: ListWorkspaceKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListWorkspaceKeysResult>; export interface ListWorkspaceKeysArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the quantum workspace resource. */ workspaceName: string; } /** * Result of list Api keys and connection strings. */ export interface ListWorkspaceKeysResult { /** * Indicator of enablement of the Quantum workspace Api keys. */ readonly apiKeyEnabled?: boolean; /** * The connection string of the primary api key. */ readonly primaryConnectionString: string; /** * The quantum workspace primary api key. */ readonly primaryKey?: outputs.quantum.ApiKeyResponse; /** * The connection string of the secondary api key. */ readonly secondaryConnectionString: string; /** * The quantum workspace secondary api key. */ readonly secondaryKey?: outputs.quantum.ApiKeyResponse; } /** * Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration. * * Uses Azure REST API version 2023-11-13-preview. * * Other available API versions: 2025-01-01-preview, 2025-08-11-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native quantum [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listWorkspaceKeysOutput(args: ListWorkspaceKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListWorkspaceKeysResult>; export interface ListWorkspaceKeysOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the quantum workspace resource. */ workspaceName: pulumi.Input<string>; }