@azure/arm-resources
Version:
A generated SDK for ResourceManagementClient.
786 lines • 31.5 kB
JavaScript
"use strict";
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeploymentOperationsImpl = void 0;
const tslib_1 = require("tslib");
const pagingHelper_js_1 = require("../pagingHelper.js");
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
/// <reference lib="esnext.asynciterable" />
/** Class containing DeploymentOperations operations. */
class DeploymentOperationsImpl {
/**
* Initialize a new instance of the class DeploymentOperations class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Gets all deployments operations for a deployment.
* @param scope The resource scope.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
listAtScope(scope, deploymentName, options) {
const iter = this.listAtScopePagingAll(scope, deploymentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAtScopePagingPage(scope, deploymentName, options, settings);
},
};
}
listAtScopePagingPage(scope, deploymentName, options, settings) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtScopePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield tslib_1.__await(this._listAtScope(scope, deploymentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
while (continuationToken) {
result = yield tslib_1.__await(this._listAtScopeNext(scope, deploymentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
});
}
listAtScopePagingAll(scope, deploymentName, options) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtScopePagingAll_1() {
var _a, e_1, _b, _c;
try {
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtScopePagingPage(scope, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const page = _c;
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* Gets all deployments operations for a deployment.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
listAtTenantScope(deploymentName, options) {
const iter = this.listAtTenantScopePagingAll(deploymentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAtTenantScopePagingPage(deploymentName, options, settings);
},
};
}
listAtTenantScopePagingPage(deploymentName, options, settings) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtTenantScopePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield tslib_1.__await(this._listAtTenantScope(deploymentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
while (continuationToken) {
result = yield tslib_1.__await(this._listAtTenantScopeNext(deploymentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
});
}
listAtTenantScopePagingAll(deploymentName, options) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtTenantScopePagingAll_1() {
var _a, e_2, _b, _c;
try {
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtTenantScopePagingPage(deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const page = _c;
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Gets all deployments operations for a deployment.
* @param groupId The management group ID.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
listAtManagementGroupScope(groupId, deploymentName, options) {
const iter = this.listAtManagementGroupScopePagingAll(groupId, deploymentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAtManagementGroupScopePagingPage(groupId, deploymentName, options, settings);
},
};
}
listAtManagementGroupScopePagingPage(groupId, deploymentName, options, settings) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtManagementGroupScopePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield tslib_1.__await(this._listAtManagementGroupScope(groupId, deploymentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
while (continuationToken) {
result = yield tslib_1.__await(this._listAtManagementGroupScopeNext(groupId, deploymentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
});
}
listAtManagementGroupScopePagingAll(groupId, deploymentName, options) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtManagementGroupScopePagingAll_1() {
var _a, e_3, _b, _c;
try {
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtManagementGroupScopePagingPage(groupId, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const page = _c;
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
}
}
catch (e_3_1) { e_3 = { error: e_3_1 }; }
finally {
try {
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
}
finally { if (e_3) throw e_3.error; }
}
});
}
/**
* Gets all deployments operations for a deployment.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
listAtSubscriptionScope(deploymentName, options) {
const iter = this.listAtSubscriptionScopePagingAll(deploymentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAtSubscriptionScopePagingPage(deploymentName, options, settings);
},
};
}
listAtSubscriptionScopePagingPage(deploymentName, options, settings) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtSubscriptionScopePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield tslib_1.__await(this._listAtSubscriptionScope(deploymentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
while (continuationToken) {
result = yield tslib_1.__await(this._listAtSubscriptionScopeNext(deploymentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
});
}
listAtSubscriptionScopePagingAll(deploymentName, options) {
return tslib_1.__asyncGenerator(this, arguments, function* listAtSubscriptionScopePagingAll_1() {
var _a, e_4, _b, _c;
try {
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtSubscriptionScopePagingPage(deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const page = _c;
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
}
}
catch (e_4_1) { e_4 = { error: e_4_1 }; }
finally {
try {
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
}
finally { if (e_4) throw e_4.error; }
}
});
}
/**
* Gets all deployments operations for a deployment.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
list(resourceGroupName, deploymentName, options) {
const iter = this.listPagingAll(resourceGroupName, deploymentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, deploymentName, options, settings);
},
};
}
listPagingPage(resourceGroupName, deploymentName, options, settings) {
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield tslib_1.__await(this._list(resourceGroupName, deploymentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
while (continuationToken) {
result = yield tslib_1.__await(this._listNext(resourceGroupName, deploymentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
yield yield tslib_1.__await(page);
}
});
}
listPagingAll(resourceGroupName, deploymentName, options) {
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
var _a, e_5, _b, _c;
try {
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const page = _c;
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
}
}
catch (e_5_1) { e_5 = { error: e_5_1 }; }
finally {
try {
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
}
finally { if (e_5) throw e_5.error; }
}
});
}
/**
* Gets a deployments operation.
* @param scope The resource scope.
* @param deploymentName The name of the deployment.
* @param operationId The ID of the operation to get.
* @param options The options parameters.
*/
getAtScope(scope, deploymentName, operationId, options) {
return this.client.sendOperationRequest({ scope, deploymentName, operationId, options }, getAtScopeOperationSpec);
}
/**
* Gets all deployments operations for a deployment.
* @param scope The resource scope.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
_listAtScope(scope, deploymentName, options) {
return this.client.sendOperationRequest({ scope, deploymentName, options }, listAtScopeOperationSpec);
}
/**
* Gets a deployments operation.
* @param deploymentName The name of the deployment.
* @param operationId The ID of the operation to get.
* @param options The options parameters.
*/
getAtTenantScope(deploymentName, operationId, options) {
return this.client.sendOperationRequest({ deploymentName, operationId, options }, getAtTenantScopeOperationSpec);
}
/**
* Gets all deployments operations for a deployment.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
_listAtTenantScope(deploymentName, options) {
return this.client.sendOperationRequest({ deploymentName, options }, listAtTenantScopeOperationSpec);
}
/**
* Gets a deployments operation.
* @param groupId The management group ID.
* @param deploymentName The name of the deployment.
* @param operationId The ID of the operation to get.
* @param options The options parameters.
*/
getAtManagementGroupScope(groupId, deploymentName, operationId, options) {
return this.client.sendOperationRequest({ groupId, deploymentName, operationId, options }, getAtManagementGroupScopeOperationSpec);
}
/**
* Gets all deployments operations for a deployment.
* @param groupId The management group ID.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
_listAtManagementGroupScope(groupId, deploymentName, options) {
return this.client.sendOperationRequest({ groupId, deploymentName, options }, listAtManagementGroupScopeOperationSpec);
}
/**
* Gets a deployments operation.
* @param deploymentName The name of the deployment.
* @param operationId The ID of the operation to get.
* @param options The options parameters.
*/
getAtSubscriptionScope(deploymentName, operationId, options) {
return this.client.sendOperationRequest({ deploymentName, operationId, options }, getAtSubscriptionScopeOperationSpec);
}
/**
* Gets all deployments operations for a deployment.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
_listAtSubscriptionScope(deploymentName, options) {
return this.client.sendOperationRequest({ deploymentName, options }, listAtSubscriptionScopeOperationSpec);
}
/**
* Gets a deployments operation.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param deploymentName The name of the deployment.
* @param operationId The ID of the operation to get.
* @param options The options parameters.
*/
get(resourceGroupName, deploymentName, operationId, options) {
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, operationId, options }, getOperationSpec);
}
/**
* Gets all deployments operations for a deployment.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param deploymentName The name of the deployment.
* @param options The options parameters.
*/
_list(resourceGroupName, deploymentName, options) {
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, options }, listOperationSpec);
}
/**
* ListAtScopeNext
* @param scope The resource scope.
* @param deploymentName The name of the deployment.
* @param nextLink The nextLink from the previous successful call to the ListAtScope method.
* @param options The options parameters.
*/
_listAtScopeNext(scope, deploymentName, nextLink, options) {
return this.client.sendOperationRequest({ scope, deploymentName, nextLink, options }, listAtScopeNextOperationSpec);
}
/**
* ListAtTenantScopeNext
* @param deploymentName The name of the deployment.
* @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.
* @param options The options parameters.
*/
_listAtTenantScopeNext(deploymentName, nextLink, options) {
return this.client.sendOperationRequest({ deploymentName, nextLink, options }, listAtTenantScopeNextOperationSpec);
}
/**
* ListAtManagementGroupScopeNext
* @param groupId The management group ID.
* @param deploymentName The name of the deployment.
* @param nextLink The nextLink from the previous successful call to the ListAtManagementGroupScope
* method.
* @param options The options parameters.
*/
_listAtManagementGroupScopeNext(groupId, deploymentName, nextLink, options) {
return this.client.sendOperationRequest({ groupId, deploymentName, nextLink, options }, listAtManagementGroupScopeNextOperationSpec);
}
/**
* ListAtSubscriptionScopeNext
* @param deploymentName The name of the deployment.
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionScope
* method.
* @param options The options parameters.
*/
_listAtSubscriptionScopeNext(deploymentName, nextLink, options) {
return this.client.sendOperationRequest({ deploymentName, nextLink, options }, listAtSubscriptionScopeNextOperationSpec);
}
/**
* ListNext
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param deploymentName The name of the deployment.
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(resourceGroupName, deploymentName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, nextLink, options }, listNextOperationSpec);
}
}
exports.DeploymentOperationsImpl = DeploymentOperationsImpl;
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const getAtScopeOperationSpec = {
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperation,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.scope,
Parameters.deploymentName,
Parameters.operationId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtScopeOperationSpec = {
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.scope,
Parameters.deploymentName,
],
headerParameters: [Parameters.accept],
serializer,
};
const getAtTenantScopeOperationSpec = {
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperation,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.operationId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtTenantScopeOperationSpec = {
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [Parameters.$host, Parameters.deploymentName],
headerParameters: [Parameters.accept],
serializer,
};
const getAtManagementGroupScopeOperationSpec = {
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperation,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.groupId,
Parameters.operationId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtManagementGroupScopeOperationSpec = {
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.groupId,
],
headerParameters: [Parameters.accept],
serializer,
};
const getAtSubscriptionScopeOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperation,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.subscriptionId,
Parameters.operationId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtSubscriptionScopeOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.subscriptionId,
],
headerParameters: [Parameters.accept],
serializer,
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperation,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.operationId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
queryParameters: [Parameters.apiVersion, Parameters.top],
urlParameters: [
Parameters.$host,
Parameters.deploymentName,
Parameters.subscriptionId,
Parameters.resourceGroupName,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtScopeNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Parameters.scope,
Parameters.deploymentName,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtTenantScopeNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Parameters.deploymentName,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtManagementGroupScopeNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Parameters.deploymentName,
Parameters.groupId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listAtSubscriptionScopeNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Parameters.deploymentName,
Parameters.subscriptionId,
],
headerParameters: [Parameters.accept],
serializer,
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeploymentOperationsListResult,
},
default: {
bodyMapper: Mappers.CloudError,
},
},
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Parameters.deploymentName,
Parameters.subscriptionId,
Parameters.resourceGroupName,
],
headerParameters: [Parameters.accept],
serializer,
};
//# sourceMappingURL=deploymentOperations.js.map