IotHubResourceOperations interface

IotHubResource操作を表すインターフェース。

プロパティ

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
checkNameAvailability

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

createEventHubConsumerGroup

IoT ハブのイベント ハブ互換エンドポイントにコンシューマー グループを追加します。

createOrUpdate

IoT ハブのメタデータを作成または更新します。 プロパティを変更する通常のパターンは、IoT ハブのメタデータとセキュリティ メタデータを取得し、それらを新しい本文で変更した値と組み合わせて IoT ハブを更新することです。

delete

IoT hubを削除します。

deleteEventHubConsumerGroup

IoT ハブのイベント ハブ互換エンドポイントからコンシューマー グループを削除します。

exportDevices

IoT ハブ ID レジストリ内のすべてのデバイス ID を Azure Storage BLOB コンテナーにエクスポートします。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities」を参照してください。

get

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

getEventHubConsumerGroup

IoT ハブの Event Hub 互換のデバイスからクラウドへのエンドポイントからコンシューマー グループを取得します。

getJob

IoT ハブからジョブの詳細を取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry」を参照してください。

getKeysForKeyName

IoT ハブから共有アクセス ポリシーを名前で取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security」を参照してください。

getStats

IoT ハブから統計を取得します。

importDevices

IoT Hub ID レジストリ内のデバイス ID を BLOB からインポート、更新、または削除します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities」を参照してください。

listByResourceGroup

リソース グループ内のすべての IoT ハブを取得します。

listBySubscription

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

listEndpointHealth

ルーティング エンドポイントの正常性を取得します。

listEventHubConsumerGroups

IoT ハブの Event Hub 互換の device-to-cloud エンドポイントのコンシューマー グループの一覧を取得します。

listJobs

IoT ハブ内のすべてのジョブの一覧を取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry」を参照してください。

listKeys

IoT ハブのセキュリティ メタデータを取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security」を参照してください。

listQuotaMetrics

IoT hubのクォータ メトリックを取得します。

listValidSkus

IoT ハブの有効な SKU の一覧を取得します。

testAllRoutes

この Iot Hub で構成されているすべてのルートをテストする

testRoute

この Iot Hub の新しいルートをテストする

update

既存の IoT Hub タグを更新します。 他のフィールドを更新するには、CreateOrUpdate メソッドを使用します

プロパティの詳細

beginCreateOrUpdate

警告

この API は非推奨になりました。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

beginCreateOrUpdateAndWait

警告

この API は非推奨になりました。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<IotHubDescription>

beginDelete

警告

この API は非推奨になりました。

use delete instead

beginDelete: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

beginDeleteAndWait

警告

この API は非推奨になりました。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<IotHubDescription>

beginUpdate

警告

この API は非推奨になりました。

use update instead

beginUpdate: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>

beginUpdateAndWait

警告

この API は非推奨になりました。

use update instead

beginUpdateAndWait: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<IotHubDescription>

checkNameAvailability

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

checkNameAvailability: (operationInputs: OperationInputs, options?: IotHubResourceCheckNameAvailabilityOptionalParams) => Promise<IotHubNameAvailabilityInfo>

プロパティ値

(operationInputs: OperationInputs, options?: IotHubResourceCheckNameAvailabilityOptionalParams) => Promise<IotHubNameAvailabilityInfo>

createEventHubConsumerGroup

IoT ハブのイベント ハブ互換エンドポイントにコンシューマー グループを追加します。

createEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, consumerGroupBody: EventHubConsumerGroupBodyDescription, options?: IotHubResourceCreateEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>

プロパティ値

(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, consumerGroupBody: EventHubConsumerGroupBodyDescription, options?: IotHubResourceCreateEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>

createOrUpdate

IoT ハブのメタデータを作成または更新します。 プロパティを変更する通常のパターンは、IoT ハブのメタデータとセキュリティ メタデータを取得し、それらを新しい本文で変更した値と組み合わせて IoT ハブを更新することです。

createOrUpdate: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>

delete

IoT hubを削除します。

delete: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>

deleteEventHubConsumerGroup

IoT ハブのイベント ハブ互換エンドポイントからコンシューマー グループを削除します。

deleteEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceDeleteEventHubConsumerGroupOptionalParams) => Promise<void>

プロパティ値

(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceDeleteEventHubConsumerGroupOptionalParams) => Promise<void>

exportDevices

IoT ハブ ID レジストリ内のすべてのデバイス ID を Azure Storage BLOB コンテナーにエクスポートします。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities」を参照してください。

exportDevices: (resourceGroupName: string, resourceName: string, exportDevicesParameters: ExportDevicesRequest, options?: IotHubResourceExportDevicesOptionalParams) => Promise<JobResponse>

プロパティ値

(resourceGroupName: string, resourceName: string, exportDevicesParameters: ExportDevicesRequest, options?: IotHubResourceExportDevicesOptionalParams) => Promise<JobResponse>

get

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

get: (resourceGroupName: string, resourceName: string, options?: IotHubResourceGetOptionalParams) => Promise<IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceGetOptionalParams) => Promise<IotHubDescription>

getEventHubConsumerGroup

IoT ハブの Event Hub 互換のデバイスからクラウドへのエンドポイントからコンシューマー グループを取得します。

getEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceGetEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>

プロパティ値

(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceGetEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>

getJob

IoT ハブからジョブの詳細を取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry」を参照してください。

getJob: (resourceGroupName: string, resourceName: string, jobId: string, options?: IotHubResourceGetJobOptionalParams) => Promise<JobResponse>

プロパティ値

(resourceGroupName: string, resourceName: string, jobId: string, options?: IotHubResourceGetJobOptionalParams) => Promise<JobResponse>

getKeysForKeyName

IoT ハブから共有アクセス ポリシーを名前で取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security」を参照してください。

getKeysForKeyName: (resourceGroupName: string, resourceName: string, keyName: string, options?: IotHubResourceGetKeysForKeyNameOptionalParams) => Promise<SharedAccessSignatureAuthorizationRule>

プロパティ値

(resourceGroupName: string, resourceName: string, keyName: string, options?: IotHubResourceGetKeysForKeyNameOptionalParams) => Promise<SharedAccessSignatureAuthorizationRule>

getStats

IoT ハブから統計を取得します。

getStats: (resourceGroupName: string, resourceName: string, options?: IotHubResourceGetStatsOptionalParams) => Promise<RegistryStatistics>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceGetStatsOptionalParams) => Promise<RegistryStatistics>

importDevices

IoT Hub ID レジストリ内のデバイス ID を BLOB からインポート、更新、または削除します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities」を参照してください。

importDevices: (resourceGroupName: string, resourceName: string, importDevicesParameters: ImportDevicesRequest, options?: IotHubResourceImportDevicesOptionalParams) => Promise<JobResponse>

プロパティ値

(resourceGroupName: string, resourceName: string, importDevicesParameters: ImportDevicesRequest, options?: IotHubResourceImportDevicesOptionalParams) => Promise<JobResponse>

listByResourceGroup

リソース グループ内のすべての IoT ハブを取得します。

listByResourceGroup: (resourceGroupName: string, options?: IotHubResourceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>

プロパティ値

(resourceGroupName: string, options?: IotHubResourceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>

listBySubscription

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

listBySubscription: (options?: IotHubResourceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>

プロパティ値

(options?: IotHubResourceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>

listEndpointHealth

ルーティング エンドポイントの正常性を取得します。

listEndpointHealth: (resourceGroupName: string, iotHubName: string, options?: IotHubResourceListEndpointHealthOptionalParams) => PagedAsyncIterableIterator<EndpointHealthData, EndpointHealthData[], PageSettings>

プロパティ値

(resourceGroupName: string, iotHubName: string, options?: IotHubResourceListEndpointHealthOptionalParams) => PagedAsyncIterableIterator<EndpointHealthData, EndpointHealthData[], PageSettings>

listEventHubConsumerGroups

IoT ハブの Event Hub 互換の device-to-cloud エンドポイントのコンシューマー グループの一覧を取得します。

listEventHubConsumerGroups: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: IotHubResourceListEventHubConsumerGroupsOptionalParams) => PagedAsyncIterableIterator<EventHubConsumerGroupInfo, EventHubConsumerGroupInfo[], PageSettings>

プロパティ値

(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: IotHubResourceListEventHubConsumerGroupsOptionalParams) => PagedAsyncIterableIterator<EventHubConsumerGroupInfo, EventHubConsumerGroupInfo[], PageSettings>

listJobs

IoT ハブ内のすべてのジョブの一覧を取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry」を参照してください。

listJobs: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListJobsOptionalParams) => PagedAsyncIterableIterator<JobResponse, JobResponse[], PageSettings>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceListJobsOptionalParams) => PagedAsyncIterableIterator<JobResponse, JobResponse[], PageSettings>

listKeys

IoT ハブのセキュリティ メタデータを取得します。 詳細については、「 https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security」を参照してください。

listKeys: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListKeysOptionalParams) => PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRule, SharedAccessSignatureAuthorizationRule[], PageSettings>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceListKeysOptionalParams) => PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRule, SharedAccessSignatureAuthorizationRule[], PageSettings>

listQuotaMetrics

IoT hubのクォータ メトリックを取得します。

listQuotaMetrics: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListQuotaMetricsOptionalParams) => PagedAsyncIterableIterator<IotHubQuotaMetricInfo, IotHubQuotaMetricInfo[], PageSettings>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceListQuotaMetricsOptionalParams) => PagedAsyncIterableIterator<IotHubQuotaMetricInfo, IotHubQuotaMetricInfo[], PageSettings>

listValidSkus

IoT ハブの有効な SKU の一覧を取得します。

listValidSkus: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListValidSkusOptionalParams) => PagedAsyncIterableIterator<IotHubSkuDescription, IotHubSkuDescription[], PageSettings>

プロパティ値

(resourceGroupName: string, resourceName: string, options?: IotHubResourceListValidSkusOptionalParams) => PagedAsyncIterableIterator<IotHubSkuDescription, IotHubSkuDescription[], PageSettings>

testAllRoutes

この Iot Hub で構成されているすべてのルートをテストする

testAllRoutes: (iotHubName: string, resourceGroupName: string, input: TestAllRoutesInput, options?: IotHubResourceTestAllRoutesOptionalParams) => Promise<TestAllRoutesResult>

プロパティ値

(iotHubName: string, resourceGroupName: string, input: TestAllRoutesInput, options?: IotHubResourceTestAllRoutesOptionalParams) => Promise<TestAllRoutesResult>

testRoute

この Iot Hub の新しいルートをテストする

testRoute: (iotHubName: string, resourceGroupName: string, input: TestRouteInput, options?: IotHubResourceTestRouteOptionalParams) => Promise<TestRouteResult>

プロパティ値

(iotHubName: string, resourceGroupName: string, input: TestRouteInput, options?: IotHubResourceTestRouteOptionalParams) => Promise<TestRouteResult>

update

既存の IoT Hub タグを更新します。 他のフィールドを更新するには、CreateOrUpdate メソッドを使用します

update: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>

プロパティ値

(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>