-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR for public windows IoT resource provider (#3339)
- Loading branch information
Showing
10 changed files
with
1,012 additions
and
0 deletions.
There are no files selected for viewing
680 changes: 680 additions & 0 deletions
680
.../resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json
Large diffs are not rendered by default.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
...urce-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/OperationsList.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,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.WindowsIoT/Services/write", | ||
"display": { | ||
"provider": "Windows IoT", | ||
"resource": "Windows IoT Services", | ||
"operation": "Create/Update Windows IoT Subscription", | ||
"description": "Creates a Windows IoT Subscription with the specified parameters or update the properties or tags or adds custom domain for the specified Windows IoT Subscription." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.WindowsIoT/Services/delete", | ||
"display": { | ||
"provider": "Windows IoT", | ||
"resource": "Windows IoT Services", | ||
"operation": "Delete Windows IoT Subscription", | ||
"description": "Deletes an existing Windows IoT Subscription." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.WindowsIoT/checkNameAvailability/read", | ||
"display": { | ||
"provider": "Windows IoT", | ||
"resource": "Name Availability", | ||
"operation": "Check Name Availability", | ||
"description": "Checks that account name is valid and is not in use." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.WindowsIoT/Services/read", | ||
"display": { | ||
"provider": "Windows IoT", | ||
"resource": "Windows IoT Services", | ||
"operation": "List/Get Windows IoT Subscription(s)", | ||
"description": "Returns the list of Windows IoT Services or gets the properties for the specified Windows IoT Subscription." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.WindowsIoT/operations/read", | ||
"display": { | ||
"provider": "Windows IoT", | ||
"resource": "Operations", | ||
"operation": "Poll Asynchronous Operation", | ||
"description": "Polls the status of an asynchronous operation." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...crosoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_CheckNameAvailability.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,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", | ||
"api-version": "2018-02-16-preview", | ||
"deviceServiceCheckNameAvailabilityParameters": { | ||
"name": "service3363" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...urce-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", | ||
"resourceGroupName": "res9101", | ||
"deviceName": "service4445", | ||
"api-version": "2018-02-16-preview", | ||
"deviceService": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"quantity": 1000000 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...urce-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", | ||
"resourceGroupName": "res4228", | ||
"deviceName": "service2434", | ||
"api-version": "2018-02-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...nager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_GetProperties.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", | ||
"resourceGroupName": "res9407", | ||
"deviceName": "service8596", | ||
"api-version": "2018-02-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/res9407/providers/Microsoft.WindowsIoT/Services/service8596", | ||
"name": "service8596", | ||
"location": "westus", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
...source-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_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,74 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", | ||
"api-version": "2018-02-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res2627/providers/Microsoft.WindowsIoT/Services/service1125", | ||
"name": "service1125", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
}, | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service3699", | ||
"name": "service3699", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
}, | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service6637", | ||
"name": "service6637", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
}, | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res8186/providers/Microsoft.WindowsIoT/Services/service834", | ||
"name": "service834", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
}, | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service9174", | ||
"name": "service9174", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_ListByResourceGroup.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,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", | ||
"resourceGroupName": "res6117", | ||
"api-version": "2018-02-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4036", | ||
"name": "service4036", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
}, | ||
{ | ||
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4452", | ||
"name": "service4452", | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...urce-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/examples/Service_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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", | ||
"resourceGroupName": "res9407", | ||
"deviceName": "service8596", | ||
"api-version": "2018-02-16-preview", | ||
"deviceService": { | ||
"notes": "blah", | ||
"quantity": 1000000 | ||
}, | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"billingDomainName": "a.b.c", | ||
"adminDomainName": "d.e.f", | ||
"notes": "blah", | ||
"startDate": "2018-01-01T12:00:00000Z", | ||
"quantity": 1000000 | ||
}, | ||
"location": "westus", | ||
"type": "Microsoft.WindowsIoT/Services" | ||
} | ||
} | ||
} | ||
} |
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,42 @@ | ||
# Services | ||
|
||
> see https://aka.ms/autorest | ||
This is the AutoRest configuration file for Services. | ||
|
||
|
||
|
||
--- | ||
## Getting Started | ||
To build the SDK for Services, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: | ||
|
||
> `autorest` | ||
To see additional help and options, run: | ||
|
||
> `autorest --help` | ||
--- | ||
|
||
## Configuration | ||
|
||
|
||
|
||
### Basic Information | ||
These are the global settings for the Services API. | ||
|
||
``` yaml | ||
openapi-type: arm | ||
tag: package-2018-02 | ||
``` | ||
### Tag: package-2018-02 | ||
These settings apply only when `--tag=package-2018-02` is specified on the command line. | ||
|
||
``` yaml $(tag) == 'package-2018-02' | ||
input-file: | ||
- Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json | ||
``` | ||
|
||
--- | ||
# Code Generation |