@azure/arm-mixedreality 2.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +72 -73
- package/dist/index.js +2016 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
- package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/mixedRealityClient.d.ts +28 -0
- package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
- package/dist-esm/src/mixedRealityClient.js +89 -0
- package/dist-esm/src/mixedRealityClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +444 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +473 -288
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +135 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +75 -32
- package/review/arm-mixedreality.api.md +436 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/mixedRealityClient.ts +104 -77
- package/src/models/index.ts +405 -735
- package/src/models/mappers.ts +478 -295
- package/src/models/parameters.ts +93 -47
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +87 -73
- package/src/operations/remoteRenderingAccounts.ts +321 -389
- package/src/operations/spatialAnchorsAccounts.ts +321 -389
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
- package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
- package/tsconfig.json +5 -4
- package/types/arm-mixedreality.d.ts +674 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-mixedreality.js +0 -1756
- package/dist/arm-mixedreality.js.map +0 -1
- package/dist/arm-mixedreality.min.js +0 -1
- package/dist/arm-mixedreality.min.js.map +0 -1
- package/esm/mixedRealityClient.d.ts +0 -42
- package/esm/mixedRealityClient.d.ts.map +0 -1
- package/esm/mixedRealityClient.js +0 -73
- package/esm/mixedRealityClient.js.map +0 -1
- package/esm/mixedRealityClientContext.d.ts +0 -16
- package/esm/mixedRealityClientContext.d.ts.map +0 -1
- package/esm/mixedRealityClientContext.js +0 -56
- package/esm/mixedRealityClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -778
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -27
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -110
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
- package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
- package/esm/models/remoteRenderingAccountsMappers.js +0 -9
- package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
- package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
- package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
- package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
- package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
- package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
- package/esm/operations/remoteRenderingAccounts.js +0 -339
- package/esm/operations/remoteRenderingAccounts.js.map +0 -1
- package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
- package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
- package/esm/operations/spatialAnchorsAccounts.js +0 -339
- package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
- package/src/mixedRealityClientContext.ts +0 -61
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/remoteRenderingAccountsMappers.ts +0 -29
- package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -1,145 +1,209 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import * as
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { RemoteRenderingAccounts } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
14
13
|
import * as Parameters from "../models/parameters";
|
15
|
-
import {
|
14
|
+
import { MixedRealityClient } from "../mixedRealityClient";
|
15
|
+
import {
|
16
|
+
RemoteRenderingAccount,
|
17
|
+
RemoteRenderingAccountsListBySubscriptionNextOptionalParams,
|
18
|
+
RemoteRenderingAccountsListBySubscriptionOptionalParams,
|
19
|
+
RemoteRenderingAccountsListByResourceGroupNextOptionalParams,
|
20
|
+
RemoteRenderingAccountsListByResourceGroupOptionalParams,
|
21
|
+
RemoteRenderingAccountsListBySubscriptionResponse,
|
22
|
+
RemoteRenderingAccountsListByResourceGroupResponse,
|
23
|
+
RemoteRenderingAccountsDeleteOptionalParams,
|
24
|
+
RemoteRenderingAccountsGetOptionalParams,
|
25
|
+
RemoteRenderingAccountsGetResponse,
|
26
|
+
RemoteRenderingAccountsUpdateOptionalParams,
|
27
|
+
RemoteRenderingAccountsUpdateResponse,
|
28
|
+
RemoteRenderingAccountsCreateOptionalParams,
|
29
|
+
RemoteRenderingAccountsCreateResponse,
|
30
|
+
RemoteRenderingAccountsListKeysOptionalParams,
|
31
|
+
RemoteRenderingAccountsListKeysResponse,
|
32
|
+
AccountKeyRegenerateRequest,
|
33
|
+
RemoteRenderingAccountsRegenerateKeysOptionalParams,
|
34
|
+
RemoteRenderingAccountsRegenerateKeysResponse,
|
35
|
+
RemoteRenderingAccountsListBySubscriptionNextResponse,
|
36
|
+
RemoteRenderingAccountsListByResourceGroupNextResponse
|
37
|
+
} from "../models";
|
16
38
|
|
17
|
-
|
18
|
-
|
19
|
-
|
39
|
+
/// <reference lib="esnext.asynciterable" />
|
40
|
+
/** Class containing RemoteRenderingAccounts operations. */
|
41
|
+
export class RemoteRenderingAccountsImpl implements RemoteRenderingAccounts {
|
42
|
+
private readonly client: MixedRealityClient;
|
20
43
|
|
21
44
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
45
|
+
* Initialize a new instance of the class RemoteRenderingAccounts class.
|
46
|
+
* @param client Reference to the service client
|
24
47
|
*/
|
25
|
-
constructor(client:
|
48
|
+
constructor(client: MixedRealityClient) {
|
26
49
|
this.client = client;
|
27
50
|
}
|
28
51
|
|
29
52
|
/**
|
30
53
|
* List Remote Rendering Accounts by Subscription
|
31
|
-
* @param
|
32
|
-
* @returns Promise<Models.RemoteRenderingAccountsListBySubscriptionResponse>
|
54
|
+
* @param options The options parameters.
|
33
55
|
*/
|
34
|
-
listBySubscription(
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RemoteRenderingAccountPage>, callback?: msRest.ServiceCallback<Models.RemoteRenderingAccountPage>): Promise<Models.RemoteRenderingAccountsListBySubscriptionResponse> {
|
45
|
-
return this.client.sendOperationRequest(
|
46
|
-
{
|
47
|
-
options
|
56
|
+
public listBySubscription(
|
57
|
+
options?: RemoteRenderingAccountsListBySubscriptionOptionalParams
|
58
|
+
): PagedAsyncIterableIterator<RemoteRenderingAccount> {
|
59
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
60
|
+
return {
|
61
|
+
next() {
|
62
|
+
return iter.next();
|
63
|
+
},
|
64
|
+
[Symbol.asyncIterator]() {
|
65
|
+
return this;
|
48
66
|
},
|
49
|
-
|
50
|
-
|
67
|
+
byPage: () => {
|
68
|
+
return this.listBySubscriptionPagingPage(options);
|
69
|
+
}
|
70
|
+
};
|
71
|
+
}
|
72
|
+
|
73
|
+
private async *listBySubscriptionPagingPage(
|
74
|
+
options?: RemoteRenderingAccountsListBySubscriptionOptionalParams
|
75
|
+
): AsyncIterableIterator<RemoteRenderingAccount[]> {
|
76
|
+
let result = await this._listBySubscription(options);
|
77
|
+
yield result.value || [];
|
78
|
+
let continuationToken = result.nextLink;
|
79
|
+
while (continuationToken) {
|
80
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
81
|
+
continuationToken = result.nextLink;
|
82
|
+
yield result.value || [];
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
private async *listBySubscriptionPagingAll(
|
87
|
+
options?: RemoteRenderingAccountsListBySubscriptionOptionalParams
|
88
|
+
): AsyncIterableIterator<RemoteRenderingAccount> {
|
89
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
90
|
+
yield* page;
|
91
|
+
}
|
51
92
|
}
|
52
93
|
|
53
94
|
/**
|
54
95
|
* List Resources by Resource Group
|
55
96
|
* @param resourceGroupName Name of an Azure resource group.
|
56
|
-
* @param
|
57
|
-
* @returns Promise<Models.RemoteRenderingAccountsListByResourceGroupResponse>
|
58
|
-
*/
|
59
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsListByResourceGroupResponse>;
|
60
|
-
/**
|
61
|
-
* @param resourceGroupName Name of an Azure resource group.
|
62
|
-
* @param callback The callback
|
97
|
+
* @param options The options parameters.
|
63
98
|
*/
|
64
|
-
listByResourceGroup(
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
{
|
99
|
+
public listByResourceGroup(
|
100
|
+
resourceGroupName: string,
|
101
|
+
options?: RemoteRenderingAccountsListByResourceGroupOptionalParams
|
102
|
+
): PagedAsyncIterableIterator<RemoteRenderingAccount> {
|
103
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
104
|
+
return {
|
105
|
+
next() {
|
106
|
+
return iter.next();
|
107
|
+
},
|
108
|
+
[Symbol.asyncIterator]() {
|
109
|
+
return this;
|
110
|
+
},
|
111
|
+
byPage: () => {
|
112
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
113
|
+
}
|
114
|
+
};
|
115
|
+
}
|
116
|
+
|
117
|
+
private async *listByResourceGroupPagingPage(
|
118
|
+
resourceGroupName: string,
|
119
|
+
options?: RemoteRenderingAccountsListByResourceGroupOptionalParams
|
120
|
+
): AsyncIterableIterator<RemoteRenderingAccount[]> {
|
121
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
122
|
+
yield result.value || [];
|
123
|
+
let continuationToken = result.nextLink;
|
124
|
+
while (continuationToken) {
|
125
|
+
result = await this._listByResourceGroupNext(
|
74
126
|
resourceGroupName,
|
127
|
+
continuationToken,
|
75
128
|
options
|
76
|
-
|
77
|
-
|
78
|
-
|
129
|
+
);
|
130
|
+
continuationToken = result.nextLink;
|
131
|
+
yield result.value || [];
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
private async *listByResourceGroupPagingAll(
|
136
|
+
resourceGroupName: string,
|
137
|
+
options?: RemoteRenderingAccountsListByResourceGroupOptionalParams
|
138
|
+
): AsyncIterableIterator<RemoteRenderingAccount> {
|
139
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
140
|
+
resourceGroupName,
|
141
|
+
options
|
142
|
+
)) {
|
143
|
+
yield* page;
|
144
|
+
}
|
79
145
|
}
|
80
146
|
|
81
147
|
/**
|
82
|
-
*
|
83
|
-
* @param
|
84
|
-
* @param accountName Name of an Mixed Reality Account.
|
85
|
-
* @param [options] The optional parameters
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
148
|
+
* List Remote Rendering Accounts by Subscription
|
149
|
+
* @param options The options parameters.
|
87
150
|
*/
|
88
|
-
|
151
|
+
private _listBySubscription(
|
152
|
+
options?: RemoteRenderingAccountsListBySubscriptionOptionalParams
|
153
|
+
): Promise<RemoteRenderingAccountsListBySubscriptionResponse> {
|
154
|
+
return this.client.sendOperationRequest(
|
155
|
+
{ options },
|
156
|
+
listBySubscriptionOperationSpec
|
157
|
+
);
|
158
|
+
}
|
159
|
+
|
89
160
|
/**
|
161
|
+
* List Resources by Resource Group
|
90
162
|
* @param resourceGroupName Name of an Azure resource group.
|
91
|
-
* @param
|
92
|
-
* @param callback The callback
|
163
|
+
* @param options The options parameters.
|
93
164
|
*/
|
94
|
-
|
165
|
+
private _listByResourceGroup(
|
166
|
+
resourceGroupName: string,
|
167
|
+
options?: RemoteRenderingAccountsListByResourceGroupOptionalParams
|
168
|
+
): Promise<RemoteRenderingAccountsListByResourceGroupResponse> {
|
169
|
+
return this.client.sendOperationRequest(
|
170
|
+
{ resourceGroupName, options },
|
171
|
+
listByResourceGroupOperationSpec
|
172
|
+
);
|
173
|
+
}
|
174
|
+
|
95
175
|
/**
|
176
|
+
* Delete a Remote Rendering Account.
|
96
177
|
* @param resourceGroupName Name of an Azure resource group.
|
97
178
|
* @param accountName Name of an Mixed Reality Account.
|
98
|
-
* @param options The
|
99
|
-
* @param callback The callback
|
179
|
+
* @param options The options parameters.
|
100
180
|
*/
|
101
|
-
|
102
|
-
|
181
|
+
delete(
|
182
|
+
resourceGroupName: string,
|
183
|
+
accountName: string,
|
184
|
+
options?: RemoteRenderingAccountsDeleteOptionalParams
|
185
|
+
): Promise<void> {
|
103
186
|
return this.client.sendOperationRequest(
|
104
|
-
{
|
105
|
-
|
106
|
-
|
107
|
-
options
|
108
|
-
},
|
109
|
-
deleteMethodOperationSpec,
|
110
|
-
callback);
|
187
|
+
{ resourceGroupName, accountName, options },
|
188
|
+
deleteOperationSpec
|
189
|
+
);
|
111
190
|
}
|
112
191
|
|
113
192
|
/**
|
114
193
|
* Retrieve a Remote Rendering Account.
|
115
194
|
* @param resourceGroupName Name of an Azure resource group.
|
116
195
|
* @param accountName Name of an Mixed Reality Account.
|
117
|
-
* @param
|
118
|
-
* @returns Promise<Models.RemoteRenderingAccountsGetResponse>
|
119
|
-
*/
|
120
|
-
get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsGetResponse>;
|
121
|
-
/**
|
122
|
-
* @param resourceGroupName Name of an Azure resource group.
|
123
|
-
* @param accountName Name of an Mixed Reality Account.
|
124
|
-
* @param callback The callback
|
196
|
+
* @param options The options parameters.
|
125
197
|
*/
|
126
|
-
get(
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
* @param callback The callback
|
132
|
-
*/
|
133
|
-
get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RemoteRenderingAccount>): void;
|
134
|
-
get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RemoteRenderingAccount>, callback?: msRest.ServiceCallback<Models.RemoteRenderingAccount>): Promise<Models.RemoteRenderingAccountsGetResponse> {
|
198
|
+
get(
|
199
|
+
resourceGroupName: string,
|
200
|
+
accountName: string,
|
201
|
+
options?: RemoteRenderingAccountsGetOptionalParams
|
202
|
+
): Promise<RemoteRenderingAccountsGetResponse> {
|
135
203
|
return this.client.sendOperationRequest(
|
136
|
-
{
|
137
|
-
|
138
|
-
|
139
|
-
options
|
140
|
-
},
|
141
|
-
getOperationSpec,
|
142
|
-
callback) as Promise<Models.RemoteRenderingAccountsGetResponse>;
|
204
|
+
{ resourceGroupName, accountName, options },
|
205
|
+
getOperationSpec
|
206
|
+
);
|
143
207
|
}
|
144
208
|
|
145
209
|
/**
|
@@ -147,35 +211,18 @@ export class RemoteRenderingAccounts {
|
|
147
211
|
* @param resourceGroupName Name of an Azure resource group.
|
148
212
|
* @param accountName Name of an Mixed Reality Account.
|
149
213
|
* @param remoteRenderingAccount Remote Rendering Account parameter.
|
150
|
-
* @param
|
151
|
-
* @returns Promise<Models.RemoteRenderingAccountsUpdateResponse>
|
214
|
+
* @param options The options parameters.
|
152
215
|
*/
|
153
|
-
update(
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
*/
|
160
|
-
update(resourceGroupName: string, accountName: string, remoteRenderingAccount: Models.RemoteRenderingAccount, callback: msRest.ServiceCallback<Models.RemoteRenderingAccount>): void;
|
161
|
-
/**
|
162
|
-
* @param resourceGroupName Name of an Azure resource group.
|
163
|
-
* @param accountName Name of an Mixed Reality Account.
|
164
|
-
* @param remoteRenderingAccount Remote Rendering Account parameter.
|
165
|
-
* @param options The optional parameters
|
166
|
-
* @param callback The callback
|
167
|
-
*/
|
168
|
-
update(resourceGroupName: string, accountName: string, remoteRenderingAccount: Models.RemoteRenderingAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RemoteRenderingAccount>): void;
|
169
|
-
update(resourceGroupName: string, accountName: string, remoteRenderingAccount: Models.RemoteRenderingAccount, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RemoteRenderingAccount>, callback?: msRest.ServiceCallback<Models.RemoteRenderingAccount>): Promise<Models.RemoteRenderingAccountsUpdateResponse> {
|
216
|
+
update(
|
217
|
+
resourceGroupName: string,
|
218
|
+
accountName: string,
|
219
|
+
remoteRenderingAccount: RemoteRenderingAccount,
|
220
|
+
options?: RemoteRenderingAccountsUpdateOptionalParams
|
221
|
+
): Promise<RemoteRenderingAccountsUpdateResponse> {
|
170
222
|
return this.client.sendOperationRequest(
|
171
|
-
{
|
172
|
-
|
173
|
-
|
174
|
-
remoteRenderingAccount,
|
175
|
-
options
|
176
|
-
},
|
177
|
-
updateOperationSpec,
|
178
|
-
callback) as Promise<Models.RemoteRenderingAccountsUpdateResponse>;
|
223
|
+
{ resourceGroupName, accountName, remoteRenderingAccount, options },
|
224
|
+
updateOperationSpec
|
225
|
+
);
|
179
226
|
}
|
180
227
|
|
181
228
|
/**
|
@@ -183,67 +230,35 @@ export class RemoteRenderingAccounts {
|
|
183
230
|
* @param resourceGroupName Name of an Azure resource group.
|
184
231
|
* @param accountName Name of an Mixed Reality Account.
|
185
232
|
* @param remoteRenderingAccount Remote Rendering Account parameter.
|
186
|
-
* @param
|
187
|
-
* @returns Promise<Models.RemoteRenderingAccountsCreateResponse>
|
188
|
-
*/
|
189
|
-
create(resourceGroupName: string, accountName: string, remoteRenderingAccount: Models.RemoteRenderingAccount, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsCreateResponse>;
|
190
|
-
/**
|
191
|
-
* @param resourceGroupName Name of an Azure resource group.
|
192
|
-
* @param accountName Name of an Mixed Reality Account.
|
193
|
-
* @param remoteRenderingAccount Remote Rendering Account parameter.
|
194
|
-
* @param callback The callback
|
195
|
-
*/
|
196
|
-
create(resourceGroupName: string, accountName: string, remoteRenderingAccount: Models.RemoteRenderingAccount, callback: msRest.ServiceCallback<Models.RemoteRenderingAccount>): void;
|
197
|
-
/**
|
198
|
-
* @param resourceGroupName Name of an Azure resource group.
|
199
|
-
* @param accountName Name of an Mixed Reality Account.
|
200
|
-
* @param remoteRenderingAccount Remote Rendering Account parameter.
|
201
|
-
* @param options The optional parameters
|
202
|
-
* @param callback The callback
|
233
|
+
* @param options The options parameters.
|
203
234
|
*/
|
204
|
-
create(
|
205
|
-
|
235
|
+
create(
|
236
|
+
resourceGroupName: string,
|
237
|
+
accountName: string,
|
238
|
+
remoteRenderingAccount: RemoteRenderingAccount,
|
239
|
+
options?: RemoteRenderingAccountsCreateOptionalParams
|
240
|
+
): Promise<RemoteRenderingAccountsCreateResponse> {
|
206
241
|
return this.client.sendOperationRequest(
|
207
|
-
{
|
208
|
-
|
209
|
-
|
210
|
-
remoteRenderingAccount,
|
211
|
-
options
|
212
|
-
},
|
213
|
-
createOperationSpec,
|
214
|
-
callback) as Promise<Models.RemoteRenderingAccountsCreateResponse>;
|
242
|
+
{ resourceGroupName, accountName, remoteRenderingAccount, options },
|
243
|
+
createOperationSpec
|
244
|
+
);
|
215
245
|
}
|
216
246
|
|
217
247
|
/**
|
218
248
|
* List Both of the 2 Keys of a Remote Rendering Account
|
219
249
|
* @param resourceGroupName Name of an Azure resource group.
|
220
250
|
* @param accountName Name of an Mixed Reality Account.
|
221
|
-
* @param
|
222
|
-
* @returns Promise<Models.RemoteRenderingAccountsListKeysResponse>
|
251
|
+
* @param options The options parameters.
|
223
252
|
*/
|
224
|
-
listKeys(
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
*/
|
230
|
-
listKeys(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
|
231
|
-
/**
|
232
|
-
* @param resourceGroupName Name of an Azure resource group.
|
233
|
-
* @param accountName Name of an Mixed Reality Account.
|
234
|
-
* @param options The optional parameters
|
235
|
-
* @param callback The callback
|
236
|
-
*/
|
237
|
-
listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
|
238
|
-
listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccountKeys>, callback?: msRest.ServiceCallback<Models.AccountKeys>): Promise<Models.RemoteRenderingAccountsListKeysResponse> {
|
253
|
+
listKeys(
|
254
|
+
resourceGroupName: string,
|
255
|
+
accountName: string,
|
256
|
+
options?: RemoteRenderingAccountsListKeysOptionalParams
|
257
|
+
): Promise<RemoteRenderingAccountsListKeysResponse> {
|
239
258
|
return this.client.sendOperationRequest(
|
240
|
-
{
|
241
|
-
|
242
|
-
|
243
|
-
options
|
244
|
-
},
|
245
|
-
listKeysOperationSpec,
|
246
|
-
callback) as Promise<Models.RemoteRenderingAccountsListKeysResponse>;
|
259
|
+
{ resourceGroupName, accountName, options },
|
260
|
+
listKeysOperationSpec
|
261
|
+
);
|
247
262
|
}
|
248
263
|
|
249
264
|
/**
|
@@ -251,108 +266,59 @@ export class RemoteRenderingAccounts {
|
|
251
266
|
* @param resourceGroupName Name of an Azure resource group.
|
252
267
|
* @param accountName Name of an Mixed Reality Account.
|
253
268
|
* @param regenerate Required information for key regeneration.
|
254
|
-
* @param
|
255
|
-
* @returns Promise<Models.RemoteRenderingAccountsRegenerateKeysResponse>
|
256
|
-
*/
|
257
|
-
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsRegenerateKeysResponse>;
|
258
|
-
/**
|
259
|
-
* @param resourceGroupName Name of an Azure resource group.
|
260
|
-
* @param accountName Name of an Mixed Reality Account.
|
261
|
-
* @param regenerate Required information for key regeneration.
|
262
|
-
* @param callback The callback
|
269
|
+
* @param options The options parameters.
|
263
270
|
*/
|
264
|
-
regenerateKeys(
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
* @param callback The callback
|
271
|
-
*/
|
272
|
-
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
|
273
|
-
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccountKeys>, callback?: msRest.ServiceCallback<Models.AccountKeys>): Promise<Models.RemoteRenderingAccountsRegenerateKeysResponse> {
|
271
|
+
regenerateKeys(
|
272
|
+
resourceGroupName: string,
|
273
|
+
accountName: string,
|
274
|
+
regenerate: AccountKeyRegenerateRequest,
|
275
|
+
options?: RemoteRenderingAccountsRegenerateKeysOptionalParams
|
276
|
+
): Promise<RemoteRenderingAccountsRegenerateKeysResponse> {
|
274
277
|
return this.client.sendOperationRequest(
|
275
|
-
{
|
276
|
-
|
277
|
-
|
278
|
-
regenerate,
|
279
|
-
options
|
280
|
-
},
|
281
|
-
regenerateKeysOperationSpec,
|
282
|
-
callback) as Promise<Models.RemoteRenderingAccountsRegenerateKeysResponse>;
|
278
|
+
{ resourceGroupName, accountName, regenerate, options },
|
279
|
+
regenerateKeysOperationSpec
|
280
|
+
);
|
283
281
|
}
|
284
282
|
|
285
283
|
/**
|
286
|
-
*
|
287
|
-
* @param
|
288
|
-
* @param
|
289
|
-
* @returns Promise<Models.RemoteRenderingAccountsListBySubscriptionNextResponse>
|
290
|
-
*/
|
291
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsListBySubscriptionNextResponse>;
|
292
|
-
/**
|
293
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
294
|
-
* @param callback The callback
|
295
|
-
*/
|
296
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RemoteRenderingAccountPage>): void;
|
297
|
-
/**
|
298
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
299
|
-
* @param options The optional parameters
|
300
|
-
* @param callback The callback
|
284
|
+
* ListBySubscriptionNext
|
285
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
286
|
+
* @param options The options parameters.
|
301
287
|
*/
|
302
|
-
|
303
|
-
|
288
|
+
private _listBySubscriptionNext(
|
289
|
+
nextLink: string,
|
290
|
+
options?: RemoteRenderingAccountsListBySubscriptionNextOptionalParams
|
291
|
+
): Promise<RemoteRenderingAccountsListBySubscriptionNextResponse> {
|
304
292
|
return this.client.sendOperationRequest(
|
305
|
-
{
|
306
|
-
|
307
|
-
|
308
|
-
},
|
309
|
-
listBySubscriptionNextOperationSpec,
|
310
|
-
callback) as Promise<Models.RemoteRenderingAccountsListBySubscriptionNextResponse>;
|
293
|
+
{ nextLink, options },
|
294
|
+
listBySubscriptionNextOperationSpec
|
295
|
+
);
|
311
296
|
}
|
312
297
|
|
313
298
|
/**
|
314
|
-
*
|
315
|
-
* @param
|
316
|
-
* @param
|
317
|
-
* @
|
318
|
-
*/
|
319
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RemoteRenderingAccountsListByResourceGroupNextResponse>;
|
320
|
-
/**
|
321
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
322
|
-
* @param callback The callback
|
323
|
-
*/
|
324
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RemoteRenderingAccountPage>): void;
|
325
|
-
/**
|
326
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
327
|
-
* @param options The optional parameters
|
328
|
-
* @param callback The callback
|
299
|
+
* ListByResourceGroupNext
|
300
|
+
* @param resourceGroupName Name of an Azure resource group.
|
301
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
302
|
+
* @param options The options parameters.
|
329
303
|
*/
|
330
|
-
|
331
|
-
|
304
|
+
private _listByResourceGroupNext(
|
305
|
+
resourceGroupName: string,
|
306
|
+
nextLink: string,
|
307
|
+
options?: RemoteRenderingAccountsListByResourceGroupNextOptionalParams
|
308
|
+
): Promise<RemoteRenderingAccountsListByResourceGroupNextResponse> {
|
332
309
|
return this.client.sendOperationRequest(
|
333
|
-
{
|
334
|
-
|
335
|
-
|
336
|
-
},
|
337
|
-
listByResourceGroupNextOperationSpec,
|
338
|
-
callback) as Promise<Models.RemoteRenderingAccountsListByResourceGroupNextResponse>;
|
310
|
+
{ resourceGroupName, nextLink, options },
|
311
|
+
listByResourceGroupNextOperationSpec
|
312
|
+
);
|
339
313
|
}
|
340
314
|
}
|
341
|
-
|
342
315
|
// Operation Specifications
|
343
|
-
const serializer =
|
344
|
-
|
316
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
317
|
+
|
318
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
319
|
+
path:
|
320
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
|
345
321
|
httpMethod: "GET",
|
346
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
|
347
|
-
urlParameters: [
|
348
|
-
Parameters.subscriptionId
|
349
|
-
],
|
350
|
-
queryParameters: [
|
351
|
-
Parameters.apiVersion1
|
352
|
-
],
|
353
|
-
headerParameters: [
|
354
|
-
Parameters.acceptLanguage
|
355
|
-
],
|
356
322
|
responses: {
|
357
323
|
200: {
|
358
324
|
bodyMapper: Mappers.RemoteRenderingAccountPage
|
@@ -361,22 +327,15 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
361
327
|
bodyMapper: Mappers.CloudError
|
362
328
|
}
|
363
329
|
},
|
330
|
+
queryParameters: [Parameters.apiVersion],
|
331
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
332
|
+
headerParameters: [Parameters.accept],
|
364
333
|
serializer
|
365
334
|
};
|
366
|
-
|
367
|
-
|
335
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
336
|
+
path:
|
337
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
|
368
338
|
httpMethod: "GET",
|
369
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
|
370
|
-
urlParameters: [
|
371
|
-
Parameters.subscriptionId,
|
372
|
-
Parameters.resourceGroupName
|
373
|
-
],
|
374
|
-
queryParameters: [
|
375
|
-
Parameters.apiVersion1
|
376
|
-
],
|
377
|
-
headerParameters: [
|
378
|
-
Parameters.acceptLanguage
|
379
|
-
],
|
380
339
|
responses: {
|
381
340
|
200: {
|
382
341
|
bodyMapper: Mappers.RemoteRenderingAccountPage
|
@@ -385,23 +344,19 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
385
344
|
bodyMapper: Mappers.CloudError
|
386
345
|
}
|
387
346
|
},
|
388
|
-
|
389
|
-
};
|
390
|
-
|
391
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
392
|
-
httpMethod: "DELETE",
|
393
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
347
|
+
queryParameters: [Parameters.apiVersion],
|
394
348
|
urlParameters: [
|
349
|
+
Parameters.$host,
|
395
350
|
Parameters.subscriptionId,
|
396
|
-
Parameters.resourceGroupName
|
397
|
-
Parameters.accountName
|
398
|
-
],
|
399
|
-
queryParameters: [
|
400
|
-
Parameters.apiVersion1
|
401
|
-
],
|
402
|
-
headerParameters: [
|
403
|
-
Parameters.acceptLanguage
|
351
|
+
Parameters.resourceGroupName
|
404
352
|
],
|
353
|
+
headerParameters: [Parameters.accept],
|
354
|
+
serializer
|
355
|
+
};
|
356
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
357
|
+
path:
|
358
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
359
|
+
httpMethod: "DELETE",
|
405
360
|
responses: {
|
406
361
|
200: {},
|
407
362
|
204: {},
|
@@ -409,23 +364,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
409
364
|
bodyMapper: Mappers.CloudError
|
410
365
|
}
|
411
366
|
},
|
412
|
-
|
413
|
-
};
|
414
|
-
|
415
|
-
const getOperationSpec: msRest.OperationSpec = {
|
416
|
-
httpMethod: "GET",
|
417
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
367
|
+
queryParameters: [Parameters.apiVersion],
|
418
368
|
urlParameters: [
|
369
|
+
Parameters.$host,
|
419
370
|
Parameters.subscriptionId,
|
420
371
|
Parameters.resourceGroupName,
|
421
372
|
Parameters.accountName
|
422
373
|
],
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
374
|
+
headerParameters: [Parameters.accept],
|
375
|
+
serializer
|
376
|
+
};
|
377
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
378
|
+
path:
|
379
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
380
|
+
httpMethod: "GET",
|
429
381
|
responses: {
|
430
382
|
200: {
|
431
383
|
bodyMapper: Mappers.RemoteRenderingAccount
|
@@ -434,30 +386,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
434
386
|
bodyMapper: Mappers.CloudError
|
435
387
|
}
|
436
388
|
},
|
437
|
-
|
438
|
-
};
|
439
|
-
|
440
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
441
|
-
httpMethod: "PATCH",
|
442
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
389
|
+
queryParameters: [Parameters.apiVersion],
|
443
390
|
urlParameters: [
|
391
|
+
Parameters.$host,
|
444
392
|
Parameters.subscriptionId,
|
445
393
|
Parameters.resourceGroupName,
|
446
394
|
Parameters.accountName
|
447
395
|
],
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
parameterPath: "remoteRenderingAccount",
|
456
|
-
mapper: {
|
457
|
-
...Mappers.RemoteRenderingAccount,
|
458
|
-
required: true
|
459
|
-
}
|
460
|
-
},
|
396
|
+
headerParameters: [Parameters.accept],
|
397
|
+
serializer
|
398
|
+
};
|
399
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
400
|
+
path:
|
401
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
402
|
+
httpMethod: "PATCH",
|
461
403
|
responses: {
|
462
404
|
200: {
|
463
405
|
bodyMapper: Mappers.RemoteRenderingAccount
|
@@ -466,30 +408,22 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
466
408
|
bodyMapper: Mappers.CloudError
|
467
409
|
}
|
468
410
|
},
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
const createOperationSpec: msRest.OperationSpec = {
|
473
|
-
httpMethod: "PUT",
|
474
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
411
|
+
requestBody: Parameters.remoteRenderingAccount,
|
412
|
+
queryParameters: [Parameters.apiVersion],
|
475
413
|
urlParameters: [
|
414
|
+
Parameters.$host,
|
476
415
|
Parameters.subscriptionId,
|
477
416
|
Parameters.resourceGroupName,
|
478
417
|
Parameters.accountName
|
479
418
|
],
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
mapper: {
|
489
|
-
...Mappers.RemoteRenderingAccount,
|
490
|
-
required: true
|
491
|
-
}
|
492
|
-
},
|
419
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
420
|
+
mediaType: "json",
|
421
|
+
serializer
|
422
|
+
};
|
423
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
424
|
+
path:
|
425
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
|
426
|
+
httpMethod: "PUT",
|
493
427
|
responses: {
|
494
428
|
200: {
|
495
429
|
bodyMapper: Mappers.RemoteRenderingAccount
|
@@ -501,23 +435,22 @@ const createOperationSpec: msRest.OperationSpec = {
|
|
501
435
|
bodyMapper: Mappers.CloudError
|
502
436
|
}
|
503
437
|
},
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
const listKeysOperationSpec: msRest.OperationSpec = {
|
508
|
-
httpMethod: "POST",
|
509
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys",
|
438
|
+
requestBody: Parameters.remoteRenderingAccount,
|
439
|
+
queryParameters: [Parameters.apiVersion],
|
510
440
|
urlParameters: [
|
441
|
+
Parameters.$host,
|
511
442
|
Parameters.subscriptionId,
|
512
443
|
Parameters.resourceGroupName,
|
513
444
|
Parameters.accountName
|
514
445
|
],
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
446
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
447
|
+
mediaType: "json",
|
448
|
+
serializer
|
449
|
+
};
|
450
|
+
const listKeysOperationSpec: coreClient.OperationSpec = {
|
451
|
+
path:
|
452
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys",
|
453
|
+
httpMethod: "POST",
|
521
454
|
responses: {
|
522
455
|
200: {
|
523
456
|
bodyMapper: Mappers.AccountKeys
|
@@ -526,30 +459,20 @@ const listKeysOperationSpec: msRest.OperationSpec = {
|
|
526
459
|
bodyMapper: Mappers.CloudError
|
527
460
|
}
|
528
461
|
},
|
529
|
-
|
530
|
-
};
|
531
|
-
|
532
|
-
const regenerateKeysOperationSpec: msRest.OperationSpec = {
|
533
|
-
httpMethod: "POST",
|
534
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/regenerateKeys",
|
462
|
+
queryParameters: [Parameters.apiVersion],
|
535
463
|
urlParameters: [
|
464
|
+
Parameters.$host,
|
536
465
|
Parameters.subscriptionId,
|
537
466
|
Parameters.resourceGroupName,
|
538
467
|
Parameters.accountName
|
539
468
|
],
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
parameterPath: "regenerate",
|
548
|
-
mapper: {
|
549
|
-
...Mappers.AccountKeyRegenerateRequest,
|
550
|
-
required: true
|
551
|
-
}
|
552
|
-
},
|
469
|
+
headerParameters: [Parameters.accept],
|
470
|
+
serializer
|
471
|
+
};
|
472
|
+
const regenerateKeysOperationSpec: coreClient.OperationSpec = {
|
473
|
+
path:
|
474
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/regenerateKeys",
|
475
|
+
httpMethod: "POST",
|
553
476
|
responses: {
|
554
477
|
200: {
|
555
478
|
bodyMapper: Mappers.AccountKeys
|
@@ -558,19 +481,21 @@ const regenerateKeysOperationSpec: msRest.OperationSpec = {
|
|
558
481
|
bodyMapper: Mappers.CloudError
|
559
482
|
}
|
560
483
|
},
|
484
|
+
requestBody: Parameters.regenerate,
|
485
|
+
queryParameters: [Parameters.apiVersion],
|
486
|
+
urlParameters: [
|
487
|
+
Parameters.$host,
|
488
|
+
Parameters.subscriptionId,
|
489
|
+
Parameters.resourceGroupName,
|
490
|
+
Parameters.accountName
|
491
|
+
],
|
492
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
493
|
+
mediaType: "json",
|
561
494
|
serializer
|
562
495
|
};
|
563
|
-
|
564
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
565
|
-
httpMethod: "GET",
|
566
|
-
baseUrl: "https://management.azure.com",
|
496
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
567
497
|
path: "{nextLink}",
|
568
|
-
|
569
|
-
Parameters.nextPageLink
|
570
|
-
],
|
571
|
-
headerParameters: [
|
572
|
-
Parameters.acceptLanguage
|
573
|
-
],
|
498
|
+
httpMethod: "GET",
|
574
499
|
responses: {
|
575
500
|
200: {
|
576
501
|
bodyMapper: Mappers.RemoteRenderingAccountPage
|
@@ -579,19 +504,18 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
579
504
|
bodyMapper: Mappers.CloudError
|
580
505
|
}
|
581
506
|
},
|
507
|
+
queryParameters: [Parameters.apiVersion],
|
508
|
+
urlParameters: [
|
509
|
+
Parameters.$host,
|
510
|
+
Parameters.nextLink,
|
511
|
+
Parameters.subscriptionId
|
512
|
+
],
|
513
|
+
headerParameters: [Parameters.accept],
|
582
514
|
serializer
|
583
515
|
};
|
584
|
-
|
585
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
586
|
-
httpMethod: "GET",
|
587
|
-
baseUrl: "https://management.azure.com",
|
516
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
588
517
|
path: "{nextLink}",
|
589
|
-
|
590
|
-
Parameters.nextPageLink
|
591
|
-
],
|
592
|
-
headerParameters: [
|
593
|
-
Parameters.acceptLanguage
|
594
|
-
],
|
518
|
+
httpMethod: "GET",
|
595
519
|
responses: {
|
596
520
|
200: {
|
597
521
|
bodyMapper: Mappers.RemoteRenderingAccountPage
|
@@ -600,5 +524,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
600
524
|
bodyMapper: Mappers.CloudError
|
601
525
|
}
|
602
526
|
},
|
527
|
+
queryParameters: [Parameters.apiVersion],
|
528
|
+
urlParameters: [
|
529
|
+
Parameters.$host,
|
530
|
+
Parameters.nextLink,
|
531
|
+
Parameters.subscriptionId,
|
532
|
+
Parameters.resourceGroupName
|
533
|
+
],
|
534
|
+
headerParameters: [Parameters.accept],
|
603
535
|
serializer
|
604
536
|
};
|