< Back

Get-AzureRmContainerRegistryReplication

Tue Jan 29, 2019 9:40 pm

NAME Get-AzureRmContainerRegistryReplication



SYNOPSIS

Gets a replication of a container registry.





SYNTAX

Get-AzureRmContainerRegistryReplication [-Name] <String> [-ResourceGroupName] <String> [-RegistryName] <String> [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmContainerRegistryReplication [-Name] <String> [-DefaultProfile <IAzureContextContainer>] -Registry <PSContainerRegistry>

[<CommonParameters>]



Get-AzureRmContainerRegistryReplication [-DefaultProfile <IAzureContextContainer>] -Registry <PSContainerRegistry> [<CommonParameters>]



Get-AzureRmContainerRegistryReplication [-ResourceGroupName] <String> [-RegistryName] <String> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]



Get-AzureRmContainerRegistryReplication [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmContainerRegistryReplication cmdlet gets a specified replication of a container registry or all the replications of a container

registry.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Container Registry Replication Name.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Registry <PSContainerRegistry>

Container Registry Object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-RegistryName <String>

Container Registry Name.



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

The container registry replication resource id



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.ContainerRegistry.PSContainerRegistry

System.String





OUTPUTS

Microsoft.Azure.Commands.ContainerRegistry.PSContainerRegistryReplication

Microsoft.Azure.Commands.ContainerRegistry.PSContainerRegistryReplication[]





NOTES









Example 1: Gets a specified replication of a container registry



PS C:\\>Get-AzureRmContainerRegistryReplication -ResourceGroupName "MyResourceGroup" -RegistryName "MyRegistry" -Name "myreplication"



Name Location Provisioni Status StatusTimestamp Tags

ngState

---- -------- ---------- ------ --------------- ----

myreplication westus Succeeded Ready 11/17/2017 10:19:45 PM {[tagName, MyTag]}



Gets a specified replication of a container registry





Example 2: Gets all the replications of a container registry



PS C:\\>Get-AzureRmContainerRegistryReplication -ResourceGroupName "MyResourceGroup" -RegistryName "MyRegistry"



Name Location Provisioni Status StatusTimestamp Tags

ngState

---- -------- ---------- ------ --------------- ----

eastus eastus Succeeded Ready 11/6/2017 6:14:47 PM {}

myreplication westus Succeeded Ready 11/17/2017 10:19:45 PM {[tagName, MyTag]}



Gets all the replications of a container registry







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... credential

New-AzureRmContainerRegistryReplication

Remove-AzureRmContainerRegistryReplication