forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MixedReality] Version Iteration for new Releases (Azure#9351)
* Version Iteration for new Releases (Azure#8848) * Version Iteration for new Releases There are going to be 2 significant releases: 1. Public Preview of Remote Rendering in April 6th 2. GA of Spatial Anchors in May * Referring new swagger files in readme.md * Specifying default package version as 2020-05-01 * Fix MV * Fix MV (Azure#9397) Fix MV in Patch examples Co-authored-by: Xiangyu Luo <[email protected]> Co-authored-by: Lei Ni <[email protected]>
- Loading branch information
Showing
30 changed files
with
2,303 additions
and
6 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
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
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
166 changes: 166 additions & 0 deletions
166
...xedreality/resource-manager/Microsoft.MixedReality/preview/2020-04-06-preview/common.json
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,166 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Mixed Reality", | ||
"description": "Mixed Reality Resource Provider API", | ||
"version": "2020-04-06-preview" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"AccountKeys": { | ||
"description": "Developer Keys of account", | ||
"type": "object", | ||
"properties": { | ||
"primaryKey": { | ||
"description": "value of primary key.", | ||
"readOnly": true, | ||
"type": "string" | ||
}, | ||
"secondaryKey": { | ||
"description": "value of secondary key.", | ||
"readOnly": true, | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"AccountKeyRegenerateRequest": { | ||
"description": "Request for account key regeneration", | ||
"type": "object", | ||
"properties": { | ||
"serial": { | ||
"type": "integer", | ||
"enum": [ | ||
1, | ||
2 | ||
], | ||
"default": 1, | ||
"x-ms-enum": { | ||
"name": "Serial", | ||
"values": [ | ||
{ | ||
"value": 1, | ||
"description": "The Primary Key", | ||
"name": "Primary" | ||
}, | ||
{ | ||
"value": 2, | ||
"description": "The Secondary Key", | ||
"name": "Secondary" | ||
} | ||
] | ||
}, | ||
"description": "serial of key to be regenerated" | ||
} | ||
} | ||
}, | ||
"CloudError": { | ||
"x-ms-external": true, | ||
"properties": { | ||
"error": { | ||
"$ref": "#/definitions/CloudErrorBody" | ||
} | ||
}, | ||
"description": "An Error response." | ||
}, | ||
"CloudErrorBody": { | ||
"x-ms-external": true, | ||
"properties": { | ||
"code": { | ||
"type": "string", | ||
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." | ||
}, | ||
"message": { | ||
"type": "string", | ||
"description": "A message describing the error, intended to be suitable for displaying in a user interface." | ||
}, | ||
"target": { | ||
"type": "string", | ||
"description": "The target of the particular error. For example, the name of the property in error." | ||
}, | ||
"details": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/CloudErrorBody" | ||
}, | ||
"description": "A list of additional details about the error." | ||
} | ||
}, | ||
"description": "An error response from Azure." | ||
}, | ||
"MixedRealityAccountProperties": { | ||
"description": "Common Properties shared by Mixed Reality Accounts", | ||
"type": "object", | ||
"properties": { | ||
"accountId": { | ||
"description": "unique id of certain account.", | ||
"readOnly": true, | ||
"type": "string" | ||
}, | ||
"accountDomain": { | ||
"description": "Correspond domain name of certain Spatial Anchors Account", | ||
"readOnly": true, | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"parameters": { | ||
"accountKeyRegenerateParameter": { | ||
"name": "regenerate", | ||
"in": "body", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/definitions/AccountKeyRegenerateRequest" | ||
}, | ||
"x-ms-parameter-location": "method", | ||
"description": "Required information for key regeneration." | ||
}, | ||
"accountNameParameter": { | ||
"name": "accountName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._\\(\\)]+$", | ||
"minLength": 1, | ||
"maxLength": 90, | ||
"x-ms-parameter-location": "method", | ||
"description": "Name of an Mixed Reality Account." | ||
}, | ||
"apiVersionParameter": { | ||
"name": "api-version", | ||
"description": "The API version to be used with the HTTP request.", | ||
"in": "query", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
"locationParameter": { | ||
"name": "location", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._\\(\\)]+$", | ||
"minLength": 1, | ||
"maxLength": 90, | ||
"x-ms-parameter-location": "method", | ||
"description": "The location in which uniqueness will be verified." | ||
}, | ||
"resourceGroupNameParameter": { | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._\\(\\)]+$", | ||
"minLength": 1, | ||
"maxLength": 90, | ||
"x-ms-parameter-location": "method", | ||
"description": "Name of an Azure resource group." | ||
}, | ||
"subscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)", | ||
"in": "path", | ||
"required": true, | ||
"type": "string" | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ty/preview/2020-04-06-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json
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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"location": "eastus2euap", | ||
"checkNameAvailability": { | ||
"name": "MyAccount", | ||
"type": "Microsoft.MixedReality/spatialAnchorsAccounts" | ||
}, | ||
"api-version": " 2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": "false", | ||
"reason": "AlreadyExists", | ||
"message": "..." | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...t.MixedReality/preview/2020-04-06-preview/examples/proxy/ExposingAvailableOperations.json
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,50 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.MixedReality/register/action", | ||
"display": { | ||
"provider": "Microsoft.MixedReality", | ||
"resource": "Mixed Reality resource provider", | ||
"operation": "Registers the Mixed Reality resource provider", | ||
"description": "Registers a subscription for the Mixed Reality resource provider." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/delete", | ||
"display": { | ||
"provider": "Microsoft.MixedReality", | ||
"resource": "SpatialAnchorsAccounts", | ||
"operation": "Delete Spatial Anchors Accounts", | ||
"description": "Deletes the resource for Microsoft.MixedReality/SpatialAnchorsAccounts" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/read", | ||
"display": { | ||
"provider": "Microsoft.MixedReality", | ||
"resource": "SpatialAnchorsAccounts", | ||
"operation": "Get Spatial Anchors Accounts", | ||
"description": "Gets the resource for Microsoft.MixedReality/SpatialAnchorsAccounts" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/write", | ||
"display": { | ||
"provider": "Microsoft.MixedReality", | ||
"resource": "SpatialAnchorsAccounts", | ||
"operation": "Update Spatial Anchors Accounts", | ||
"description": "Updates the resource for Microsoft.MixedReality/SpatialAnchorsAccounts" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...r/Microsoft.MixedReality/preview/2020-04-06-preview/examples/remote-rendering/Delete.json
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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"resourceGroupName": "MyResourceGroup", | ||
"accountName": "MyAccount", | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...ager/Microsoft.MixedReality/preview/2020-04-06-preview/examples/remote-rendering/Get.json
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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"resourceGroupName": "MyResourceGroup", | ||
"accountName": "MyAccount", | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"accountDomain": "mixedreality.azure.com" | ||
}, | ||
"tags": {}, | ||
"location": "eastus2euap", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/MyAccount", | ||
"name": "MyAccount", | ||
"type": "Microsoft.MixedReality/remoteRenderingAccounts" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...MixedReality/preview/2020-04-06-preview/examples/remote-rendering/GetByResourceGroup.json
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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"resourceGroupName": "MyResourceGroup", | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"accountDomain": "mixedreality.azure.com" | ||
}, | ||
"tags": {}, | ||
"location": "eastus2euap", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/alpha", | ||
"name": "alpha", | ||
"type": "Microsoft.MixedReality/remoteRenderingAccounts" | ||
}, | ||
{ | ||
"properties": { | ||
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"accountDomain": "mixedreality.azure.com" | ||
}, | ||
"tags": {}, | ||
"location": "eastus2euap", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/omega", | ||
"name": "omega", | ||
"type": "Microsoft.MixedReality/remoteRenderingAccounts" | ||
} | ||
], | ||
"nextLink": "https://aka.ms/&^FDKKAR" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
....MixedReality/preview/2020-04-06-preview/examples/remote-rendering/GetBySubscription.json
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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"accountDomain": "mixedreality.azure.com" | ||
}, | ||
"tags": {}, | ||
"location": "eastus2euap", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/alpha", | ||
"name": "alpha", | ||
"type": "Microsoft.MixedReality/remoteRenderingAccounts" | ||
}, | ||
{ | ||
"properties": { | ||
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"accountDomain": "mixedreality.azure.com" | ||
}, | ||
"tags": {}, | ||
"location": "eastus2euap", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/omega", | ||
"name": "omega", | ||
"type": "Microsoft.MixedReality/remoteRenderingAccounts" | ||
} | ||
], | ||
"nextLink": "https://aka.ms/&^FDKKAR" | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...Microsoft.MixedReality/preview/2020-04-06-preview/examples/remote-rendering/ListKeys.json
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,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
"resourceGroupName": "MyResourceGroup", | ||
"accountName": "MyAccount", | ||
"api-version": "2020-04-06-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"primaryKey": "vMAlcI/j25TwDs8hjTorto3JQkoiqZAXKsFq0rYnSNc=", | ||
"secondaryKey": "N4umIGhJt8LgnMMMBpwFOxVOS9zpxHxSHy1TJhN3hU4=" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.