IotHubResourceOperations interface

Interfaccia che rappresenta un'operazione IotHubResource.

Proprietà

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
checkNameAvailability

Verificare se è disponibile un nome di hub IoT.

createEventHubConsumerGroup

Aggiungere un gruppo di consumer a un endpoint compatibile con l'hub eventi in un hub IoT.

createOrUpdate

Creare o aggiornare i metadati di un hub IoT. Il modello consueto per modificare una proprietà consiste nel recuperare i metadati dell'hub IoT e i metadati di sicurezza e quindi combinarli con i valori modificati in un nuovo corpo per aggiornare l'hub IoT.

delete

Eliminare un IoT hub.

deleteEventHubConsumerGroup

Eliminare un gruppo di consumer da un endpoint compatibile con l'hub eventi in un hub IoT.

exportDevices

Esporta tutte le identità dei dispositivi nel registro delle identità dell'hub IoT in un contenitore BLOB di Archiviazione di Azure. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

get

Ottenere i metadati non correlati alla sicurezza di un hub IoT.

getEventHubConsumerGroup

Ottenere un gruppo di consumer dall'endpoint da dispositivo a cloud compatibile con l'hub eventi per un hub IoT.

getJob

Ottenere i dettagli di un processo da un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

getKeysForKeyName

Ottenere un criterio di accesso condiviso in base al nome da un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

getStats

Ottenere le statistiche da un hub IoT.

importDevices

Importare, aggiornare o eliminare le identità dei dispositivi nel registro delle identità dell'hub IoT da un BLOB. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

listByResourceGroup

Ottenere tutti gli hub IoT in un gruppo di risorse.

listBySubscription

Ottieni tutti gli hub IoT in una sottoscrizione.

listEndpointHealth

Ottenere l'integrità per gli endpoint di routing.

listEventHubConsumerGroups

Ottenere un elenco dei gruppi di consumer nell'endpoint da dispositivo a cloud compatibile con l'hub eventi in un hub IoT.

listJobs

Ottenere un elenco di tutti i processi in un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

listKeys

Ottenere i metadati di sicurezza per un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

listQuotaMetrics

Ottenere le metriche delle quote per un IoT hub.

listValidSkus

Ottenere l'elenco di SKU validi per un hub IoT.

testAllRoutes

Testare tutte le route configurate in questo hub IoT

testRoute

Testare il nuovo percorso per questo hub IoT

update

Aggiornare i tag di un hub IoT esistente. per aggiornare altri campi, utilizzare il metodo CreateOrUpdate

Dettagli proprietà

beginCreateOrUpdate

Avviso

Questa API è ora deprecata.

use createOrUpdate instead

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

Valore della proprietà

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

beginCreateOrUpdateAndWait

Avviso

Questa API è ora deprecata.

use createOrUpdate instead

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

Valore della proprietà

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

beginDelete

Avviso

Questa API è ora deprecata.

use delete instead

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

Valore della proprietà

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

beginDeleteAndWait

Avviso

Questa API è ora deprecata.

use delete instead

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

Valore della proprietà

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

beginUpdate

Avviso

Questa API è ora deprecata.

use update instead

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

Valore della proprietà

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

beginUpdateAndWait

Avviso

Questa API è ora deprecata.

use update instead

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

Valore della proprietà

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

checkNameAvailability

Verificare se è disponibile un nome di hub IoT.

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

Valore della proprietà

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

createEventHubConsumerGroup

Aggiungere un gruppo di consumer a un endpoint compatibile con l'hub eventi in un hub IoT.

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

Valore della proprietà

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

createOrUpdate

Creare o aggiornare i metadati di un hub IoT. Il modello consueto per modificare una proprietà consiste nel recuperare i metadati dell'hub IoT e i metadati di sicurezza e quindi combinarli con i valori modificati in un nuovo corpo per aggiornare l'hub IoT.

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

Valore della proprietà

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

delete

Eliminare un IoT hub.

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

Valore della proprietà

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

deleteEventHubConsumerGroup

Eliminare un gruppo di consumer da un endpoint compatibile con l'hub eventi in un hub IoT.

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

Valore della proprietà

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

exportDevices

Esporta tutte le identità dei dispositivi nel registro delle identità dell'hub IoT in un contenitore BLOB di Archiviazione di Azure. Per altre informazioni, vedere: 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>

Valore della proprietà

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

get

Ottenere i metadati non correlati alla sicurezza di un hub IoT.

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

Valore della proprietà

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

getEventHubConsumerGroup

Ottenere un gruppo di consumer dall'endpoint da dispositivo a cloud compatibile con l'hub eventi per un hub IoT.

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

Valore della proprietà

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

getJob

Ottenere i dettagli di un processo da un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

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

Valore della proprietà

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

getKeysForKeyName

Ottenere un criterio di accesso condiviso in base al nome da un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

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

Valore della proprietà

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

getStats

Ottenere le statistiche da un hub IoT.

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

Valore della proprietà

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

importDevices

Importare, aggiornare o eliminare le identità dei dispositivi nel registro delle identità dell'hub IoT da un BLOB. Per altre informazioni, vedere: 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>

Valore della proprietà

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

listByResourceGroup

Ottenere tutti gli hub IoT in un gruppo di risorse.

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

Valore della proprietà

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

listBySubscription

Ottieni tutti gli hub IoT in una sottoscrizione.

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

Valore della proprietà

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

listEndpointHealth

Ottenere l'integrità per gli endpoint di routing.

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

Valore della proprietà

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

listEventHubConsumerGroups

Ottenere un elenco dei gruppi di consumer nell'endpoint da dispositivo a cloud compatibile con l'hub eventi in un hub IoT.

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

Valore della proprietà

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

listJobs

Ottenere un elenco di tutti i processi in un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

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

Valore della proprietà

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

listKeys

Ottenere i metadati di sicurezza per un hub IoT. Per altre informazioni, vedere: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

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

Valore della proprietà

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

listQuotaMetrics

Ottenere le metriche delle quote per un IoT hub.

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

Valore della proprietà

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

listValidSkus

Ottenere l'elenco di SKU validi per un hub IoT.

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

Valore della proprietà

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

testAllRoutes

Testare tutte le route configurate in questo hub IoT

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

Valore della proprietà

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

testRoute

Testare il nuovo percorso per questo hub IoT

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

Valore della proprietà

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

update

Aggiornare i tag di un hub IoT esistente. per aggiornare altri campi, utilizzare il metodo CreateOrUpdate

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

Valore della proprietà

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