1. Packages
  2. Azure Native v2
  3. API Docs
  4. machinelearning
  5. listWorkspaceKeys
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.machinelearning.listWorkspaceKeys

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 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>
Copy
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]
Copy
func ListWorkspaceKeys(ctx *Context, args *ListWorkspaceKeysArgs, opts ...InvokeOption) (*ListWorkspaceKeysResult, error)
func ListWorkspaceKeysOutput(ctx *Context, args *ListWorkspaceKeysOutputArgs, opts ...InvokeOption) ListWorkspaceKeysResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
public static Output<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:machinelearning:listWorkspaceKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the machine learning workspace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group to which the machine learning workspace belongs.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the machine learning workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to which the machine learning workspace belongs.
workspaceName
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi