Share via


EventHubsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.EventHubs.

public static class EventHubsExtensions
type EventHubsExtensions = class
Public Module EventHubsExtensions
Inheritance
EventHubsExtensions

Methods

CheckEventHubsNamespaceNameAvailability(SubscriptionResource, EventHubsNameAvailabilityContent, CancellationToken)

Check the give Namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
CheckEventHubsNamespaceNameAvailabilityAsync(SubscriptionResource, EventHubsNameAvailabilityContent, CancellationToken)

Check the give Namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
GetAvailableClusterRegionClusters(SubscriptionResource, CancellationToken)

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/availableClusterRegions
  • Operation Id: Clusters_ListAvailableClusterRegion
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetAvailableClusterRegionClustersAsync(SubscriptionResource, CancellationToken)

List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/availableClusterRegions
  • Operation Id: Clusters_ListAvailableClusterRegion
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetEventHubAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubAuthorizationRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an EventHubAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubAuthorizationRuleResource(ResourceIdentifier) instead.

GetEventHubResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubResource(ResourceIdentifier) instead.

GetEventHubsApplicationGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsApplicationGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubsApplicationGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsApplicationGroupResource(ResourceIdentifier) instead.

GetEventHubsCluster(ResourceGroupResource, String, CancellationToken)

Gets the resource description of the specified Event Hubs Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetEventHubsClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets the resource description of the specified Event Hubs Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetEventHubsClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsClusterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an EventHubsClusterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsClusterResource(ResourceIdentifier) instead.

GetEventHubsClusters(ResourceGroupResource)

Gets a collection of EventHubsClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEventHubsClusters() instead.

GetEventHubsClusters(SubscriptionResource, CancellationToken)

Lists the available Event Hubs Clusters within an ARM resource group

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/clusters
  • Operation Id: Clusters_ListBySubscription
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetEventHubsClustersAsync(SubscriptionResource, CancellationToken)

Lists the available Event Hubs Clusters within an ARM resource group

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/clusters
  • Operation Id: Clusters_ListBySubscription
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsClusterResource
GetEventHubsConsumerGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsConsumerGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an EventHubsConsumerGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsConsumerGroupResource(ResourceIdentifier) instead.

GetEventHubsDisasterRecoveryAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsDisasterRecoveryAuthorizationRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an EventHubsDisasterRecoveryAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsDisasterRecoveryAuthorizationRuleResource(ResourceIdentifier) instead.

GetEventHubsDisasterRecoveryResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsDisasterRecoveryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubsDisasterRecoveryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsDisasterRecoveryResource(ResourceIdentifier) instead.

GetEventHubsNamespace(ResourceGroupResource, String, CancellationToken)

Gets the description of the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
GetEventHubsNamespaceAsync(ResourceGroupResource, String, CancellationToken)

Gets the description of the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
GetEventHubsNamespaceAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsNamespaceAuthorizationRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubsNamespaceAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsNamespaceAuthorizationRuleResource(ResourceIdentifier) instead.

GetEventHubsNamespaceResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsNamespaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an EventHubsNamespaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsNamespaceResource(ResourceIdentifier) instead.

GetEventHubsNamespaces(ResourceGroupResource)

Gets a collection of EventHubsNamespaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEventHubsNamespaces() instead.

GetEventHubsNamespaces(SubscriptionResource, CancellationToken)

Lists all the available Namespaces within a subscription, irrespective of the resource groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces
  • Operation Id: Namespaces_List
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
GetEventHubsNamespacesAsync(SubscriptionResource, CancellationToken)

Lists all the available Namespaces within a subscription, irrespective of the resource groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces
  • Operation Id: Namespaces_List
  • Default Api Version: 2023-01-01-preview
  • Resource: EventHubsNamespaceResource
GetEventHubsNetworkRuleSetResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsNetworkRuleSetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an EventHubsNetworkRuleSetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsNetworkRuleSetResource(ResourceIdentifier) instead.

GetEventHubsPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubsPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetEventHubsSchemaGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubsSchemaGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EventHubsSchemaGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubsSchemaGroupResource(ResourceIdentifier) instead.

Applies to