Tokens interface

Interface representing a Tokens.

Methods

beginCreate(string, string, string, Token, TokensCreateOptionalParams)

Creates a token for a container registry with the specified parameters.

beginCreateAndWait(string, string, string, Token, TokensCreateOptionalParams)

Creates a token for a container registry with the specified parameters.

beginDelete(string, string, string, TokensDeleteOptionalParams)

Deletes a token from a container registry.

beginDeleteAndWait(string, string, string, TokensDeleteOptionalParams)

Deletes a token from a container registry.

beginUpdate(string, string, string, TokenUpdateParameters, TokensUpdateOptionalParams)

Updates a token with the specified parameters.

beginUpdateAndWait(string, string, string, TokenUpdateParameters, TokensUpdateOptionalParams)

Updates a token with the specified parameters.

get(string, string, string, TokensGetOptionalParams)

Gets the properties of the specified token.

list(string, string, TokensListOptionalParams)

Lists all the tokens for the specified container registry.

Method Details

beginCreate(string, string, string, Token, TokensCreateOptionalParams)

Creates a token for a container registry with the specified parameters.

function beginCreate(resourceGroupName: string, registryName: string, tokenName: string, tokenCreateParameters: Token, options?: TokensCreateOptionalParams): Promise<SimplePollerLike<OperationState<Token>, Token>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

tokenCreateParameters
Token

The parameters for creating a token.

options
TokensCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Token>, Token>>

beginCreateAndWait(string, string, string, Token, TokensCreateOptionalParams)

Creates a token for a container registry with the specified parameters.

function beginCreateAndWait(resourceGroupName: string, registryName: string, tokenName: string, tokenCreateParameters: Token, options?: TokensCreateOptionalParams): Promise<Token>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

tokenCreateParameters
Token

The parameters for creating a token.

options
TokensCreateOptionalParams

The options parameters.

Returns

Promise<Token>

beginDelete(string, string, string, TokensDeleteOptionalParams)

Deletes a token from a container registry.

function beginDelete(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

options
TokensDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, TokensDeleteOptionalParams)

Deletes a token from a container registry.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

options
TokensDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, TokenUpdateParameters, TokensUpdateOptionalParams)

Updates a token with the specified parameters.

function beginUpdate(resourceGroupName: string, registryName: string, tokenName: string, tokenUpdateParameters: TokenUpdateParameters, options?: TokensUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Token>, Token>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

tokenUpdateParameters
TokenUpdateParameters

The parameters for updating a token.

options
TokensUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Token>, Token>>

beginUpdateAndWait(string, string, string, TokenUpdateParameters, TokensUpdateOptionalParams)

Updates a token with the specified parameters.

function beginUpdateAndWait(resourceGroupName: string, registryName: string, tokenName: string, tokenUpdateParameters: TokenUpdateParameters, options?: TokensUpdateOptionalParams): Promise<Token>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

tokenUpdateParameters
TokenUpdateParameters

The parameters for updating a token.

options
TokensUpdateOptionalParams

The options parameters.

Returns

Promise<Token>

get(string, string, string, TokensGetOptionalParams)

Gets the properties of the specified token.

function get(resourceGroupName: string, registryName: string, tokenName: string, options?: TokensGetOptionalParams): Promise<Token>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

tokenName

string

The name of the token.

options
TokensGetOptionalParams

The options parameters.

Returns

Promise<Token>

list(string, string, TokensListOptionalParams)

Lists all the tokens for the specified container registry.

function list(resourceGroupName: string, registryName: string, options?: TokensListOptionalParams): PagedAsyncIterableIterator<Token, Token[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the container registry.

options
TokensListOptionalParams

The options parameters.

Returns