< Back
Get-AzureRmEventHubGeoDRConfiguration
Post
NAME Get-AzureRmEventHubGeoDRConfiguration
SYNOPSIS
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
SYNTAX
Get-AzureRmEventHubGeoDRConfiguration [-InputObject] <PSNamespaceAttributes> [-DefaultProfile <IAzureContextContainer>] [-Name <String>]
[<CommonParameters>]
Get-AzureRmEventHubGeoDRConfiguration [-ResourceGroupName] <String> [-Namespace] <String> [-DefaultProfile <IAzureContextContainer>] [-Name
<String>] [<CommonParameters>]
Get-AzureRmEventHubGeoDRConfiguration [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmEventHubGeoDRConfiguration 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? named
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.EventHub.Models.PSNamespaceAttributes
OUTPUTS
System.Collections.Generic.List`1[[Microsoft.Azure.Commands.EventHub.Models.PSEventHubDRConfigurationAttributes,
Microsoft.Azure.Commands.EventHub, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Get-AzureRmEventHubGeoDRConfiguration -ResourceGroupName "SampleResourceGroup" -Namespace "SampleNamespace_Primary" -Name
"SampleDRCongifName"
Name : SampleDRCongifName
Id : /subscriptions/{SubscriptionId}/resourceGroups/SampleResourceGroup/providers/Microsoft.EventHub/namespaces/SampleNamespace_Prim
ary/disasterRecoveryConfigs/SampleDRCongifName
Type : Microsoft.EventHub/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
SYNOPSIS
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
SYNTAX
Get-AzureRmEventHubGeoDRConfiguration [-InputObject] <PSNamespaceAttributes> [-DefaultProfile <IAzureContextContainer>] [-Name <String>]
[<CommonParameters>]
Get-AzureRmEventHubGeoDRConfiguration [-ResourceGroupName] <String> [-Namespace] <String> [-DefaultProfile <IAzureContextContainer>] [-Name
<String>] [<CommonParameters>]
Get-AzureRmEventHubGeoDRConfiguration [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmEventHubGeoDRConfiguration 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? named
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.EventHub.Models.PSNamespaceAttributes
OUTPUTS
System.Collections.Generic.List`1[[Microsoft.Azure.Commands.EventHub.Models.PSEventHubDRConfigurationAttributes,
Microsoft.Azure.Commands.EventHub, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Get-AzureRmEventHubGeoDRConfiguration -ResourceGroupName "SampleResourceGroup" -Namespace "SampleNamespace_Primary" -Name
"SampleDRCongifName"
Name : SampleDRCongifName
Id : /subscriptions/{SubscriptionId}/resourceGroups/SampleResourceGroup/providers/Microsoft.EventHub/namespaces/SampleNamespace_Prim
ary/disasterRecoveryConfigs/SampleDRCongifName
Type : Microsoft.EventHub/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