Skip to content
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

Add specs for Microsoft.IoTCentral RP #3167

Merged
merged 2 commits into from
May 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2017-07-01-privatepreview",
"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": "2017-07-01-privatepreview",
"App": {
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "[email protected]",
"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": "[email protected]"
},
"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": "[email protected]"
},
"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": "2017-07-01-privatepreview"
},
"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": "2017-07-01-privatepreview"
},
"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": "[email protected]"
},
"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": "2017-07-01-privatepreview",
"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": "[email protected]"
},
"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": "2017-07-01-privatepreview"
},
"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": "[email protected]"
},
"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": "2017-07-01-privatepreview",
"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": "[email protected]"
},
"sku": {
"name": "F1"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2017-07-01-privatepreview"
},
"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