1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. getOnlineEndpointToken
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.machinelearningservices.getOnlineEndpointToken

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Service Token

Uses Azure REST API version 2024-10-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-preview, 2025-01-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 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>
Copy
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]
Copy
func GetOnlineEndpointToken(ctx *Context, args *GetOnlineEndpointTokenArgs, opts ...InvokeOption) (*GetOnlineEndpointTokenResult, error)
func GetOnlineEndpointTokenOutput(ctx *Context, args *GetOnlineEndpointTokenOutputArgs, opts ...InvokeOption) GetOnlineEndpointTokenResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOnlineEndpointTokenResult> getOnlineEndpointToken(GetOnlineEndpointTokenArgs args, InvokeOptions options)
public static Output<GetOnlineEndpointTokenResult> getOnlineEndpointToken(GetOnlineEndpointTokenArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:machinelearningservices:getOnlineEndpointToken
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EndpointName
This property is required.
Changes to this property will trigger replacement.
string
Online Endpoint name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
EndpointName
This property is required.
Changes to this property will trigger replacement.
string
Online Endpoint name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
endpointName
This property is required.
Changes to this property will trigger replacement.
String
Online Endpoint name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of Azure Machine Learning workspace.
endpointName
This property is required.
Changes to this property will trigger replacement.
string
Online Endpoint name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
endpoint_name
This property is required.
Changes to this property will trigger replacement.
str
Online Endpoint name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of Azure Machine Learning workspace.
endpointName
This property is required.
Changes to this property will trigger replacement.
String
Online Endpoint name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi