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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.machinelearningservices.getOnlineEndpointToken
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 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, 2024-10-01, 2024-10-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)
public static Output<GetOnlineEndpointTokenResult> getOnlineEndpointToken(GetOnlineEndpointTokenArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:machinelearningservices:getOnlineEndpointToken
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EndpointName string
- Online Endpoint name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- Name of Azure Machine Learning workspace.
- EndpointName string
- Online Endpoint name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- Name of Azure Machine Learning workspace.
- endpointName String
- Online Endpoint name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- Name of Azure Machine Learning workspace.
- endpointName string
- Online Endpoint name.
- resourceGroup stringName 
- 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_ strname 
- 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.
- resourceGroup StringName 
- 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.
- ExpiryTime doubleUtc 
- Access token expiry time (UTC).
- RefreshAfter doubleTime Utc 
- Refresh access token after time (UTC).
- TokenType string
- Access token type.
- AccessToken string
- Access token for endpoint authentication.
- ExpiryTime float64Utc 
- Access token expiry time (UTC).
- RefreshAfter float64Time Utc 
- Refresh access token after time (UTC).
- TokenType string
- Access token type.
- accessToken String
- Access token for endpoint authentication.
- expiryTime DoubleUtc 
- Access token expiry time (UTC).
- refreshAfter DoubleTime Utc 
- Refresh access token after time (UTC).
- tokenType String
- Access token type.
- accessToken string
- Access token for endpoint authentication.
- expiryTime numberUtc 
- Access token expiry time (UTC).
- refreshAfter numberTime Utc 
- Refresh access token after time (UTC).
- tokenType string
- Access token type.
- access_token str
- Access token for endpoint authentication.
- expiry_time_ floatutc 
- Access token expiry time (UTC).
- refresh_after_ floattime_ utc 
- Refresh access token after time (UTC).
- token_type str
- Access token type.
- accessToken String
- Access token for endpoint authentication.
- expiryTime NumberUtc 
- Access token expiry time (UTC).
- refreshAfter NumberTime Utc 
- Refresh access token after time (UTC).
- tokenType String
- Access token type.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi