Replications interface

Interface representing a Replications.

Methods

beginCreate(string, string, string, Replication, ReplicationsCreateOptionalParams)

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

beginCreateAndWait(string, string, string, Replication, ReplicationsCreateOptionalParams)

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

beginDelete(string, string, string, ReplicationsDeleteOptionalParams)

Deletes a replication from a container registry.

beginDeleteAndWait(string, string, string, ReplicationsDeleteOptionalParams)

Deletes a replication from a container registry.

beginUpdate(string, string, string, ReplicationUpdateParameters, ReplicationsUpdateOptionalParams)

Updates a replication for a container registry with the specified parameters.

beginUpdateAndWait(string, string, string, ReplicationUpdateParameters, ReplicationsUpdateOptionalParams)

Updates a replication for a container registry with the specified parameters.

get(string, string, string, ReplicationsGetOptionalParams)

Gets the properties of the specified replication.

list(string, string, ReplicationsListOptionalParams)

Lists all the replications for the specified container registry.

Method Details

beginCreate(string, string, string, Replication, ReplicationsCreateOptionalParams)

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

function beginCreate(resourceGroupName: string, registryName: string, replicationName: string, replication: Replication, options?: ReplicationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Replication>, 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.

replication
Replication

The parameters for creating a replication.

options
ReplicationsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, Replication, ReplicationsCreateOptionalParams)

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

function beginCreateAndWait(resourceGroupName: string, registryName: string, replicationName: string, replication: Replication, options?: ReplicationsCreateOptionalParams): Promise<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.

replication
Replication

The parameters for creating a replication.

options
ReplicationsCreateOptionalParams

The options parameters.

Returns

Promise<Replication>

beginDelete(string, string, string, ReplicationsDeleteOptionalParams)

Deletes a replication from a container registry.

function beginDelete(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsDeleteOptionalParams): 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.

replicationName

string

The name of the replication.

options
ReplicationsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, ReplicationsDeleteOptionalParams)

Deletes a replication from a container registry.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsDeleteOptionalParams): Promise<void>

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.

options
ReplicationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, ReplicationUpdateParameters, ReplicationsUpdateOptionalParams)

Updates a replication for a container registry with the specified parameters.

function beginUpdate(resourceGroupName: string, registryName: string, replicationName: string, replicationUpdateParameters: ReplicationUpdateParameters, options?: ReplicationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Replication>, 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.

replicationUpdateParameters
ReplicationUpdateParameters

The parameters for updating a replication.

options
ReplicationsUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, ReplicationUpdateParameters, ReplicationsUpdateOptionalParams)

Updates a replication for a container registry with the specified parameters.

function beginUpdateAndWait(resourceGroupName: string, registryName: string, replicationName: string, replicationUpdateParameters: ReplicationUpdateParameters, options?: ReplicationsUpdateOptionalParams): Promise<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.

replicationUpdateParameters
ReplicationUpdateParameters

The parameters for updating a replication.

options
ReplicationsUpdateOptionalParams

The options parameters.

Returns

Promise<Replication>

get(string, string, string, ReplicationsGetOptionalParams)

Gets the properties of the specified replication.

function get(resourceGroupName: string, registryName: string, replicationName: string, options?: ReplicationsGetOptionalParams): Promise<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.

options
ReplicationsGetOptionalParams

The options parameters.

Returns

Promise<Replication>

list(string, string, ReplicationsListOptionalParams)

Lists all the replications for the specified container registry.

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

Parameters

resourceGroupName

string

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

registryName

string

The name of the container registry.

options
ReplicationsListOptionalParams

The options parameters.

Returns