UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

67 lines (66 loc) 3.01 kB
import * as pulumi from "@pulumi/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, 2025-04-01, 2025-04-01-preview, 2025-06-01, 2025-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getOnlineEndpointToken(args: GetOnlineEndpointTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetOnlineEndpointTokenResult>; export interface GetOnlineEndpointTokenArgs { /** * Online Endpoint name. */ endpointName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of Azure Machine Learning workspace. */ workspaceName: string; } /** * Service Token */ export interface GetOnlineEndpointTokenResult { /** * Access token for endpoint authentication. */ readonly accessToken?: string; /** * Access token expiry time (UTC). */ readonly expiryTimeUtc?: number; /** * Refresh access token after time (UTC). */ readonly refreshAfterTimeUtc?: number; /** * Access token type. */ readonly tokenType?: string; } /** * 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, 2025-04-01, 2025-04-01-preview, 2025-06-01, 2025-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getOnlineEndpointTokenOutput(args: GetOnlineEndpointTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOnlineEndpointTokenResult>; export interface GetOnlineEndpointTokenOutputArgs { /** * Online Endpoint name. */ endpointName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Name of Azure Machine Learning workspace. */ workspaceName: pulumi.Input<string>; }