DevicesFunctions

Functions

Link copied to clipboard

Returns the certificate. API Version: 2020-08-31.

suspend fun getCertificate(certificateName: String, resourceGroupName: String, resourceName: String): GetCertificateResult
Link copied to clipboard

Get the certificate from the provisioning service. API Version: 2020-03-01.

suspend fun getDpsCertificate(certificateName: String, provisioningServiceName: String, resourceGroupName: String): GetDpsCertificateResult
Link copied to clipboard

Get the metadata of the provisioning service without SAS keys. API Version: 2020-03-01.

suspend fun getIotDpsResource(provisioningServiceName: String, resourceGroupName: String): GetIotDpsResourceResult
Link copied to clipboard

Get the non-security related metadata of an IoT hub. API Version: 2020-08-31.

suspend fun getIotHubResource(resourceGroupName: String, resourceName: String): GetIotHubResourceResult
Link copied to clipboard

Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub. API Version: 2020-08-31.

suspend fun getIotHubResourceEventHubConsumerGroup(eventHubEndpointName: String, name: String, resourceGroupName: String, resourceName: String): GetIotHubResourceEventHubConsumerGroupResult
Link copied to clipboard

Get private endpoint connection properties API Version: 2020-08-31.

suspend fun getPrivateEndpointConnection(privateEndpointConnectionName: String, resourceGroupName: String, resourceName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

List the primary and secondary keys for a provisioning service. API Version: 2020-03-01.

suspend fun listIotDpsResourceKeys(provisioningServiceName: String, resourceGroupName: String): ListIotDpsResourceKeysResult
Link copied to clipboard

List primary and secondary keys for a specific key name API Version: 2020-03-01.

suspend fun listIotDpsResourceKeysForKeyName(keyName: String, provisioningServiceName: String, resourceGroupName: String): ListIotDpsResourceKeysForKeyNameResult
Link copied to clipboard

Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. API Version: 2020-08-31.

suspend fun listIotHubResourceKeys(resourceGroupName: String, resourceName: String): ListIotHubResourceKeysResult
Link copied to clipboard

Get a shared access policy by name from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. API Version: 2020-08-31.

suspend fun listIotHubResourceKeysForKeyName(keyName: String, resourceGroupName: String, resourceName: String): ListIotHubResourceKeysForKeyNameResult