@azure/arm-storageimportexport 1.3.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +1999 -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/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/models/index.d.ts +504 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +40 -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 +570 -422
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +79 -49
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/bitLockerKeys.d.ts +32 -0
- package/dist-esm/src/operations/bitLockerKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/bitLockerKeys.js +101 -0
- package/dist-esm/src/operations/bitLockerKeys.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/jobs.d.ts +92 -0
- package/dist-esm/src/operations/jobs.d.ts.map +1 -0
- package/dist-esm/src/operations/jobs.js +376 -0
- package/dist-esm/src/operations/jobs.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +35 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +117 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/bitLockerKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.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/storageImportExport.d.ts +22 -0
- package/dist-esm/src/storageImportExport.d.ts.map +1 -0
- package/dist-esm/src/storageImportExport.js +54 -0
- package/dist-esm/src/storageImportExport.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 +85 -26
- package/review/arm-storageimportexport.api.md +438 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +432 -839
- package/src/models/mappers.ts +575 -424
- package/src/models/parameters.ts +101 -50
- package/src/operations/bitLockerKeys.ts +90 -55
- package/src/operations/index.ts +3 -5
- package/src/operations/jobs.ts +302 -335
- package/src/operations/locations.ts +85 -78
- package/src/operations/operations.ts +66 -42
- package/src/operationsInterfaces/bitLockerKeys.ts +27 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/jobs.ts +99 -0
- package/src/operationsInterfaces/locations.ts +38 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/storageImportExport.ts +92 -0
- package/tsconfig.json +20 -7
- package/types/arm-storageimportexport.d.ts +671 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storageimportexport.js +0 -1764
- package/dist/arm-storageimportexport.js.map +0 -1
- package/dist/arm-storageimportexport.min.js +0 -1
- package/dist/arm-storageimportexport.min.js.map +0 -1
- package/esm/models/bitLockerKeysMappers.d.ts +0 -2
- package/esm/models/bitLockerKeysMappers.d.ts.map +0 -1
- package/esm/models/bitLockerKeysMappers.js +0 -11
- package/esm/models/bitLockerKeysMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -928
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/jobsMappers.d.ts +0 -2
- package/esm/models/jobsMappers.d.ts.map +0 -1
- package/esm/models/jobsMappers.js +0 -11
- package/esm/models/jobsMappers.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js +0 -11
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -23
- 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 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/bitLockerKeys.d.ts +0 -37
- package/esm/operations/bitLockerKeys.d.ts.map +0 -1
- package/esm/operations/bitLockerKeys.js +0 -58
- package/esm/operations/bitLockerKeys.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/jobs.d.ts +0 -189
- package/esm/operations/jobs.d.ts.map +0 -1
- package/esm/operations/jobs.js +0 -276
- package/esm/operations/jobs.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -48
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -79
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/storageImportExportManagementClient.d.ts +0 -27
- package/esm/storageImportExportManagementClient.d.ts.map +0 -1
- package/esm/storageImportExportManagementClient.js +0 -41
- package/esm/storageImportExportManagementClient.js.map +0 -1
- package/esm/storageImportExportManagementClientContext.d.ts +0 -22
- package/esm/storageImportExportManagementClientContext.d.ts.map +0 -1
- package/esm/storageImportExportManagementClientContext.js +0 -60
- package/esm/storageImportExportManagementClientContext.js.map +0 -1
- package/src/models/bitLockerKeysMappers.ts +0 -17
- package/src/models/jobsMappers.ts +0 -27
- package/src/models/locationsMappers.ts +0 -17
- package/src/models/operationsMappers.ts +0 -17
- package/src/storageImportExportManagementClient.ts +0 -54
- package/src/storageImportExportManagementClientContext.ts +0 -67
package/src/operations/jobs.ts
CHANGED
|
@@ -1,309 +1,293 @@
|
|
|
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 { Jobs } 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 { StorageImportExport } from "../storageImportExport";
|
|
15
|
+
import {
|
|
16
|
+
JobResponse,
|
|
17
|
+
JobsListBySubscriptionNextOptionalParams,
|
|
18
|
+
JobsListBySubscriptionOptionalParams,
|
|
19
|
+
JobsListByResourceGroupNextOptionalParams,
|
|
20
|
+
JobsListByResourceGroupOptionalParams,
|
|
21
|
+
JobsListBySubscriptionResponse,
|
|
22
|
+
JobsListByResourceGroupResponse,
|
|
23
|
+
JobsGetOptionalParams,
|
|
24
|
+
JobsGetResponse,
|
|
25
|
+
UpdateJobParameters,
|
|
26
|
+
JobsUpdateOptionalParams,
|
|
27
|
+
JobsUpdateResponse,
|
|
28
|
+
PutJobParameters,
|
|
29
|
+
JobsCreateOptionalParams,
|
|
30
|
+
JobsCreateResponse,
|
|
31
|
+
JobsDeleteOptionalParams,
|
|
32
|
+
JobsListBySubscriptionNextResponse,
|
|
33
|
+
JobsListByResourceGroupNextResponse
|
|
34
|
+
} from "../models";
|
|
16
35
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
36
|
+
/// <reference lib="esnext.asynciterable" />
|
|
37
|
+
/** Class containing Jobs operations. */
|
|
38
|
+
export class JobsImpl implements Jobs {
|
|
39
|
+
private readonly client: StorageImportExport;
|
|
20
40
|
|
|
21
41
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
42
|
+
* Initialize a new instance of the class Jobs class.
|
|
43
|
+
* @param client Reference to the service client
|
|
24
44
|
*/
|
|
25
|
-
constructor(client:
|
|
45
|
+
constructor(client: StorageImportExport) {
|
|
26
46
|
this.client = client;
|
|
27
47
|
}
|
|
28
48
|
|
|
29
49
|
/**
|
|
30
50
|
* Returns all active and completed jobs in a subscription.
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.JobsListBySubscriptionResponse>
|
|
51
|
+
* @param options The options parameters.
|
|
33
52
|
*/
|
|
34
|
-
listBySubscription(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
listBySubscription(options: Models.JobsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback<Models.ListJobsResponse>): void;
|
|
44
|
-
listBySubscription(options?: Models.JobsListBySubscriptionOptionalParams | msRest.ServiceCallback<Models.ListJobsResponse>, callback?: msRest.ServiceCallback<Models.ListJobsResponse>): Promise<Models.JobsListBySubscriptionResponse> {
|
|
45
|
-
return this.client.sendOperationRequest(
|
|
46
|
-
{
|
|
47
|
-
options
|
|
53
|
+
public listBySubscription(
|
|
54
|
+
options?: JobsListBySubscriptionOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<JobResponse> {
|
|
56
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
48
60
|
},
|
|
49
|
-
|
|
50
|
-
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listBySubscriptionPagingPage(options);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async *listBySubscriptionPagingPage(
|
|
71
|
+
options?: JobsListBySubscriptionOptionalParams
|
|
72
|
+
): AsyncIterableIterator<JobResponse[]> {
|
|
73
|
+
let result = await this._listBySubscription(options);
|
|
74
|
+
yield result.value || [];
|
|
75
|
+
let continuationToken = result.nextLink;
|
|
76
|
+
while (continuationToken) {
|
|
77
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
78
|
+
continuationToken = result.nextLink;
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
private async *listBySubscriptionPagingAll(
|
|
84
|
+
options?: JobsListBySubscriptionOptionalParams
|
|
85
|
+
): AsyncIterableIterator<JobResponse> {
|
|
86
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
87
|
+
yield* page;
|
|
88
|
+
}
|
|
51
89
|
}
|
|
52
90
|
|
|
53
91
|
/**
|
|
54
92
|
* Returns all active and completed jobs in a resource group.
|
|
55
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
56
|
-
*
|
|
57
|
-
* @param
|
|
58
|
-
* @returns Promise<Models.JobsListByResourceGroupResponse>
|
|
59
|
-
*/
|
|
60
|
-
listByResourceGroup(resourceGroupName: string, options?: Models.JobsListByResourceGroupOptionalParams): Promise<Models.JobsListByResourceGroupResponse>;
|
|
61
|
-
/**
|
|
62
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
63
|
-
* the user subscription.
|
|
64
|
-
* @param callback The callback
|
|
65
|
-
*/
|
|
66
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ListJobsResponse>): void;
|
|
67
|
-
/**
|
|
68
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
69
|
-
* the user subscription.
|
|
70
|
-
* @param options The optional parameters
|
|
71
|
-
* @param callback The callback
|
|
93
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
94
|
+
* user subscription.
|
|
95
|
+
* @param options The options parameters.
|
|
72
96
|
*/
|
|
73
|
-
listByResourceGroup(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
97
|
+
public listByResourceGroup(
|
|
98
|
+
resourceGroupName: string,
|
|
99
|
+
options?: JobsListByResourceGroupOptionalParams
|
|
100
|
+
): PagedAsyncIterableIterator<JobResponse> {
|
|
101
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
102
|
+
return {
|
|
103
|
+
next() {
|
|
104
|
+
return iter.next();
|
|
105
|
+
},
|
|
106
|
+
[Symbol.asyncIterator]() {
|
|
107
|
+
return this;
|
|
108
|
+
},
|
|
109
|
+
byPage: () => {
|
|
110
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
private async *listByResourceGroupPagingPage(
|
|
116
|
+
resourceGroupName: string,
|
|
117
|
+
options?: JobsListByResourceGroupOptionalParams
|
|
118
|
+
): AsyncIterableIterator<JobResponse[]> {
|
|
119
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
120
|
+
yield result.value || [];
|
|
121
|
+
let continuationToken = result.nextLink;
|
|
122
|
+
while (continuationToken) {
|
|
123
|
+
result = await this._listByResourceGroupNext(
|
|
77
124
|
resourceGroupName,
|
|
125
|
+
continuationToken,
|
|
78
126
|
options
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
127
|
+
);
|
|
128
|
+
continuationToken = result.nextLink;
|
|
129
|
+
yield result.value || [];
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
private async *listByResourceGroupPagingAll(
|
|
134
|
+
resourceGroupName: string,
|
|
135
|
+
options?: JobsListByResourceGroupOptionalParams
|
|
136
|
+
): AsyncIterableIterator<JobResponse> {
|
|
137
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
138
|
+
resourceGroupName,
|
|
139
|
+
options
|
|
140
|
+
)) {
|
|
141
|
+
yield* page;
|
|
142
|
+
}
|
|
82
143
|
}
|
|
83
144
|
|
|
84
145
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @param
|
|
87
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
88
|
-
* the user subscription.
|
|
89
|
-
* @param [options] The optional parameters
|
|
90
|
-
* @returns Promise<Models.JobsGetResponse>
|
|
146
|
+
* Returns all active and completed jobs in a subscription.
|
|
147
|
+
* @param options The options parameters.
|
|
91
148
|
*/
|
|
92
|
-
|
|
149
|
+
private _listBySubscription(
|
|
150
|
+
options?: JobsListBySubscriptionOptionalParams
|
|
151
|
+
): Promise<JobsListBySubscriptionResponse> {
|
|
152
|
+
return this.client.sendOperationRequest(
|
|
153
|
+
{ options },
|
|
154
|
+
listBySubscriptionOperationSpec
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
93
158
|
/**
|
|
94
|
-
*
|
|
95
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
96
|
-
*
|
|
97
|
-
* @param
|
|
159
|
+
* Returns all active and completed jobs in a resource group.
|
|
160
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
161
|
+
* user subscription.
|
|
162
|
+
* @param options The options parameters.
|
|
98
163
|
*/
|
|
99
|
-
|
|
164
|
+
private _listByResourceGroup(
|
|
165
|
+
resourceGroupName: string,
|
|
166
|
+
options?: JobsListByResourceGroupOptionalParams
|
|
167
|
+
): Promise<JobsListByResourceGroupResponse> {
|
|
168
|
+
return this.client.sendOperationRequest(
|
|
169
|
+
{ resourceGroupName, options },
|
|
170
|
+
listByResourceGroupOperationSpec
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
|
|
100
174
|
/**
|
|
175
|
+
* Gets information about an existing job.
|
|
101
176
|
* @param jobName The name of the import/export job.
|
|
102
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
103
|
-
*
|
|
104
|
-
* @param options The
|
|
105
|
-
* @param callback The callback
|
|
177
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
178
|
+
* user subscription.
|
|
179
|
+
* @param options The options parameters.
|
|
106
180
|
*/
|
|
107
|
-
get(
|
|
108
|
-
|
|
181
|
+
get(
|
|
182
|
+
jobName: string,
|
|
183
|
+
resourceGroupName: string,
|
|
184
|
+
options?: JobsGetOptionalParams
|
|
185
|
+
): Promise<JobsGetResponse> {
|
|
109
186
|
return this.client.sendOperationRequest(
|
|
110
|
-
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
options
|
|
114
|
-
},
|
|
115
|
-
getOperationSpec,
|
|
116
|
-
callback) as Promise<Models.JobsGetResponse>;
|
|
187
|
+
{ jobName, resourceGroupName, options },
|
|
188
|
+
getOperationSpec
|
|
189
|
+
);
|
|
117
190
|
}
|
|
118
191
|
|
|
119
192
|
/**
|
|
120
193
|
* Updates specific properties of a job. You can call this operation to notify the Import/Export
|
|
121
|
-
* service that the hard drives comprising the import or export job have been shipped to the
|
|
122
|
-
*
|
|
123
|
-
* @param jobName The name of the import/export job.
|
|
124
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
125
|
-
* the user subscription.
|
|
126
|
-
* @param body The parameters to update in the job
|
|
127
|
-
* @param [options] The optional parameters
|
|
128
|
-
* @returns Promise<Models.JobsUpdateResponse>
|
|
129
|
-
*/
|
|
130
|
-
update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options?: msRest.RequestOptionsBase): Promise<Models.JobsUpdateResponse>;
|
|
131
|
-
/**
|
|
194
|
+
* service that the hard drives comprising the import or export job have been shipped to the Microsoft
|
|
195
|
+
* data center. It can also be used to cancel an existing job.
|
|
132
196
|
* @param jobName The name of the import/export job.
|
|
133
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
134
|
-
*
|
|
197
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
198
|
+
* user subscription.
|
|
135
199
|
* @param body The parameters to update in the job
|
|
136
|
-
* @param
|
|
200
|
+
* @param options The options parameters.
|
|
137
201
|
*/
|
|
138
|
-
update(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
* @param options The optional parameters
|
|
145
|
-
* @param callback The callback
|
|
146
|
-
*/
|
|
147
|
-
update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobResponse>): void;
|
|
148
|
-
update(jobName: string, resourceGroupName: string, body: Models.UpdateJobParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobResponse>, callback?: msRest.ServiceCallback<Models.JobResponse>): Promise<Models.JobsUpdateResponse> {
|
|
202
|
+
update(
|
|
203
|
+
jobName: string,
|
|
204
|
+
resourceGroupName: string,
|
|
205
|
+
body: UpdateJobParameters,
|
|
206
|
+
options?: JobsUpdateOptionalParams
|
|
207
|
+
): Promise<JobsUpdateResponse> {
|
|
149
208
|
return this.client.sendOperationRequest(
|
|
150
|
-
{
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
body,
|
|
154
|
-
options
|
|
155
|
-
},
|
|
156
|
-
updateOperationSpec,
|
|
157
|
-
callback) as Promise<Models.JobsUpdateResponse>;
|
|
209
|
+
{ jobName, resourceGroupName, body, options },
|
|
210
|
+
updateOperationSpec
|
|
211
|
+
);
|
|
158
212
|
}
|
|
159
213
|
|
|
160
214
|
/**
|
|
161
215
|
* Creates a new job or updates an existing job in the specified subscription.
|
|
162
216
|
* @param jobName The name of the import/export job.
|
|
163
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
164
|
-
*
|
|
165
|
-
* @param body The parameters used for creating the job
|
|
166
|
-
* @param [options] The optional parameters
|
|
167
|
-
* @returns Promise<Models.JobsCreateResponse>
|
|
168
|
-
*/
|
|
169
|
-
create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options?: Models.JobsCreateOptionalParams): Promise<Models.JobsCreateResponse>;
|
|
170
|
-
/**
|
|
171
|
-
* @param jobName The name of the import/export job.
|
|
172
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
173
|
-
* the user subscription.
|
|
217
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
218
|
+
* user subscription.
|
|
174
219
|
* @param body The parameters used for creating the job
|
|
175
|
-
* @param
|
|
220
|
+
* @param options The options parameters.
|
|
176
221
|
*/
|
|
177
|
-
create(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
* @param options The optional parameters
|
|
184
|
-
* @param callback The callback
|
|
185
|
-
*/
|
|
186
|
-
create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options: Models.JobsCreateOptionalParams, callback: msRest.ServiceCallback<Models.JobResponse>): void;
|
|
187
|
-
create(jobName: string, resourceGroupName: string, body: Models.PutJobParameters, options?: Models.JobsCreateOptionalParams | msRest.ServiceCallback<Models.JobResponse>, callback?: msRest.ServiceCallback<Models.JobResponse>): Promise<Models.JobsCreateResponse> {
|
|
222
|
+
create(
|
|
223
|
+
jobName: string,
|
|
224
|
+
resourceGroupName: string,
|
|
225
|
+
body: PutJobParameters,
|
|
226
|
+
options?: JobsCreateOptionalParams
|
|
227
|
+
): Promise<JobsCreateResponse> {
|
|
188
228
|
return this.client.sendOperationRequest(
|
|
189
|
-
{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
body,
|
|
193
|
-
options
|
|
194
|
-
},
|
|
195
|
-
createOperationSpec,
|
|
196
|
-
callback) as Promise<Models.JobsCreateResponse>;
|
|
229
|
+
{ jobName, resourceGroupName, body, options },
|
|
230
|
+
createOperationSpec
|
|
231
|
+
);
|
|
197
232
|
}
|
|
198
233
|
|
|
199
234
|
/**
|
|
200
235
|
* Deletes an existing job. Only jobs in the Creating or Completed states can be deleted.
|
|
201
236
|
* @param jobName The name of the import/export job.
|
|
202
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
203
|
-
*
|
|
204
|
-
* @param
|
|
205
|
-
* @returns Promise<msRest.RestResponse>
|
|
237
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
238
|
+
* user subscription.
|
|
239
|
+
* @param options The options parameters.
|
|
206
240
|
*/
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
* @param callback The callback
|
|
213
|
-
*/
|
|
214
|
-
deleteMethod(jobName: string, resourceGroupName: string, callback: msRest.ServiceCallback<void>): void;
|
|
215
|
-
/**
|
|
216
|
-
* @param jobName The name of the import/export job.
|
|
217
|
-
* @param resourceGroupName The resource group name uniquely identifies the resource group within
|
|
218
|
-
* the user subscription.
|
|
219
|
-
* @param options The optional parameters
|
|
220
|
-
* @param callback The callback
|
|
221
|
-
*/
|
|
222
|
-
deleteMethod(jobName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
223
|
-
deleteMethod(jobName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
241
|
+
delete(
|
|
242
|
+
jobName: string,
|
|
243
|
+
resourceGroupName: string,
|
|
244
|
+
options?: JobsDeleteOptionalParams
|
|
245
|
+
): Promise<void> {
|
|
224
246
|
return this.client.sendOperationRequest(
|
|
225
|
-
{
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
options
|
|
229
|
-
},
|
|
230
|
-
deleteMethodOperationSpec,
|
|
231
|
-
callback);
|
|
247
|
+
{ jobName, resourceGroupName, options },
|
|
248
|
+
deleteOperationSpec
|
|
249
|
+
);
|
|
232
250
|
}
|
|
233
251
|
|
|
234
252
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @param
|
|
237
|
-
* @param
|
|
238
|
-
* @returns Promise<Models.JobsListBySubscriptionNextResponse>
|
|
239
|
-
*/
|
|
240
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobsListBySubscriptionNextResponse>;
|
|
241
|
-
/**
|
|
242
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
243
|
-
* @param callback The callback
|
|
253
|
+
* ListBySubscriptionNext
|
|
254
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
255
|
+
* @param options The options parameters.
|
|
244
256
|
*/
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
* @param callback The callback
|
|
250
|
-
*/
|
|
251
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListJobsResponse>): void;
|
|
252
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ListJobsResponse>, callback?: msRest.ServiceCallback<Models.ListJobsResponse>): Promise<Models.JobsListBySubscriptionNextResponse> {
|
|
257
|
+
private _listBySubscriptionNext(
|
|
258
|
+
nextLink: string,
|
|
259
|
+
options?: JobsListBySubscriptionNextOptionalParams
|
|
260
|
+
): Promise<JobsListBySubscriptionNextResponse> {
|
|
253
261
|
return this.client.sendOperationRequest(
|
|
254
|
-
{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
},
|
|
258
|
-
listBySubscriptionNextOperationSpec,
|
|
259
|
-
callback) as Promise<Models.JobsListBySubscriptionNextResponse>;
|
|
262
|
+
{ nextLink, options },
|
|
263
|
+
listBySubscriptionNextOperationSpec
|
|
264
|
+
);
|
|
260
265
|
}
|
|
261
266
|
|
|
262
267
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @param
|
|
265
|
-
*
|
|
266
|
-
* @
|
|
267
|
-
|
|
268
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobsListByResourceGroupNextResponse>;
|
|
269
|
-
/**
|
|
270
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
271
|
-
* @param callback The callback
|
|
268
|
+
* ListByResourceGroupNext
|
|
269
|
+
* @param resourceGroupName The resource group name uniquely identifies the resource group within the
|
|
270
|
+
* user subscription.
|
|
271
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
272
|
+
* @param options The options parameters.
|
|
272
273
|
*/
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
*/
|
|
279
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListJobsResponse>): void;
|
|
280
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ListJobsResponse>, callback?: msRest.ServiceCallback<Models.ListJobsResponse>): Promise<Models.JobsListByResourceGroupNextResponse> {
|
|
274
|
+
private _listByResourceGroupNext(
|
|
275
|
+
resourceGroupName: string,
|
|
276
|
+
nextLink: string,
|
|
277
|
+
options?: JobsListByResourceGroupNextOptionalParams
|
|
278
|
+
): Promise<JobsListByResourceGroupNextResponse> {
|
|
281
279
|
return this.client.sendOperationRequest(
|
|
282
|
-
{
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
},
|
|
286
|
-
listByResourceGroupNextOperationSpec,
|
|
287
|
-
callback) as Promise<Models.JobsListByResourceGroupNextResponse>;
|
|
280
|
+
{ resourceGroupName, nextLink, options },
|
|
281
|
+
listByResourceGroupNextOperationSpec
|
|
282
|
+
);
|
|
288
283
|
}
|
|
289
284
|
}
|
|
290
|
-
|
|
291
285
|
// Operation Specifications
|
|
292
|
-
const serializer =
|
|
293
|
-
|
|
286
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
287
|
+
|
|
288
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
289
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs",
|
|
294
290
|
httpMethod: "GET",
|
|
295
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ImportExport/jobs",
|
|
296
|
-
urlParameters: [
|
|
297
|
-
Parameters.subscriptionId
|
|
298
|
-
],
|
|
299
|
-
queryParameters: [
|
|
300
|
-
Parameters.top,
|
|
301
|
-
Parameters.filter,
|
|
302
|
-
Parameters.apiVersion
|
|
303
|
-
],
|
|
304
|
-
headerParameters: [
|
|
305
|
-
Parameters.acceptLanguage
|
|
306
|
-
],
|
|
307
291
|
responses: {
|
|
308
292
|
200: {
|
|
309
293
|
bodyMapper: Mappers.ListJobsResponse
|
|
@@ -312,24 +296,15 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
|
312
296
|
bodyMapper: Mappers.ErrorResponse
|
|
313
297
|
}
|
|
314
298
|
},
|
|
299
|
+
queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.filter],
|
|
300
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
301
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
315
302
|
serializer
|
|
316
303
|
};
|
|
317
|
-
|
|
318
|
-
|
|
304
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
305
|
+
path:
|
|
306
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs",
|
|
319
307
|
httpMethod: "GET",
|
|
320
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs",
|
|
321
|
-
urlParameters: [
|
|
322
|
-
Parameters.subscriptionId,
|
|
323
|
-
Parameters.resourceGroupName
|
|
324
|
-
],
|
|
325
|
-
queryParameters: [
|
|
326
|
-
Parameters.top,
|
|
327
|
-
Parameters.filter,
|
|
328
|
-
Parameters.apiVersion
|
|
329
|
-
],
|
|
330
|
-
headerParameters: [
|
|
331
|
-
Parameters.acceptLanguage
|
|
332
|
-
],
|
|
333
308
|
responses: {
|
|
334
309
|
200: {
|
|
335
310
|
bodyMapper: Mappers.ListJobsResponse
|
|
@@ -338,23 +313,19 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
|
338
313
|
bodyMapper: Mappers.ErrorResponse
|
|
339
314
|
}
|
|
340
315
|
},
|
|
341
|
-
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
345
|
-
httpMethod: "GET",
|
|
346
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
316
|
+
queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.filter],
|
|
347
317
|
urlParameters: [
|
|
348
|
-
Parameters
|
|
318
|
+
Parameters.$host,
|
|
349
319
|
Parameters.subscriptionId,
|
|
350
320
|
Parameters.resourceGroupName
|
|
351
321
|
],
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
322
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
323
|
+
serializer
|
|
324
|
+
};
|
|
325
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
326
|
+
path:
|
|
327
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
328
|
+
httpMethod: "GET",
|
|
358
329
|
responses: {
|
|
359
330
|
200: {
|
|
360
331
|
bodyMapper: Mappers.JobResponse
|
|
@@ -363,30 +334,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
363
334
|
bodyMapper: Mappers.ErrorResponse
|
|
364
335
|
}
|
|
365
336
|
},
|
|
366
|
-
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
370
|
-
httpMethod: "PATCH",
|
|
371
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
337
|
+
queryParameters: [Parameters.apiVersion],
|
|
372
338
|
urlParameters: [
|
|
373
|
-
Parameters
|
|
339
|
+
Parameters.$host,
|
|
374
340
|
Parameters.subscriptionId,
|
|
375
|
-
Parameters.resourceGroupName
|
|
341
|
+
Parameters.resourceGroupName,
|
|
342
|
+
Parameters.jobName
|
|
376
343
|
],
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
parameterPath: "body",
|
|
385
|
-
mapper: {
|
|
386
|
-
...Mappers.UpdateJobParameters,
|
|
387
|
-
required: true
|
|
388
|
-
}
|
|
389
|
-
},
|
|
344
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
345
|
+
serializer
|
|
346
|
+
};
|
|
347
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
348
|
+
path:
|
|
349
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
350
|
+
httpMethod: "PATCH",
|
|
390
351
|
responses: {
|
|
391
352
|
200: {
|
|
392
353
|
bodyMapper: Mappers.JobResponse
|
|
@@ -395,31 +356,26 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
|
395
356
|
bodyMapper: Mappers.ErrorResponse
|
|
396
357
|
}
|
|
397
358
|
},
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
const createOperationSpec: msRest.OperationSpec = {
|
|
402
|
-
httpMethod: "PUT",
|
|
403
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
359
|
+
requestBody: Parameters.body,
|
|
360
|
+
queryParameters: [Parameters.apiVersion],
|
|
404
361
|
urlParameters: [
|
|
405
|
-
Parameters
|
|
362
|
+
Parameters.$host,
|
|
406
363
|
Parameters.subscriptionId,
|
|
407
|
-
Parameters.resourceGroupName
|
|
408
|
-
|
|
409
|
-
queryParameters: [
|
|
410
|
-
Parameters.apiVersion
|
|
364
|
+
Parameters.resourceGroupName,
|
|
365
|
+
Parameters.jobName
|
|
411
366
|
],
|
|
412
367
|
headerParameters: [
|
|
368
|
+
Parameters.accept,
|
|
413
369
|
Parameters.acceptLanguage,
|
|
414
|
-
Parameters.
|
|
370
|
+
Parameters.contentType
|
|
415
371
|
],
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}
|
|
422
|
-
|
|
372
|
+
mediaType: "json",
|
|
373
|
+
serializer
|
|
374
|
+
};
|
|
375
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
376
|
+
path:
|
|
377
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
378
|
+
httpMethod: "PUT",
|
|
423
379
|
responses: {
|
|
424
380
|
200: {
|
|
425
381
|
bodyMapper: Mappers.JobResponse
|
|
@@ -431,42 +387,46 @@ const createOperationSpec: msRest.OperationSpec = {
|
|
|
431
387
|
bodyMapper: Mappers.ErrorResponse
|
|
432
388
|
}
|
|
433
389
|
},
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
438
|
-
httpMethod: "DELETE",
|
|
439
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
390
|
+
requestBody: Parameters.body1,
|
|
391
|
+
queryParameters: [Parameters.apiVersion],
|
|
440
392
|
urlParameters: [
|
|
441
|
-
Parameters
|
|
393
|
+
Parameters.$host,
|
|
442
394
|
Parameters.subscriptionId,
|
|
443
|
-
Parameters.resourceGroupName
|
|
444
|
-
|
|
445
|
-
queryParameters: [
|
|
446
|
-
Parameters.apiVersion
|
|
395
|
+
Parameters.resourceGroupName,
|
|
396
|
+
Parameters.jobName
|
|
447
397
|
],
|
|
448
398
|
headerParameters: [
|
|
449
|
-
Parameters.
|
|
399
|
+
Parameters.accept,
|
|
400
|
+
Parameters.acceptLanguage,
|
|
401
|
+
Parameters.contentType,
|
|
402
|
+
Parameters.clientTenantId
|
|
450
403
|
],
|
|
404
|
+
mediaType: "json",
|
|
405
|
+
serializer
|
|
406
|
+
};
|
|
407
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
408
|
+
path:
|
|
409
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ImportExport/jobs/{jobName}",
|
|
410
|
+
httpMethod: "DELETE",
|
|
451
411
|
responses: {
|
|
452
412
|
200: {},
|
|
453
413
|
default: {
|
|
454
414
|
bodyMapper: Mappers.ErrorResponse
|
|
455
415
|
}
|
|
456
416
|
},
|
|
417
|
+
queryParameters: [Parameters.apiVersion],
|
|
418
|
+
urlParameters: [
|
|
419
|
+
Parameters.$host,
|
|
420
|
+
Parameters.subscriptionId,
|
|
421
|
+
Parameters.resourceGroupName,
|
|
422
|
+
Parameters.jobName
|
|
423
|
+
],
|
|
424
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
457
425
|
serializer
|
|
458
426
|
};
|
|
459
|
-
|
|
460
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
461
|
-
httpMethod: "GET",
|
|
462
|
-
baseUrl: "https://management.azure.com",
|
|
427
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
463
428
|
path: "{nextLink}",
|
|
464
|
-
|
|
465
|
-
Parameters.nextPageLink
|
|
466
|
-
],
|
|
467
|
-
headerParameters: [
|
|
468
|
-
Parameters.acceptLanguage
|
|
469
|
-
],
|
|
429
|
+
httpMethod: "GET",
|
|
470
430
|
responses: {
|
|
471
431
|
200: {
|
|
472
432
|
bodyMapper: Mappers.ListJobsResponse
|
|
@@ -475,19 +435,18 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
|
475
435
|
bodyMapper: Mappers.ErrorResponse
|
|
476
436
|
}
|
|
477
437
|
},
|
|
438
|
+
queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.filter],
|
|
439
|
+
urlParameters: [
|
|
440
|
+
Parameters.$host,
|
|
441
|
+
Parameters.subscriptionId,
|
|
442
|
+
Parameters.nextLink
|
|
443
|
+
],
|
|
444
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
478
445
|
serializer
|
|
479
446
|
};
|
|
480
|
-
|
|
481
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
482
|
-
httpMethod: "GET",
|
|
483
|
-
baseUrl: "https://management.azure.com",
|
|
447
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
484
448
|
path: "{nextLink}",
|
|
485
|
-
|
|
486
|
-
Parameters.nextPageLink
|
|
487
|
-
],
|
|
488
|
-
headerParameters: [
|
|
489
|
-
Parameters.acceptLanguage
|
|
490
|
-
],
|
|
449
|
+
httpMethod: "GET",
|
|
491
450
|
responses: {
|
|
492
451
|
200: {
|
|
493
452
|
bodyMapper: Mappers.ListJobsResponse
|
|
@@ -496,5 +455,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
|
496
455
|
bodyMapper: Mappers.ErrorResponse
|
|
497
456
|
}
|
|
498
457
|
},
|
|
458
|
+
queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.filter],
|
|
459
|
+
urlParameters: [
|
|
460
|
+
Parameters.$host,
|
|
461
|
+
Parameters.subscriptionId,
|
|
462
|
+
Parameters.resourceGroupName,
|
|
463
|
+
Parameters.nextLink
|
|
464
|
+
],
|
|
465
|
+
headerParameters: [Parameters.accept, Parameters.acceptLanguage],
|
|
499
466
|
serializer
|
|
500
467
|
};
|