import * as coreClient from "@azure/core-client" ; import * as coreAuth from "@azure/core-auth" ; import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { AppServiceCertificateOrdersImpl , CertificateOrdersDiagnosticsImpl , CertificateRegistrationProviderImpl , DomainsImpl , TopLevelDomainsImpl , DomainRegistrationProviderImpl , AppServiceEnvironmentsImpl , AppServicePlansImpl , CertificatesImpl , DeletedWebAppsImpl , DiagnosticsImpl , GlobalImpl , KubeEnvironmentsImpl , ProviderImpl , RecommendationsImpl , ResourceHealthMetadataOperationsImpl , StaticSitesImpl , WebAppsImpl } from "./operations" ; import { AppServiceCertificateOrders , CertificateOrdersDiagnostics , CertificateRegistrationProvider , Domains , TopLevelDomains , DomainRegistrationProvider , AppServiceEnvironments , AppServicePlans , Certificates , DeletedWebApps , Diagnostics , Global , KubeEnvironments , Provider , Recommendations , ResourceHealthMetadataOperations , StaticSites , WebApps } from "./operationsInterfaces" ; import * as Parameters from "./models/parameters" ; import * as Mappers from "./models/mappers" ; import { WebSiteManagementClientOptionalParams , SourceControl , ListSourceControlsNextOptionalParams , ListSourceControlsOptionalParams , BillingMeter , ListBillingMetersNextOptionalParams , ListBillingMetersOptionalParams , GeoRegion , ListGeoRegionsNextOptionalParams , ListGeoRegionsOptionalParams , Identifier , NameIdentifier , ListSiteIdentifiersAssignedToHostNameNextOptionalParams , ListSiteIdentifiersAssignedToHostNameOptionalParams , PremierAddOnOffer , ListPremierAddOnOffersNextOptionalParams , ListPremierAddOnOffersOptionalParams , GetPublishingUserOptionalParams , GetPublishingUserResponse , User , UpdatePublishingUserOptionalParams , UpdatePublishingUserResponse , ListSourceControlsResponse , GetSourceControlOptionalParams , GetSourceControlResponse , UpdateSourceControlOptionalParams , UpdateSourceControlResponse , ListBillingMetersResponse , CheckNameResourceTypes , CheckNameAvailabilityOptionalParams , CheckNameAvailabilityResponse , GetSubscriptionDeploymentLocationsOptionalParams , GetSubscriptionDeploymentLocationsResponse , ListGeoRegionsResponse , ListSiteIdentifiersAssignedToHostNameResponse , ListPremierAddOnOffersResponse , ListSkusOptionalParams , ListSkusResponse , VnetParameters , VerifyHostingEnvironmentVnetOptionalParams , VerifyHostingEnvironmentVnetResponse , CsmMoveResourceEnvelope , MoveOptionalParams , ValidateRequest , ValidateOptionalParams , ValidateOperationResponse , ValidateMoveOptionalParams , ListSourceControlsNextResponse , ListBillingMetersNextResponse , ListGeoRegionsNextResponse , ListSiteIdentifiersAssignedToHostNameNextResponse , ListPremierAddOnOffersNextResponse } from "./models" ; export class WebSiteManagementClient extends coreClient . ServiceClient { $host : string ; subscriptionId : string ; apiVersion : string ; param credentials param subscriptionId param options constructor ( credentials , subscriptionId , options ? ) { if ( credentials === undefined ) { throw new Error ( "'credentials' cannot be null" ) ; } if ( subscriptionId === undefined ) { throw new Error ( "'subscriptionId' cannot be null" ) ; } if ( ! options ) { options = { } ; } const defaults = { requestContentType : "application/json; charset=utf-8" , credential : credentials } ; const packageDetails = `azsdk-js-web-resource-manager/1.0.0-beta.1` ; const userAgentPrefix = options . userAgentOptions && options . userAgentOptions . userAgentPrefix ? `${ options . userAgentOptions . userAgentPrefix } ${ packageDetails }` : `${ packageDetails }` ; const optionsWithDefaults = { ... defaults , ... options , userAgentOptions : { userAgentPrefix } , baseUri : options . endpoint || "https://management.azure.com" } ; super ( optionsWithDefaults ) ; this . subscriptionId = subscriptionId ; this . $host = options . $host || "https://management.azure.com" ; this . apiVersion = options . apiVersion || "2021-02-01" ; this . appServiceCertificateOrders = new AppServiceCertificateOrdersImpl ( this ) ; this . certificateOrdersDiagnostics = new CertificateOrdersDiagnosticsImpl ( this ) ; this . certificateRegistrationProvider = new CertificateRegistrationProviderImpl ( this ) ; this . domains = new DomainsImpl ( this ) ; this . topLevelDomains = new TopLevelDomainsImpl ( this ) ; this . domainRegistrationProvider = new DomainRegistrationProviderImpl ( this ) ; this . appServiceEnvironments = new AppServiceEnvironmentsImpl ( this ) ; this . appServicePlans = new AppServicePlansImpl ( this ) ; this . certificates = new CertificatesImpl ( this ) ; this . deletedWebApps = new DeletedWebAppsImpl ( this ) ; this . diagnostics = new DiagnosticsImpl ( this ) ; this . global = new GlobalImpl ( this ) ; this . kubeEnvironments = new KubeEnvironmentsImpl ( this ) ; this . provider = new ProviderImpl ( this ) ; this . recommendations = new RecommendationsImpl ( this ) ; this . resourceHealthMetadataOperations = new ResourceHealthMetadataOperationsImpl ( this ) ; this . staticSites = new StaticSitesImpl ( this ) ; this . webApps = new WebAppsImpl ( this ) ; } param options public listSourceControls ( options ? ) { const iter = this . listSourceControlsPagingAll ( options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSourceControlsPagingPage ( options ) ; } } ; } private async * listSourceControlsPagingPage ( options ? ) { let result = await this . _listSourceControls ( options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSourceControlsNext ( continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSourceControlsPagingAll ( options ? ) { for await ( const page of this . listSourceControlsPagingPage ( options ) ) { yield * page ; } } param options public listBillingMeters ( options ? ) { const iter = this . listBillingMetersPagingAll ( options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listBillingMetersPagingPage ( options ) ; } } ; } private async * listBillingMetersPagingPage ( options ? ) { let result = await this . _listBillingMeters ( options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listBillingMetersNext ( continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listBillingMetersPagingAll ( options ? ) { for await ( const page of this . listBillingMetersPagingPage ( options ) ) { yield * page ; } } param options public listGeoRegions ( options ? ) { const iter = this . listGeoRegionsPagingAll ( options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listGeoRegionsPagingPage ( options ) ; } } ; } private async * listGeoRegionsPagingPage ( options ? ) { let result = await this . _listGeoRegions ( options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listGeoRegionsNext ( continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listGeoRegionsPagingAll ( options ? ) { for await ( const page of this . listGeoRegionsPagingPage ( options ) ) { yield * page ; } } param nameIdentifier param options public listSiteIdentifiersAssignedToHostName ( nameIdentifier , options ? ) { const iter = this . listSiteIdentifiersAssignedToHostNamePagingAll ( nameIdentifier , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteIdentifiersAssignedToHostNamePagingPage ( nameIdentifier , options ) ; } } ; } private async * listSiteIdentifiersAssignedToHostNamePagingPage ( nameIdentifier , options ? ) { let result = await this . _listSiteIdentifiersAssignedToHostName ( nameIdentifier , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteIdentifiersAssignedToHostNameNext ( nameIdentifier , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteIdentifiersAssignedToHostNamePagingAll ( nameIdentifier , options ? ) { for await ( const page of this . listSiteIdentifiersAssignedToHostNamePagingPage ( nameIdentifier , options ) ) { yield * page ; } } param options public listPremierAddOnOffers ( options ? ) { const iter = this . listPremierAddOnOffersPagingAll ( options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listPremierAddOnOffersPagingPage ( options ) ; } } ; } private async * listPremierAddOnOffersPagingPage ( options ? ) { let result = await this . _listPremierAddOnOffers ( options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listPremierAddOnOffersNext ( continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listPremierAddOnOffersPagingAll ( options ? ) { for await ( const page of this . listPremierAddOnOffersPagingPage ( options ) ) { yield * page ; } } param options getPublishingUser ( options ? ) { return this . sendOperationRequest ( { options } , getPublishingUserOperationSpec ) ; } param userDetails param options updatePublishingUser ( userDetails , options ? ) { return this . sendOperationRequest ( { userDetails , options } , updatePublishingUserOperationSpec ) ; } param options private _listSourceControls ( options ? ) { return this . sendOperationRequest ( { options } , listSourceControlsOperationSpec ) ; } param sourceControlType param options getSourceControl ( sourceControlType , options ? ) { return this . sendOperationRequest ( { sourceControlType , options } , getSourceControlOperationSpec ) ; } param sourceControlType param requestMessage param options updateSourceControl ( sourceControlType , requestMessage , options ? ) { return this . sendOperationRequest ( { sourceControlType , requestMessage , options } , updateSourceControlOperationSpec ) ; } param options private _listBillingMeters ( options ? ) { return this . sendOperationRequest ( { options } , listBillingMetersOperationSpec ) ; } param name param typeParam param options checkNameAvailability ( name , typeParam , options ? ) { return this . sendOperationRequest ( { name , typeParam , options } , checkNameAvailabilityOperationSpec ) ; } param options getSubscriptionDeploymentLocations ( options ? ) { return this . sendOperationRequest ( { options } , getSubscriptionDeploymentLocationsOperationSpec ) ; } param options private _listGeoRegions ( options ? ) { return this . sendOperationRequest ( { options } , listGeoRegionsOperationSpec ) ; } param nameIdentifier param options private _listSiteIdentifiersAssignedToHostName ( nameIdentifier , options ? ) { return this . sendOperationRequest ( { nameIdentifier , options } , listSiteIdentifiersAssignedToHostNameOperationSpec ) ; } param options private _listPremierAddOnOffers ( options ? ) { return this . sendOperationRequest ( { options } , listPremierAddOnOffersOperationSpec ) ; } param options listSkus ( options ? ) { return this . sendOperationRequest ( { options } , listSkusOperationSpec ) ; } param parameters param options verifyHostingEnvironmentVnet ( parameters , options ? ) { return this . sendOperationRequest ( { parameters , options } , verifyHostingEnvironmentVnetOperationSpec ) ; } param resourceGroupName param moveResourceEnvelope param options move ( resourceGroupName , moveResourceEnvelope , options ? ) { return this . sendOperationRequest ( { resourceGroupName , moveResourceEnvelope , options } , moveOperationSpec ) ; } param resourceGroupName param validateRequest param options validate ( resourceGroupName , validateRequest , options ? ) { return this . sendOperationRequest ( { resourceGroupName , validateRequest , options } , validateOperationSpec ) ; } param resourceGroupName param moveResourceEnvelope param options validateMove ( resourceGroupName , moveResourceEnvelope , options ? ) { return this . sendOperationRequest ( { resourceGroupName , moveResourceEnvelope , options } , validateMoveOperationSpec ) ; } param nextLink param options private _listSourceControlsNext ( nextLink , options ? ) { return this . sendOperationRequest ( { nextLink , options } , listSourceControlsNextOperationSpec ) ; } param nextLink param options private _listBillingMetersNext ( nextLink , options ? ) { return this . sendOperationRequest ( { nextLink , options } , listBillingMetersNextOperationSpec ) ; } param nextLink param options private _listGeoRegionsNext ( nextLink , options ? ) { return this . sendOperationRequest ( { nextLink , options } , listGeoRegionsNextOperationSpec ) ; } param nameIdentifier param nextLink param options private _listSiteIdentifiersAssignedToHostNameNext ( nameIdentifier , nextLink , options ? ) { return this . sendOperationRequest ( { nameIdentifier , nextLink , options } , listSiteIdentifiersAssignedToHostNameNextOperationSpec ) ; } param nextLink param options private _listPremierAddOnOffersNext ( nextLink , options ? ) { return this . sendOperationRequest ( { nextLink , options } , listPremierAddOnOffersNextOperationSpec ) ; } appServiceCertificateOrders : AppServiceCertificateOrders ; certificateOrdersDiagnostics : CertificateOrdersDiagnostics ; certificateRegistrationProvider : CertificateRegistrationProvider ; domains : Domains ; topLevelDomains : TopLevelDomains ; domainRegistrationProvider : DomainRegistrationProvider ; appServiceEnvironments : AppServiceEnvironments ; appServicePlans : AppServicePlans ; certificates : Certificates ; deletedWebApps : DeletedWebApps ; diagnostics : Diagnostics ; global : Global ; kubeEnvironments : KubeEnvironments ; provider : Provider ; recommendations : Recommendations ; resourceHealthMetadataOperations : ResourceHealthMetadataOperations ; staticSites : StaticSites ; webApps : WebApps ; } const serializer = coreClient . createSerializer ( Mappers , false ) ; const getPublishingUserOperationSpec = { path : "/providers/Microsoft.Web/publishingUsers/web" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . User } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept ] , serializer } ; const updatePublishingUserOperationSpec = { path : "/providers/Microsoft.Web/publishingUsers/web" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . User } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . userDetails , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listSourceControlsOperationSpec = { path : "/providers/Microsoft.Web/sourcecontrols" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SourceControlCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSourceControlOperationSpec = { path : "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SourceControl } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . sourceControlType ] , headerParameters : [ Parameters . accept ] , serializer } ; const updateSourceControlOperationSpec = { path : "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . SourceControl } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . requestMessage , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . sourceControlType ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listBillingMetersOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . BillingMeterCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . billingLocation , Parameters . osType ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const checkNameAvailabilityOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . ResourceNameAvailability } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : { parameterPath : { name : [ "name" ] , typeParam : [ "typeParam" ] , isFqdn : [ "options" , "isFqdn" ] } , mapper : { ... Mappers . ResourceNameAvailabilityRequest , required : true } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const getSubscriptionDeploymentLocationsOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DeploymentLocations } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const listGeoRegionsOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . GeoRegionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . sku , Parameters . linuxWorkersEnabled , Parameters . xenonWorkersEnabled , Parameters . linuxDynamicWorkersEnabled ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteIdentifiersAssignedToHostNameOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . IdentifierCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . nameIdentifier , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listPremierAddOnOffersOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PremierAddOnOfferCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSkusOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SkuInfos } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept ] , serializer } ; const verifyHostingEnvironmentVnetOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . VnetValidationFailureDetails } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . parameters1 , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const moveOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources" , httpMethod : "POST" , responses : { 204 : { } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . moveResourceEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const validateOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . ValidateResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . validateRequest , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const validateMoveOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources" , httpMethod : "POST" , responses : { 204 : { } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , requestBody : Parameters . moveResourceEnvelope , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listSourceControlsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SourceControlCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listBillingMetersNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . BillingMeterCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . billingLocation , Parameters . osType ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listGeoRegionsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . GeoRegionCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . sku , Parameters . linuxWorkersEnabled , Parameters . xenonWorkersEnabled , Parameters . linuxDynamicWorkersEnabled ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteIdentifiersAssignedToHostNameNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . IdentifierCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . nextLink ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const listPremierAddOnOffersNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PremierAddOnOfferCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ;