< Back

Remove-AzureRmRedisCacheLink

Tue Jan 29, 2019 10:04 pm

NAME Remove-AzureRmRedisCacheLink



SYNOPSIS

Remove a geo replication link between two Redis Caches.





SYNTAX

Remove-AzureRmRedisCacheLink [-DefaultProfile <IAzureContextContainer>] [-PassThru] -PrimaryServerName <String> -SecondaryServerName <String>

[-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Remove a geo replication link between two Redis Caches.





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



-PassThru [<SwitchParameter>]

{{Fill PassThru Description}}



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-PrimaryServerName <String>

Name of primary redis cache in link.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SecondaryServerName <String>

Name of secondary redis cache in link.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-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



-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



<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

System.String







OUTPUTS

System.Boolean







NOTES









Example 1: Remove a geo replication link



PS C:\\>Remove-AzureRmRedisCacheLink -PrimaryServerName "mycache1" -SecondaryServerName "mycache2"



This command removes a geo-replication links where Redis Cache named mycache1 is primary and Redis Cache named mycache2 is secondary.







RELATED LINKS

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

New-AzureRmRedisCacheLink

Get-AzureRmRedisCacheLink

Get-AzureRmRedisCache

New-AzureRmRedisCache

Remove-AzureRmRedisCache

Reset-AzureRmRedisCache