Skip to content

Commit 7f4d093

Browse files
bfjeldsdsgouda
authored andcommitted
PR for public windows IoT resource provider (#3339)
1 parent 699762e commit 7f4d093

File tree

10 files changed

+1012
-0
lines changed

10 files changed

+1012
-0
lines changed

specification/windowsiot/resource-manager/Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json

Lines changed: 680 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-02-16-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.WindowsIoT/Services/write",
11+
"display": {
12+
"provider": "Windows IoT",
13+
"resource": "Windows IoT Services",
14+
"operation": "Create/Update Windows IoT Subscription",
15+
"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."
16+
}
17+
},
18+
{
19+
"name": "Microsoft.WindowsIoT/Services/delete",
20+
"display": {
21+
"provider": "Windows IoT",
22+
"resource": "Windows IoT Services",
23+
"operation": "Delete Windows IoT Subscription",
24+
"description": "Deletes an existing Windows IoT Subscription."
25+
}
26+
},
27+
{
28+
"name": "Microsoft.WindowsIoT/checkNameAvailability/read",
29+
"display": {
30+
"provider": "Windows IoT",
31+
"resource": "Name Availability",
32+
"operation": "Check Name Availability",
33+
"description": "Checks that account name is valid and is not in use."
34+
}
35+
},
36+
{
37+
"name": "Microsoft.WindowsIoT/Services/read",
38+
"display": {
39+
"provider": "Windows IoT",
40+
"resource": "Windows IoT Services",
41+
"operation": "List/Get Windows IoT Subscription(s)",
42+
"description": "Returns the list of Windows IoT Services or gets the properties for the specified Windows IoT Subscription."
43+
}
44+
},
45+
{
46+
"name": "Microsoft.WindowsIoT/operations/read",
47+
"display": {
48+
"provider": "Windows IoT",
49+
"resource": "Operations",
50+
"operation": "Poll Asynchronous Operation",
51+
"description": "Polls the status of an asynchronous operation."
52+
}
53+
}
54+
]
55+
}
56+
}
57+
}
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454",
4+
"api-version": "2018-02-16-preview",
5+
"deviceServiceCheckNameAvailabilityParameters": {
6+
"name": "service3363"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"nameAvailable": true
13+
}
14+
}
15+
}
16+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454",
4+
"resourceGroupName": "res9101",
5+
"deviceName": "service4445",
6+
"api-version": "2018-02-16-preview",
7+
"deviceService": {
8+
"billingDomainName": "a.b.c",
9+
"adminDomainName": "d.e.f",
10+
"notes": "blah",
11+
"quantity": 1000000
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"properties": {
18+
"billingDomainName": "a.b.c",
19+
"adminDomainName": "d.e.f",
20+
"notes": "blah",
21+
"startDate": "2018-01-01T12:00:00000Z",
22+
"quantity": 1000000
23+
},
24+
"type": "Microsoft.WindowsIoT/Services"
25+
}
26+
}
27+
}
28+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454",
4+
"resourceGroupName": "res4228",
5+
"deviceName": "service2434",
6+
"api-version": "2018-02-16-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"properties": {
12+
"billingDomainName": "a.b.c",
13+
"adminDomainName": "d.e.f",
14+
"notes": "blah",
15+
"startDate": "2018-01-01T12:00:00000Z",
16+
"quantity": 1000000
17+
},
18+
"type": "Microsoft.WindowsIoT/Services"
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e",
4+
"resourceGroupName": "res9407",
5+
"deviceName": "service8596",
6+
"api-version": "2018-02-16-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/res9407/providers/Microsoft.WindowsIoT/Services/service8596",
12+
"name": "service8596",
13+
"location": "westus",
14+
"properties": {
15+
"billingDomainName": "a.b.c",
16+
"adminDomainName": "d.e.f",
17+
"notes": "blah",
18+
"startDate": "2018-01-01T12:00:00000Z",
19+
"quantity": 1000000
20+
},
21+
"type": "Microsoft.WindowsIoT/Services"
22+
}
23+
}
24+
}
25+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454",
4+
"api-version": "2018-02-16-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res2627/providers/Microsoft.WindowsIoT/Services/service1125",
12+
"name": "service1125",
13+
"properties": {
14+
"billingDomainName": "a.b.c",
15+
"adminDomainName": "d.e.f",
16+
"notes": "blah",
17+
"startDate": "2018-01-01T12:00:00000Z",
18+
"quantity": 1000000
19+
},
20+
"type": "Microsoft.WindowsIoT/Services"
21+
},
22+
{
23+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service3699",
24+
"name": "service3699",
25+
"properties": {
26+
"billingDomainName": "a.b.c",
27+
"adminDomainName": "d.e.f",
28+
"notes": "blah",
29+
"startDate": "2018-01-01T12:00:00000Z",
30+
"quantity": 1000000
31+
},
32+
"type": "Microsoft.WindowsIoT/Services"
33+
},
34+
{
35+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service6637",
36+
"name": "service6637",
37+
"properties": {
38+
"billingDomainName": "a.b.c",
39+
"adminDomainName": "d.e.f",
40+
"notes": "blah",
41+
"startDate": "2018-01-01T12:00:00000Z",
42+
"quantity": 1000000
43+
},
44+
"type": "Microsoft.WindowsIoT/Services"
45+
},
46+
{
47+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res8186/providers/Microsoft.WindowsIoT/Services/service834",
48+
"name": "service834",
49+
"properties": {
50+
"billingDomainName": "a.b.c",
51+
"adminDomainName": "d.e.f",
52+
"notes": "blah",
53+
"startDate": "2018-01-01T12:00:00000Z",
54+
"quantity": 1000000
55+
},
56+
"type": "Microsoft.WindowsIoT/Services"
57+
},
58+
{
59+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/testcmk3/providers/Microsoft.WindowsIoT/Services/service9174",
60+
"name": "service9174",
61+
"properties": {
62+
"billingDomainName": "a.b.c",
63+
"adminDomainName": "d.e.f",
64+
"notes": "blah",
65+
"startDate": "2018-01-01T12:00:00000Z",
66+
"quantity": 1000000
67+
},
68+
"type": "Microsoft.WindowsIoT/Services"
69+
}
70+
]
71+
}
72+
}
73+
}
74+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "27de630f-e1ee-42de-8849-90def4986454",
4+
"resourceGroupName": "res6117",
5+
"api-version": "2018-02-16-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4036",
13+
"name": "service4036",
14+
"properties": {
15+
"billingDomainName": "a.b.c",
16+
"adminDomainName": "d.e.f",
17+
"notes": "blah",
18+
"startDate": "2018-01-01T12:00:00000Z",
19+
"quantity": 1000000
20+
},
21+
"type": "Microsoft.WindowsIoT/Services"
22+
},
23+
{
24+
"id": "/subscriptions/27de630f-e1ee-42de-8849-90def4986454/resourceGroups/res6117/providers/Microsoft.WindowsIoT/Services/service4452",
25+
"name": "service4452",
26+
"properties": {
27+
"billingDomainName": "a.b.c",
28+
"adminDomainName": "d.e.f",
29+
"notes": "blah",
30+
"startDate": "2018-01-01T12:00:00000Z",
31+
"quantity": 1000000
32+
},
33+
"type": "Microsoft.WindowsIoT/Services"
34+
}
35+
]
36+
}
37+
}
38+
}
39+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e",
4+
"resourceGroupName": "res9407",
5+
"deviceName": "service8596",
6+
"api-version": "2018-02-16-preview",
7+
"deviceService": {
8+
"notes": "blah",
9+
"quantity": 1000000
10+
},
11+
"monitor": "true"
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"properties": {
17+
"billingDomainName": "a.b.c",
18+
"adminDomainName": "d.e.f",
19+
"notes": "blah",
20+
"startDate": "2018-01-01T12:00:00000Z",
21+
"quantity": 1000000
22+
},
23+
"location": "westus",
24+
"type": "Microsoft.WindowsIoT/Services"
25+
}
26+
}
27+
}
28+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Services
2+
3+
> see https://aka.ms/autorest
4+
5+
This is the AutoRest configuration file for Services.
6+
7+
8+
9+
---
10+
## Getting Started
11+
To build the SDK for Services, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
12+
13+
> `autorest`
14+
15+
To see additional help and options, run:
16+
17+
> `autorest --help`
18+
---
19+
20+
## Configuration
21+
22+
23+
24+
### Basic Information
25+
These are the global settings for the Services API.
26+
27+
``` yaml
28+
openapi-type: arm
29+
tag: package-2018-02
30+
```
31+
32+
### Tag: package-2018-02
33+
34+
These settings apply only when `--tag=package-2018-02` is specified on the command line.
35+
36+
``` yaml $(tag) == 'package-2018-02'
37+
input-file:
38+
- Microsoft.WindowsIoT/preview/2018-02-16-preview/WindowsIotServices.json
39+
```
40+
41+
---
42+
# Code Generation

0 commit comments

Comments
 (0)