Skip to content

Commit

Permalink
PR for public windows IoT resource provider (#3339)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfjelds authored and dsgouda committed Jul 13, 2018
1 parent 699762e commit 7f4d093
Show file tree
Hide file tree
Showing 10 changed files with 1,012 additions and 0 deletions.

Large diffs are not rendered by default.

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."
}
}
]
}
}
}
}
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
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
42 changes: 42 additions & 0 deletions specification/windowsiot/resource-manager/readme.md
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

0 comments on commit 7f4d093

Please sign in to comment.