次の方法で共有


IotHubExtensions クラス

定義

Azure.ResourceManager.IotHub に拡張メソッドを追加するクラス。

public static class IotHubExtensions
type IotHubExtensions = class
Public Module IotHubExtensions
継承
IotHubExtensions

メソッド

CheckIotHubNameAvailability(SubscriptionResource, IotHubNameAvailabilityContent, CancellationToken)

IoT ハブ名が使用可能かどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability
  • 操作IdIotHubResource_CheckNameAvailability
CheckIotHubNameAvailabilityAsync(SubscriptionResource, IotHubNameAvailabilityContent, CancellationToken)

IoT ハブ名が使用可能かどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability
  • 操作IdIotHubResource_CheckNameAvailability
GetEventHubConsumerGroupInfoResource(ArmClient, ResourceIdentifier)

に対して実行できるが、データを含まないインスタンス操作と共に を EventHubConsumerGroupInfoResource 表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String, String, String) して、そのコンポーネントから を EventHubConsumerGroupInfoResourceResourceIdentifier 作成できます。

GetIotHubCertificateDescriptionResource(ArmClient, ResourceIdentifier)

に対して実行できるが、データを含まないインスタンス操作と共に を IotHubCertificateDescriptionResource 表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String, String) して、そのコンポーネントから を IotHubCertificateDescriptionResourceResourceIdentifier 作成できます。

GetIotHubDescription(ResourceGroupResource, String, CancellationToken)

IoT ハブのセキュリティ関連以外のメタデータを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}
  • 操作IdIotHubResource_Get
GetIotHubDescriptionAsync(ResourceGroupResource, String, CancellationToken)

IoT ハブのセキュリティ関連以外のメタデータを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}
  • 操作IdIotHubResource_Get
GetIotHubDescriptionResource(ArmClient, ResourceIdentifier)

に対して実行できるが、データを含まないインスタンス操作と共に を IotHubDescriptionResource 表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String) して、そのコンポーネントから を IotHubDescriptionResourceResourceIdentifier 作成できます。

GetIotHubDescriptions(ResourceGroupResource)

ResourceGroupResource 内の IotHubDescriptionResources のコレクションを取得します。

GetIotHubDescriptions(SubscriptionResource, CancellationToken)

サブスクリプション内のすべての IoT ハブを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/IotHubs
  • 操作IdIotHubResource_ListBySubscription
GetIotHubDescriptionsAsync(SubscriptionResource, CancellationToken)

サブスクリプション内のすべての IoT ハブを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/IotHubs
  • 操作IdIotHubResource_ListBySubscription
GetIotHubPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

に対して実行できるが、データを含まないインスタンス操作と共に を IotHubPrivateEndpointConnectionResource 表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String, String) して、そのコンポーネントから を IotHubPrivateEndpointConnectionResourceResourceIdentifier 作成できます。

GetIotHubPrivateEndpointGroupInformationResource(ArmClient, ResourceIdentifier)

に対して実行できるが、データを含まないインスタンス操作と共に を IotHubPrivateEndpointGroupInformationResource 表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String, String) して、そのコンポーネントから を IotHubPrivateEndpointGroupInformationResourceResourceIdentifier 作成できます。

GetIotHubUserSubscriptionQuota(SubscriptionResource, CancellationToken)

サブスクリプション内の無料および有料の IoT ハブの数を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/usages
  • 操作IdResourceProviderCommon_GetSubscriptionQuota
GetIotHubUserSubscriptionQuotaAsync(SubscriptionResource, CancellationToken)

サブスクリプション内の無料および有料の IoT ハブの数を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Devices/usages
  • 操作IdResourceProviderCommon_GetSubscriptionQuota

適用対象