Share via


IotHubExtensions Class

Definition

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

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

Methods

CheckIotHubNameAvailability(SubscriptionResource, IotHubNameAvailabilityContent, CancellationToken)

Check if an IoT hub name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability
  • Operation Id: IotHubResource_CheckNameAvailability
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
CheckIotHubNameAvailabilityAsync(SubscriptionResource, IotHubNameAvailabilityContent, CancellationToken)

Check if an IoT hub name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability
  • Operation Id: IotHubResource_CheckNameAvailability
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
GetEventHubConsumerGroupInfoResource(ArmClient, ResourceIdentifier)

Gets an object representing an EventHubConsumerGroupInfoResource 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 EventHubConsumerGroupInfoResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventHubConsumerGroupInfoResource(ResourceIdentifier) instead.

GetIotHubCertificateDescriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotHubCertificateDescriptionResource 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 IotHubCertificateDescriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotHubCertificateDescriptionResource(ResourceIdentifier) instead.

GetIotHubDescription(ResourceGroupResource, String, CancellationToken)

Get the non-security related metadata of an IoT hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}
  • Operation Id: IotHubResource_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
GetIotHubDescriptionAsync(ResourceGroupResource, String, CancellationToken)

Get the non-security related metadata of an IoT hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}
  • Operation Id: IotHubResource_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
GetIotHubDescriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotHubDescriptionResource 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 IotHubDescriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotHubDescriptionResource(ResourceIdentifier) instead.

GetIotHubDescriptions(ResourceGroupResource)

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

GetIotHubDescriptions(SubscriptionResource, CancellationToken)

Get all the IoT hubs in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs
  • Operation Id: IotHubResource_ListBySubscription
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
GetIotHubDescriptionsAsync(SubscriptionResource, CancellationToken)

Get all the IoT hubs in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs
  • Operation Id: IotHubResource_ListBySubscription
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
GetIotHubPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotHubPrivateEndpointConnectionResource 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 IotHubPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotHubPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetIotHubPrivateEndpointGroupInformationResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotHubPrivateEndpointGroupInformationResource 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 IotHubPrivateEndpointGroupInformationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotHubPrivateEndpointGroupInformationResource(ResourceIdentifier) instead.

GetIotHubUserSubscriptionQuota(SubscriptionResource, CancellationToken)

Get the number of free and paid iot hubs in the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages
  • Operation Id: ResourceProviderCommon_GetSubscriptionQuota
  • Default Api Version: 2023-06-30
GetIotHubUserSubscriptionQuotaAsync(SubscriptionResource, CancellationToken)

Get the number of free and paid iot hubs in the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages
  • Operation Id: ResourceProviderCommon_GetSubscriptionQuota
  • Default Api Version: 2023-06-30

Applies to