Azure Native
getOnlineEndpointToken
Service Token API Version: 2021-03-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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- https://github.com/pulumi/pulumi-azure-native
- License
- Apache-2.0