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

[Hub Generated] Review request for Microsoft.MixedReality to add version stable/2021-01-01 #12337

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,169 @@
{
"swagger": "2.0",
"info": {
"title": "Mixed Reality",
"description": "Mixed Reality Resource Provider API",
"version": "2021-01-01"
},
"paths": {},
"definitions": {
"AccountKeys": {
"description": "Developer Keys of account",
"type": "object",
"properties": {
"primaryKey": {
"x-ms-secret": true,
"description": "value of primary key.",
"readOnly": true,
"type": "string"
},
"secondaryKey": {
"x-ms-secret": true,
"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": {
"description": "An Error response.",
"$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"
}
}
}
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": " 2021-01-01"
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"api-version": "2021-01-01"
},
"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
}
}
}
}
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": "2021-01-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"accountName": "MyAccount",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"identity": {
"type": "SystemAssigned"
},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/MyAccount",
"name": "MyAccount",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"identity": {
"type": "SystemAssigned"
},
"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": {},
"identity": {
"type": "SystemAssigned"
},
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"identity": {
"type": "SystemAssigned"
},
"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": {},
"identity": {
"type": "SystemAssigned"
},
"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"
}
}
}
}
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": "2021-01-01"
},
"responses": {
"200": {
"body": {
"primaryKey": "<primaryKey>",
"secondaryKey": "<secondaryKey>"
}
}
}
}
Loading