Package version:

Interface representing a Tokens.

Hierarchy

  • Tokens

Methods

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

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • tokenName: string

      The name of the token.

    • tokenCreateParameters: Token

      The parameters for creating a token.

    • Optional options: TokensCreateOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<Token>, Token>>

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

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • tokenName: string

      The name of the token.

    • tokenCreateParameters: Token

      The parameters for creating a token.

    • Optional options: TokensCreateOptionalParams

      The options parameters.

    Returns Promise<Token>

  • Deletes a token from a container registry.

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • tokenName: string

      The name of the token.

    • Optional options: TokensDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

  • Deletes a token from a container registry.

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • tokenName: string

      The name of the token.

    • Optional options: TokensDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Gets the properties of the specified token.

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • tokenName: string

      The name of the token.

    • Optional options: TokensGetOptionalParams

      The options parameters.

    Returns Promise<Token>

  • Lists all the tokens for the specified container registry.

    Parameters

    • resourceGroupName: string

      The name of the resource group to which the container registry belongs.

    • registryName: string

      The name of the container registry.

    • Optional options: TokensListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Token>

Generated using TypeDoc