Skip to content

Commit

Permalink
Add iotcentral version 2018-09-01 (#3466)
Browse files Browse the repository at this point in the history
  • Loading branch information
emgarten authored and jianghaolu committed Jul 24, 2018
1 parent a6d44d5 commit 052e636
Show file tree
Hide file tree
Showing 12 changed files with 1,024 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01",
"operationInputs": {
"name": "myIoTCentralApp"
}
},
"responses": {
"200": {
"headers": {},
"body": {
"nameAvailable": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01",
"App": {
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-default@1.0.0",
"location": "westus",
"sku": {
"name": "F1"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"name": "myIoTCentralApp",
"type": "Microsoft.IoTCentral/IoTApps",
"location": "westus",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App 2",
"subdomain": "my-iot-central-app-2",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"name": "myIoTCentralApp",
"type": "Microsoft.IoTCentral/IoTApps",
"location": "westus",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"location": "westus",
"type": "Microsoft.IoTCentral/IoTApps",
"name": "myIoTCentralApp",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01",
"resourceGroupName": "resRg"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"location": "westus",
"type": "Microsoft.IoTCentral/IoTApps",
"name": "myIoTCentralApp",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"location": "westus",
"type": "Microsoft.IoTCentral/IoTApps",
"name": "myIoTCentralApp",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"resourceName": "myIoTCentralApp",
"api-version": "2018-09-01",
"AppPatch": {
"displayName": "My IoT Central App 2"
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp",
"location": "westus",
"type": "Microsoft.IoTCentral/IoTApps",
"name": "myIoTCentralApp",
"properties": {
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6",
"displayName": "My IoT Central App 2",
"subdomain": "my-iot-central-app-2",
"template": "iotc-default@1.0.0"
},
"sku": {
"name": "F1"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2018-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "Microsoft.IoTCentral/IoTApps/read",
"display": {
"provider": "Microsoft IoT Central",
"resource": "IoTApps",
"operation": "Get IoT Central Application",
"description": "Gets a single IoT Central Application"
}
},
{
"name": "Microsoft.IoTCentral/IoTApps/write",
"display": {
"provider": "Microsoft IoT Central",
"resource": "IoTApps",
"operation": "Create or Update IoT Central Application",
"description": "Creates or Updates an IoT Central Applications"
}
},
{
"name": "Microsoft.IoTCentral/IoTApps/delete",
"display": {
"provider": "Microsoft IoT Central",
"resource": "IoTApps",
"operation": "Delete IoT Central Application",
"description": "Deletes an IoT Central Applications"
}
},
{
"name": "Microsoft.IoTCentral/checkNameAvailability/action",
"display": {
"provider": "Microsoft IoT Central",
"resource": "",
"operation": "Check resource name availability",
"description": "Checks if an IoT Central Application name is available"
}
},
{
"name": "Microsoft.IoTCentral/operations/read",
"display": {
"provider": "Microsoft IoT Central",
"resource": "",
"operation": "Get all the available operations",
"description": "Gets all the available operations on IoT Central Applications"
}
}
]
}
}
}
}
Loading

0 comments on commit 052e636

Please sign in to comment.