Package version:

Interface representing a ArchiveVersions.

interface ArchiveVersions {
    beginCreate(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ArchiveVersion>, ArchiveVersion>>;
    beginCreateAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsCreateOptionalParams): Promise<ArchiveVersion>;
    beginDelete(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ArchiveVersionsDeleteHeaders>, ArchiveVersionsDeleteHeaders>>;
    beginDeleteAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsDeleteOptionalParams): Promise<ArchiveVersionsDeleteHeaders>;
    get(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsGetOptionalParams): Promise<ArchiveVersion>;
    list(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, options?: ArchiveVersionsListOptionalParams): PagedAsyncIterableIterator<ArchiveVersion>;
}

Methods

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

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • packageType: string

      The type of the package resource.

    • archiveName: string

      The name of the archive resource.

    • archiveVersionName: string

      The name of the archive version resource.

    • Optionaloptions: ArchiveVersionsCreateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<ArchiveVersion>, ArchiveVersion>>

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

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • packageType: string

      The type of the package resource.

    • archiveName: string

      The name of the archive resource.

    • archiveVersionName: string

      The name of the archive version resource.

    • Optionaloptions: ArchiveVersionsCreateOptionalParams

      The options parameters.

    Returns Promise<ArchiveVersion>

  • Deletes a archive version from a container registry.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • packageType: string

      The type of the package resource.

    • archiveName: string

      The name of the archive resource.

    • archiveVersionName: string

      The name of the archive version resource.

    • Optionaloptions: ArchiveVersionsDeleteOptionalParams

      The options parameters.

    Returns Promise<ArchiveVersionsDeleteHeaders>

  • Gets the properties of the archive version.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • packageType: string

      The type of the package resource.

    • archiveName: string

      The name of the archive resource.

    • archiveVersionName: string

      The name of the archive version resource.

    • Optionaloptions: ArchiveVersionsGetOptionalParams

      The options parameters.

    Returns Promise<ArchiveVersion>

  • Lists all archive versions for the specified container registry, repository type and archive name.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • packageType: string

      The type of the package resource.

    • archiveName: string

      The name of the archive resource.

    • Optionaloptions: ArchiveVersionsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<ArchiveVersion>