1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. listOnlineEndpointKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    List EndpointAuthKeys for an Endpoint using Key-based authentication.

    Uses Azure REST API version 2025-12-01.

    Other available API versions: 2021-03-01-preview, 2022-02-01-preview, 2022-05-01, 2022-06-01-preview, 2022-10-01, 2022-10-01-preview, 2022-12-01-preview, 2023-02-01-preview, 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-07-01-preview, 2024-10-01, 2024-10-01-preview, 2025-01-01-preview, 2025-04-01, 2025-04-01-preview, 2025-06-01, 2025-07-01-preview, 2025-09-01, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native machinelearningservices [ApiVersion]. See the version guide for details.

    Using listOnlineEndpointKeys

    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 listOnlineEndpointKeys(args: ListOnlineEndpointKeysArgs, opts?: InvokeOptions): Promise<ListOnlineEndpointKeysResult>
    function listOnlineEndpointKeysOutput(args: ListOnlineEndpointKeysOutputArgs, opts?: InvokeOptions): Output<ListOnlineEndpointKeysResult>
    def list_online_endpoint_keys(endpoint_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  workspace_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> ListOnlineEndpointKeysResult
    def list_online_endpoint_keys_output(endpoint_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  workspace_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[ListOnlineEndpointKeysResult]
    func ListOnlineEndpointKeys(ctx *Context, args *ListOnlineEndpointKeysArgs, opts ...InvokeOption) (*ListOnlineEndpointKeysResult, error)
    func ListOnlineEndpointKeysOutput(ctx *Context, args *ListOnlineEndpointKeysOutputArgs, opts ...InvokeOption) ListOnlineEndpointKeysResultOutput

    > Note: This function is named ListOnlineEndpointKeys in the Go SDK.

    public static class ListOnlineEndpointKeys 
    {
        public static Task<ListOnlineEndpointKeysResult> InvokeAsync(ListOnlineEndpointKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListOnlineEndpointKeysResult> Invoke(ListOnlineEndpointKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListOnlineEndpointKeysResult> listOnlineEndpointKeys(ListOnlineEndpointKeysArgs args, InvokeOptions options)
    public static Output<ListOnlineEndpointKeysResult> listOnlineEndpointKeys(ListOnlineEndpointKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:machinelearningservices:listOnlineEndpointKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndpointName string
    Online Endpoint name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Azure Machine Learning Workspace Name
    EndpointName string
    Online Endpoint name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Azure Machine Learning Workspace Name
    endpointName String
    Online Endpoint name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Azure Machine Learning Workspace Name
    endpointName string
    Online Endpoint name.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    Azure Machine Learning Workspace Name
    endpoint_name str
    Online Endpoint name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    Azure Machine Learning Workspace Name
    endpointName String
    Online Endpoint name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Azure Machine Learning Workspace Name

    listOnlineEndpointKeys Result

    The following output properties are available:

    PrimaryKey string
    The primary key.
    SecondaryKey string
    The secondary key.
    PrimaryKey string
    The primary key.
    SecondaryKey string
    The secondary key.
    primaryKey String
    The primary key.
    secondaryKey String
    The secondary key.
    primaryKey string
    The primary key.
    secondaryKey string
    The secondary key.
    primary_key str
    The primary key.
    secondary_key str
    The secondary key.
    primaryKey String
    The primary key.
    secondaryKey String
    The secondary key.

    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 v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.