azure-native.machinelearningservices.getOnlineEndpointToken
Explore with Pulumi AI
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>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:
- Endpoint
Name string - Online Endpoint name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Workspace
Name string - Name of Azure Machine Learning workspace.
 
- Endpoint
Name string - Online Endpoint name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Workspace
Name string - Name of Azure Machine Learning workspace.
 
- endpoint
Name String - Online Endpoint name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name String - Name of Azure Machine Learning workspace.
 
- endpoint
Name string - Online Endpoint name.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name 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.
 
- endpoint
Name String - Online Endpoint name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name String - Name of Azure Machine Learning workspace.
 
getOnlineEndpointToken Result
The following output properties are available:
- Access
Token string - Access token for endpoint authentication.
 - Expiry
Time doubleUtc  - Access token expiry time (UTC).
 - Refresh
After doubleTime Utc  - Refresh access token after time (UTC).
 - Token
Type string - Access token type.
 
- Access
Token string - Access token for endpoint authentication.
 - Expiry
Time float64Utc  - Access token expiry time (UTC).
 - Refresh
After float64Time Utc  - Refresh access token after time (UTC).
 - Token
Type string - Access token type.
 
- access
Token String - Access token for endpoint authentication.
 - expiry
Time DoubleUtc  - Access token expiry time (UTC).
 - refresh
After DoubleTime Utc  - Refresh access token after time (UTC).
 - token
Type String - Access token type.
 
- access
Token string - Access token for endpoint authentication.
 - expiry
Time numberUtc  - Access token expiry time (UTC).
 - refresh
After numberTime Utc  - Refresh access token after time (UTC).
 - token
Type 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.
 
- access
Token String - Access token for endpoint authentication.
 - expiry
Time NumberUtc  - Access token expiry time (UTC).
 - refresh
After NumberTime Utc  - Refresh access token after time (UTC).
 - token
Type String - Access token type.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0