1. Packages
  2. Azure Native v1
  3. API Docs
  4. machinelearning
  5. listWorkspaceKeys
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.machinelearning.listWorkspaceKeys

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    List the authorization keys associated with this workspace. API Version: 2016-04-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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi