Client library for Mixed Reality
npm install --save @datafire/azure_mixedreality_proxy
let azure_mixedreality_proxy = require('@datafire/azure_mixedreality_proxy').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Mixed Reality Resource Provider Proxy API
Exposing Available Operations
azure_mixedreality_proxy.Operations_List({
"api-version": ""
}, context)
- input
object
- api-version required
string
: Version of the API to be used with the client request.
- api-version required
- output OperationPage
Check Name Availability for local uniqueness
azure_mixedreality_proxy.CheckNameAvailabilityLocal({
"subscriptionId": "",
"location": "",
"checkNameAvailability": {
"name": "",
"type": ""
},
"api-version": ""
}, context)
- input
object
- subscriptionId required
string
: Azure subscription ID. - location required
string
: The location in which uniqueness will be verified. - checkNameAvailability required CheckNameAvailabilityRequest
- api-version required
string
: Version of the API to be used with the client request.
- subscriptionId required
- CheckNameAvailabilityRequest
object
: Check Name Availability Request- name required
string
: Resource Name To Verify - type required
string
: Fully qualified resource type which includes provider namespace
- name required
- CheckNameAvailabilityResponse
object
: Check Name Availability Response- message
string
: detail message - nameAvailable required NameAvailability
- reason NameUnavailableReason
- message
- NameAvailability
string
(values: true, false): Whether or not the name is available.
- NameUnavailableReason
string
(values: Invalid, AlreadyExists): reason of name unavailable.
- Operation
object
: REST API operation- display OperationDisplay
- name
string
: Operation name: {provider}/{resource}/{operation}
- OperationDisplay
object
: The object that represents the operation.- description required
string
: Description of operation - operation required
string
: Operation type: Read, write, delete, etc. - provider required
string
: Service provider: Microsoft.ResourceProvider - resource required
string
: Resource on which the operation is performed: Profile, endpoint, etc.
- description required
- OperationPage
object
: Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.- nextLink
string
: URL to get the next set of operation list results if there are any. - value
array
: List of operations supported by the Resource Provider.- items Operation
- nextLink