import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { AppServiceEnvironments } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { WebSiteManagementClient } from "../webSiteManagementClient" ; import { PollerLike , PollOperationState , LroEngine } from "@azure/core-lro" ; import { LroImpl } from "../lroImpl" ; import { AppServiceEnvironmentResource , AppServiceEnvironmentsListNextOptionalParams , AppServiceEnvironmentsListOptionalParams , AppServiceEnvironmentsListByResourceGroupNextOptionalParams , AppServiceEnvironmentsListByResourceGroupOptionalParams , StampCapacity , AppServiceEnvironmentsListCapacitiesNextOptionalParams , AppServiceEnvironmentsListCapacitiesOptionalParams , Site , VirtualNetworkProfile , AppServiceEnvironmentsChangeVnetNextOptionalParams , AppServiceEnvironmentsChangeVnetOptionalParams , InboundEnvironmentEndpoint , AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextOptionalParams , AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams , WorkerPoolResource , AppServiceEnvironmentsListMultiRolePoolsNextOptionalParams , AppServiceEnvironmentsListMultiRolePoolsOptionalParams , ResourceMetricDefinition , AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextOptionalParams , AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams , AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextOptionalParams , AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams , SkuInfo , AppServiceEnvironmentsListMultiRolePoolSkusNextOptionalParams , AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams , Usage , AppServiceEnvironmentsListMultiRoleUsagesNextOptionalParams , AppServiceEnvironmentsListMultiRoleUsagesOptionalParams , OutboundEnvironmentEndpoint , AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextOptionalParams , AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams , RemotePrivateEndpointConnectionARMResource , AppServiceEnvironmentsGetPrivateEndpointConnectionListNextOptionalParams , AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams , AppServiceEnvironmentsResumeNextOptionalParams , AppServiceEnvironmentsResumeOptionalParams , AppServicePlan , AppServiceEnvironmentsListAppServicePlansNextOptionalParams , AppServiceEnvironmentsListAppServicePlansOptionalParams , AppServiceEnvironmentsListWebAppsNextOptionalParams , AppServiceEnvironmentsListWebAppsOptionalParams , AppServiceEnvironmentsSuspendNextOptionalParams , AppServiceEnvironmentsSuspendOptionalParams , CsmUsageQuota , AppServiceEnvironmentsListUsagesNextOptionalParams , AppServiceEnvironmentsListUsagesOptionalParams , AppServiceEnvironmentsListWorkerPoolsNextOptionalParams , AppServiceEnvironmentsListWorkerPoolsOptionalParams , AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextOptionalParams , AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams , AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextOptionalParams , AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams , AppServiceEnvironmentsListWorkerPoolSkusNextOptionalParams , AppServiceEnvironmentsListWorkerPoolSkusOptionalParams , AppServiceEnvironmentsListWebWorkerUsagesNextOptionalParams , AppServiceEnvironmentsListWebWorkerUsagesOptionalParams , AppServiceEnvironmentsListResponse , AppServiceEnvironmentsListByResourceGroupResponse , AppServiceEnvironmentsGetOptionalParams , AppServiceEnvironmentsGetResponse , AppServiceEnvironmentsCreateOrUpdateOptionalParams , AppServiceEnvironmentsCreateOrUpdateResponse , AppServiceEnvironmentsDeleteOptionalParams , AppServiceEnvironmentPatchResource , AppServiceEnvironmentsUpdateOptionalParams , AppServiceEnvironmentsUpdateResponse , AppServiceEnvironmentsListCapacitiesResponse , AppServiceEnvironmentsGetVipInfoOptionalParams , AppServiceEnvironmentsGetVipInfoResponse , AppServiceEnvironmentsChangeVnetResponse , AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams , AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse , AseV3NetworkingConfiguration , AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams , AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse , AppServiceEnvironmentsListDiagnosticsOptionalParams , AppServiceEnvironmentsListDiagnosticsResponse , AppServiceEnvironmentsGetDiagnosticsItemOptionalParams , AppServiceEnvironmentsGetDiagnosticsItemResponse , AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse , AppServiceEnvironmentsListMultiRolePoolsResponse , AppServiceEnvironmentsGetMultiRolePoolOptionalParams , AppServiceEnvironmentsGetMultiRolePoolResponse , AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams , AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse , AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams , AppServiceEnvironmentsUpdateMultiRolePoolResponse , AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse , AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse , AppServiceEnvironmentsListMultiRolePoolSkusResponse , AppServiceEnvironmentsListMultiRoleUsagesResponse , AppServiceEnvironmentsListOperationsOptionalParams , AppServiceEnvironmentsListOperationsResponse , AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse , AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse , AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams , AppServiceEnvironmentsGetPrivateEndpointConnectionResponse , PrivateLinkConnectionApprovalRequestResource , AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams , AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse , AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams , AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse , AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams , AppServiceEnvironmentsGetPrivateLinkResourcesResponse , AppServiceEnvironmentsRebootOptionalParams , AppServiceEnvironmentsResumeResponse , AppServiceEnvironmentsListAppServicePlansResponse , AppServiceEnvironmentsListWebAppsResponse , AppServiceEnvironmentsSuspendResponse , AppServiceEnvironmentsListUsagesResponse , AppServiceEnvironmentsListWorkerPoolsResponse , AppServiceEnvironmentsGetWorkerPoolOptionalParams , AppServiceEnvironmentsGetWorkerPoolResponse , AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams , AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse , AppServiceEnvironmentsUpdateWorkerPoolOptionalParams , AppServiceEnvironmentsUpdateWorkerPoolResponse , AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse , AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse , AppServiceEnvironmentsListWorkerPoolSkusResponse , AppServiceEnvironmentsListWebWorkerUsagesResponse , AppServiceEnvironmentsListNextResponse , AppServiceEnvironmentsListByResourceGroupNextResponse , AppServiceEnvironmentsListCapacitiesNextResponse , AppServiceEnvironmentsChangeVnetNextResponse , AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse , AppServiceEnvironmentsListMultiRolePoolsNextResponse , AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse , AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse , AppServiceEnvironmentsListMultiRolePoolSkusNextResponse , AppServiceEnvironmentsListMultiRoleUsagesNextResponse , AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse , AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse , AppServiceEnvironmentsResumeNextResponse , AppServiceEnvironmentsListAppServicePlansNextResponse , AppServiceEnvironmentsListWebAppsNextResponse , AppServiceEnvironmentsSuspendNextResponse , AppServiceEnvironmentsListUsagesNextResponse , AppServiceEnvironmentsListWorkerPoolsNextResponse , AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse , AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse , AppServiceEnvironmentsListWorkerPoolSkusNextResponse , AppServiceEnvironmentsListWebWorkerUsagesNextResponse } from "../models" ; /** Class containing AppServiceEnvironments operations. */ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private readonly client : WebSiteManagementClient ; param client constructor ( client ) { this . client = client ; } param options public list ( options ? ) { const iter = this . listPagingAll ( options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listPagingPage ( options ) ; } } ; } private async * listPagingPage ( options ? ) { let result = await this . _list ( options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listNext ( continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listPagingAll ( options ? ) { for await ( const page of this . listPagingPage ( options ) ) { yield * page ; } } param resourceGroupName param options public listByResourceGroup ( resourceGroupName , options ? ) { const iter = this . listByResourceGroupPagingAll ( resourceGroupName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listByResourceGroupPagingPage ( resourceGroupName , options ) ; } } ; } private async * listByResourceGroupPagingPage ( resourceGroupName , options ? ) { let result = await this . _listByResourceGroup ( resourceGroupName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listByResourceGroupNext ( resourceGroupName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listByResourceGroupPagingAll ( resourceGroupName , options ? ) { for await ( const page of this . listByResourceGroupPagingPage ( resourceGroupName , options ) ) { yield * page ; } } param resourceGroupName param name param options public listCapacities ( resourceGroupName , name , options ? ) { const iter = this . listCapacitiesPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listCapacitiesPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listCapacitiesPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listCapacities ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listCapacitiesNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listCapacitiesPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listCapacitiesPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param vnetInfo param options public beginListChangeVnetAndWait ( resourceGroupName , name , vnetInfo , options ? ) { const iter = this . changeVnetPagingAll ( resourceGroupName , name , vnetInfo , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . changeVnetPagingPage ( resourceGroupName , name , vnetInfo , options ) ; } } ; } private async * changeVnetPagingPage ( resourceGroupName , name , vnetInfo , options ? ) { const poller = await this . _changeVnet ( resourceGroupName , name , vnetInfo , options ) ; let result = await poller . pollUntilDone ( ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _changeVnetNext ( resourceGroupName , name , vnetInfo , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * changeVnetPagingAll ( resourceGroupName , name , vnetInfo , options ? ) { for await ( const page of this . changeVnetPagingPage ( resourceGroupName , name , vnetInfo , options ) ) { yield * page ; } } param resourceGroupName param name param options public listInboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ? ) { const iter = this . getInboundNetworkDependenciesEndpointsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . getInboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * getInboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _getInboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _getInboundNetworkDependenciesEndpointsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * getInboundNetworkDependenciesEndpointsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . getInboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listMultiRolePools ( resourceGroupName , name , options ? ) { const iter = this . listMultiRolePoolsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listMultiRolePoolsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listMultiRolePoolsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listMultiRolePools ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listMultiRolePoolsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listMultiRolePoolsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listMultiRolePoolsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param instance param options public listMultiRolePoolInstanceMetricDefinitions ( resourceGroupName , name , instance , options ? ) { const iter = this . listMultiRolePoolInstanceMetricDefinitionsPagingAll ( resourceGroupName , name , instance , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listMultiRolePoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , instance , options ) ; } } ; } private async * listMultiRolePoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , instance , options ? ) { let result = await this . _listMultiRolePoolInstanceMetricDefinitions ( resourceGroupName , name , instance , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listMultiRolePoolInstanceMetricDefinitionsNext ( resourceGroupName , name , instance , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listMultiRolePoolInstanceMetricDefinitionsPagingAll ( resourceGroupName , name , instance , options ? ) { for await ( const page of this . listMultiRolePoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , instance , options ) ) { yield * page ; } } param resourceGroupName param name param options public listMultiRoleMetricDefinitions ( resourceGroupName , name , options ? ) { const iter = this . listMultiRoleMetricDefinitionsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listMultiRoleMetricDefinitionsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listMultiRoleMetricDefinitionsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listMultiRoleMetricDefinitions ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listMultiRoleMetricDefinitionsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listMultiRoleMetricDefinitionsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listMultiRoleMetricDefinitionsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listMultiRolePoolSkus ( resourceGroupName , name , options ? ) { const iter = this . listMultiRolePoolSkusPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listMultiRolePoolSkusPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listMultiRolePoolSkusPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listMultiRolePoolSkus ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listMultiRolePoolSkusNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listMultiRolePoolSkusPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listMultiRolePoolSkusPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listMultiRoleUsages ( resourceGroupName , name , options ? ) { const iter = this . listMultiRoleUsagesPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listMultiRoleUsagesPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listMultiRoleUsagesPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listMultiRoleUsages ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listMultiRoleUsagesNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listMultiRoleUsagesPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listMultiRoleUsagesPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listOutboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ? ) { const iter = this . getOutboundNetworkDependenciesEndpointsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . getOutboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * getOutboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _getOutboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _getOutboundNetworkDependenciesEndpointsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * getOutboundNetworkDependenciesEndpointsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . getOutboundNetworkDependenciesEndpointsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listPrivateEndpointConnectionList ( resourceGroupName , name , options ? ) { const iter = this . getPrivateEndpointConnectionListPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . getPrivateEndpointConnectionListPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * getPrivateEndpointConnectionListPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _getPrivateEndpointConnectionList ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _getPrivateEndpointConnectionListNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * getPrivateEndpointConnectionListPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . getPrivateEndpointConnectionListPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public beginListResumeAndWait ( resourceGroupName , name , options ? ) { const iter = this . resumePagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . resumePagingPage ( resourceGroupName , name , options ) ; } } ; } private async * resumePagingPage ( resourceGroupName , name , options ? ) { const poller = await this . _resume ( resourceGroupName , name , options ) ; let result = await poller . pollUntilDone ( ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _resumeNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * resumePagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . resumePagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listAppServicePlans ( resourceGroupName , name , options ? ) { const iter = this . listAppServicePlansPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listAppServicePlansPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listAppServicePlansPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listAppServicePlans ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listAppServicePlansNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listAppServicePlansPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listAppServicePlansPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listWebApps ( resourceGroupName , name , options ? ) { const iter = this . listWebAppsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWebAppsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listWebAppsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listWebApps ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWebAppsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWebAppsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listWebAppsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public beginListSuspendAndWait ( resourceGroupName , name , options ? ) { const iter = this . suspendPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . suspendPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * suspendPagingPage ( resourceGroupName , name , options ? ) { const poller = await this . _suspend ( resourceGroupName , name , options ) ; let result = await poller . pollUntilDone ( ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _suspendNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * suspendPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . suspendPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listUsages ( resourceGroupName , name , options ? ) { const iter = this . listUsagesPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listUsagesPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listUsagesPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listUsages ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listUsagesNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listUsagesPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listUsagesPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param options public listWorkerPools ( resourceGroupName , name , options ? ) { const iter = this . listWorkerPoolsPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWorkerPoolsPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listWorkerPoolsPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listWorkerPools ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWorkerPoolsNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWorkerPoolsPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listWorkerPoolsPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param name param workerPoolName param instance param options public listWorkerPoolInstanceMetricDefinitions ( resourceGroupName , name , workerPoolName , instance , options ? ) { const iter = this . listWorkerPoolInstanceMetricDefinitionsPagingAll ( resourceGroupName , name , workerPoolName , instance , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWorkerPoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , instance , options ) ; } } ; } private async * listWorkerPoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , instance , options ? ) { let result = await this . _listWorkerPoolInstanceMetricDefinitions ( resourceGroupName , name , workerPoolName , instance , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWorkerPoolInstanceMetricDefinitionsNext ( resourceGroupName , name , workerPoolName , instance , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWorkerPoolInstanceMetricDefinitionsPagingAll ( resourceGroupName , name , workerPoolName , instance , options ? ) { for await ( const page of this . listWorkerPoolInstanceMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , instance , options ) ) { yield * page ; } } param resourceGroupName param name param workerPoolName param options public listWebWorkerMetricDefinitions ( resourceGroupName , name , workerPoolName , options ? ) { const iter = this . listWebWorkerMetricDefinitionsPagingAll ( resourceGroupName , name , workerPoolName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWebWorkerMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , options ) ; } } ; } private async * listWebWorkerMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , options ? ) { let result = await this . _listWebWorkerMetricDefinitions ( resourceGroupName , name , workerPoolName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWebWorkerMetricDefinitionsNext ( resourceGroupName , name , workerPoolName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWebWorkerMetricDefinitionsPagingAll ( resourceGroupName , name , workerPoolName , options ? ) { for await ( const page of this . listWebWorkerMetricDefinitionsPagingPage ( resourceGroupName , name , workerPoolName , options ) ) { yield * page ; } } param resourceGroupName param name param workerPoolName param options public listWorkerPoolSkus ( resourceGroupName , name , workerPoolName , options ? ) { const iter = this . listWorkerPoolSkusPagingAll ( resourceGroupName , name , workerPoolName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWorkerPoolSkusPagingPage ( resourceGroupName , name , workerPoolName , options ) ; } } ; } private async * listWorkerPoolSkusPagingPage ( resourceGroupName , name , workerPoolName , options ? ) { let result = await this . _listWorkerPoolSkus ( resourceGroupName , name , workerPoolName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWorkerPoolSkusNext ( resourceGroupName , name , workerPoolName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWorkerPoolSkusPagingAll ( resourceGroupName , name , workerPoolName , options ? ) { for await ( const page of this . listWorkerPoolSkusPagingPage ( resourceGroupName , name , workerPoolName , options ) ) { yield * page ; } } param resourceGroupName param name param workerPoolName param options public listWebWorkerUsages ( resourceGroupName , name , workerPoolName , options ? ) { const iter = this . listWebWorkerUsagesPagingAll ( resourceGroupName , name , workerPoolName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listWebWorkerUsagesPagingPage ( resourceGroupName , name , workerPoolName , options ) ; } } ; } private async * listWebWorkerUsagesPagingPage ( resourceGroupName , name , workerPoolName , options ? ) { let result = await this . _listWebWorkerUsages ( resourceGroupName , name , workerPoolName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listWebWorkerUsagesNext ( resourceGroupName , name , workerPoolName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listWebWorkerUsagesPagingAll ( resourceGroupName , name , workerPoolName , options ? ) { for await ( const page of this . listWebWorkerUsagesPagingPage ( resourceGroupName , name , workerPoolName , options ) ) { yield * page ; } } param options private _list ( options ? ) { return this . client . sendOperationRequest ( { options } , listOperationSpec ) ; } param resourceGroupName param options private _listByResourceGroup ( resourceGroupName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , options } , listByResourceGroupOperationSpec ) ; } param resourceGroupName param name param options get ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getOperationSpec ) ; } param resourceGroupName param name param hostingEnvironmentEnvelope param options async beginCreateOrUpdate ( resourceGroupName , name , hostingEnvironmentEnvelope , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsCreateOrUpdateResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , hostingEnvironmentEnvelope , options } , createOrUpdateOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param hostingEnvironmentEnvelope param options async beginCreateOrUpdateAndWait ( resourceGroupName , name , hostingEnvironmentEnvelope , options ? ) { const poller = await this . beginCreateOrUpdate ( resourceGroupName , name , hostingEnvironmentEnvelope , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param options async beginDelete ( resourceGroupName , name , options ? ) { const directSendOperation = async ( args , spec ) : Promise < void > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , options } , deleteOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param options async beginDeleteAndWait ( resourceGroupName , name , options ? ) { const poller = await this . beginDelete ( resourceGroupName , name , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param hostingEnvironmentEnvelope param options update ( resourceGroupName , name , hostingEnvironmentEnvelope , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , hostingEnvironmentEnvelope , options } , updateOperationSpec ) ; } param resourceGroupName param name param options private _listCapacities ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listCapacitiesOperationSpec ) ; } param resourceGroupName param name param options getVipInfo ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getVipInfoOperationSpec ) ; } param resourceGroupName param name param vnetInfo param options private async _changeVnet ( resourceGroupName , name , vnetInfo , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsChangeVnetResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , vnetInfo , options } , changeVnetOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param options getAseV3NetworkingConfiguration ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getAseV3NetworkingConfigurationOperationSpec ) ; } param resourceGroupName param name param aseNetworkingConfiguration param options updateAseNetworkingConfiguration ( resourceGroupName , name , aseNetworkingConfiguration , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , aseNetworkingConfiguration , options } , updateAseNetworkingConfigurationOperationSpec ) ; } param resourceGroupName param name param options listDiagnostics ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listDiagnosticsOperationSpec ) ; } param resourceGroupName param name param diagnosticsName param options getDiagnosticsItem ( resourceGroupName , name , diagnosticsName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , diagnosticsName , options } , getDiagnosticsItemOperationSpec ) ; } param resourceGroupName param name param options private _getInboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getInboundNetworkDependenciesEndpointsOperationSpec ) ; } param resourceGroupName param name param options private _listMultiRolePools ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listMultiRolePoolsOperationSpec ) ; } param resourceGroupName param name param options getMultiRolePool ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getMultiRolePoolOperationSpec ) ; } param resourceGroupName param name param multiRolePoolEnvelope param options async beginCreateOrUpdateMultiRolePool ( resourceGroupName , name , multiRolePoolEnvelope , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , multiRolePoolEnvelope , options } , createOrUpdateMultiRolePoolOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param multiRolePoolEnvelope param options async beginCreateOrUpdateMultiRolePoolAndWait ( resourceGroupName , name , multiRolePoolEnvelope , options ? ) { const poller = await this . beginCreateOrUpdateMultiRolePool ( resourceGroupName , name , multiRolePoolEnvelope , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param multiRolePoolEnvelope param options updateMultiRolePool ( resourceGroupName , name , multiRolePoolEnvelope , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , multiRolePoolEnvelope , options } , updateMultiRolePoolOperationSpec ) ; } param resourceGroupName param name param instance param options private _listMultiRolePoolInstanceMetricDefinitions ( resourceGroupName , name , instance , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , instance , options } , listMultiRolePoolInstanceMetricDefinitionsOperationSpec ) ; } param resourceGroupName param name param options private _listMultiRoleMetricDefinitions ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listMultiRoleMetricDefinitionsOperationSpec ) ; } param resourceGroupName param name param options private _listMultiRolePoolSkus ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listMultiRolePoolSkusOperationSpec ) ; } param resourceGroupName param name param options private _listMultiRoleUsages ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listMultiRoleUsagesOperationSpec ) ; } param resourceGroupName param name param options listOperations ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listOperationsOperationSpec ) ; } param resourceGroupName param name param options private _getOutboundNetworkDependenciesEndpoints ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getOutboundNetworkDependenciesEndpointsOperationSpec ) ; } param resourceGroupName param name param options private _getPrivateEndpointConnectionList ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getPrivateEndpointConnectionListOperationSpec ) ; } param resourceGroupName param name param privateEndpointConnectionName param options getPrivateEndpointConnection ( resourceGroupName , name , privateEndpointConnectionName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , privateEndpointConnectionName , options } , getPrivateEndpointConnectionOperationSpec ) ; } param resourceGroupName param name param privateEndpointConnectionName param privateEndpointWrapper param options async beginApproveOrRejectPrivateEndpointConnection ( resourceGroupName , name , privateEndpointConnectionName , privateEndpointWrapper , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , privateEndpointConnectionName , privateEndpointWrapper , options } , approveOrRejectPrivateEndpointConnectionOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param privateEndpointConnectionName param privateEndpointWrapper param options async beginApproveOrRejectPrivateEndpointConnectionAndWait ( resourceGroupName , name , privateEndpointConnectionName , privateEndpointWrapper , options ? ) { const poller = await this . beginApproveOrRejectPrivateEndpointConnection ( resourceGroupName , name , privateEndpointConnectionName , privateEndpointWrapper , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param privateEndpointConnectionName param options async beginDeletePrivateEndpointConnection ( resourceGroupName , name , privateEndpointConnectionName , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , privateEndpointConnectionName , options } , deletePrivateEndpointConnectionOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param privateEndpointConnectionName param options async beginDeletePrivateEndpointConnectionAndWait ( resourceGroupName , name , privateEndpointConnectionName , options ? ) { const poller = await this . beginDeletePrivateEndpointConnection ( resourceGroupName , name , privateEndpointConnectionName , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param options getPrivateLinkResources ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , getPrivateLinkResourcesOperationSpec ) ; } param resourceGroupName param name param options reboot ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , rebootOperationSpec ) ; } param resourceGroupName param name param options private async _resume ( resourceGroupName , name , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsResumeResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , options } , resumeOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param options private _listAppServicePlans ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listAppServicePlansOperationSpec ) ; } param resourceGroupName param name param options private _listWebApps ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listWebAppsOperationSpec ) ; } param resourceGroupName param name param options private async _suspend ( resourceGroupName , name , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsSuspendResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , options } , suspendOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param options private _listUsages ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listUsagesOperationSpec ) ; } param resourceGroupName param name param options private _listWorkerPools ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listWorkerPoolsOperationSpec ) ; } param resourceGroupName param name param workerPoolName param options getWorkerPool ( resourceGroupName , name , workerPoolName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , options } , getWorkerPoolOperationSpec ) ; } param resourceGroupName param name param workerPoolName param workerPoolEnvelope param options async beginCreateOrUpdateWorkerPool ( resourceGroupName , name , workerPoolName , workerPoolEnvelope , options ? ) { const directSendOperation = async ( args , spec ) : Promise < AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse > => { return this . client . sendOperationRequest ( args , spec ) ; } ; const sendOperation = async ( args , spec ) => { let currentRawResponse = undefined ; const providedCallback = args . options ?. onResponse ; const callback = ( rawResponse , flatResponse ) => { currentRawResponse = rawResponse ; providedCallback ?. ( rawResponse , flatResponse ) ; } ; const updatedArgs = { ... args , options : { ... args . options , onResponse : callback } } ; const flatResponse = await directSendOperation ( updatedArgs , spec ) ; return { flatResponse , rawResponse : { statusCode : currentRawResponse ! . status , body : currentRawResponse ! . parsedBody , headers : currentRawResponse ! . headers . toJSON ( ) } } ; } ; const lro = new LroImpl ( sendOperation , { resourceGroupName , name , workerPoolName , workerPoolEnvelope , options } , createOrUpdateWorkerPoolOperationSpec ) ; return new LroEngine ( lro , { resumeFrom : options ?. resumeFrom , intervalInMs : options ?. updateIntervalInMs } ) ; } param resourceGroupName param name param workerPoolName param workerPoolEnvelope param options async beginCreateOrUpdateWorkerPoolAndWait ( resourceGroupName , name , workerPoolName , workerPoolEnvelope , options ? ) { const poller = await this . beginCreateOrUpdateWorkerPool ( resourceGroupName , name , workerPoolName , workerPoolEnvelope , options ) ; return poller . pollUntilDone ( ) ; } param resourceGroupName param name param workerPoolName param workerPoolEnvelope param options updateWorkerPool ( resourceGroupName , name , workerPoolName , workerPoolEnvelope , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , workerPoolEnvelope , options } , updateWorkerPoolOperationSpec ) ; } param resourceGroupName param name param workerPoolName param instance param options private _listWorkerPoolInstanceMetricDefinitions ( resourceGroupName , name , workerPoolName , instance , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , instance , options } , listWorkerPoolInstanceMetricDefinitionsOperationSpec ) ; } param resourceGroupName param name param workerPoolName param options private _listWebWorkerMetricDefinitions ( resourceGroupName , name , workerPoolName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , options } , listWebWorkerMetricDefinitionsOperationSpec ) ; } param resourceGroupName param name param workerPoolName param options private _listWorkerPoolSkus ( resourceGroupName , name , workerPoolName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , options } , listWorkerPoolSkusOperationSpec ) ; } param resourceGroupName param name param workerPoolName param options private _listWebWorkerUsages ( resourceGroupName , name , workerPoolName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , options } , listWebWorkerUsagesOperationSpec ) ; } param nextLink param options private _listNext ( nextLink , options ? ) { return this . client . sendOperationRequest ( { nextLink , options } , listNextOperationSpec ) ; } param resourceGroupName param nextLink param options private _listByResourceGroupNext ( resourceGroupName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , nextLink , options } , listByResourceGroupNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listCapacitiesNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listCapacitiesNextOperationSpec ) ; } param resourceGroupName param name param vnetInfo param nextLink param options private _changeVnetNext ( resourceGroupName , name , vnetInfo , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , vnetInfo , nextLink , options } , changeVnetNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _getInboundNetworkDependenciesEndpointsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , getInboundNetworkDependenciesEndpointsNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listMultiRolePoolsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listMultiRolePoolsNextOperationSpec ) ; } param resourceGroupName param name param instance param nextLink param options private _listMultiRolePoolInstanceMetricDefinitionsNext ( resourceGroupName , name , instance , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , instance , nextLink , options } , listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listMultiRoleMetricDefinitionsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listMultiRoleMetricDefinitionsNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listMultiRolePoolSkusNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listMultiRolePoolSkusNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listMultiRoleUsagesNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listMultiRoleUsagesNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _getOutboundNetworkDependenciesEndpointsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , getOutboundNetworkDependenciesEndpointsNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _getPrivateEndpointConnectionListNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , getPrivateEndpointConnectionListNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _resumeNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , resumeNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listAppServicePlansNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listAppServicePlansNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listWebAppsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listWebAppsNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _suspendNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , suspendNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listUsagesNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listUsagesNextOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listWorkerPoolsNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listWorkerPoolsNextOperationSpec ) ; } param resourceGroupName param name param workerPoolName param instance param nextLink param options private _listWorkerPoolInstanceMetricDefinitionsNext ( resourceGroupName , name , workerPoolName , instance , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , instance , nextLink , options } , listWorkerPoolInstanceMetricDefinitionsNextOperationSpec ) ; } param resourceGroupName param name param workerPoolName param nextLink param options private _listWebWorkerMetricDefinitionsNext ( resourceGroupName , name , workerPoolName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , nextLink , options } , listWebWorkerMetricDefinitionsNextOperationSpec ) ; } param resourceGroupName param name param workerPoolName param nextLink param options private _listWorkerPoolSkusNext ( resourceGroupName , name , workerPoolName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , nextLink , options } , listWorkerPoolSkusNextOperationSpec ) ; } param resourceGroupName param name param workerPoolName param nextLink param options private _listWebWorkerUsagesNext ( resourceGroupName , name , workerPoolName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , workerPoolName , nextLink , options } , listWebWorkerUsagesNextOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const listOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const listByResourceGroupOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName ] , headerParameters : [ Parameters . accept ] , serializer } ; const getOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const createOrUpdateOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , 201 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , 202 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , 204 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . hostingEnvironmentEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const deleteOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}" , httpMethod : "DELETE" , responses : { 200 : { } , 201 : { } , 202 : { } , 204 : { } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . forceDelete ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const updateOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}" , httpMethod : "PATCH" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , 201 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , 202 : { bodyMapper : Mappers . AppServiceEnvironmentResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . hostingEnvironmentEnvelope1 , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listCapacitiesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . StampCapacityCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getVipInfoOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AddressResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const changeVnetOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 201 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , 204 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . vnetInfo , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const getAseV3NetworkingConfigurationOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AseV3NetworkingConfiguration } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const updateAseNetworkingConfigurationOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . AseV3NetworkingConfiguration } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . aseNetworkingConfiguration , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listDiagnosticsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics" , httpMethod : "GET" , responses : { 200 : { bodyMapper : { type : { name : "Sequence" , element : { type : { name : "Composite" , className : "HostingEnvironmentDiagnostics" } } } } } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getDiagnosticsItemOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . HostingEnvironmentDiagnostics } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . diagnosticsName ] , headerParameters : [ Parameters . accept ] , serializer } ; const getInboundNetworkDependenciesEndpointsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . InboundEnvironmentEndpointCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRolePoolsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getMultiRolePoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const createOrUpdateMultiRolePoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , 201 : { bodyMapper : Mappers . WorkerPoolResource } , 202 : { bodyMapper : Mappers . WorkerPoolResource } , 204 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . multiRolePoolEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const updateMultiRolePoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default" , httpMethod : "PATCH" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , 202 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . multiRolePoolEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listMultiRolePoolInstanceMetricDefinitionsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . instance ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRoleMetricDefinitionsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRolePoolSkusOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SkuInfoCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRoleUsagesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . UsageCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listOperationsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations" , httpMethod : "GET" , responses : { 200 : { bodyMapper : { type : { name : "Sequence" , element : { type : { name : "Composite" , className : "Operation" } } } } } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getOutboundNetworkDependenciesEndpointsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . OutboundEnvironmentEndpointCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getPrivateEndpointConnectionListOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PrivateEndpointConnectionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getPrivateEndpointConnectionOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . RemotePrivateEndpointConnectionARMResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . privateEndpointConnectionName ] , headerParameters : [ Parameters . accept ] , serializer } ; const approveOrRejectPrivateEndpointConnectionOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . RemotePrivateEndpointConnectionARMResource } , 201 : { bodyMapper : Mappers . RemotePrivateEndpointConnectionARMResource } , 202 : { bodyMapper : Mappers . RemotePrivateEndpointConnectionARMResource } , 204 : { bodyMapper : Mappers . RemotePrivateEndpointConnectionARMResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . privateEndpointWrapper , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . privateEndpointConnectionName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const deletePrivateEndpointConnectionOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}" , httpMethod : "DELETE" , responses : { 200 : { bodyMapper : { type : { name : "Dictionary" , value : { type : { name : "any" } } } } } , 201 : { bodyMapper : { type : { name : "Dictionary" , value : { type : { name : "any" } } } } } , 202 : { bodyMapper : { type : { name : "Dictionary" , value : { type : { name : "any" } } } } } , 204 : { bodyMapper : { type : { name : "Dictionary" , value : { type : { name : "any" } } } } } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . privateEndpointConnectionName ] , headerParameters : [ Parameters . accept ] , serializer } ; const getPrivateLinkResourcesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PrivateLinkResourcesWrapper } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const rebootOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot" , httpMethod : "POST" , responses : { 202 : { } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const resumeOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 201 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , 204 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listAppServicePlansOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServicePlanCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebAppsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . propertiesToInclude ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const suspendOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 201 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , 204 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listUsagesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . CsmUsageQuotaCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . filter ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWorkerPoolsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getWorkerPoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const createOrUpdateWorkerPoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , 201 : { bodyMapper : Mappers . WorkerPoolResource } , 202 : { bodyMapper : Mappers . WorkerPoolResource } , 204 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . workerPoolEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const updateWorkerPoolOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}" , httpMethod : "PATCH" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolResource } , 202 : { bodyMapper : Mappers . WorkerPoolResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . workerPoolEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listWorkerPoolInstanceMetricDefinitionsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . instance , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebWorkerMetricDefinitionsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWorkerPoolSkusOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SkuInfoCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebWorkerUsagesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . UsageCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listByResourceGroupNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServiceEnvironmentCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listCapacitiesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . StampCapacityCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const changeVnetNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const getInboundNetworkDependenciesEndpointsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . InboundEnvironmentEndpointCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRolePoolsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink , Parameters . instance ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRoleMetricDefinitionsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRolePoolSkusNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SkuInfoCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listMultiRoleUsagesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . UsageCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const getOutboundNetworkDependenciesEndpointsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . OutboundEnvironmentEndpointCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const getPrivateEndpointConnectionListNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PrivateEndpointConnectionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const resumeNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listAppServicePlansNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AppServicePlanCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebAppsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . propertiesToInclude ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const suspendNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WebAppCollection } , 202 : { bodyMapper : Mappers . WebAppCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listUsagesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . CsmUsageQuotaCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . filter ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWorkerPoolsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . WorkerPoolCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink , Parameters . instance , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebWorkerMetricDefinitionsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ResourceMetricDefinitionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWorkerPoolSkusNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SkuInfoCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listWebWorkerUsagesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . UsageCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink , Parameters . workerPoolName ] , headerParameters : [ Parameters . accept ] , serializer } ;