1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearning
  5. listWorkspaceKeys
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.machinelearning.listWorkspaceKeys

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    List the authorization keys associated with this workspace. Azure REST API version: 2019-10-01.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:machinelearning:listWorkspaceKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group to which the machine learning workspace belongs.
    WorkspaceName string
    The name of the machine learning workspace.
    ResourceGroupName string
    The name of the resource group to which the machine learning workspace belongs.
    WorkspaceName string
    The name of the machine learning workspace.
    resourceGroupName String
    The name of the resource group to which the machine learning workspace belongs.
    workspaceName String
    The name of the machine learning workspace.
    resourceGroupName string
    The name of the resource group to which the machine learning workspace belongs.
    workspaceName string
    The name of the machine learning workspace.
    resource_group_name str
    The name of the resource group to which the machine learning workspace belongs.
    workspace_name str
    The name of the machine learning workspace.
    resourceGroupName String
    The name of the resource group to which the machine learning workspace belongs.
    workspaceName String
    The name of the machine learning workspace.

    listWorkspaceKeys Result

    The following output properties are available:

    PrimaryToken string
    Primary authorization key for this workspace.
    SecondaryToken string
    Secondary authorization key for this workspace.
    PrimaryToken string
    Primary authorization key for this workspace.
    SecondaryToken string
    Secondary authorization key for this workspace.
    primaryToken String
    Primary authorization key for this workspace.
    secondaryToken String
    Secondary authorization key for this workspace.
    primaryToken string
    Primary authorization key for this workspace.
    secondaryToken string
    Secondary authorization key for this workspace.
    primary_token str
    Primary authorization key for this workspace.
    secondary_token str
    Secondary authorization key for this workspace.
    primaryToken String
    Primary authorization key for this workspace.
    secondaryToken String
    Secondary authorization key for this workspace.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi