< Back

Remove-AzureRmContainerRegistryReplication

Tue Jan 29, 2019 9:40 pm

NAME Remove-AzureRmContainerRegistryReplication



SYNOPSIS

Removes a container registry replication.





SYNTAX

Remove-AzureRmContainerRegistryReplication [-Name] <String> [-ResourceGroupName] <String> [-RegistryName] <String> [-Confirm] [-DefaultProfile

<IAzureContextContainer>] [-WhatIf] [-PassThru] [<CommonParameters>]



Remove-AzureRmContainerRegistryReplication [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Replicatoin <PSContainerRegistryReplication>

[-WhatIf] [-PassThru] [<CommonParameters>]



Remove-AzureRmContainerRegistryReplication [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-WhatIf] [-PassThru]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmContainerRegistryReplication cmdlet removes a container registry replication.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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. Default to the location name.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RegistryName <String>

Container Registry Name.



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Replicatoin <PSContainerRegistryReplication>

Container Registry Object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

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



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Indicates that this cmdlet returns true if the removal was successful.



Required? false

Position? named

Default value False

Accept pipeline input? False

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.PSContainerRegistryReplication

System.String





OUTPUTS

System.Object







NOTES









Example 1: Removes a container registry replication.



PS C:\\> Remove-AzureRmContainerRegistryReplication -ResourceGroupName "MyResourceGroup" -RegistryName "MyRegistry" -Name "replication001"



Removes a container registry replication.







RELATED LINKS

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

New-AzureRmContainerRegistryReplication

Get-AzureRmContainerRegistryReplication