Package version:

Interface representing a Replications.

interface Replications {
    beginCreate(resourceGroupName: string, registryName: string, replicationName: string, replication: Replication, options?: ReplicationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Replication>, Replication>>;
    beginCreateAndWait(resourceGroupName: string, registryName: string, replicationName: string, replication: Replication, options?: ReplicationsCreateOptionalParams): Promise<Replication>;
    beginDelete(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, registryName: string, replicationName: string, replicationUpdateParameters: ReplicationUpdateParameters, options?: ReplicationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Replication>, Replication>>;
    beginUpdateAndWait(resourceGroupName: string, registryName: string, replicationName: string, replicationUpdateParameters: ReplicationUpdateParameters, options?: ReplicationsUpdateOptionalParams): Promise<Replication>;
    get(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsGetOptionalParams): Promise<Replication>;
    list(resourceGroupName: string, registryName: string, options?: ReplicationsListOptionalParams): PagedAsyncIterableIterator<Replication>;
}

Methods

  • Creates a replication 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.

    • replicationName: string

      The name of the replication.

    • replication: Replication

      The parameters for creating a replication.

    • Optionaloptions: ReplicationsCreateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Replication>, Replication>>

  • Creates a replication 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.

    • replicationName: string

      The name of the replication.

    • replication: Replication

      The parameters for creating a replication.

    • Optionaloptions: ReplicationsCreateOptionalParams

      The options parameters.

    Returns Promise<Replication>

  • Deletes a replication 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.

    • replicationName: string

      The name of the replication.

    • Optionaloptions: ReplicationsDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Deletes a replication 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.

    • replicationName: string

      The name of the replication.

    • Optionaloptions: ReplicationsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Updates a replication 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.

    • replicationName: string

      The name of the replication.

    • replicationUpdateParameters: ReplicationUpdateParameters

      The parameters for updating a replication.

    • Optionaloptions: ReplicationsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Replication>, Replication>>

  • Updates a replication 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.

    • replicationName: string

      The name of the replication.

    • replicationUpdateParameters: ReplicationUpdateParameters

      The parameters for updating a replication.

    • Optionaloptions: ReplicationsUpdateOptionalParams

      The options parameters.

    Returns Promise<Replication>

  • Gets the properties of the specified replication.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • replicationName: string

      The name of the replication.

    • Optionaloptions: ReplicationsGetOptionalParams

      The options parameters.

    Returns Promise<Replication>

  • Lists all the replications for the specified container registry.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • Optionaloptions: ReplicationsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Replication>