< Back

Get-AzureRmServiceBusGeoDRConfiguration

Tue Jan 29, 2019 10:06 pm

NAME Get-AzureRmServiceBusGeoDRConfiguration



SYNOPSIS

Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace





SYNTAX

Get-AzureRmServiceBusGeoDRConfiguration [-InputObject] <PSNamespaceAttributes> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]



Get-AzureRmServiceBusGeoDRConfiguration [-ResourceGroupName] <String> [-Namespace] <String> [[-Name] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmServiceBusGeoDRConfiguration [-ResourceId] <String> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmServiceBusGeoDRConfiguration Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace





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



-InputObject <PSNamespaceAttributes>

Namespace Object



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

DR Configuration Name



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Namespace <String>

Namespace Name



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceId <String>

Namespace Resource Id



Required? true

Position? 0

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

System.String

Microsoft.Azure.Commands.ServiceBus.Models.PSNamespaceAttributes





OUTPUTS

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.ServiceBus.Models.PSServiceBusDRConfigurationAttributes,

Microsoft.Azure.Commands.ServiceBus, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]







NOTES









Example 1



PS C:\\> Get-AzureRmServiceBusGeoDRConfiguration -ResourceGroupName "SampleResourceGroup" -Namespace "SampleNamespace_Primary" -Name

"SampleDRCongifName"



Name : SampleDRCongifName

Id : /subscriptions/{SubscriptionId}/resourceGroups/SampleResourceGroup/providers/Microsoft.ServiceBus/namespaces/SampleNamespace_Pr

imary/disasterRecoveryConfigs/SampleDRCongifName

Type : Microsoft.ServiceBus/Namespaces/disasterrecoveryconfigs

ProvisioningState : Accepted

PartnerNamespace : SampleNamespace_Secondary

Role : Primary



Retrieves alias "SampleDRCongifName" configuration for primary namespace "SampleNamespace_Primary"







RELATED LINKS

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