IotHubResourceOperations interface

Interface die een IotHubResource-operatie vertegenwoordigt.

Eigenschappen

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
checkNameAvailability

Controleer of de naam van een IoT-hub beschikbaar is.

createEventHubConsumerGroup

Voeg een consumentengroep toe aan een Event Hub-compatibel eindpunt in een IoT-hub.

createOrUpdate

Maak of werk de metagegevens van een IoT-hub bij. Het gebruikelijke patroon voor het wijzigen van een eigenschap is het ophalen van de metagegevens van de IoT-hub en de beveiligingsmetagegevens en deze vervolgens te combineren met de gewijzigde waarden in een nieuwe body om de IoT-hub bij te werken.

delete

Een IoT hub verwijderen.

deleteEventHubConsumerGroup

Verwijder een consumentengroep uit een Event Hub-compatibel eindpunt in een IoT-hub.

exportDevices

Exporteert alle apparaatidentiteiten in het identiteitsregister van de IoT-hub naar een Azure Storage-blobcontainer. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

get

Haal de niet-beveiligingsgerelateerde metagegevens van een IoT-hub op.

getEventHubConsumerGroup

Haal een consumentengroep op van het Event Hub-compatibele apparaat-naar-cloud-eindpunt voor een IoT-hub.

getJob

Haal de details van een taak op bij een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

getKeysForKeyName

Haal een beleid voor gedeelde toegang op naam op bij een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

getStats

Haal de statistieken op uit een IoT-hub.

importDevices

Importeer, update of verwijder apparaatidentiteiten in het identiteitsregister van de IoT-hub vanuit een blob. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

listByResourceGroup

Haal alle IoT-hubs op in een resourcegroep.

listBySubscription

Krijg alle IoT-hubs in een abonnement.

listEndpointHealth

Haal de status op voor routeringseindpunten.

listEventHubConsumerGroups

Krijg een lijst met de consumentengroepen in het Event Hub-compatibele apparaat-naar-cloud-eindpunt in een IoT-hub.

listJobs

Krijg een lijst met alle taken in een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

listKeys

Haal de beveiligingsmetagegevens op voor een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

listQuotaMetrics

Haal de metrische quotumgegevens op voor een IoT hub.

listValidSkus

Haal de lijst met geldige SKU's voor een IoT-hub op.

testAllRoutes

Test alle routes die in deze Iot Hub zijn geconfigureerd

testRoute

Test de nieuwe route voor deze Iot Hub

update

Werk een bestaande IoT Hub-tags bij. als u andere velden wilt bijwerken, gebruikt u de methode CreateOrUpdate

Eigenschapdetails

beginCreateOrUpdate

Waarschuwing

Deze API is nu afgeschaft.

use createOrUpdate instead

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

Waarde van eigenschap

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

beginCreateOrUpdateAndWait

Waarschuwing

Deze API is nu afgeschaft.

use createOrUpdate instead

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

Waarde van eigenschap

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

beginDelete

Waarschuwing

Deze API is nu afgeschaft.

use delete instead

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

Waarde van eigenschap

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

beginDeleteAndWait

Waarschuwing

Deze API is nu afgeschaft.

use delete instead

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

Waarde van eigenschap

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

beginUpdate

Waarschuwing

Deze API is nu afgeschaft.

use update instead

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

Waarde van eigenschap

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

beginUpdateAndWait

Waarschuwing

Deze API is nu afgeschaft.

use update instead

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

Waarde van eigenschap

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

checkNameAvailability

Controleer of de naam van een IoT-hub beschikbaar is.

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

Waarde van eigenschap

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

createEventHubConsumerGroup

Voeg een consumentengroep toe aan een Event Hub-compatibel eindpunt in een IoT-hub.

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

Waarde van eigenschap

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

createOrUpdate

Maak of werk de metagegevens van een IoT-hub bij. Het gebruikelijke patroon voor het wijzigen van een eigenschap is het ophalen van de metagegevens van de IoT-hub en de beveiligingsmetagegevens en deze vervolgens te combineren met de gewijzigde waarden in een nieuwe body om de IoT-hub bij te werken.

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

Waarde van eigenschap

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

delete

Een IoT hub verwijderen.

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

Waarde van eigenschap

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

deleteEventHubConsumerGroup

Verwijder een consumentengroep uit een Event Hub-compatibel eindpunt in een IoT-hub.

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

Waarde van eigenschap

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

exportDevices

Exporteert alle apparaatidentiteiten in het identiteitsregister van de IoT-hub naar een Azure Storage-blobcontainer. Zie voor meer informatie: 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>

Waarde van eigenschap

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

get

Haal de niet-beveiligingsgerelateerde metagegevens van een IoT-hub op.

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

Waarde van eigenschap

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

getEventHubConsumerGroup

Haal een consumentengroep op van het Event Hub-compatibele apparaat-naar-cloud-eindpunt voor een IoT-hub.

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

Waarde van eigenschap

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

getJob

Haal de details van een taak op bij een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

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

Waarde van eigenschap

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

getKeysForKeyName

Haal een beleid voor gedeelde toegang op naam op bij een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

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

Waarde van eigenschap

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

getStats

Haal de statistieken op uit een IoT-hub.

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

Waarde van eigenschap

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

importDevices

Importeer, update of verwijder apparaatidentiteiten in het identiteitsregister van de IoT-hub vanuit een blob. Zie voor meer informatie: 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>

Waarde van eigenschap

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

listByResourceGroup

Haal alle IoT-hubs op in een resourcegroep.

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

Waarde van eigenschap

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

listBySubscription

Krijg alle IoT-hubs in een abonnement.

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

Waarde van eigenschap

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

listEndpointHealth

Haal de status op voor routeringseindpunten.

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

Waarde van eigenschap

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

listEventHubConsumerGroups

Krijg een lijst met de consumentengroepen in het Event Hub-compatibele apparaat-naar-cloud-eindpunt in een IoT-hub.

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

Waarde van eigenschap

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

listJobs

Krijg een lijst met alle taken in een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

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

Waarde van eigenschap

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

listKeys

Haal de beveiligingsmetagegevens op voor een IoT-hub. Zie voor meer informatie: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

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

Waarde van eigenschap

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

listQuotaMetrics

Haal de metrische quotumgegevens op voor een IoT hub.

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

Waarde van eigenschap

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

listValidSkus

Haal de lijst met geldige SKU's voor een IoT-hub op.

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

Waarde van eigenschap

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

testAllRoutes

Test alle routes die in deze Iot Hub zijn geconfigureerd

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

Waarde van eigenschap

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

testRoute

Test de nieuwe route voor deze Iot Hub

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

Waarde van eigenschap

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

update

Werk een bestaande IoT Hub-tags bij. als u andere velden wilt bijwerken, gebruikt u de methode CreateOrUpdate

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

Waarde van eigenschap

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