-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview #5544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
veronicagg
merged 11 commits into
Azure:master
from
reshantchandra:dev-iothub-Microsoft.Devices-2019-03-22-preview
Apr 10, 2019
Merged
[Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview #5544
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6209d24
Adds base for updating Microsoft.Devices from version preview/2018-12…
reshantchandra 9170a5c
Updates readme
reshantchandra 40731ca
Updates API version in new specs and examples
reshantchandra 18b9bfd
Adding swagger for Customer initiated failover
reshantchandra 55e3e0e
Adding swagger for customer initiated failover
reshantchandra 0095e60
Adding swagger for customer initiated failover
reshantchandra 548044f
Added properties for Message Enrichments to Iot Hub Routing Propertie…
kapil-ms 0ca5f68
Feedback
kapil-ms ddf1311
Merge pull request #1 from reshantchandra/routing-2019-03-22-preview
kapil-ms 608a75d
Manual failover swagger
reshantchandra c35f0c9
Manual failover swagger
reshantchandra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
92 changes: 92 additions & 0 deletions
92
...crosoft.Devices/preview/2019-03-22-preview/examples/IotHub_CustomerInitiatedFailover.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| { | ||
| "parameters": { | ||
| "iotHubName": "testHub", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2019-03-22-preview", | ||
| "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
| "failoverInput": { | ||
| "failoverRegion": "EASTUS2EUAP" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/ae24ff83-d2ca-4fc8-9717-05dae4bba489/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub", | ||
| "name": "testHub", | ||
| "type": "Microsoft.Devices/IotHubs", | ||
| "location": "centraluseuap", | ||
| "tags": {}, | ||
| "etag": "AAAAAAFD6M4=", | ||
| "properties": { | ||
| "state": "Active", | ||
| "provisioningState": "Succeeded", | ||
| "ipFilterRules": [], | ||
|
reshantchandra marked this conversation as resolved.
Outdated
|
||
| "hostName": "iot-dps-cit-hub-1.azure-devices.net", | ||
| "eventHubEndpoints": { | ||
| "events": { | ||
| "retentionTimeInDays": 1, | ||
| "partitionCount": 2, | ||
| "partitionIds": [ | ||
| "0", | ||
| "1" | ||
| ], | ||
| "path": "iot-dps-cit-hub-1", | ||
| "endpoint": "sb://iothub-ns-iot-dps-ci-245306-76aca8e13b.servicebus.windows.net/" | ||
| } | ||
| }, | ||
| "routing": { | ||
| "endpoints": { | ||
| "serviceBusQueues": [], | ||
| "serviceBusTopics": [], | ||
| "eventHubs": [], | ||
| "storageContainers": [] | ||
| }, | ||
| "routes": [], | ||
| "fallbackRoute": { | ||
| "name": "$fallback", | ||
| "source": "DeviceMessages", | ||
| "condition": "true", | ||
| "endpointNames": [ | ||
| "events" | ||
| ], | ||
| "isEnabled": true | ||
| } | ||
| }, | ||
| "storageEndpoints": { | ||
| "$default": { | ||
| "sasTtlAsIso8601": "PT1H", | ||
| "connectionString": "", | ||
| "containerName": "" | ||
| } | ||
| }, | ||
| "messagingEndpoints": { | ||
| "fileNotifications": { | ||
| "lockDurationAsIso8601": "PT1M", | ||
| "ttlAsIso8601": "PT1H", | ||
| "maxDeliveryCount": 10 | ||
| } | ||
| }, | ||
| "enableFileUploadNotifications": false, | ||
| "cloudToDevice": { | ||
| "maxDeliveryCount": 10, | ||
| "defaultTtlAsIso8601": "PT1H", | ||
| "feedback": { | ||
| "lockDurationAsIso8601": "PT1M", | ||
| "ttlAsIso8601": "PT1H", | ||
| "maxDeliveryCount": 10 | ||
| } | ||
| }, | ||
| "features": "None" | ||
| }, | ||
| "sku": { | ||
| "name": "S1", | ||
| "tier": "Standard", | ||
| "capacity": 1 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
|
|
||
20 changes: 20 additions & 0 deletions
20
...-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/checkNameAvailability.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceName": "testHub", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2019-03-22-preview", | ||
| "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
| "operationInputs": { | ||
| "name": "test-request" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": true, | ||
| "reason": "Invalid", | ||
| "message": "" | ||
| } | ||
| } | ||
| } | ||
| } |
44 changes: 44 additions & 0 deletions
44
...rosoft.Devices/preview/2019-03-22-preview/examples/iothub_certificatescreateorupdate.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceName": "iothub", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version":"2019-03-22-preview", | ||
| "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
| "certificateName": "cert", | ||
| "certificateDescription":{ | ||
| "certificate": "############################################" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "201": { "body": { | ||
| "properties": { | ||
| "subject": "CN=testdevice1", | ||
| "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
| "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
| "isVerified": false, | ||
| "created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
| "updated": "Thu, 12 Oct 2017 19:23:50 GMT" | ||
| }, | ||
| "id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert", | ||
| "name": "cert", | ||
| "type": "Microsoft.Devices/IotHubs/Certificates", | ||
| "etag": "AAAAAAExpNs=" | ||
| }}, | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "subject": "CN=testdevice1", | ||
| "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
| "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
| "isVerified": false, | ||
| "created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
| "updated": "Thu, 12 Oct 2017 19:23:50 GMT" | ||
| }, | ||
| "id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert", | ||
| "name": "cert", | ||
| "type": "Microsoft.Devices/IotHubs/Certificates", | ||
| "etag": "AAAAAAExpNs=" | ||
| } | ||
| } | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...ager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_certificatesdelete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceName": "myhub", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2019-03-22-preview", | ||
| "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
| "certificateName": "cert", | ||
| "If-Match": "AAAAAAAADGk=" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
31 changes: 31 additions & 0 deletions
31
...urce-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_certverify.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceName": "myFirstProvisioningService", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2019-03-22-preview", | ||
| "subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
| "certificateName": "cert", | ||
| "If-Match": "AAAAAAAADGk=", | ||
| "certificateVerificationBody": { | ||
| "certificate": "#####################################" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "subject": "CN=andbucdevice1", | ||
| "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
| "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
| "isVerified": true, | ||
| "created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
| "updated": "Thu, 12 Oct 2017 19:26:56 GMT" | ||
| }, | ||
| "id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/certificates/cert", | ||
| "name": "cert", | ||
| "type": "Microsoft.Devices/IotHubs/Certificates", | ||
| "etag": "AAAAAAExpTQ=" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.