@azure/arm-resourcesdeploymentstacks 1.0.0-beta.1
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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +2308 -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/deploymentStacksCreateOrUpdateAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.js +53 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.js +56 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.js +54 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.js +57 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.js +60 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.js.map +1 -0
- package/dist-esm/src/deploymentStacksClient.d.ts +21 -0
- package/dist-esm/src/deploymentStacksClient.d.ts.map +1 -0
- package/dist-esm/src/deploymentStacksClient.js +98 -0
- package/dist-esm/src/deploymentStacksClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +642 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +116 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +758 -0
- 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 +152 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/deploymentStacks.d.ts +207 -0
- package/dist-esm/src/operations/deploymentStacks.d.ts.map +1 -0
- package/dist-esm/src/operations/deploymentStacks.js +1086 -0
- package/dist-esm/src/operations/deploymentStacks.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.d.ts +156 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.js +9 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.js +162 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.js.map +1 -0
- package/package.json +124 -0
- package/review/arm-resourcesdeploymentstacks.api.md +469 -0
- package/rollup.config.js +122 -0
- package/src/deploymentStacksClient.ts +154 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +728 -0
- package/src/models/mappers.ts +828 -0
- package/src/models/parameters.ts +170 -0
- package/src/operations/deploymentStacks.ts +1420 -0
- package/src/operations/index.ts +9 -0
- package/src/operationsInterfaces/deploymentStacks.ts +286 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-resourcesdeploymentstacks.d.ts +899 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/deploymentStacks.ts","../src/deploymentStacksClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** List of deployment stacks. */\nexport interface DeploymentStackListResult {\n /** An array of deployment stacks. */\n value?: DeploymentStack[];\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Entity representing the reference to the template. */\nexport interface DeploymentStacksTemplateLink {\n /** The URI of the template to deploy. Use either the uri or id property, but not both. */\n uri?: string;\n /** The resource id of a Template Spec. Use either the id or uri property, but not both. */\n id?: string;\n /** The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs */\n relativePath?: string;\n /** The query string (for example, a SAS token) to be used with the templateLink URI. */\n queryString?: string;\n /** If included, must match the ContentVersion in the template. */\n contentVersion?: string;\n}\n\n/** Entity representing the reference to the deployment parameters. */\nexport interface DeploymentStacksParametersLink {\n /** The URI of the parameters file. */\n uri: string;\n /** If included, must match the ContentVersion in the template. */\n contentVersion?: string;\n}\n\n/** Defines the behavior of resources that are not managed immediately after the stack is updated. */\nexport interface DeploymentStackPropertiesActionOnUnmanage {\n /** Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state. */\n resources: DeploymentStacksDeleteDetachEnum;\n /** Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state. */\n resourceGroups?: DeploymentStacksDeleteDetachEnum;\n /** Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state. */\n managementGroups?: DeploymentStacksDeleteDetachEnum;\n}\n\n/** The debug setting. */\nexport interface DeploymentStacksDebugSetting {\n /** Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed. */\n detailLevel?: string;\n}\n\n/** Defines how resources deployed by the deployment stack are locked. */\nexport interface DenySettings {\n /** denySettings Mode. */\n mode: DenySettingsMode;\n /** List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted. */\n excludedPrincipals?: string[];\n /** List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '*\\/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed. */\n excludedActions?: string[];\n /** DenySettings will be applied to child scopes. */\n applyToChildScopes?: boolean;\n}\n\n/** The resource Id model. */\nexport interface ResourceReference {\n /**\n * The resourceId of a resource managed by the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n}\n\n/** Deployment Stacks error response. */\nexport interface DeploymentStacksError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Common properties for all Azure resources. */\nexport interface AzureResourceBase {\n /**\n * String Id used to locate any resource on Azure.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Type of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Export Template specific properties of the Stack. */\nexport interface DeploymentStackTemplateDefinition {\n /** The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. */\n template?: Record<string, unknown>;\n /** The URI of the template. Use either the templateLink property or the template property, but not both. */\n templateLink?: DeploymentStacksTemplateLink;\n}\n\n/** The resource Id extended model. */\nexport interface ResourceReferenceExtended\n extends ResourceReference,\n DeploymentStacksError {}\n\n/** The managed resource model. */\nexport interface ManagedResourceReference extends ResourceReference {\n /** Current management state of the resource in the deployment stack. */\n status?: ResourceStatusMode;\n /** denyAssignment settings applied to the resource. */\n denyStatus?: DenyStatusMode;\n}\n\n/** Deployment stack properties. */\nexport interface DeploymentStackProperties extends DeploymentStacksError {\n /** The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. */\n template?: Record<string, unknown>;\n /** The URI of the template. Use either the templateLink property or the template property, but not both. */\n templateLink?: DeploymentStacksTemplateLink;\n /** Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /** The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both. */\n parametersLink?: DeploymentStacksParametersLink;\n /** Defines the behavior of resources that are not managed immediately after the stack is updated. */\n actionOnUnmanage: DeploymentStackPropertiesActionOnUnmanage;\n /** The debug setting of the deployment. */\n debugSetting?: DeploymentStacksDebugSetting;\n /** The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'). */\n deploymentScope?: string;\n /** Deployment stack description. */\n description?: string;\n /** Defines how resources deployed by the stack are locked. */\n denySettings: DenySettings;\n /**\n * State of the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: DeploymentStackProvisioningState;\n /**\n * An array of resources that were detached during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly detachedResources?: ResourceReference[];\n /**\n * An array of resources that were deleted during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedResources?: ResourceReference[];\n /**\n * An array of resources that failed to reach goal state during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly failedResources?: ResourceReferenceExtended[];\n /**\n * An array of resources currently managed by the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resources?: ManagedResourceReference[];\n /**\n * The resourceId of the deployment resource created by the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deploymentId?: string;\n /**\n * The outputs of the underlying deployment.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The duration of the deployment stack update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly duration?: string;\n}\n\n/** Deployment stack object. */\nexport interface DeploymentStack extends AzureResourceBase {\n /** The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations. */\n location?: string;\n /** Deployment stack resource tags. */\n tags?: { [propertyName: string]: string };\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\n error?: ErrorResponse;\n /** The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. */\n template?: Record<string, unknown>;\n /** The URI of the template. Use either the templateLink property or the template property, but not both. */\n templateLink?: DeploymentStacksTemplateLink;\n /** Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /** The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both. */\n parametersLink?: DeploymentStacksParametersLink;\n /** Defines the behavior of resources that are not managed immediately after the stack is updated. */\n actionOnUnmanage?: DeploymentStackPropertiesActionOnUnmanage;\n /** The debug setting of the deployment. */\n debugSetting?: DeploymentStacksDebugSetting;\n /** The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'). */\n deploymentScope?: string;\n /** Deployment stack description. */\n description?: string;\n /** Defines how resources deployed by the stack are locked. */\n denySettings?: DenySettings;\n /**\n * State of the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: DeploymentStackProvisioningState;\n /**\n * An array of resources that were detached during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly detachedResources?: ResourceReference[];\n /**\n * An array of resources that were deleted during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedResources?: ResourceReference[];\n /**\n * An array of resources that failed to reach goal state during the most recent update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly failedResources?: ResourceReferenceExtended[];\n /**\n * An array of resources currently managed by the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resources?: ManagedResourceReference[];\n /**\n * The resourceId of the deployment resource created by the deployment stack.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deploymentId?: string;\n /**\n * The outputs of the underlying deployment.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The duration of the deployment stack update.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly duration?: string;\n}\n\n/** Defines headers for DeploymentStacks_deleteAtResourceGroup operation. */\nexport interface DeploymentStacksDeleteAtResourceGroupHeaders {\n location?: string;\n}\n\n/** Defines headers for DeploymentStacks_deleteAtSubscription operation. */\nexport interface DeploymentStacksDeleteAtSubscriptionHeaders {\n location?: string;\n}\n\n/** Defines headers for DeploymentStacks_deleteAtManagementGroup operation. */\nexport interface DeploymentStacksDeleteAtManagementGroupHeaders {\n location?: string;\n}\n\n/** Known values of {@link DeploymentStacksDeleteDetachEnum} that the service accepts. */\nexport enum KnownDeploymentStacksDeleteDetachEnum {\n /** Delete */\n Delete = \"delete\",\n /** Detach */\n Detach = \"detach\"\n}\n\n/**\n * Defines values for DeploymentStacksDeleteDetachEnum. \\\n * {@link KnownDeploymentStacksDeleteDetachEnum} can be used interchangeably with DeploymentStacksDeleteDetachEnum,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **delete** \\\n * **detach**\n */\nexport type DeploymentStacksDeleteDetachEnum = string;\n\n/** Known values of {@link DenySettingsMode} that the service accepts. */\nexport enum KnownDenySettingsMode {\n /** Authorized users are able to read and modify the resources, but cannot delete. */\n DenyDelete = \"denyDelete\",\n /** Authorized users can only read from a resource, but cannot modify or delete it. */\n DenyWriteAndDelete = \"denyWriteAndDelete\",\n /** No denyAssignments have been applied. */\n None = \"none\"\n}\n\n/**\n * Defines values for DenySettingsMode. \\\n * {@link KnownDenySettingsMode} can be used interchangeably with DenySettingsMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **denyDelete**: Authorized users are able to read and modify the resources, but cannot delete. \\\n * **denyWriteAndDelete**: Authorized users can only read from a resource, but cannot modify or delete it. \\\n * **none**: No denyAssignments have been applied.\n */\nexport type DenySettingsMode = string;\n\n/** Known values of {@link DeploymentStackProvisioningState} that the service accepts. */\nexport enum KnownDeploymentStackProvisioningState {\n /** Creating */\n Creating = \"Creating\",\n /** Validating */\n Validating = \"Validating\",\n /** Waiting */\n Waiting = \"Waiting\",\n /** Deploying */\n Deploying = \"Deploying\",\n /** Canceling */\n Canceling = \"Canceling\",\n /** Locking */\n Locking = \"Locking\",\n /** DeletingResources */\n DeletingResources = \"DeletingResources\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Deleting */\n Deleting = \"Deleting\"\n}\n\n/**\n * Defines values for DeploymentStackProvisioningState. \\\n * {@link KnownDeploymentStackProvisioningState} can be used interchangeably with DeploymentStackProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Creating** \\\n * **Validating** \\\n * **Waiting** \\\n * **Deploying** \\\n * **Canceling** \\\n * **Locking** \\\n * **DeletingResources** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Deleting**\n */\nexport type DeploymentStackProvisioningState = string;\n\n/** Known values of {@link ResourceStatusMode} that the service accepts. */\nexport enum KnownResourceStatusMode {\n /** This resource is managed by the deployment stack. */\n Managed = \"Managed\",\n /** Unable to remove the deny assignment on resource. */\n RemoveDenyFailed = \"removeDenyFailed\",\n /** Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually. */\n DeleteFailed = \"deleteFailed\",\n /** No denyAssignments have been applied. */\n None = \"None\"\n}\n\n/**\n * Defines values for ResourceStatusMode. \\\n * {@link KnownResourceStatusMode} can be used interchangeably with ResourceStatusMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Managed**: This resource is managed by the deployment stack. \\\n * **removeDenyFailed**: Unable to remove the deny assignment on resource. \\\n * **deleteFailed**: Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually. \\\n * **None**: No denyAssignments have been applied.\n */\nexport type ResourceStatusMode = string;\n\n/** Known values of {@link DenyStatusMode} that the service accepts. */\nexport enum KnownDenyStatusMode {\n /** Authorized users are able to read and modify the resources, but cannot delete. */\n DenyDelete = \"denyDelete\",\n /** Resource type does not support denyAssignments. */\n NotSupported = \"notSupported\",\n /** denyAssignments are not supported on resources outside the scope of the deployment stack. */\n Inapplicable = \"inapplicable\",\n /** Authorized users can only read from a resource, but cannot modify or delete it. */\n DenyWriteAndDelete = \"denyWriteAndDelete\",\n /** Deny assignment has been removed by Azure due to a resource management change (management group move, etc.) */\n RemovedBySystem = \"removedBySystem\",\n /** No denyAssignments have been applied. */\n None = \"None\"\n}\n\n/**\n * Defines values for DenyStatusMode. \\\n * {@link KnownDenyStatusMode} can be used interchangeably with DenyStatusMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **denyDelete**: Authorized users are able to read and modify the resources, but cannot delete. \\\n * **notSupported**: Resource type does not support denyAssignments. \\\n * **inapplicable**: denyAssignments are not supported on resources outside the scope of the deployment stack. \\\n * **denyWriteAndDelete**: Authorized users can only read from a resource, but cannot modify or delete it. \\\n * **removedBySystem**: Deny assignment has been removed by Azure due to a resource management change (management group move, etc.) \\\n * **None**: No denyAssignments have been applied.\n */\nexport type DenyStatusMode = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link UnmanageActionResourceMode} that the service accepts. */\nexport enum KnownUnmanageActionResourceMode {\n /** Delete */\n Delete = \"delete\",\n /** Detach */\n Detach = \"detach\"\n}\n\n/**\n * Defines values for UnmanageActionResourceMode. \\\n * {@link KnownUnmanageActionResourceMode} can be used interchangeably with UnmanageActionResourceMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **delete** \\\n * **detach**\n */\nexport type UnmanageActionResourceMode = string;\n\n/** Known values of {@link UnmanageActionResourceGroupMode} that the service accepts. */\nexport enum KnownUnmanageActionResourceGroupMode {\n /** Delete */\n Delete = \"delete\",\n /** Detach */\n Detach = \"detach\"\n}\n\n/**\n * Defines values for UnmanageActionResourceGroupMode. \\\n * {@link KnownUnmanageActionResourceGroupMode} can be used interchangeably with UnmanageActionResourceGroupMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **delete** \\\n * **detach**\n */\nexport type UnmanageActionResourceGroupMode = string;\n\n/** Known values of {@link UnmanageActionManagementGroupMode} that the service accepts. */\nexport enum KnownUnmanageActionManagementGroupMode {\n /** Delete */\n Delete = \"delete\",\n /** Detach */\n Detach = \"detach\"\n}\n\n/**\n * Defines values for UnmanageActionManagementGroupMode. \\\n * {@link KnownUnmanageActionManagementGroupMode} can be used interchangeably with UnmanageActionManagementGroupMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **delete** \\\n * **detach**\n */\nexport type UnmanageActionManagementGroupMode = string;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtResourceGroup operation. */\nexport type DeploymentStacksListAtResourceGroupResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtSubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtSubscription operation. */\nexport type DeploymentStacksListAtSubscriptionResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtManagementGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtManagementGroup operation. */\nexport type DeploymentStacksListAtManagementGroupResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateAtResourceGroup operation. */\nexport type DeploymentStacksCreateOrUpdateAtResourceGroupResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksGetAtResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceGroup operation. */\nexport type DeploymentStacksGetAtResourceGroupResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksDeleteAtResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Flag to indicate delete rather than detach for the resources. */\n unmanageActionResources?: UnmanageActionResourceMode;\n /** Flag to indicate delete rather than detach for the resource groups. */\n unmanageActionResourceGroups?: UnmanageActionResourceGroupMode;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateAtSubscription operation. */\nexport type DeploymentStacksCreateOrUpdateAtSubscriptionResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksGetAtSubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtSubscription operation. */\nexport type DeploymentStacksGetAtSubscriptionResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksDeleteAtSubscriptionOptionalParams\n extends coreClient.OperationOptions {\n /** Flag to indicate delete rather than detach for the resources. */\n unmanageActionResources?: UnmanageActionResourceMode;\n /** Flag to indicate delete rather than detach for the resource groups. */\n unmanageActionResourceGroups?: UnmanageActionResourceGroupMode;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateAtManagementGroup operation. */\nexport type DeploymentStacksCreateOrUpdateAtManagementGroupResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksGetAtManagementGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtManagementGroup operation. */\nexport type DeploymentStacksGetAtManagementGroupResponse = DeploymentStack;\n\n/** Optional parameters. */\nexport interface DeploymentStacksDeleteAtManagementGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Flag to indicate delete rather than detach for the resources. */\n unmanageActionResources?: UnmanageActionResourceMode;\n /** Flag to indicate delete rather than detach for the resource groups. */\n unmanageActionResourceGroups?: UnmanageActionResourceGroupMode;\n /** Flag to indicate delete rather than detach for the management groups. */\n unmanageActionManagementGroups?: UnmanageActionManagementGroupMode;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface DeploymentStacksExportTemplateAtResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the exportTemplateAtResourceGroup operation. */\nexport type DeploymentStacksExportTemplateAtResourceGroupResponse = DeploymentStackTemplateDefinition;\n\n/** Optional parameters. */\nexport interface DeploymentStacksExportTemplateAtSubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the exportTemplateAtSubscription operation. */\nexport type DeploymentStacksExportTemplateAtSubscriptionResponse = DeploymentStackTemplateDefinition;\n\n/** Optional parameters. */\nexport interface DeploymentStacksExportTemplateAtManagementGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the exportTemplateAtManagementGroup operation. */\nexport type DeploymentStacksExportTemplateAtManagementGroupResponse = DeploymentStackTemplateDefinition;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtResourceGroupNext operation. */\nexport type DeploymentStacksListAtResourceGroupNextResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtSubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtSubscriptionNext operation. */\nexport type DeploymentStacksListAtSubscriptionNextResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksListAtManagementGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAtManagementGroupNext operation. */\nexport type DeploymentStacksListAtManagementGroupNextResponse = DeploymentStackListResult;\n\n/** Optional parameters. */\nexport interface DeploymentStacksClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const DeploymentStackListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStackListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DeploymentStack\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksTemplateLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksTemplateLink\",\n modelProperties: {\n uri: {\n serializedName: \"uri\",\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n relativePath: {\n serializedName: \"relativePath\",\n type: {\n name: \"String\"\n }\n },\n queryString: {\n serializedName: \"queryString\",\n type: {\n name: \"String\"\n }\n },\n contentVersion: {\n serializedName: \"contentVersion\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksParametersLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksParametersLink\",\n modelProperties: {\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n contentVersion: {\n serializedName: \"contentVersion\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStackPropertiesActionOnUnmanage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStackPropertiesActionOnUnmanage\",\n modelProperties: {\n resources: {\n serializedName: \"resources\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"String\"\n }\n },\n managementGroups: {\n serializedName: \"managementGroups\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksDebugSetting: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDebugSetting\",\n modelProperties: {\n detailLevel: {\n serializedName: \"detailLevel\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DenySettings: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DenySettings\",\n modelProperties: {\n mode: {\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n excludedPrincipals: {\n serializedName: \"excludedPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n excludedActions: {\n serializedName: \"excludedActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n applyToChildScopes: {\n serializedName: \"applyToChildScopes\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const ResourceReference: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const AzureResourceBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureResourceBase\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStackTemplateDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStackTemplateDefinition\",\n modelProperties: {\n template: {\n serializedName: \"template\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n templateLink: {\n serializedName: \"templateLink\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksTemplateLink\"\n }\n }\n }\n }\n};\n\nexport const ResourceReferenceExtended: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceReferenceExtended\",\n modelProperties: {\n ...ResourceReference.type.modelProperties,\n ...DeploymentStacksError.type.modelProperties\n }\n }\n};\n\nexport const ManagedResourceReference: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedResourceReference\",\n modelProperties: {\n ...ResourceReference.type.modelProperties,\n status: {\n defaultValue: \"None\",\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n denyStatus: {\n defaultValue: \"None\",\n serializedName: \"denyStatus\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStackProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStackProperties\",\n modelProperties: {\n ...DeploymentStacksError.type.modelProperties,\n template: {\n serializedName: \"template\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n templateLink: {\n serializedName: \"templateLink\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksTemplateLink\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n parametersLink: {\n serializedName: \"parametersLink\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksParametersLink\"\n }\n },\n actionOnUnmanage: {\n serializedName: \"actionOnUnmanage\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStackPropertiesActionOnUnmanage\"\n }\n },\n debugSetting: {\n serializedName: \"debugSetting\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDebugSetting\"\n }\n },\n deploymentScope: {\n serializedName: \"deploymentScope\",\n type: {\n name: \"String\"\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n denySettings: {\n serializedName: \"denySettings\",\n type: {\n name: \"Composite\",\n className: \"DenySettings\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n detachedResources: {\n serializedName: \"detachedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n deletedResources: {\n serializedName: \"deletedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n failedResources: {\n serializedName: \"failedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReferenceExtended\"\n }\n }\n }\n },\n resources: {\n serializedName: \"resources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedResourceReference\"\n }\n }\n }\n },\n deploymentId: {\n serializedName: \"deploymentId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n outputs: {\n serializedName: \"outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n duration: {\n serializedName: \"duration\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStack: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStack\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n error: {\n serializedName: \"properties.error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n },\n template: {\n serializedName: \"properties.template\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n templateLink: {\n serializedName: \"properties.templateLink\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksTemplateLink\"\n }\n },\n parameters: {\n serializedName: \"properties.parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n parametersLink: {\n serializedName: \"properties.parametersLink\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksParametersLink\"\n }\n },\n actionOnUnmanage: {\n serializedName: \"properties.actionOnUnmanage\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStackPropertiesActionOnUnmanage\"\n }\n },\n debugSetting: {\n serializedName: \"properties.debugSetting\",\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDebugSetting\"\n }\n },\n deploymentScope: {\n serializedName: \"properties.deploymentScope\",\n type: {\n name: \"String\"\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n denySettings: {\n serializedName: \"properties.denySettings\",\n type: {\n name: \"Composite\",\n className: \"DenySettings\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n detachedResources: {\n serializedName: \"properties.detachedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n deletedResources: {\n serializedName: \"properties.deletedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n failedResources: {\n serializedName: \"properties.failedResources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReferenceExtended\"\n }\n }\n }\n },\n resources: {\n serializedName: \"properties.resources\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedResourceReference\"\n }\n }\n }\n },\n deploymentId: {\n serializedName: \"properties.deploymentId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n outputs: {\n serializedName: \"properties.outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n duration: {\n serializedName: \"properties.duration\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksDeleteAtResourceGroupHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDeleteAtResourceGroupHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksDeleteAtSubscriptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDeleteAtSubscriptionHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DeploymentStacksDeleteAtManagementGroupHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentStacksDeleteAtManagementGroupHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { DeploymentStack as DeploymentStackMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-08-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const managementGroupId: OperationURLParameter = {\n parameterPath: \"managementGroupId\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"managementGroupId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const deploymentStack: OperationParameter = {\n parameterPath: \"deploymentStack\",\n mapper: DeploymentStackMapper\n};\n\nexport const deploymentStackName: OperationURLParameter = {\n parameterPath: \"deploymentStackName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"deploymentStackName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const unmanageActionResources: OperationQueryParameter = {\n parameterPath: [\"options\", \"unmanageActionResources\"],\n mapper: {\n serializedName: \"unmanageAction.Resources\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const unmanageActionResourceGroups: OperationQueryParameter = {\n parameterPath: [\"options\", \"unmanageActionResourceGroups\"],\n mapper: {\n serializedName: \"unmanageAction.ResourceGroups\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const unmanageActionManagementGroups: OperationQueryParameter = {\n parameterPath: [\"options\", \"unmanageActionManagementGroups\"],\n mapper: {\n serializedName: \"unmanageAction.ManagementGroups\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper\";\nimport { DeploymentStacks } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { DeploymentStacksClient } from \"../deploymentStacksClient\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl\";\nimport {\n DeploymentStack,\n DeploymentStacksListAtResourceGroupNextOptionalParams,\n DeploymentStacksListAtResourceGroupOptionalParams,\n DeploymentStacksListAtResourceGroupResponse,\n DeploymentStacksListAtSubscriptionNextOptionalParams,\n DeploymentStacksListAtSubscriptionOptionalParams,\n DeploymentStacksListAtSubscriptionResponse,\n DeploymentStacksListAtManagementGroupNextOptionalParams,\n DeploymentStacksListAtManagementGroupOptionalParams,\n DeploymentStacksListAtManagementGroupResponse,\n DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams,\n DeploymentStacksCreateOrUpdateAtResourceGroupResponse,\n DeploymentStacksGetAtResourceGroupOptionalParams,\n DeploymentStacksGetAtResourceGroupResponse,\n DeploymentStacksDeleteAtResourceGroupOptionalParams,\n DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams,\n DeploymentStacksCreateOrUpdateAtSubscriptionResponse,\n DeploymentStacksGetAtSubscriptionOptionalParams,\n DeploymentStacksGetAtSubscriptionResponse,\n DeploymentStacksDeleteAtSubscriptionOptionalParams,\n DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams,\n DeploymentStacksCreateOrUpdateAtManagementGroupResponse,\n DeploymentStacksGetAtManagementGroupOptionalParams,\n DeploymentStacksGetAtManagementGroupResponse,\n DeploymentStacksDeleteAtManagementGroupOptionalParams,\n DeploymentStacksExportTemplateAtResourceGroupOptionalParams,\n DeploymentStacksExportTemplateAtResourceGroupResponse,\n DeploymentStacksExportTemplateAtSubscriptionOptionalParams,\n DeploymentStacksExportTemplateAtSubscriptionResponse,\n DeploymentStacksExportTemplateAtManagementGroupOptionalParams,\n DeploymentStacksExportTemplateAtManagementGroupResponse,\n DeploymentStacksListAtResourceGroupNextResponse,\n DeploymentStacksListAtSubscriptionNextResponse,\n DeploymentStacksListAtManagementGroupNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DeploymentStacks operations. */\nexport class DeploymentStacksImpl implements DeploymentStacks {\n private readonly client: DeploymentStacksClient;\n\n /**\n * Initialize a new instance of the class DeploymentStacks class.\n * @param client Reference to the service client\n */\n constructor(client: DeploymentStacksClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Deployment Stacks within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listAtResourceGroup(\n resourceGroupName: string,\n options?: DeploymentStacksListAtResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DeploymentStack> {\n const iter = this.listAtResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtResourceGroupPagingPage(\n resourceGroupName: string,\n options?: DeploymentStacksListAtResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DeploymentStack[]> {\n let result: DeploymentStacksListAtResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtResourceGroupPagingAll(\n resourceGroupName: string,\n options?: DeploymentStacksListAtResourceGroupOptionalParams\n ): AsyncIterableIterator<DeploymentStack> {\n for await (const page of this.listAtResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Deployment Stacks within the specified subscription.\n * @param options The options parameters.\n */\n public listAtSubscription(\n options?: DeploymentStacksListAtSubscriptionOptionalParams\n ): PagedAsyncIterableIterator<DeploymentStack> {\n const iter = this.listAtSubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtSubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listAtSubscriptionPagingPage(\n options?: DeploymentStacksListAtSubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DeploymentStack[]> {\n let result: DeploymentStacksListAtSubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtSubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtSubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtSubscriptionPagingAll(\n options?: DeploymentStacksListAtSubscriptionOptionalParams\n ): AsyncIterableIterator<DeploymentStack> {\n for await (const page of this.listAtSubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Deployment Stacks within the specified management group.\n * @param managementGroupId Management Group.\n * @param options The options parameters.\n */\n public listAtManagementGroup(\n managementGroupId: string,\n options?: DeploymentStacksListAtManagementGroupOptionalParams\n ): PagedAsyncIterableIterator<DeploymentStack> {\n const iter = this.listAtManagementGroupPagingAll(\n managementGroupId,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtManagementGroupPagingPage(\n managementGroupId,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtManagementGroupPagingPage(\n managementGroupId: string,\n options?: DeploymentStacksListAtManagementGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DeploymentStack[]> {\n let result: DeploymentStacksListAtManagementGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtManagementGroup(managementGroupId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtManagementGroupNext(\n managementGroupId,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtManagementGroupPagingAll(\n managementGroupId: string,\n options?: DeploymentStacksListAtManagementGroupOptionalParams\n ): AsyncIterableIterator<DeploymentStack> {\n for await (const page of this.listAtManagementGroupPagingPage(\n managementGroupId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Deployment Stacks within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listAtResourceGroup(\n resourceGroupName: string,\n options?: DeploymentStacksListAtResourceGroupOptionalParams\n ): Promise<DeploymentStacksListAtResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listAtResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the Deployment Stacks within the specified subscription.\n * @param options The options parameters.\n */\n private _listAtSubscription(\n options?: DeploymentStacksListAtSubscriptionOptionalParams\n ): Promise<DeploymentStacksListAtSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionOperationSpec\n );\n }\n\n /**\n * Lists all the Deployment Stacks within the specified management group.\n * @param managementGroupId Management Group.\n * @param options The options parameters.\n */\n private _listAtManagementGroup(\n managementGroupId: string,\n options?: DeploymentStacksListAtManagementGroupOptionalParams\n ): Promise<DeploymentStacksListAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, options },\n listAtManagementGroupOperationSpec\n );\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtResourceGroup(\n resourceGroupName: string,\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DeploymentStacksCreateOrUpdateAtResourceGroupResponse>,\n DeploymentStacksCreateOrUpdateAtResourceGroupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DeploymentStacksCreateOrUpdateAtResourceGroupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n deploymentStackName,\n deploymentStack,\n options\n },\n spec: createOrUpdateAtResourceGroupOperationSpec\n });\n const poller = await createHttpPoller<\n DeploymentStacksCreateOrUpdateAtResourceGroupResponse,\n OperationState<DeploymentStacksCreateOrUpdateAtResourceGroupResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtResourceGroupAndWait(\n resourceGroupName: string,\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams\n ): Promise<DeploymentStacksCreateOrUpdateAtResourceGroupResponse> {\n const poller = await this.beginCreateOrUpdateAtResourceGroup(\n resourceGroupName,\n deploymentStackName,\n deploymentStack,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a Deployment Stack with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n getAtResourceGroup(\n resourceGroupName: string,\n deploymentStackName: string,\n options?: DeploymentStacksGetAtResourceGroupOptionalParams\n ): Promise<DeploymentStacksGetAtResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, deploymentStackName, options },\n getAtResourceGroupOperationSpec\n );\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtResourceGroup(\n resourceGroupName: string,\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtResourceGroupOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, deploymentStackName, options },\n spec: deleteAtResourceGroupOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtResourceGroupAndWait(\n resourceGroupName: string,\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtResourceGroupOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteAtResourceGroup(\n resourceGroupName,\n deploymentStackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtSubscription(\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DeploymentStacksCreateOrUpdateAtSubscriptionResponse>,\n DeploymentStacksCreateOrUpdateAtSubscriptionResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DeploymentStacksCreateOrUpdateAtSubscriptionResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { deploymentStackName, deploymentStack, options },\n spec: createOrUpdateAtSubscriptionOperationSpec\n });\n const poller = await createHttpPoller<\n DeploymentStacksCreateOrUpdateAtSubscriptionResponse,\n OperationState<DeploymentStacksCreateOrUpdateAtSubscriptionResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtSubscriptionAndWait(\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams\n ): Promise<DeploymentStacksCreateOrUpdateAtSubscriptionResponse> {\n const poller = await this.beginCreateOrUpdateAtSubscription(\n deploymentStackName,\n deploymentStack,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a Deployment Stack with a given name.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n getAtSubscription(\n deploymentStackName: string,\n options?: DeploymentStacksGetAtSubscriptionOptionalParams\n ): Promise<DeploymentStacksGetAtSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { deploymentStackName, options },\n getAtSubscriptionOperationSpec\n );\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtSubscription(\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtSubscriptionOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { deploymentStackName, options },\n spec: deleteAtSubscriptionOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtSubscriptionAndWait(\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtSubscriptionOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteAtSubscription(\n deploymentStackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtManagementGroup(\n managementGroupId: string,\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<DeploymentStacksCreateOrUpdateAtManagementGroupResponse>,\n DeploymentStacksCreateOrUpdateAtManagementGroupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DeploymentStacksCreateOrUpdateAtManagementGroupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n managementGroupId,\n deploymentStackName,\n deploymentStack,\n options\n },\n spec: createOrUpdateAtManagementGroupOperationSpec\n });\n const poller = await createHttpPoller<\n DeploymentStacksCreateOrUpdateAtManagementGroupResponse,\n OperationState<DeploymentStacksCreateOrUpdateAtManagementGroupResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Deployment Stack.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param deploymentStack Deployment Stack supplied to the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAtManagementGroupAndWait(\n managementGroupId: string,\n deploymentStackName: string,\n deploymentStack: DeploymentStack,\n options?: DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams\n ): Promise<DeploymentStacksCreateOrUpdateAtManagementGroupResponse> {\n const poller = await this.beginCreateOrUpdateAtManagementGroup(\n managementGroupId,\n deploymentStackName,\n deploymentStack,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a Deployment Stack with a given name.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n getAtManagementGroup(\n managementGroupId: string,\n deploymentStackName: string,\n options?: DeploymentStacksGetAtManagementGroupOptionalParams\n ): Promise<DeploymentStacksGetAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, deploymentStackName, options },\n getAtManagementGroupOperationSpec\n );\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtManagementGroup(\n managementGroupId: string,\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtManagementGroupOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { managementGroupId, deploymentStackName, options },\n spec: deleteAtManagementGroupOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Deployment Stack by name. When operation completes, status code 200 returned without\n * content.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n async beginDeleteAtManagementGroupAndWait(\n managementGroupId: string,\n deploymentStackName: string,\n options?: DeploymentStacksDeleteAtManagementGroupOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteAtManagementGroup(\n managementGroupId,\n deploymentStackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Exports the template used to create the deployment stack.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n exportTemplateAtResourceGroup(\n resourceGroupName: string,\n deploymentStackName: string,\n options?: DeploymentStacksExportTemplateAtResourceGroupOptionalParams\n ): Promise<DeploymentStacksExportTemplateAtResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, deploymentStackName, options },\n exportTemplateAtResourceGroupOperationSpec\n );\n }\n\n /**\n * Exports the template used to create the deployment stack.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n exportTemplateAtSubscription(\n deploymentStackName: string,\n options?: DeploymentStacksExportTemplateAtSubscriptionOptionalParams\n ): Promise<DeploymentStacksExportTemplateAtSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { deploymentStackName, options },\n exportTemplateAtSubscriptionOperationSpec\n );\n }\n\n /**\n * Exports the template used to create the deployment stack.\n * @param managementGroupId Management Group.\n * @param deploymentStackName Name of the deployment stack.\n * @param options The options parameters.\n */\n exportTemplateAtManagementGroup(\n managementGroupId: string,\n deploymentStackName: string,\n options?: DeploymentStacksExportTemplateAtManagementGroupOptionalParams\n ): Promise<DeploymentStacksExportTemplateAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, deploymentStackName, options },\n exportTemplateAtManagementGroupOperationSpec\n );\n }\n\n /**\n * ListAtResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroup method.\n * @param options The options parameters.\n */\n private _listAtResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: DeploymentStacksListAtResourceGroupNextOptionalParams\n ): Promise<DeploymentStacksListAtResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listAtResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionNext(\n nextLink: string,\n options?: DeploymentStacksListAtSubscriptionNextOptionalParams\n ): Promise<DeploymentStacksListAtSubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListAtManagementGroupNext\n * @param managementGroupId Management Group.\n * @param nextLink The nextLink from the previous successful call to the ListAtManagementGroup method.\n * @param options The options parameters.\n */\n private _listAtManagementGroupNext(\n managementGroupId: string,\n nextLink: string,\n options?: DeploymentStacksListAtManagementGroupNextOptionalParams\n ): Promise<DeploymentStacksListAtManagementGroupNextResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, nextLink, options },\n listAtManagementGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAtResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.managementGroupId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n 201: {\n bodyMapper: Mappers.DeploymentStack\n },\n 202: {\n bodyMapper: Mappers.DeploymentStack\n },\n 204: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n requestBody: Parameters.deploymentStack,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getAtResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteAtResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.unmanageActionResources,\n Parameters.unmanageActionResourceGroups\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n 201: {\n bodyMapper: Mappers.DeploymentStack\n },\n 202: {\n bodyMapper: Mappers.DeploymentStack\n },\n 204: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n requestBody: Parameters.deploymentStack,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.unmanageActionResources,\n Parameters.unmanageActionResourceGroups\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n 201: {\n bodyMapper: Mappers.DeploymentStack\n },\n 202: {\n bodyMapper: Mappers.DeploymentStack\n },\n 204: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n requestBody: Parameters.deploymentStack,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStack\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.unmanageActionResources,\n Parameters.unmanageActionResourceGroups,\n Parameters.unmanageActionManagementGroups\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst exportTemplateAtResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackTemplateDefinition\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst exportTemplateAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackTemplateDefinition\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst exportTemplateAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackTemplateDefinition\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.deploymentStackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtManagementGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeploymentStackListResult\n },\n default: {\n bodyMapper: Mappers.DeploymentStacksError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { DeploymentStacksImpl } from \"./operations\";\nimport { DeploymentStacks } from \"./operationsInterfaces\";\nimport { DeploymentStacksClientOptionalParams } from \"./models\";\n\nexport class DeploymentStacksClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DeploymentStacksClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DeploymentStacksClientOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: DeploymentStacksClientOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: DeploymentStacksClientOptionalParams | string,\n options?: DeploymentStacksClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DeploymentStacksClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resourcesdeploymentstacks/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-08-01-preview\";\n this.deploymentStacks = new DeploymentStacksImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n deploymentStacks: DeploymentStacks;\n}\n"],"names":["KnownDeploymentStacksDeleteDetachEnum","KnownDenySettingsMode","KnownDeploymentStackProvisioningState","KnownResourceStatusMode","KnownDenyStatusMode","KnownCreatedByType","KnownUnmanageActionResourceMode","KnownUnmanageActionResourceGroupMode","KnownUnmanageActionManagementGroupMode","DeploymentStackMapper","__rest","__await","__asyncValues","__asyncDelegator","__awaiter","createHttpPoller","coreClient","Mappers.DeploymentStackListResult","Mappers.DeploymentStacksError","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.accept","Parameters.managementGroupId","Mappers.DeploymentStack","Parameters.deploymentStack","Parameters.deploymentStackName","Parameters.contentType","Parameters.unmanageActionResources","Parameters.unmanageActionResourceGroups","Parameters.unmanageActionManagementGroups","Mappers.DeploymentStackTemplateDefinition","Parameters.nextLink","coreRestPipeline"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;AAMG;AACG,SAAU,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AAW,CACf,OAAwB,EACxB,IAAiB,EAAA;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrC,oBAAA,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACpB,wBAAA,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;AACpC,6BAAA;AAAM,iCAAA;AACL,gCAAA,OAAO,IAAI,CAAC;AACb,6BAAA;AACH,yBAAC,CAAC,CAAC;AACH,wBAAA,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,qBAAA;AACD,oBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;iBACtB,CAAA,CAAA;AAAA,aAAA;SACF,CAAC;AACF,QAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;KAC3C;AAGF;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(a){var r;return a&&a.__esModule?a:(r=Object.create(null),a&&Object.keys(a).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(a,e),Object.defineProperty(r,e,t.get?t:{enumerable:!0,get:function(){return a[e]}}))}),r.default=a,Object.freeze(r))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}function setContinuationToken(e,t){var a;"object"==typeof e&&null!==e&&t&&((a=null!=(a=pageMap.get(e))?a:{}).continuationToken=t,pageMap.set(e,a))}exports.KnownDeploymentStacksDeleteDetachEnum=void 0,function(e){e.Delete="delete",e.Detach="detach"}(exports.KnownDeploymentStacksDeleteDetachEnum||(exports.KnownDeploymentStacksDeleteDetachEnum={})),exports.KnownDenySettingsMode=void 0,function(e){e.DenyDelete="denyDelete",e.DenyWriteAndDelete="denyWriteAndDelete",e.None="none"}(exports.KnownDenySettingsMode||(exports.KnownDenySettingsMode={})),exports.KnownDeploymentStackProvisioningState=void 0,function(e){e.Creating="Creating",e.Validating="Validating",e.Waiting="Waiting",e.Deploying="Deploying",e.Canceling="Canceling",e.Locking="Locking",e.DeletingResources="DeletingResources",e.Succeeded="Succeeded",e.Failed="Failed",e.Canceled="Canceled",e.Deleting="Deleting"}(exports.KnownDeploymentStackProvisioningState||(exports.KnownDeploymentStackProvisioningState={})),exports.KnownResourceStatusMode=void 0,function(e){e.Managed="Managed",e.RemoveDenyFailed="removeDenyFailed",e.DeleteFailed="deleteFailed",e.None="None"}(exports.KnownResourceStatusMode||(exports.KnownResourceStatusMode={})),exports.KnownDenyStatusMode=void 0,function(e){e.DenyDelete="denyDelete",e.NotSupported="notSupported",e.Inapplicable="inapplicable",e.DenyWriteAndDelete="denyWriteAndDelete",e.RemovedBySystem="removedBySystem",e.None="None"}(exports.KnownDenyStatusMode||(exports.KnownDenyStatusMode={})),exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownUnmanageActionResourceMode=void 0,function(e){e.Delete="delete",e.Detach="detach"}(exports.KnownUnmanageActionResourceMode||(exports.KnownUnmanageActionResourceMode={})),exports.KnownUnmanageActionResourceGroupMode=void 0,function(e){e.Delete="delete",e.Detach="detach"}(exports.KnownUnmanageActionResourceGroupMode||(exports.KnownUnmanageActionResourceGroupMode={})),exports.KnownUnmanageActionManagementGroupMode=void 0,function(e){e.Delete="delete",e.Detach="detach"}(exports.KnownUnmanageActionManagementGroupMode||(exports.KnownUnmanageActionManagementGroupMode={}));const DeploymentStackListResult={type:{name:"Composite",className:"DeploymentStackListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"DeploymentStack"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},DeploymentStacksTemplateLink={type:{name:"Composite",className:"DeploymentStacksTemplateLink",modelProperties:{uri:{serializedName:"uri",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},relativePath:{serializedName:"relativePath",type:{name:"String"}},queryString:{serializedName:"queryString",type:{name:"String"}},contentVersion:{serializedName:"contentVersion",type:{name:"String"}}}}},DeploymentStacksParametersLink={type:{name:"Composite",className:"DeploymentStacksParametersLink",modelProperties:{uri:{serializedName:"uri",required:!0,type:{name:"String"}},contentVersion:{serializedName:"contentVersion",type:{name:"String"}}}}},DeploymentStackPropertiesActionOnUnmanage={type:{name:"Composite",className:"DeploymentStackPropertiesActionOnUnmanage",modelProperties:{resources:{serializedName:"resources",required:!0,type:{name:"String"}},resourceGroups:{serializedName:"resourceGroups",type:{name:"String"}},managementGroups:{serializedName:"managementGroups",type:{name:"String"}}}}},DeploymentStacksDebugSetting={type:{name:"Composite",className:"DeploymentStacksDebugSetting",modelProperties:{detailLevel:{serializedName:"detailLevel",type:{name:"String"}}}}},DenySettings={type:{name:"Composite",className:"DenySettings",modelProperties:{mode:{serializedName:"mode",required:!0,type:{name:"String"}},excludedPrincipals:{serializedName:"excludedPrincipals",type:{name:"Sequence",element:{type:{name:"String"}}}},excludedActions:{serializedName:"excludedActions",type:{name:"Sequence",element:{type:{name:"String"}}}},applyToChildScopes:{serializedName:"applyToChildScopes",type:{name:"Boolean"}}}}},ResourceReference={type:{name:"Composite",className:"ResourceReference",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}}}}},DeploymentStacksError={type:{name:"Composite",className:"DeploymentStacksError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetail"}}}}},ErrorDetail={type:{name:"Composite",className:"ErrorDetail",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDetail"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},AzureResourceBase={type:{name:"Composite",className:"AzureResourceBase",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},DeploymentStackTemplateDefinition={type:{name:"Composite",className:"DeploymentStackTemplateDefinition",modelProperties:{template:{serializedName:"template",type:{name:"Dictionary",value:{type:{name:"any"}}}},templateLink:{serializedName:"templateLink",type:{name:"Composite",className:"DeploymentStacksTemplateLink"}}}}},ResourceReferenceExtended={type:{name:"Composite",className:"ResourceReferenceExtended",modelProperties:Object.assign(Object.assign({},ResourceReference.type.modelProperties),DeploymentStacksError.type.modelProperties)}},ManagedResourceReference={type:{name:"Composite",className:"ManagedResourceReference",modelProperties:Object.assign(Object.assign({},ResourceReference.type.modelProperties),{status:{defaultValue:"None",serializedName:"status",type:{name:"String"}},denyStatus:{defaultValue:"None",serializedName:"denyStatus",type:{name:"String"}}})}},DeploymentStackProperties={type:{name:"Composite",className:"DeploymentStackProperties",modelProperties:Object.assign(Object.assign({},DeploymentStacksError.type.modelProperties),{template:{serializedName:"template",type:{name:"Dictionary",value:{type:{name:"any"}}}},templateLink:{serializedName:"templateLink",type:{name:"Composite",className:"DeploymentStacksTemplateLink"}},parameters:{serializedName:"parameters",type:{name:"Dictionary",value:{type:{name:"any"}}}},parametersLink:{serializedName:"parametersLink",type:{name:"Composite",className:"DeploymentStacksParametersLink"}},actionOnUnmanage:{serializedName:"actionOnUnmanage",type:{name:"Composite",className:"DeploymentStackPropertiesActionOnUnmanage"}},debugSetting:{serializedName:"debugSetting",type:{name:"Composite",className:"DeploymentStacksDebugSetting"}},deploymentScope:{serializedName:"deploymentScope",type:{name:"String"}},description:{constraints:{MaxLength:4096},serializedName:"description",type:{name:"String"}},denySettings:{serializedName:"denySettings",type:{name:"Composite",className:"DenySettings"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},detachedResources:{serializedName:"detachedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},deletedResources:{serializedName:"deletedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},failedResources:{serializedName:"failedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReferenceExtended"}}}},resources:{serializedName:"resources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagedResourceReference"}}}},deploymentId:{serializedName:"deploymentId",readOnly:!0,type:{name:"String"}},outputs:{serializedName:"outputs",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}},duration:{serializedName:"duration",readOnly:!0,type:{name:"String"}}})}},DeploymentStack={type:{name:"Composite",className:"DeploymentStack",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},error:{serializedName:"properties.error",type:{name:"Composite",className:"ErrorResponse"}},template:{serializedName:"properties.template",type:{name:"Dictionary",value:{type:{name:"any"}}}},templateLink:{serializedName:"properties.templateLink",type:{name:"Composite",className:"DeploymentStacksTemplateLink"}},parameters:{serializedName:"properties.parameters",type:{name:"Dictionary",value:{type:{name:"any"}}}},parametersLink:{serializedName:"properties.parametersLink",type:{name:"Composite",className:"DeploymentStacksParametersLink"}},actionOnUnmanage:{serializedName:"properties.actionOnUnmanage",type:{name:"Composite",className:"DeploymentStackPropertiesActionOnUnmanage"}},debugSetting:{serializedName:"properties.debugSetting",type:{name:"Composite",className:"DeploymentStacksDebugSetting"}},deploymentScope:{serializedName:"properties.deploymentScope",type:{name:"String"}},description:{constraints:{MaxLength:4096},serializedName:"properties.description",type:{name:"String"}},denySettings:{serializedName:"properties.denySettings",type:{name:"Composite",className:"DenySettings"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},detachedResources:{serializedName:"properties.detachedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},deletedResources:{serializedName:"properties.deletedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},failedResources:{serializedName:"properties.failedResources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReferenceExtended"}}}},resources:{serializedName:"properties.resources",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagedResourceReference"}}}},deploymentId:{serializedName:"properties.deploymentId",readOnly:!0,type:{name:"String"}},outputs:{serializedName:"properties.outputs",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}},duration:{serializedName:"properties.duration",readOnly:!0,type:{name:"String"}}})}},DeploymentStacksDeleteAtResourceGroupHeaders={type:{name:"Composite",className:"DeploymentStacksDeleteAtResourceGroupHeaders",modelProperties:{location:{serializedName:"location",type:{name:"String"}}}}},DeploymentStacksDeleteAtSubscriptionHeaders={type:{name:"Composite",className:"DeploymentStacksDeleteAtSubscriptionHeaders",modelProperties:{location:{serializedName:"location",type:{name:"String"}}}}},DeploymentStacksDeleteAtManagementGroupHeaders={type:{name:"Composite",className:"DeploymentStacksDeleteAtManagementGroupHeaders",modelProperties:{location:{serializedName:"location",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,DeploymentStackListResult:DeploymentStackListResult,DeploymentStacksTemplateLink:DeploymentStacksTemplateLink,DeploymentStacksParametersLink:DeploymentStacksParametersLink,DeploymentStackPropertiesActionOnUnmanage:DeploymentStackPropertiesActionOnUnmanage,DeploymentStacksDebugSetting:DeploymentStacksDebugSetting,DenySettings:DenySettings,ResourceReference:ResourceReference,DeploymentStacksError:DeploymentStacksError,ErrorResponse:ErrorResponse,ErrorDetail:ErrorDetail,ErrorAdditionalInfo:ErrorAdditionalInfo,AzureResourceBase:AzureResourceBase,SystemData:SystemData,DeploymentStackTemplateDefinition:DeploymentStackTemplateDefinition,ResourceReferenceExtended:ResourceReferenceExtended,ManagedResourceReference:ManagedResourceReference,DeploymentStackProperties:DeploymentStackProperties,DeploymentStack:DeploymentStack,DeploymentStacksDeleteAtResourceGroupHeaders:DeploymentStacksDeleteAtResourceGroupHeaders,DeploymentStacksDeleteAtSubscriptionHeaders:DeploymentStacksDeleteAtSubscriptionHeaders,DeploymentStacksDeleteAtManagementGroupHeaders:DeploymentStacksDeleteAtManagementGroupHeaders});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{constraints:{MinLength:1},serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2022-08-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},managementGroupId={parameterPath:"managementGroupId",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"managementGroupId",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},deploymentStack={parameterPath:"deploymentStack",mapper:DeploymentStack},deploymentStackName={parameterPath:"deploymentStackName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"deploymentStackName",required:!0,type:{name:"String"}}},unmanageActionResources={parameterPath:["options","unmanageActionResources"],mapper:{serializedName:"unmanageAction.Resources",type:{name:"String"}}},unmanageActionResourceGroups={parameterPath:["options","unmanageActionResourceGroups"],mapper:{serializedName:"unmanageAction.ResourceGroups",type:{name:"String"}}},unmanageActionManagementGroups={parameterPath:["options","unmanageActionManagementGroups"],mapper:{serializedName:"unmanageAction.ManagementGroups",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0};function createLroSpec(e){const{args:r,spec:n,sendOperationFn:o}=e;return{requestMethod:n.httpMethod,requestPath:n.path,sendInitialRequest:()=>o(r,n),sendPollRequest:(e,t)=>{var a=tslib.__rest(n,["requestBody"]);return o(r,Object.assign(Object.assign({},a),{httpMethod:"GET",path:e,abortSignal:null==t?void 0:t.abortSignal}))}}}class DeploymentStacksImpl{constructor(e){this.client=e}listAtResourceGroup(t,a){const e=this.listAtResourceGroupPagingAll(t,a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listAtResourceGroupPagingPage(t,a,e)}}}listAtResourceGroupPagingPage(n,o,i){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==i?void 0:i.continuationToken;var a;for(t||(setContinuationToken(a=(e=yield tslib.__await(this._listAtResourceGroup(n,o))).value||[],t=e.nextLink),yield yield tslib.__await(a));t;){e=yield tslib.__await(this._listAtResourceGroupNext(n,t,o)),t=e.nextLink;var r=e.value||[];setContinuationToken(r,t),yield yield tslib.__await(r)}})}listAtResourceGroupPagingAll(s,p){return tslib.__asyncGenerator(this,arguments,function*(){var e,t,a,r;try{for(var n,o=!0,i=tslib.__asyncValues(this.listAtResourceGroupPagingPage(s,p));!(e=(n=yield tslib.__await(i.next())).done);){r=n.value,o=!1;try{yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}finally{o=!0}}}catch(e){t={error:e}}finally{try{o||e||!(a=i.return)||(yield tslib.__await(a.call(i)))}finally{if(t)throw t.error}}})}listAtSubscription(t){const e=this.listAtSubscriptionPagingAll(t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listAtSubscriptionPagingPage(t,e)}}}listAtSubscriptionPagingPage(n,o){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==o?void 0:o.continuationToken;var a;for(t||(setContinuationToken(a=(e=yield tslib.__await(this._listAtSubscription(n))).value||[],t=e.nextLink),yield yield tslib.__await(a));t;){e=yield tslib.__await(this._listAtSubscriptionNext(t,n)),t=e.nextLink;var r=e.value||[];setContinuationToken(r,t),yield yield tslib.__await(r)}})}listAtSubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var e,t,a,r;try{for(var n,o=!0,i=tslib.__asyncValues(this.listAtSubscriptionPagingPage(s));!(e=(n=yield tslib.__await(i.next())).done);){r=n.value,o=!1;try{yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}finally{o=!0}}}catch(e){t={error:e}}finally{try{o||e||!(a=i.return)||(yield tslib.__await(a.call(i)))}finally{if(t)throw t.error}}})}listAtManagementGroup(t,a){const e=this.listAtManagementGroupPagingAll(t,a);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listAtManagementGroupPagingPage(t,a,e)}}}listAtManagementGroupPagingPage(n,o,i){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==i?void 0:i.continuationToken;var a;for(t||(setContinuationToken(a=(e=yield tslib.__await(this._listAtManagementGroup(n,o))).value||[],t=e.nextLink),yield yield tslib.__await(a));t;){e=yield tslib.__await(this._listAtManagementGroupNext(n,t,o)),t=e.nextLink;var r=e.value||[];setContinuationToken(r,t),yield yield tslib.__await(r)}})}listAtManagementGroupPagingAll(s,p){return tslib.__asyncGenerator(this,arguments,function*(){var e,t,a,r;try{for(var n,o=!0,i=tslib.__asyncValues(this.listAtManagementGroupPagingPage(s,p));!(e=(n=yield tslib.__await(i.next())).done);){r=n.value,o=!1;try{yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}finally{o=!0}}}catch(e){t={error:e}}finally{try{o||e||!(a=i.return)||(yield tslib.__await(a.call(i)))}finally{if(t)throw t.error}}})}_listAtResourceGroup(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listAtResourceGroupOperationSpec)}_listAtSubscription(e){return this.client.sendOperationRequest({options:e},listAtSubscriptionOperationSpec)}_listAtManagementGroup(e,t){return this.client.sendOperationRequest({managementGroupId:e,options:t},listAtManagementGroupOperationSpec)}beginCreateOrUpdateAtResourceGroup(t,a,r,n){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{resourceGroupName:t,deploymentStackName:a,deploymentStack:r,options:n},spec:createOrUpdateAtResourceGroupOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs,resourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAtResourceGroupAndWait(e,t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdateAtResourceGroup(e,t,a,r)).pollUntilDone()})}getAtResourceGroup(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,deploymentStackName:t,options:a},getAtResourceGroupOperationSpec)}beginDeleteAtResourceGroup(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{resourceGroupName:t,deploymentStackName:a,options:r},spec:deleteAtResourceGroupOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs,resourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAtResourceGroupAndWait(e,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDeleteAtResourceGroup(e,t,a)).pollUntilDone()})}beginCreateOrUpdateAtSubscription(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{deploymentStackName:t,deploymentStack:a,options:r},spec:createOrUpdateAtSubscriptionOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs,resourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAtSubscriptionAndWait(e,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdateAtSubscription(e,t,a)).pollUntilDone()})}getAtSubscription(e,t){return this.client.sendOperationRequest({deploymentStackName:e,options:t},getAtSubscriptionOperationSpec)}beginDeleteAtSubscription(t,a){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{deploymentStackName:t,options:a},spec:deleteAtSubscriptionOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==a?void 0:a.resumeFrom,intervalInMs:null==a?void 0:a.updateIntervalInMs,resourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAtSubscriptionAndWait(e,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDeleteAtSubscription(e,t)).pollUntilDone()})}beginCreateOrUpdateAtManagementGroup(t,a,r,n){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{managementGroupId:t,deploymentStackName:a,deploymentStack:r,options:n},spec:createOrUpdateAtManagementGroupOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs,resourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAtManagementGroupAndWait(e,t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdateAtManagementGroup(e,t,a,r)).pollUntilDone()})}getAtManagementGroup(e,t,a){return this.client.sendOperationRequest({managementGroupId:e,deploymentStackName:t,options:a},getAtManagementGroupOperationSpec)}beginDeleteAtManagementGroup(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=createLroSpec({sendOperationFn:(t,n)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null==(e=t.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield o(e,n),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),args:{managementGroupId:t,deploymentStackName:a,options:r},spec:deleteAtManagementGroupOperationSpec}),e=yield coreLro.createHttpPoller(e,{restoreFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs,resourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAtManagementGroupAndWait(e,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDeleteAtManagementGroup(e,t,a)).pollUntilDone()})}exportTemplateAtResourceGroup(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,deploymentStackName:t,options:a},exportTemplateAtResourceGroupOperationSpec)}exportTemplateAtSubscription(e,t){return this.client.sendOperationRequest({deploymentStackName:e,options:t},exportTemplateAtSubscriptionOperationSpec)}exportTemplateAtManagementGroup(e,t,a){return this.client.sendOperationRequest({managementGroupId:e,deploymentStackName:t,options:a},exportTemplateAtManagementGroupOperationSpec)}_listAtResourceGroupNext(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:t,options:a},listAtResourceGroupNextOperationSpec)}_listAtSubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAtSubscriptionNextOperationSpec)}_listAtManagementGroupNext(e,t,a){return this.client.sendOperationRequest({managementGroupId:e,nextLink:t,options:a},listAtManagementGroupNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listAtResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer},listAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listAtManagementGroupOperationSpec={path:"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,managementGroupId],headerParameters:[accept],serializer:serializer},createOrUpdateAtResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"PUT",responses:{200:{bodyMapper:DeploymentStack},201:{bodyMapper:DeploymentStack},202:{bodyMapper:DeploymentStack},204:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},requestBody:deploymentStack,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,deploymentStackName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},getAtResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,deploymentStackName],headerParameters:[accept],serializer:serializer},deleteAtResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion,unmanageActionResources,unmanageActionResourceGroups],urlParameters:[$host,subscriptionId,resourceGroupName,deploymentStackName],headerParameters:[accept],serializer:serializer},createOrUpdateAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"PUT",responses:{200:{bodyMapper:DeploymentStack},201:{bodyMapper:DeploymentStack},202:{bodyMapper:DeploymentStack},204:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},requestBody:deploymentStack,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,deploymentStackName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},getAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,deploymentStackName],headerParameters:[accept],serializer:serializer},deleteAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion,unmanageActionResources,unmanageActionResourceGroups],urlParameters:[$host,subscriptionId,deploymentStackName],headerParameters:[accept],serializer:serializer},createOrUpdateAtManagementGroupOperationSpec={path:"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"PUT",responses:{200:{bodyMapper:DeploymentStack},201:{bodyMapper:DeploymentStack},202:{bodyMapper:DeploymentStack},204:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},requestBody:deploymentStack,queryParameters:[apiVersion],urlParameters:[$host,managementGroupId,deploymentStackName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},getAtManagementGroupOperationSpec={path:"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStack},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,managementGroupId,deploymentStackName],headerParameters:[accept],serializer:serializer},deleteAtManagementGroupOperationSpec={path:"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion,unmanageActionResources,unmanageActionResourceGroups,unmanageActionManagementGroups],urlParameters:[$host,managementGroupId,deploymentStackName],headerParameters:[accept],serializer:serializer},exportTemplateAtResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate",httpMethod:"POST",responses:{200:{bodyMapper:DeploymentStackTemplateDefinition},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,deploymentStackName],headerParameters:[accept],serializer:serializer},exportTemplateAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate",httpMethod:"POST",responses:{200:{bodyMapper:DeploymentStackTemplateDefinition},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,deploymentStackName],headerParameters:[accept],serializer:serializer},exportTemplateAtManagementGroupOperationSpec={path:"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate",httpMethod:"POST",responses:{200:{bodyMapper:DeploymentStackTemplateDefinition},default:{bodyMapper:DeploymentStacksError}},queryParameters:[apiVersion],urlParameters:[$host,managementGroupId,deploymentStackName],headerParameters:[accept],serializer:serializer},listAtResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer},listAtSubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer},listAtManagementGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DeploymentStackListResult},default:{bodyMapper:DeploymentStacksError}},urlParameters:[$host,managementGroupId,nextLink],headerParameters:[accept],serializer:serializer};class DeploymentStacksClient extends coreClient__namespace.ServiceClient{constructor(e,t,a){if(void 0===e)throw new Error("'credentials' cannot be null");let r;"string"==typeof t?r=t:"object"==typeof t&&(a=t);var n,t="azsdk-js-arm-resourcesdeploymentstacks/1.0.0-beta.1",t=(a=a||{}).userAgentOptions&&a.userAgentOptions.userAgentPrefix?a.userAgentOptions.userAgentPrefix+" "+t:t,t=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),a),{userAgentOptions:{userAgentPrefix:t},endpoint:null!=(t=null!=(t=a.endpoint)?t:a.baseUri)?t:"https://management.azure.com"});super(t);let o=!1;null!=a&&a.pipeline&&0<a.pipeline.getOrderedPolicies().length&&(n=a.pipeline.getOrderedPolicies(),o=n.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),a&&a.pipeline&&0!=a.pipeline.getOrderedPolicies().length&&o||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(n=t.credentialScopes)?n:t.endpoint+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}}))),this.subscriptionId=r,this.$host=a.$host||"https://management.azure.com",this.apiVersion=a.apiVersion||"2022-08-01-preview",this.deploymentStacks=new DeploymentStacksImpl(this),this.addCustomApiVersionPolicy(a.apiVersion)}addCustomApiVersionPolicy(n){n&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(a,r){return tslib.__awaiter(this,void 0,void 0,function*(){var e,t=a.url.split("?");return 1<t.length&&(e=t[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+n:e),a.url=t[0]+"?"+e.join("&")),r(a)})}})}}exports.DeploymentStacksClient=DeploymentStacksClient,exports.getContinuationToken=getContinuationToken;
|