Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Use this API to manage the IoT hubs in your Azure subscription.",
"x-ms-code-generation-settings": {
"header": "MICROSOFT_MIT_NO_VERSION"
}
}
},
"host": "management.azure.com",
"schemes": [ "https" ],
Expand Down Expand Up @@ -385,7 +385,7 @@
],
"responses": {
"200": {
"description": "This is a synchronous operation. The body contains a JSON-serialized list of the consumer groups in the the Event Hub-compatible endpoint in this IoT hub",
"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",
"schema": {
"$ref": "#/definitions/EventHubConsumerGroupsListResult"
}
Expand Down Expand Up @@ -1057,7 +1057,7 @@
"responses": {
"200": {
"description": "Certificate has been deleted."
},
},
"204": {
"description": "Certificate does not exist."
},
Expand Down Expand Up @@ -1551,7 +1551,7 @@
"type": "object",
"properties": {
"sasTtlAsIso8601": {
"description": "The period of time for which the the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.",
"description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.",
"type": "string",
"format": "duration"
},
Expand Down Expand Up @@ -1703,32 +1703,32 @@
}
},
"RoutingEndpoints": {
"description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.",
"description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.",
"type": "object",
"properties": {
"serviceBusQueues": {
"description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.",
"description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingServiceBusQueueEndpointProperties"
}
},
"serviceBusTopics": {
"description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.",
"description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingServiceBusTopicEndpointProperties"
}
},
"eventHubs": {
"description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.",
"description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingEventHubProperties"
}
},
"storageContainers": {
"description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.",
"description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingStorageContainerProperties"
Expand Down Expand Up @@ -1761,7 +1761,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingServiceBusTopicEndpointProperties": {
"description": "The properties related to service bus topic endpoint types.",
Expand All @@ -1788,7 +1788,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingEventHubProperties": {
"description": "The properties related to an event hub endpoint.",
Expand All @@ -1815,7 +1815,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingStorageContainerProperties": {
"description": "The properties related to a storage container endpoint.",
Expand Down Expand Up @@ -1861,22 +1861,22 @@
"minimum": 10485760
},
"encoding": {
"description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.",
"description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avroDeflate'. Default value is 'avro'.",
"type": "string"
}
},
"required": [
"name",
"connectionString",
"containerName"
]
]
},
"RouteProperties": {
"description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.",
"description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.",
"type": "object",
"properties": {
"name": {
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"type": "string",
"pattern": "^[A-Za-z0-9-._]{1,64}$"
},
Expand All @@ -1890,12 +1890,12 @@
}
},
"condition": {
"description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"type": "string"
},
"endpointNames": {
"description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.",
"minItems": 1,
"minItems": 1,
"maxItems": 1,
"type": "array",
"items": {
Expand All @@ -1915,11 +1915,11 @@
]
},
"FallbackRouteProperties": {
"description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.",
"description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.",
"type": "object",
"properties": {
"source": {
"description": "The source to which the routing rule is to be applied to. For example, DeviceMessages",
"description": "The source to which the routing rule is to be applied to. For example, DeviceMessages",
"enum": ["DeviceMessages"],
"type": "string",
"x-ms-enum": {
Expand All @@ -1928,12 +1928,12 @@
}
},
"condition": {
"description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"type": "string"
},
"endpointNames": {
"description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.",
"minItems": 1,
"minItems": 1,
"maxItems": 1,
"type": "array",
"items": {
Expand All @@ -1950,7 +1950,7 @@
"source",
"isEnabled"
]
},
},
"IotHubDescription": {
"description": "The description of the IoT hub.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Use this API to manage the IoT hubs in your Azure subscription.",
"x-ms-code-generation-settings": {
"header": "MICROSOFT_MIT_NO_VERSION"
}
}
},
"host": "management.azure.com",
"schemes": [ "https" ],
Expand Down Expand Up @@ -469,7 +469,7 @@
],
"responses": {
"200": {
"description": "This is a synchronous operation. The body contains a JSON-serialized list of the consumer groups in the the Event Hub-compatible endpoint in this IoT hub",
"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",
"schema": {
"$ref": "#/definitions/EventHubConsumerGroupsListResult"
}
Expand Down Expand Up @@ -1186,7 +1186,7 @@
"responses": {
"200": {
"description": "Certificate has been deleted."
},
},
"204": {
"description": "Certificate does not exist."
},
Expand Down Expand Up @@ -1560,7 +1560,7 @@
"readOnly": true
},
"state": {
"description": "Thehub state state.",
"description": "The hub state.",
"type": "string",
"readOnly": true
},
Expand Down Expand Up @@ -1690,7 +1690,7 @@
"type": "object",
"properties": {
"sasTtlAsIso8601": {
"description": "The period of time for which the the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.",
"description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.",
"type": "string",
"format": "duration"
},
Expand Down Expand Up @@ -1842,32 +1842,32 @@
}
},
"RoutingEndpoints": {
"description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.",
"description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.",
"type": "object",
"properties": {
"serviceBusQueues": {
"description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.",
"description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingServiceBusQueueEndpointProperties"
}
},
"serviceBusTopics": {
"description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.",
"description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingServiceBusTopicEndpointProperties"
}
},
"eventHubs": {
"description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.",
"description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingEventHubProperties"
}
},
"storageContainers": {
"description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.",
"description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.",
"type": "array",
"items": {
"$ref": "#/definitions/RoutingStorageContainerProperties"
Expand Down Expand Up @@ -1900,7 +1900,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingServiceBusTopicEndpointProperties": {
"description": "The properties related to service bus topic endpoint types.",
Expand All @@ -1927,7 +1927,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingEventHubProperties": {
"description": "The properties related to an event hub endpoint.",
Expand All @@ -1954,7 +1954,7 @@
"required": [
"name",
"connectionString"
]
]
},
"RoutingStorageContainerProperties": {
"description": "The properties related to a storage container endpoint.",
Expand Down Expand Up @@ -2000,22 +2000,22 @@
"minimum": 10485760
},
"encoding": {
"description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.",
"description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avroDeflate'. Default value is 'avro'.",
"type": "string"
}
},
"required": [
"name",
"connectionString",
"containerName"
]
]
},
"RouteProperties": {
"description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.",
"description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints.",
"type": "object",
"properties": {
"name": {
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"type": "string",
"pattern": "^[A-Za-z0-9-._]{1,64}$"
},
Expand All @@ -2029,12 +2029,12 @@
}
},
"condition": {
"description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"type": "string"
},
"endpointNames": {
"description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.",
"minItems": 1,
"minItems": 1,
"maxItems": 1,
"type": "array",
"items": {
Expand All @@ -2054,15 +2054,15 @@
]
},
"FallbackRouteProperties": {
"description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.",
"description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.",
"type": "object",
"properties": {
"name": {
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.",
"type": "string"
},
"source": {
"description": "The source to which the routing rule is to be applied to. For example, DeviceMessages",
"description": "The source to which the routing rule is to be applied to. For example, DeviceMessages",
"enum": ["DeviceMessages"],
"type": "string",
"x-ms-enum": {
Expand All @@ -2071,12 +2071,12 @@
}
},
"condition": {
"description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language",
"type": "string"
},
"endpointNames": {
"description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.",
"minItems": 1,
"minItems": 1,
"maxItems": 1,
"type": "array",
"items": {
Expand All @@ -2093,7 +2093,7 @@
"source",
"isEnabled"
]
},
},
"IotHubDescription": {
"description": "The description of the IoT hub.",
"type": "object",
Expand Down Expand Up @@ -2325,7 +2325,7 @@
}
},
"required": [
"sku",
"sku",
"capacity"
]
},
Expand Down
Loading