Interface EventHubDisasterRecoveryPairings

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<EventHubDisasterRecoveryPairing.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<EventHubDisasterRecoveryPairing>

    @Beta(V1_7_0)
    public interface EventHubDisasterRecoveryPairings
    extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<EventHubDisasterRecoveryPairing.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<EventHubDisasterRecoveryPairing>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.DisasterRecoveryConfigsInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
    Entry point to manage disaster recovery pairing of event hub namespaces.
    • Method Detail

      • listByNamespace

        @Beta(V1_7_0)
        com.microsoft.azure.PagedList<EventHubDisasterRecoveryPairing> listByNamespace​(String resourceGroupName,
                                                                                       String namespaceName)
        Lists the disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        Returns:
        list of disaster recovery pairings
      • listByNamespaceAsync

        @Beta(V1_7_0)
        rx.Observable<EventHubDisasterRecoveryPairing> listByNamespaceAsync​(String resourceGroupName,
                                                                            String namespaceName)
        Lists the disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        Returns:
        observable that emits disaster recovery pairings
      • getByNameAsync

        @Beta(V1_7_0)
        rx.Observable<EventHubDisasterRecoveryPairing> getByNameAsync​(String resourceGroupName,
                                                                      String namespaceName,
                                                                      String name)
        Gets a disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        name - disaster recovery pairing name
        Returns:
        observable that emits disaster recovery pairings
      • getByName

        @Beta(V1_7_0)
        EventHubDisasterRecoveryPairing getByName​(String resourceGroupName,
                                                  String namespaceName,
                                                  String name)
        Gets a disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        name - disaster recovery pairing name
        Returns:
        the disaster recovery pairing
      • deleteByNameAsync

        @Beta(V1_7_0)
        rx.Completable deleteByNameAsync​(String resourceGroupName,
                                         String namespaceName,
                                         String name)
        Deletes a disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        name - disaster recovery pairing name
        Returns:
        the completable representing the task
      • deleteByName

        @Beta(V1_7_0)
        void deleteByName​(String resourceGroupName,
                          String namespaceName,
                          String name)
        Deletes a disaster recovery pairings of a namespace under a resource group.
        Parameters:
        resourceGroupName - resource group name
        namespaceName - namespace name
        name - disaster recovery pairing