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
CheckIotHubNameAvailabilityAsync(SubscriptionResource, IotHubNameAvailabilityContent, CancellationToken)

Check if an IoT hub name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability
  • Operation Id: IotHubResource_CheckNameAvailability
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
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
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
GetIotHubDescriptionsAsync(SubscriptionResource, CancellationToken)

Get all the IoT hubs in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs
  • Operation Id: IotHubResource_ListBySubscription
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
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

Applies to