语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmContainerInstanceModelFactory.ContainerSandboxGroupAccessToken Method

Definition

The result of getting an access token for a SandboxGroup.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerSandboxGroupAccessToken ContainerSandboxGroupAccessToken(Uri endpoint = default, string accessToken = default, DateTimeOffset notAfterOn = default);
static member ContainerSandboxGroupAccessToken : Uri * string * DateTimeOffset -> Azure.ResourceManager.ContainerInstance.Models.ContainerSandboxGroupAccessToken
Public Shared Function ContainerSandboxGroupAccessToken (Optional endpoint As Uri = Nothing, Optional accessToken As String = Nothing, Optional notAfterOn As DateTimeOffset = Nothing) As ContainerSandboxGroupAccessToken

Parameters

endpoint
Uri

The endpoint URL to use with the access token.

accessToken
String

The access token used to authenticate against the endpoint.

notAfterOn
DateTimeOffset

The UTC date and time at which the access token expires.

Returns

A new ContainerSandboxGroupAccessToken instance for mocking.

Applies to