Interface EventHubDisasterRecoveryPairing
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>,com.microsoft.azure.management.resources.fluentcore.model.Indexable,NestedResource,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<EventHubDisasterRecoveryPairing>,com.microsoft.azure.management.resources.fluentcore.model.Updatable<EventHubDisasterRecoveryPairing.Update>
@Beta(V1_7_0) public interface EventHubDisasterRecoveryPairing extends NestedResource, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<EventHubDisasterRecoveryPairing>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<EventHubDisasterRecoveryPairing.Update>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.ArmDisasterRecoveryInner>
Type representing disaster recovery pairing for event hub namespaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEventHubDisasterRecoveryPairing.DefinitionThe entirety of the event hub disaster recovery pairing definition.static interfaceEventHubDisasterRecoveryPairing.DefinitionStagesGrouping of disaster recovery pairing definition stages.static interfaceEventHubDisasterRecoveryPairing.UpdateThe template for a disaster recovery pairing update operation, containing all the settings that can be modified.static interfaceEventHubDisasterRecoveryPairing.UpdateStagesGrouping of disaster recovery pairing update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbreakPairing()Break the pairing between a primary and secondary namespace.rx.CompletablebreakPairingAsync()Break the pairing between a primary and secondary namespace.voidfailOver()Perform fail over so that the secondary namespace becomes the primary.rx.CompletablefailOverAsync()Perform fail over so that the secondary namespace becomes the primary.com.microsoft.azure.PagedList<DisasterRecoveryPairingAuthorizationRule>listAuthorizationRules()rx.Observable<DisasterRecoveryPairingAuthorizationRule>listAuthorizationRulesAsync()RoleDisasterRecoverynamespaceRole()StringprimaryNamespaceName()StringprimaryNamespaceResourceGroupName()ProvisioningStateDRprovisioningState()StringsecondaryNamespaceId()-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.eventhub.NestedResource
id, name, type
-
-
-
-
Method Detail
-
primaryNamespaceResourceGroupName
@Beta(V1_7_0) String primaryNamespaceResourceGroupName()
- Returns:
- primary event hub namespace resource group
-
primaryNamespaceName
@Beta(V1_7_0) String primaryNamespaceName()
- Returns:
- primary event hub namespace in the pairing
-
secondaryNamespaceId
@Beta(V1_7_0) String secondaryNamespaceId()
- Returns:
- secondary event hub namespace in the pairing
-
namespaceRole
@Beta(V1_7_0) RoleDisasterRecovery namespaceRole()
- Returns:
- the namespace role
-
provisioningState
@Beta(V1_7_0) ProvisioningStateDR provisioningState()
- Returns:
- provisioning state of the pairing
-
breakPairingAsync
@Beta(V1_7_0) rx.Completable breakPairingAsync()
Break the pairing between a primary and secondary namespace.- Returns:
- completable representing the pairing break action
-
breakPairing
@Beta(V1_7_0) void breakPairing()
Break the pairing between a primary and secondary namespace.
-
failOverAsync
@Beta(V1_7_0) rx.Completable failOverAsync()
Perform fail over so that the secondary namespace becomes the primary.- Returns:
- completable representing the fail-over action
-
failOver
@Beta(V1_7_0) void failOver()
Perform fail over so that the secondary namespace becomes the primary.
-
listAuthorizationRulesAsync
@Beta(V1_7_0) rx.Observable<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRulesAsync()
- Returns:
- the authorization rules for the event hub disaster recovery pairing
-
listAuthorizationRules
@Beta(V1_7_0) com.microsoft.azure.PagedList<DisasterRecoveryPairingAuthorizationRule> listAuthorizationRules()
- Returns:
- the authorization rules for the event hub disaster recovery pairing
-
-