-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReleasePR iotcentral] [Microsoft.IoTCentral/iotApps] Removal of lega…
…cy S1 SKU, S360 Fixes, newer RP API version 2021-06-01 (#1899) Create to sync Azure/azure-rest-api-specs#14311 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/iotcentral?expand=1)
- Loading branch information
Showing
2 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
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,139 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.IoTCentral", | ||
"description": "Microsoft IoTCentral Resource Types", | ||
"resourceDefinitions": { | ||
"iotApps": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-06-01" | ||
] | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "The resource location." | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The ARM resource name of the IoT Central application." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AppProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The properties of an IoT Central application." | ||
}, | ||
"sku": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AppSkuInfo" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Information about the SKU of the IoT Central application." | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The resource tags." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.IoTCentral/iotApps" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"sku", | ||
"type" | ||
], | ||
"description": "Microsoft.IoTCentral/iotApps" | ||
} | ||
}, | ||
"definitions": { | ||
"AppProperties": { | ||
"type": "object", | ||
"properties": { | ||
"displayName": { | ||
"type": "string", | ||
"description": "The display name of the application." | ||
}, | ||
"state": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"created", | ||
"suspended" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The current state of the application." | ||
}, | ||
"subdomain": { | ||
"type": "string", | ||
"description": "The subdomain of the application." | ||
}, | ||
"template": { | ||
"type": "string", | ||
"description": "The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch." | ||
} | ||
}, | ||
"description": "The properties of an IoT Central application." | ||
}, | ||
"AppSkuInfo": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"ST0", | ||
"ST1", | ||
"ST2" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The name of the SKU." | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"description": "Information about the SKU of the IoT Central application." | ||
} | ||
} | ||
} |
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