Package version:

Interface representing a Runs.

interface Runs {
    cancel(resourceGroupName: string, registryName: string, runId: string, options?: RunsCancelOptionalParams): Promise<void>;
    get(resourceGroupName: string, registryName: string, runId: string, options?: RunsGetOptionalParams): Promise<Run>;
    getLogSasUrl(resourceGroupName: string, registryName: string, runId: string, options?: RunsGetLogSasUrlOptionalParams): Promise<RunGetLogResult>;
    list(resourceGroupName: string, registryName: string, options?: RunsListOptionalParams): PagedAsyncIterableIterator<Run>;
    update(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: RunUpdateParameters, options?: RunsUpdateOptionalParams): Promise<Run>;
}

Methods

  • Cancel an existing run.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • runId: string

      The run ID.

    • Optionaloptions: RunsCancelOptionalParams

      The options parameters.

    Returns Promise<void>

  • Gets the detailed information for a given run.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • runId: string

      The run ID.

    • Optionaloptions: RunsGetOptionalParams

      The options parameters.

    Returns Promise<Run>

  • Gets a link to download the run logs.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • runId: string

      The run ID.

    • Optionaloptions: RunsGetLogSasUrlOptionalParams

      The options parameters.

    Returns Promise<RunGetLogResult>

  • Gets all the runs for a registry.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • Optionaloptions: RunsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Run>

  • Patch the run properties.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • runId: string

      The run ID.

    • runUpdateParameters: RunUpdateParameters

      The run update properties.

    • Optionaloptions: RunsUpdateOptionalParams

      The options parameters.

    Returns Promise<Run>