This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.quantum.listWorkspaceKeys
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
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. Azure REST API version: 2023-11-13-preview.
Using listWorkspaceKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listWorkspaceKeys(args: ListWorkspaceKeysArgs, opts?: InvokeOptions): Promise<ListWorkspaceKeysResult>
function listWorkspaceKeysOutput(args: ListWorkspaceKeysOutputArgs, opts?: InvokeOptions): Output<ListWorkspaceKeysResult>def list_workspace_keys(resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> ListWorkspaceKeysResult
def list_workspace_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                        workspace_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[ListWorkspaceKeysResult]func ListWorkspaceKeys(ctx *Context, args *ListWorkspaceKeysArgs, opts ...InvokeOption) (*ListWorkspaceKeysResult, error)
func ListWorkspaceKeysOutput(ctx *Context, args *ListWorkspaceKeysOutputArgs, opts ...InvokeOption) ListWorkspaceKeysResultOutput> Note: This function is named ListWorkspaceKeys in the Go SDK.
public static class ListWorkspaceKeys 
{
    public static Task<ListWorkspaceKeysResult> InvokeAsync(ListWorkspaceKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListWorkspaceKeysResult> Invoke(ListWorkspaceKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
public static Output<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:quantum:listWorkspaceKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the quantum workspace resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the quantum workspace resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the quantum workspace resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- workspaceName string
- The name of the quantum workspace resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- workspace_name str
- The name of the quantum workspace resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the quantum workspace resource.
listWorkspaceKeys Result
The following output properties are available:
- PrimaryConnection stringString 
- The connection string of the primary api key.
- SecondaryConnection stringString 
- The connection string of the secondary api key.
- ApiKey boolEnabled 
- Indicator of enablement of the Quantum workspace Api keys.
- PrimaryKey Pulumi.Azure Native. Quantum. Outputs. Api Key Response 
- The quantum workspace primary api key.
- SecondaryKey Pulumi.Azure Native. Quantum. Outputs. Api Key Response 
- The quantum workspace secondary api key.
- PrimaryConnection stringString 
- The connection string of the primary api key.
- SecondaryConnection stringString 
- The connection string of the secondary api key.
- ApiKey boolEnabled 
- Indicator of enablement of the Quantum workspace Api keys.
- PrimaryKey ApiKey Response 
- The quantum workspace primary api key.
- SecondaryKey ApiKey Response 
- The quantum workspace secondary api key.
- primaryConnection StringString 
- The connection string of the primary api key.
- secondaryConnection StringString 
- The connection string of the secondary api key.
- apiKey BooleanEnabled 
- Indicator of enablement of the Quantum workspace Api keys.
- primaryKey ApiKey Response 
- The quantum workspace primary api key.
- secondaryKey ApiKey Response 
- The quantum workspace secondary api key.
- primaryConnection stringString 
- The connection string of the primary api key.
- secondaryConnection stringString 
- The connection string of the secondary api key.
- apiKey booleanEnabled 
- Indicator of enablement of the Quantum workspace Api keys.
- primaryKey ApiKey Response 
- The quantum workspace primary api key.
- secondaryKey ApiKey Response 
- The quantum workspace secondary api key.
- primary_connection_ strstring 
- The connection string of the primary api key.
- secondary_connection_ strstring 
- The connection string of the secondary api key.
- api_key_ boolenabled 
- Indicator of enablement of the Quantum workspace Api keys.
- primary_key ApiKey Response 
- The quantum workspace primary api key.
- secondary_key ApiKey Response 
- The quantum workspace secondary api key.
- primaryConnection StringString 
- The connection string of the primary api key.
- secondaryConnection StringString 
- The connection string of the secondary api key.
- apiKey BooleanEnabled 
- Indicator of enablement of the Quantum workspace Api keys.
- primaryKey Property Map
- The quantum workspace primary api key.
- secondaryKey Property Map
- The quantum workspace secondary api key.
Supporting Types
ApiKeyResponse  
- key str
- The Api key.
- created_at str
- The creation time of the api key.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi