-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Hub Generated] Review request for Microsoft.DeviceUpdate to add version preview/2020-03-01-preview #13215
Merged
raych1
merged 23 commits into
Azure:master
from
dpokluda:dev-deviceupdate-Microsoft.DeviceUpdate-2020-03-01-release2
Mar 2, 2021
Merged
[Hub Generated] Review request for Microsoft.DeviceUpdate to add version preview/2020-03-01-preview #13215
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
59a31eb
New Readme Config File
dpokluda 6b37bfc
New Go Language Readme Config File
dpokluda 7cbfe90
New Azure AZ Readme Config File
dpokluda 341311c
New Azure CLI Readme Config File
dpokluda c3c7654
New Typescript Language Readme Config File
dpokluda b2ab29f
New Python Language Readme Config File
dpokluda cf7e10d
New C# Language Readme Config File
dpokluda e3d48d3
New AzureResourceSchema Readme Config File
dpokluda 77c438e
New Swagger Spec File
dpokluda d12907f
New Swagger Example Spec File
dpokluda f8e99f6
Release of Device Update for IoT Hub control plane specification.
09bd32a
Fixing prettier issues.
d96a50a
Updating control plane swagger
eec6b9c
Update deviceupdate.json
abatishchev bad3d65
Merge pull request #1 from abatishchev/patch-2
dpokluda 76e9489
Update deviceupdate.json
abatishchev 71560b8
Update deviceupdate.json
abatishchev 19e8c1e
Update deviceupdate.json
abatishchev 38179c2
Merge pull request #2 from abatishchev/patch-2
dpokluda 08a8625
add the multiapi section
ArcturusZhang 5830bad
Update Accounts_Delete.json
abatishchev 75b37e6
Update Instances_Delete.json
abatishchev 9d40c35
Merge pull request #3 from abatishchev/patch-3
dpokluda 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
860 changes: 860 additions & 0 deletions
860
...date/resource-manager/Microsoft.DeviceUpdate/preview/2020-03-01-preview/deviceupdate.json
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
.../Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Accounts/Accounts_Create.json
This file contains 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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"api-version": "2020-03-01-preview", | ||
"Account": { | ||
"location": "West US 2", | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"name": "contoso", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso", | ||
"type": "Microsoft.DeviceUpdate/accounts", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"hostName": "contoso.api.adu.microsoft.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Accounts/Accounts_Delete.json
This file contains 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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ger/Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Accounts/Accounts_Get.json
This file contains 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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "contoso", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso", | ||
"type": "Microsoft.DeviceUpdate/accounts", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostName": "contoso.api.adu.microsoft.com" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...er/Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Accounts/Accounts_List.json
This file contains 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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nextLink": "string", | ||
"value": [ | ||
{ | ||
"name": "contoso", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso", | ||
"type": "Microsoft.DeviceUpdate/accounts", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostName": "contoso.api.adu.microsoft.com" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
.../Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Accounts/Accounts_Update.json
This file contains 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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"api-version": "2020-03-01-preview", | ||
"accountUpdatePayload": { | ||
"tags": { | ||
"tagKey": "tagValue" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "contoso", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso", | ||
"type": "Microsoft.DeviceUpdate/accounts", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostName": "contoso.api.adu.microsoft.com" | ||
}, | ||
"tags": { | ||
"tagKey": "tagValue" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...icrosoft.DeviceUpdate/preview/2020-03-01-preview/examples/Instances/Instances_Create.json
This file contains 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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"instanceName": "blue", | ||
"api-version": "2020-03-01-preview", | ||
"Instance": { | ||
"location": "West US 2", | ||
"properties": { | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub", | ||
"ioTHubConnectionString": "string", | ||
"eventHubConnectionString": "string" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"name": "blue", | ||
"location": "West US 2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue", | ||
"type": "Microsoft.DeviceUpdate/accounts/instances", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"accountName": "contoso", | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...icrosoft.DeviceUpdate/preview/2020-03-01-preview/examples/Instances/Instances_Delete.json
This file contains 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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"instanceName": "blue", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...r/Microsoft.DeviceUpdate/preview/2020-03-01-preview/examples/Instances/Instances_Get.json
This file contains 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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"instanceName": "blue", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "blue", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue", | ||
"type": "Microsoft.DeviceUpdate/accounts/instances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"accountName": "contoso", | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...t.DeviceUpdate/preview/2020-03-01-preview/examples/Instances/Instances_ListByAccount.json
This file contains 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,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nextLink": "string", | ||
"value": [ | ||
{ | ||
"name": "blue", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue", | ||
"type": "Microsoft.DeviceUpdate/accounts/instances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"accountName": "contoso", | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "red", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/red", | ||
"type": "Microsoft.DeviceUpdate/accounts/instances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"accountName": "contoso", | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/red-contoso-hub" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...icrosoft.DeviceUpdate/preview/2020-03-01-preview/examples/Instances/Instances_Update.json
This file contains 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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "test-rg", | ||
"accountName": "contoso", | ||
"instanceName": "blue", | ||
"api-version": "2020-03-01-preview", | ||
"tagUpdatePayload": { | ||
"tags": { | ||
"tagKey": "tagValue" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "blue", | ||
"location": "westus2", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue", | ||
"type": "Microsoft.DeviceUpdate/accounts/instances", | ||
"properties": { | ||
"accountName": "contoso", | ||
"iotHubs": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub" | ||
} | ||
] | ||
}, | ||
"tags": { | ||
"tagKey": "tagValue" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
specification/deviceupdate/resource-manager/readme.csharp.md
This file contains 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,15 @@ | ||
## C# | ||
|
||
These settings apply only when `--csharp` is specified on the command line. | ||
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`. | ||
|
||
```yaml $(csharp) | ||
csharp: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 1 | ||
clear-output-folder: true | ||
client-side-validation: false | ||
namespace: Azure.ResourceManager.DeviceUpdate | ||
output-folder: $(csharp-sdks-folder)/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated | ||
``` |
This file contains 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,26 @@ | ||
## Go | ||
|
||
These settings apply only when `--go` is specified on the command line. | ||
|
||
```yaml $(go) | ||
go: | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
``` | ||
|
||
### Go multi-api | ||
|
||
``` yaml $(go) && $(multiapi) | ||
batch: | ||
- tag: package-2020-03-01-preview | ||
``` | ||
|
||
### Tag: package-2020-03-01-preview and go | ||
|
||
These settings apply only when `--tag=package-2020-03-01-preview --go` is specified on the command line. | ||
Please also specify `--go-sdks-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
||
```yaml $(tag) == 'package-2020-03-01-preview' && $(go) | ||
namespace: deviceupdate | ||
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-03-01-preview/$(namespace) | ||
``` |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add a multiapi section here