Dela via


NotificationHubsExtensions Class

Definition

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

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

Methods

CheckNotificationHubNamespaceAvailability(SubscriptionResource, NotificationHubAvailabilityContent, CancellationToken)

Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability
  • Operation Id: Namespaces_CheckAvailability
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
CheckNotificationHubNamespaceAvailabilityAsync(SubscriptionResource, NotificationHubAvailabilityContent, CancellationToken)

Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability
  • Operation Id: Namespaces_CheckAvailability
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
GetNotificationHubAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a NotificationHubAuthorizationRuleResource 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 a NotificationHubAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNotificationHubAuthorizationRuleResource(ResourceIdentifier) instead.

GetNotificationHubNamespace(ResourceGroupResource, String, CancellationToken)

Returns the given namespace.

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

Returns the given namespace.

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

Gets an object representing a NotificationHubNamespaceAuthorizationRuleResource 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 a NotificationHubNamespaceAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNotificationHubNamespaceAuthorizationRuleResource(ResourceIdentifier) instead.

GetNotificationHubNamespaceResource(ArmClient, ResourceIdentifier)

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

GetNotificationHubNamespaces(ResourceGroupResource)

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

GetNotificationHubNamespaces(SubscriptionResource, String, Nullable<Int32>, CancellationToken)

Lists all the available namespaces within the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces
  • Operation Id: Namespaces_ListAll
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
GetNotificationHubNamespacesAsync(SubscriptionResource, String, Nullable<Int32>, CancellationToken)

Lists all the available namespaces within the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces
  • Operation Id: Namespaces_ListAll
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
GetNotificationHubPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a NotificationHubPrivateEndpointConnectionResource 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 a NotificationHubPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNotificationHubPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetNotificationHubResource(ArmClient, ResourceIdentifier)

Gets an object representing a NotificationHubResource 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 a NotificationHubResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNotificationHubResource(ResourceIdentifier) instead.

GetNotificationHubsPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a NotificationHubsPrivateLinkResource 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 a NotificationHubsPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNotificationHubsPrivateLinkResource(ResourceIdentifier) instead.

Applies to