IotHubResourceOperations interface
Schnittstelle, die eine IotHubResource-Operation darstellt.
Eigenschaften
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| check |
Überprüfen Sie, ob ein IoT Hub-Name verfügbar ist. |
| create |
Fügen Sie einem Event Hub-kompatiblen Endpunkt in einem IoT Hub eine Consumergruppe hinzu. |
| create |
Erstellen oder aktualisieren Sie die Metadaten eines IoT-Hubs. Das übliche Muster zum Ändern einer Eigenschaft besteht darin, die IoT Hub-Metadaten und Sicherheitsmetadaten abzurufen und sie dann mit den geänderten Werten in einem neuen Text zu kombinieren, um den IoT Hub zu aktualisieren. |
| delete | Löschen sie eine IoT hub. |
| delete |
Löschen Sie eine Consumergruppe von einem Event Hub-kompatiblen Endpunkt in einem IoT Hub. |
| export |
Exportiert alle Geräteidentitäten in der IoT Hub-Identitätsregistrierung in einen Azure Storage-Blobcontainer. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities |
| get | Rufen Sie die nicht sicherheitsrelevanten Metadaten eines IoT-Hubs ab. |
| get |
Rufen Sie eine Consumergruppe vom Event Hub-kompatiblen Gerät-zu-Cloud-Endpunkt für einen IoT Hub ab. |
| get |
Rufen Sie die Details eines Auftrags über einen IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry |
| get |
Rufen Sie eine SAS-Richtlinie nach Namen aus einem IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security |
| get |
Rufen Sie die Statistiken von einem IoT-Hub ab. |
| import |
Importieren, Aktualisieren oder Löschen von Geräteidentitäten in der IoT Hub-Identitätsregistrierung aus einem Blob. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities |
| list |
Rufen Sie alle IoT-Hubs in einer Ressourcengruppe ab. |
| list |
Rufen Sie alle IoT Hubs in einem Abonnement ab. |
| list |
Rufen Sie die Integrität für Routingendpunkte ab. |
| list |
Rufen Sie eine Liste der Consumergruppen im Event Hub-kompatiblen Gerät-zu-Cloud-Endpunkt in einem IoT Hub ab. |
| list |
Rufen Sie eine Liste aller Aufträge in einem IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry |
| list |
Rufen Sie die Sicherheitsmetadaten für einen IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security |
| list |
Rufen Sie die Kontingentmetriken für eine IoT hub ab. |
| list |
Rufen Sie die Liste der gültigen SKUs für einen IoT Hub ab. |
| test |
Testen aller Routen, die in diesem IoT Hub konfiguriert sind |
| test |
Testen der neuen Route für diesen IoT-Hub |
| update | Aktualisieren Sie vorhandene IoT Hub-Tags. Um andere Felder zu aktualisieren, verwenden Sie die CreateOrUpdate-Methode |
Details zur Eigenschaft
beginCreateOrUpdate
Warnung
Diese API ist nun veraltet.
use createOrUpdate instead
beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
beginCreateOrUpdateAndWait
Warnung
Diese API ist nun veraltet.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => Promise<IotHubDescription>
beginDelete
Warnung
Diese API ist nun veraltet.
use delete instead
beginDelete: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
beginDeleteAndWait
Warnung
Diese API ist nun veraltet.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => Promise<IotHubDescription>
beginUpdate
Warnung
Diese API ist nun veraltet.
use update instead
beginUpdate: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<IotHubDescription>, IotHubDescription>>
beginUpdateAndWait
Warnung
Diese API ist nun veraltet.
use update instead
beginUpdateAndWait: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => Promise<IotHubDescription>
checkNameAvailability
Überprüfen Sie, ob ein IoT Hub-Name verfügbar ist.
checkNameAvailability: (operationInputs: OperationInputs, options?: IotHubResourceCheckNameAvailabilityOptionalParams) => Promise<IotHubNameAvailabilityInfo>
Eigenschaftswert
(operationInputs: OperationInputs, options?: IotHubResourceCheckNameAvailabilityOptionalParams) => Promise<IotHubNameAvailabilityInfo>
createEventHubConsumerGroup
Fügen Sie einem Event Hub-kompatiblen Endpunkt in einem IoT Hub eine Consumergruppe hinzu.
createEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, consumerGroupBody: EventHubConsumerGroupBodyDescription, options?: IotHubResourceCreateEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, consumerGroupBody: EventHubConsumerGroupBodyDescription, options?: IotHubResourceCreateEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>
createOrUpdate
Erstellen oder aktualisieren Sie die Metadaten eines IoT-Hubs. Das übliche Muster zum Ändern einer Eigenschaft besteht darin, die IoT Hub-Metadaten und Sicherheitsmetadaten abzurufen und sie dann mit den geänderten Werten in einem neuen Text zu kombinieren, um den IoT Hub zu aktualisieren.
createOrUpdate: (resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubDescription: IotHubDescription, options?: IotHubResourceCreateOrUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>
delete
Löschen sie eine IoT hub.
delete: (resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceDeleteOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>
deleteEventHubConsumerGroup
Löschen Sie eine Consumergruppe von einem Event Hub-kompatiblen Endpunkt in einem IoT Hub.
deleteEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceDeleteEventHubConsumerGroupOptionalParams) => Promise<void>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceDeleteEventHubConsumerGroupOptionalParams) => Promise<void>
exportDevices
Exportiert alle Geräteidentitäten in der IoT Hub-Identitätsregistrierung in einen Azure Storage-Blobcontainer. Weitere Informationen finden Sie unter . 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>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, exportDevicesParameters: ExportDevicesRequest, options?: IotHubResourceExportDevicesOptionalParams) => Promise<JobResponse>
get
Rufen Sie die nicht sicherheitsrelevanten Metadaten eines IoT-Hubs ab.
get: (resourceGroupName: string, resourceName: string, options?: IotHubResourceGetOptionalParams) => Promise<IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceGetOptionalParams) => Promise<IotHubDescription>
getEventHubConsumerGroup
Rufen Sie eine Consumergruppe vom Event Hub-kompatiblen Gerät-zu-Cloud-Endpunkt für einen IoT Hub ab.
getEventHubConsumerGroup: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceGetEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, name: string, options?: IotHubResourceGetEventHubConsumerGroupOptionalParams) => Promise<EventHubConsumerGroupInfo>
getJob
Rufen Sie die Details eines Auftrags über einen IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry
getJob: (resourceGroupName: string, resourceName: string, jobId: string, options?: IotHubResourceGetJobOptionalParams) => Promise<JobResponse>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, jobId: string, options?: IotHubResourceGetJobOptionalParams) => Promise<JobResponse>
getKeysForKeyName
Rufen Sie eine SAS-Richtlinie nach Namen aus einem IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security
getKeysForKeyName: (resourceGroupName: string, resourceName: string, keyName: string, options?: IotHubResourceGetKeysForKeyNameOptionalParams) => Promise<SharedAccessSignatureAuthorizationRule>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, keyName: string, options?: IotHubResourceGetKeysForKeyNameOptionalParams) => Promise<SharedAccessSignatureAuthorizationRule>
getStats
Rufen Sie die Statistiken von einem IoT-Hub ab.
getStats: (resourceGroupName: string, resourceName: string, options?: IotHubResourceGetStatsOptionalParams) => Promise<RegistryStatistics>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceGetStatsOptionalParams) => Promise<RegistryStatistics>
importDevices
Importieren, Aktualisieren oder Löschen von Geräteidentitäten in der IoT Hub-Identitätsregistrierung aus einem Blob. Weitere Informationen finden Sie unter . 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>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, importDevicesParameters: ImportDevicesRequest, options?: IotHubResourceImportDevicesOptionalParams) => Promise<JobResponse>
listByResourceGroup
Rufen Sie alle IoT-Hubs in einer Ressourcengruppe ab.
listByResourceGroup: (resourceGroupName: string, options?: IotHubResourceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, options?: IotHubResourceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>
listBySubscription
Rufen Sie alle IoT Hubs in einem Abonnement ab.
listBySubscription: (options?: IotHubResourceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>
Eigenschaftswert
(options?: IotHubResourceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<IotHubDescription, IotHubDescription[], PageSettings>
listEndpointHealth
Rufen Sie die Integrität für Routingendpunkte ab.
listEndpointHealth: (resourceGroupName: string, iotHubName: string, options?: IotHubResourceListEndpointHealthOptionalParams) => PagedAsyncIterableIterator<EndpointHealthData, EndpointHealthData[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, iotHubName: string, options?: IotHubResourceListEndpointHealthOptionalParams) => PagedAsyncIterableIterator<EndpointHealthData, EndpointHealthData[], PageSettings>
listEventHubConsumerGroups
Rufen Sie eine Liste der Consumergruppen im Event Hub-kompatiblen Gerät-zu-Cloud-Endpunkt in einem IoT Hub ab.
listEventHubConsumerGroups: (resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: IotHubResourceListEventHubConsumerGroupsOptionalParams) => PagedAsyncIterableIterator<EventHubConsumerGroupInfo, EventHubConsumerGroupInfo[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, eventHubEndpointName: string, options?: IotHubResourceListEventHubConsumerGroupsOptionalParams) => PagedAsyncIterableIterator<EventHubConsumerGroupInfo, EventHubConsumerGroupInfo[], PageSettings>
listJobs
Rufen Sie eine Liste aller Aufträge in einem IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry
listJobs: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListJobsOptionalParams) => PagedAsyncIterableIterator<JobResponse, JobResponse[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceListJobsOptionalParams) => PagedAsyncIterableIterator<JobResponse, JobResponse[], PageSettings>
listKeys
Rufen Sie die Sicherheitsmetadaten für einen IoT-Hub ab. Weitere Informationen finden Sie unter . https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security
listKeys: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListKeysOptionalParams) => PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRule, SharedAccessSignatureAuthorizationRule[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceListKeysOptionalParams) => PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRule, SharedAccessSignatureAuthorizationRule[], PageSettings>
listQuotaMetrics
Rufen Sie die Kontingentmetriken für eine IoT hub ab.
listQuotaMetrics: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListQuotaMetricsOptionalParams) => PagedAsyncIterableIterator<IotHubQuotaMetricInfo, IotHubQuotaMetricInfo[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceListQuotaMetricsOptionalParams) => PagedAsyncIterableIterator<IotHubQuotaMetricInfo, IotHubQuotaMetricInfo[], PageSettings>
listValidSkus
Rufen Sie die Liste der gültigen SKUs für einen IoT Hub ab.
listValidSkus: (resourceGroupName: string, resourceName: string, options?: IotHubResourceListValidSkusOptionalParams) => PagedAsyncIterableIterator<IotHubSkuDescription, IotHubSkuDescription[], PageSettings>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, options?: IotHubResourceListValidSkusOptionalParams) => PagedAsyncIterableIterator<IotHubSkuDescription, IotHubSkuDescription[], PageSettings>
testAllRoutes
Testen aller Routen, die in diesem IoT Hub konfiguriert sind
testAllRoutes: (iotHubName: string, resourceGroupName: string, input: TestAllRoutesInput, options?: IotHubResourceTestAllRoutesOptionalParams) => Promise<TestAllRoutesResult>
Eigenschaftswert
(iotHubName: string, resourceGroupName: string, input: TestAllRoutesInput, options?: IotHubResourceTestAllRoutesOptionalParams) => Promise<TestAllRoutesResult>
testRoute
Testen der neuen Route für diesen IoT-Hub
testRoute: (iotHubName: string, resourceGroupName: string, input: TestRouteInput, options?: IotHubResourceTestRouteOptionalParams) => Promise<TestRouteResult>
Eigenschaftswert
(iotHubName: string, resourceGroupName: string, input: TestRouteInput, options?: IotHubResourceTestRouteOptionalParams) => Promise<TestRouteResult>
update
Aktualisieren Sie vorhandene IoT Hub-Tags. Um andere Felder zu aktualisieren, verwenden Sie die CreateOrUpdate-Methode
update: (resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>
Eigenschaftswert
(resourceGroupName: string, resourceName: string, iotHubTags: TagsResource, options?: IotHubResourceUpdateOptionalParams) => PollerLike<OperationState<IotHubDescription>, IotHubDescription>