1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. getOnlineEndpointToken
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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

azure-native.machinelearningservices.getOnlineEndpointToken

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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

    Service Token Azure REST API version: 2023-04-01.

    Other available API versions: 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-04-01-preview, 2024-07-01-preview.

    Using getOnlineEndpointToken

    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 getOnlineEndpointToken(args: GetOnlineEndpointTokenArgs, opts?: InvokeOptions): Promise<GetOnlineEndpointTokenResult>
    function getOnlineEndpointTokenOutput(args: GetOnlineEndpointTokenOutputArgs, opts?: InvokeOptions): Output<GetOnlineEndpointTokenResult>
    def get_online_endpoint_token(endpoint_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  workspace_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetOnlineEndpointTokenResult
    def get_online_endpoint_token_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[GetOnlineEndpointTokenResult]
    func GetOnlineEndpointToken(ctx *Context, args *GetOnlineEndpointTokenArgs, opts ...InvokeOption) (*GetOnlineEndpointTokenResult, error)
    func GetOnlineEndpointTokenOutput(ctx *Context, args *GetOnlineEndpointTokenOutputArgs, opts ...InvokeOption) GetOnlineEndpointTokenResultOutput

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

    public static class GetOnlineEndpointToken 
    {
        public static Task<GetOnlineEndpointTokenResult> InvokeAsync(GetOnlineEndpointTokenArgs args, InvokeOptions? opts = null)
        public static Output<GetOnlineEndpointTokenResult> Invoke(GetOnlineEndpointTokenInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOnlineEndpointTokenResult> getOnlineEndpointToken(GetOnlineEndpointTokenArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:machinelearningservices:getOnlineEndpointToken
      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
    Name of Azure Machine Learning workspace.
    EndpointName string
    Online Endpoint name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Name of Azure Machine Learning workspace.
    endpointName String
    Online Endpoint name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Name of Azure Machine Learning workspace.
    endpointName string
    Online Endpoint name.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    Name of Azure Machine Learning workspace.
    endpoint_name str
    Online Endpoint name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    Name of Azure Machine Learning workspace.
    endpointName String
    Online Endpoint name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Name of Azure Machine Learning workspace.

    getOnlineEndpointToken Result

    The following output properties are available:

    AccessToken string
    Access token for endpoint authentication.
    ExpiryTimeUtc double
    Access token expiry time (UTC).
    RefreshAfterTimeUtc double
    Refresh access token after time (UTC).
    TokenType string
    Access token type.
    AccessToken string
    Access token for endpoint authentication.
    ExpiryTimeUtc float64
    Access token expiry time (UTC).
    RefreshAfterTimeUtc float64
    Refresh access token after time (UTC).
    TokenType string
    Access token type.
    accessToken String
    Access token for endpoint authentication.
    expiryTimeUtc Double
    Access token expiry time (UTC).
    refreshAfterTimeUtc Double
    Refresh access token after time (UTC).
    tokenType String
    Access token type.
    accessToken string
    Access token for endpoint authentication.
    expiryTimeUtc number
    Access token expiry time (UTC).
    refreshAfterTimeUtc number
    Refresh access token after time (UTC).
    tokenType string
    Access token type.
    access_token str
    Access token for endpoint authentication.
    expiry_time_utc float
    Access token expiry time (UTC).
    refresh_after_time_utc float
    Refresh access token after time (UTC).
    token_type str
    Access token type.
    accessToken String
    Access token for endpoint authentication.
    expiryTimeUtc Number
    Access token expiry time (UTC).
    refreshAfterTimeUtc Number
    Refresh access token after time (UTC).
    tokenType String
    Access token type.

    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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi