openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 112 kB
JSON
{"openapi":"3.0.0","info":{"description":"Use this API to manage the IoT hubs in your Azure subscription.","title":"iotHubClient","version":"2019-07-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-ms-code-generation-settings":{"header":"MICROSOFT_MIT_NO_VERSION"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-07-01-preview/iothub.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"iothub","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.Devices/operations":{"get":{"description":"Lists all of the available IoT Hub REST API operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"Operations_List":{"$ref":"#/components/examples/Operations_List"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs":{"get":{"deprecated":false,"description":"Get all the IoT hubs in a subscription.","operationId":"IotHubResource_ListBySubscription","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the IoT hubs in the subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescriptionListResult"},"examples":{"IotHubResource_ListBySubscription":{"$ref":"#/components/examples/IotHubResource_ListBySubscription"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get all the IoT hubs in a subscription","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability":{"post":{"deprecated":false,"description":"Check if an IoT hub name is available.","operationId":"IotHubResource_CheckNameAvailability","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInputs"}}},"description":"Set the name parameter in the OperationInputs structure to the name of the IoT hub to check.","required":true},"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the IoT hub name is available. If the name is not available, the body contains the reason.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubNameAvailabilityInfo"},"examples":{"IotHubResource_CheckNameAvailability":{"$ref":"#/components/examples/IotHubResource_CheckNameAvailability"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Check if an IoT hub name is available","tags":["POST"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages":{"get":{"deprecated":false,"description":"Get the number of free and paid iot hubs in the subscription","operationId":"ResourceProviderCommon_GetSubscriptionQuota","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSubscriptionQuotaListResult"},"examples":{"ResourceProviderCommon_GetSubscriptionQuota":{"$ref":"#/components/examples/ResourceProviderCommon_GetSubscriptionQuota"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the number of iot hubs in the subscription","tags":["GET"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs":{"get":{"deprecated":false,"description":"Get all the IoT hubs in a resource group.","operationId":"IotHubResource_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the IoT hubs in the resource group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescriptionListResult"},"examples":{"IotHubResource_ListByResourceGroup":{"$ref":"#/components/examples/IotHubResource_ListByResourceGroup"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get all the IoT hubs in a resource group","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/failover":{"post":{"description":"Perform manual fail over of given hub","operationId":"IotHub_ManualFailover","parameters":[{"description":"IotHub to fail over","in":"path","name":"iotHubName","required":true,"schema":{"type":"string"},"examples":{"IotHub_ManualFailover":{"value":"testHub"}}},{"$ref":"#/components/parameters/subscriptionId"},{"description":"resource group which Iot Hub belongs to","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"IotHub_ManualFailover":{"value":"myResourceGroup"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailoverInput"}}},"description":"Region to failover to. Must be a azure DR pair","required":true},"responses":{"200":{"description":"Long running Manual failover operation completed"},"202":{"description":"Manual failover initiated"},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Manual Failover Fail over","tags":["POST"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall":{"post":{"deprecated":false,"description":"Test all routes configured in this Iot Hub","operationId":"IotHubResource_TestAllRoutes","parameters":[{"description":"IotHub to be tested","in":"path","name":"iotHubName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_TestAllRoutes":{"value":"testHub"}}},{"$ref":"#/components/parameters/subscriptionId"},{"description":"resource group which Iot Hub belongs to","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_TestAllRoutes":{"value":"myResourceGroup"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestAllRoutesInput"}}},"description":"Input for testing all routes","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestAllRoutesResult"},"examples":{"IotHubResource_TestAllRoutes":{"$ref":"#/components/examples/IotHubResource_TestAllRoutes"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Test all routes","tags":["POST"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testnew":{"post":{"deprecated":false,"description":"Test the new route for this Iot Hub","operationId":"IotHubResource_TestRoute","parameters":[{"description":"IotHub to be tested","in":"path","name":"iotHubName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_TestRoute":{"value":"testHub"}}},{"$ref":"#/components/parameters/subscriptionId"},{"description":"resource group which Iot Hub belongs to","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_TestRoute":{"value":"myResourceGroup"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestRouteInput"}}},"description":"Route that needs to be tested","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestRouteResult"},"examples":{"IotHubResource_TestRoute":{"$ref":"#/components/examples/IotHubResource_TestRoute"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Test the new route","tags":["POST"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routingEndpointsHealth":{"get":{"deprecated":false,"description":"Get the health for routing endpoints.","operationId":"IotHubResource_GetEndpointHealth","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_GetEndpointHealth":{"value":"myResourceGroup"}}},{"in":"path","name":"iotHubName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_GetEndpointHealth":{"value":"testHub"}}},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointHealthDataListResult"},"examples":{"IotHubResource_GetEndpointHealth":{"$ref":"#/components/examples/IotHubResource_GetEndpointHealth"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the health for routing endpoints","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}":{"delete":{"deprecated":false,"description":"Delete an IoT hub.","operationId":"IotHubResource_Delete","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is returned as a response to the status polling request for the delete operation. The body contains the resource representation that indicates a transitional provisioning state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_Delete":{"$ref":"#/components/examples/IotHubResource_Delete"}}}}},"202":{"description":"The Iot Hub resource provider always returns a 202 Accepted status code with valid Location and Retry-After headers. The resource provider also sets the Azure-AsyncOperation header with a URL that points to the operation resource for this operation. Subsequent GET attempts on the resource after a DELETE operation return a resource representation that indicates a transitional provisioning state (such as Terminating). To retrieve the status of the operation, a client can either poll the URL returned in the Location header after the Retry-After interval, get the IoT Hub service status directly, or query the operation resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_Delete":{"$ref":"#/components/examples/IotHubResource_Delete"}}}}},"204":{"description":"Once the long running delete operation completes successfully, a 204 No Content status code is returned when the status polling request finds the Iot hub metadata in the service and the status of the delete operation is set to a completed state."},"404":{"description":"After the long running delete operation completes successfully, a 404 Not Found is returned when the status polling request no longer finds the Iot hub metadata in the service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"},"examples":{"IotHubResource_Delete":{"$ref":"#/components/examples/IotHubResource_Delete"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Delete an IoT hub","tags":["DELETE"],"x-ms-long-running-operation":true},"get":{"deprecated":false,"description":"Get the non-security related metadata of an IoT hub.","operationId":"IotHubResource_Get","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"The body contains all the non-security properties of the IoT hub. Security-related properties are set to null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_Get":{"$ref":"#/components/examples/IotHubResource_Get"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the non-security related metadata of an IoT hub","tags":["GET"]},"patch":{"description":"Update an existing IoT Hub tags. to update other fields use the CreateOrUpdate method","operationId":"IotHubResource_Update","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"description":"Resource group identifier.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_Update":{"value":"myResourceGroup"}}},{"description":"Name of iot hub to update.","in":"path","name":"resourceName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_Update":{"value":"myHub"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagsResource"}}},"description":"Updated tag information to set into the iot hub instance.","required":true},"responses":{"200":{"description":"Iot Hub was successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_Update":{"$ref":"#/components/examples/IotHubResource_Update"}}}}}},"summary":"Update an existing IoT Hubs tags.","tags":["PATCH"],"x-ms-long-running-operation":true},"put":{"deprecated":false,"description":"Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update the IoT hub.","operationId":"IotHubResource_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"ETag of the IoT Hub. Do not specify for creating a brand new IoT Hub. Required to update an existing IoT Hub.","in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"}}},"description":"The IoT hub metadata and security metadata.","required":true},"responses":{"200":{"description":"This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_CreateOrUpdate":{"$ref":"#/components/examples/IotHubResource_CreateOrUpdate"}}}}},"201":{"description":"This is a long running operation. The operation returns a 201 if the validation is complete. The response includes an Azure-AsyncOperation header that contains a status URL. Clients are expected to poll the status URL for the status of the operation. If successful, the operation returns HTTP status code of 201 (OK).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubDescription"},"examples":{"IotHubResource_CreateOrUpdate":{"$ref":"#/components/examples/IotHubResource_CreateOrUpdate"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Create or update the metadata of an IoT hub.","tags":["PUT"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys":{"post":{"deprecated":false,"description":"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.","operationId":"IotHubResource_GetKeysForKeyName","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The name of the shared access policy.","in":"path","name":"keyName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_GetKeysForKeyName":{"value":"iothubowner"}}}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized shared access policy, including keys, that you can use to access one or more IoT hub endpoints.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedAccessSignatureAuthorizationRule"},"examples":{"IotHubResource_GetKeysForKeyName":{"$ref":"#/components/examples/IotHubResource_GetKeysForKeyName"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"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","tags":["POST"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStats":{"get":{"deprecated":false,"description":"Get the statistics from an IoT hub.","operationId":"IotHubResource_GetStats","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is a synchronous operation. The body contains JSON-serialized statistics from the identity registry in the IoT hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryStatistics"},"examples":{"IotHubResource_GetStats":{"$ref":"#/components/examples/IotHubResource_GetStats"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the statistics from an IoT hub","tags":["GET"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates":{"get":{"deprecated":false,"description":"Returns the list of certificates.","operationId":"Certificates_ListByIotHub","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"The body contains all the certificate list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateListDescription"},"examples":{"Certificates_ListByIotHub":{"$ref":"#/components/examples/Certificates_ListByIotHub"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the certificate list.","tags":["Certificates"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}":{"delete":{"deprecated":false,"description":"Deletes an existing X509 certificate or does nothing if it does not exist.","operationId":"Certificates_Delete","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"$ref":"#/components/parameters/certificateName"},{"description":"ETag of the Certificate.","in":"header","name":"If-Match","required":true,"schema":{"type":"string"},"examples":{"Certificates_Delete":{"value":"AAAAAAAADGk="}}}],"responses":{"200":{"description":"Certificate has been deleted."},"204":{"description":"Certificate does not exist."},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Delete an X509 certificate.","tags":["Certificates"]},"get":{"deprecated":false,"description":"Returns the certificate.","operationId":"Certificates_Get","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"$ref":"#/components/parameters/certificateName"}],"responses":{"200":{"description":"The body contains the certificate.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateDescription"},"examples":{"Certificates_Get":{"$ref":"#/components/examples/Certificates_Get"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the certificate.","tags":["Certificates"]},"put":{"deprecated":false,"description":"Adds new or replaces existing certificate.","operationId":"Certificates_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"$ref":"#/components/parameters/certificateName"},{"description":"ETag of the Certificate. Do not specify for creating a brand new certificate. Required to update an existing certificate.","in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateBodyDescription"}}},"description":"The certificate body.","required":true},"responses":{"200":{"description":"If certificate already exist and update was successful, the operation returns HTTP status code of 201 (OK).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateDescription"},"examples":{"Certificates_CreateOrUpdate":{"$ref":"#/components/examples/Certificates_CreateOrUpdate"}}}}},"201":{"description":"If certificate didn't exist creation was successful, the operation returns HTTP status code of 201 (OK).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateDescription"},"examples":{"Certificates_CreateOrUpdate":{"$ref":"#/components/examples/Certificates_CreateOrUpdate"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Upload the certificate to the IoT hub.","tags":["Certificates"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}/generateVerificationCode":{"post":{"deprecated":false,"description":"Generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.","operationId":"Certificates_GenerateVerificationCode","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"$ref":"#/components/parameters/certificateName"},{"description":"ETag of the Certificate.","in":"header","name":"If-Match","required":true,"schema":{"type":"string"},"examples":{"Certificates_GenerateVerificationCode":{"value":"AAAAAAAADGk="}}}],"responses":{"200":{"description":"The body contains the certificate.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateWithNonceDescription"},"examples":{"Certificates_GenerateVerificationCode":{"$ref":"#/components/examples/Certificates_GenerateVerificationCode"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Generate verification code for proof of possession flow.","tags":["Certificates"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}/verify":{"post":{"deprecated":false,"description":"Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.","operationId":"Certificates_Verify","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"$ref":"#/components/parameters/certificateName"},{"description":"ETag of the Certificate.","in":"header","name":"If-Match","required":true,"schema":{"type":"string"},"examples":{"Certificates_Verify":{"value":"AAAAAAAADGk="}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateVerificationDescription"}}},"description":"The name of the certificate","required":true},"responses":{"200":{"description":"The body contains the certificate.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateDescription"},"examples":{"Certificates_Verify":{"$ref":"#/components/examples/Certificates_Verify"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Verify certificate's private key possession.","tags":["Certificates"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups":{"get":{"deprecated":false,"description":"Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.","operationId":"IotHubResource_ListEventHubConsumerGroups","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The name of the Event Hub-compatible endpoint.","in":"path","name":"eventHubEndpointName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_ListEventHubConsumerGroups":{"value":"events"}}}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized list of the consumer groups in the Event Hub-compatible endpoint in this IoT hub","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventHubConsumerGroupsListResult"},"examples":{"IotHubResource_ListEventHubConsumerGroups":{"$ref":"#/components/examples/IotHubResource_ListEventHubConsumerGroups"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}":{"delete":{"deprecated":false,"description":"Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub.","operationId":"IotHubResource_DeleteEventHubConsumerGroup","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The name of the Event Hub-compatible endpoint in the IoT hub.","in":"path","name":"eventHubEndpointName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_DeleteEventHubConsumerGroup":{"value":"events"}}},{"description":"The name of the consumer group to delete.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_DeleteEventHubConsumerGroup":{"value":"test"}}}],"responses":{"200":{"description":"This is a synchronous operation."},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub","tags":["DELETE"]},"get":{"deprecated":false,"description":"Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.","operationId":"IotHubResource_GetEventHubConsumerGroup","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The name of the Event Hub-compatible endpoint in the IoT hub.","in":"path","name":"eventHubEndpointName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_ListEventHubConsumerGroups":{"value":"events"}}},{"description":"The name of the consumer group to retrieve.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_ListEventHubConsumerGroups":{"value":"test"}}}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized consumer group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventHubConsumerGroupInfo"},"examples":{"IotHubResource_ListEventHubConsumerGroups":{"$ref":"#/components/examples/IotHubResource_ListEventHubConsumerGroups"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub","tags":["GET"]},"put":{"deprecated":false,"description":"Add a consumer group to an Event Hub-compatible endpoint in an IoT hub.","operationId":"IotHubResource_CreateEventHubConsumerGroup","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The name of the Event Hub-compatible endpoint in the IoT hub.","in":"path","name":"eventHubEndpointName","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_CreateEventHubConsumerGroup":{"value":"events"}}},{"description":"The name of the consumer group to add.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_CreateEventHubConsumerGroup":{"value":"test"}}}],"responses":{"200":{"description":"This is a synchronous operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventHubConsumerGroupInfo"},"examples":{"IotHubResource_CreateEventHubConsumerGroup":{"$ref":"#/components/examples/IotHubResource_CreateEventHubConsumerGroup"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Add a consumer group to an Event Hub-compatible endpoint in an IoT hub","tags":["PUT"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/exportDevices":{"post":{"deprecated":false,"description":"Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.","operationId":"IotHubResource_ExportDevices","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportDevicesRequest"}}},"description":"The parameters that specify the export devices operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"},"examples":{"IotHubResource_ExportDevices":{"$ref":"#/components/examples/IotHubResource_ExportDevices"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities","tags":["POST"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices":{"post":{"deprecated":false,"description":"Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.","operationId":"IotHubResource_ImportDevices","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportDevicesRequest"}}},"description":"The parameters that specify the import devices operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"},"examples":{"IotHubResource_ImportDevices":{"$ref":"#/components/examples/IotHubResource_ImportDevices"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities","tags":["POST"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs":{"get":{"deprecated":false,"description":"Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.","operationId":"IotHubResource_ListJobs","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is a synchronous operation. The response contains a JSON-serialized array of all the jobs in the IoT hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponseListResult"},"examples":{"IotHubResource_ListJobs":{"$ref":"#/components/examples/IotHubResource_ListJobs"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs/{jobId}":{"get":{"deprecated":false,"description":"Get the details of a job from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.","operationId":"IotHubResource_GetJob","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"},{"description":"The job identifier.","in":"path","name":"jobId","required":true,"schema":{"type":"string"},"examples":{"IotHubResource_GetJob":{"value":"test"}}}],"responses":{"200":{"description":"This is a synchronous operation. The response contains a JSON-serialized description of the job in the IoT hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"},"examples":{"IotHubResource_GetJob":{"$ref":"#/components/examples/IotHubResource_GetJob"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the details of a job from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry","tags":["GET"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys":{"post":{"deprecated":false,"description":"Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.","operationId":"IotHubResource_ListKeys","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized array of shared access policies, including keys, that you can use to access the IoT hub endpoints.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedAccessSignatureAuthorizationRuleListResult"},"examples":{"IotHubResource_ListKeys":{"$ref":"#/components/examples/IotHubResource_ListKeys"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security","tags":["POST"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics":{"get":{"deprecated":false,"description":"Get the quota metrics for an IoT hub.","operationId":"IotHubResource_GetQuotaMetrics","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is a synchronous operation. The response contains a JSON-serialized array of the quota metrics for the IoT hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubQuotaMetricInfoListResult"},"examples":{"IotHubResource_GetQuotaMetrics":{"$ref":"#/components/examples/IotHubResource_GetQuotaMetrics"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the quota metrics for an IoT hub","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/skus":{"get":{"deprecated":false,"description":"Get the list of valid SKUs for an IoT hub.","operationId":"IotHubResource_GetValidSkus","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/resourceName"}],"responses":{"200":{"description":"This is a synchronous operation. The body contains a JSON-serialized array of the valid SKUs for this IoT hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IotHubSkuDescriptionListResult"},"examples":{"IotHubResource_GetValidSkus":{"$ref":"#/components/examples/IotHubResource_GetValidSkus"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetails"}}}}},"summary":"Get the list of valid SKUs for an IoT hub","tags":["GET"],"x-ms-pageable":{"nextLinkName":"nextLink"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Operations_List":{"value":{"value":[{"display":{"description":"Register the subscription for the IotHub resource provider and enables the creation of IotHub resources","operation":"Register Resource Provider","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/register/action"},{"display":{"description":"Gets the diagnostic setting for the resource","operation":"Get Diagnostic Setting","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/IotHubs/diagnosticSettings/read"},{"display":{"description":"Creates or updates the diagnostic setting for the resource","operation":"Set Diagnostic Setting","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/IotHubs/diagnosticSettings/write"},{"display":{"description":"Gets the available metrics for the IotHub service","operation":"Read IotHub service metric definitions","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/IotHubs/metricDefinitions/read"},{"display":{"description":"Gets the available log definitions for the IotHub Service","operation":"Read IotHub service log definitions","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/IotHubs/logDefinitions/read"},{"display":{"description":"Get All ResourceProvider Operations","operation":"Get All ResourceProvider Operations","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/operations/Read"},{"display":{"description":"Check If IotHub name is available","operation":"Check If IotHub name is available","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/checkNameAvailability/Action"},{"display":{"description":"Get subscription usage details for this provider.","operation":"Get Subscription Usages","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/usages/Read"},{"display":{"description":"Gets the IotHub resource(s)","operation":"Get IotHub(s)","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/Read"},{"display":{"description":"Create or update IotHub Resource","operation":"Create or update IotHub Resource","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/Write"},{"display":{"description":"Delete IotHub Resource","operation":"Delete IotHub Resource","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/Delete"},{"display":{"description":"Get IotHub Statistics","operation":"Get IotHub Statistics","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/iotHubStats/Read"},{"display":{"description":"Get valid IotHub Skus","operation":"Get valid IotHub Skus","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/skus/Read"},{"display":{"description":"Get all IotHub Keys","operation":"Get all IotHub Keys","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/listkeys/Action"},{"display":{"description":"Get IotHub Key for the given name","operation":"Get IotHub Key for the given name","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/iotHubKeys/listkeys/Action"},{"display":{"description":"Create EventHub Consumer Group","operation":"Create EventHub Consumer Group","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Write"},{"display":{"description":"Get EventHub Consumer Group(s)","operation":"Get EventHub Consumer Group(s)","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Read"},{"display":{"description":"Delete EventHub Consumer Group","operation":"Delete EventHub Consumer Group","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Delete"},{"display":{"description":"Export Devices","operation":"Export Devices","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/exportDevices/Action"},{"display":{"description":"Import Devices","operation":"Import Devices","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/importDevices/Action"},{"display":{"description":"Get Job(s) details submitted on given IotHub","operation":"Get the Job(s) on IotHub","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/jobs/Read"},{"display":{"description":"Get Quota Metrics","operation":"Get Quota Metrics","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/quotaMetrics/Read"},{"display":{"description":"Test a message against all existing Routes","operation":"Routing Rule Test All","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/routing/routes/$testall/Action"},{"display":{"description":"Test a message against a provided test Route","operation":"Routing Rule Test Route","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/routing/routes/$testnew/Action"},{"display":{"description":"Gets the health of all routing Endpoints for an IotHub","operation":"Get Endpoint Health","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/iotHubs/routingEndpointsHealth/Read"},{"display":{"description":"Gets the diagnostic setting for the resource","operation":"Get Diagnostic Setting","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/ProvisioningServices/diagnosticSettings/read"},{"display":{"description":"Creates or updates the diagnostic setting for the resource","operation":"Set Diagnostic Setting","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/ProvisioningServices/diagnosticSettings/write"},{"display":{"description":"Gets the available metrics for the DPS service","operation":"Read DPS service metric definitions","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/ProvisioningServices/metricDefinitions/read"},{"display":{"description":"Gets the available log definitions for the DPS Service","operation":"Read DPS service log definitions","provider":"Microsoft Devices","resource":"IotHubs"},"name":"Microsoft.Devices/ProvisioningServices/logDefinitions/read"},{"display":{"description":"Check If Provisioning Service name is available","operation":"Check If Provisioning Service name is available","provider":"Microsoft Devices","resource":"ProvisioningServives"},"name":"Microsoft.Devices/checkProvisioningServiceNameAvailability/Action"},{"display":{"description":"Get Provisioning Service resource","operation":"Get Provisioning Service resource","provider":"Microsoft Devices","resource":"ProvisioningServices"},"name":"Microsoft.Devices/provisioningServices/Read"},{"display":{"description":"Create Provisioning Service resource","operation":"Create Provisioning Service resource","provider":"Microsoft Devices","resource":"ProvisioningServices"},"name":"Microsoft.Devices/provisioningServices/Write"},{"display":{"description":"Delete Provisioning Service resource","operation":"Delete Provisioning Service resource","provider":"Microsoft Devices","resource":"ProvisioningServices"},"name":"Microsoft.Devices/provisioningServices/Delete"},{"display":{"description":"Delete Provisioning Service resource","operation":"Delete Provisioning Service resource","provider":"Microsoft Devices","resource":"ProvisioningServices"},"name":"Microsoft.Devices/provisioningServices/skus/Read"},{"display":{"description":"get security related metadata","operation":"get security related metadata","provider":"