Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/arm-azurestack

Package Overview
Dependencies
Maintainers
4
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/arm-azurestack - npm Package Compare versions

Comparing version 3.0.0-alpha.20220930.2 to 3.0.0-alpha.20221003.1

10

CHANGELOG.md
# Release History
## 3.0.0-beta.4 (Unreleased)
### Features Added
### Breaking Changes
### Bugs Fixed
### Other Changes
## 3.0.0-beta.3 (2022-09-30)

@@ -4,0 +14,0 @@

2

dist-esm/src/azureStackManagementClient.js

@@ -34,3 +34,3 @@ /*

};
const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.3`;
const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.4`;
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix

@@ -37,0 +37,0 @@ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");function _interopNamespace(t){var i;return t&&t.__esModule?t:(i=Object.create(null),t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),i.default=t,Object.freeze(i))}var coreClient__namespace=_interopNamespace(coreClient);exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownCompatibilityIssue=void 0,function(e){e.HigherDeviceVersionRequired="HigherDeviceVersionRequired",e.LowerDeviceVersionRequired="LowerDeviceVersionRequired",e.CapacityBillingModelRequired="CapacityBillingModelRequired",e.PayAsYouGoBillingModelRequired="PayAsYouGoBillingModelRequired",e.DevelopmentBillingModelRequired="DevelopmentBillingModelRequired",e.AzureADIdentitySystemRequired="AzureADIdentitySystemRequired",e.AdfsIdentitySystemRequired="ADFSIdentitySystemRequired",e.ConnectionToInternetRequired="ConnectionToInternetRequired",e.ConnectionToAzureRequired="ConnectionToAzureRequired",e.DisconnectedEnvironmentRequired="DisconnectedEnvironmentRequired"}(exports.KnownCompatibilityIssue||(exports.KnownCompatibilityIssue={})),exports.KnownComputeRole=void 0,function(e){e.None="None",e.IaaS="IaaS",e.PaaS="PaaS"}(exports.KnownComputeRole||(exports.KnownComputeRole={})),exports.KnownOperatingSystem=void 0,function(e){e.None="None",e.Windows="Windows",e.Linux="Linux"}(exports.KnownOperatingSystem||(exports.KnownOperatingSystem={})),exports.KnownCategory=void 0,function(e){e.AzureAD="AzureAD",e.Adfs="ADFS"}(exports.KnownCategory||(exports.KnownCategory={})),exports.KnownLocation=void 0,(exports.KnownLocation||(exports.KnownLocation={})).Global="global";const OperationList={type:{name:"Composite",className:"OperationList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"Display"}},origin:{serializedName:"origin",type:{name:"String"}}}}},Display={type:{name:"Composite",className:"Display",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetails"}}}}},ErrorDetails={type:{name:"Composite",className:"ErrorDetails",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}}}}},CloudManifestFileProperties={type:{name:"Composite",className:"CloudManifestFileProperties",modelProperties:{deploymentData:{serializedName:"deploymentData",type:{name:"Composite",className:"CloudManifestFileDeploymentData"}},signature:{serializedName:"signature",type:{name:"String"}}}}},CloudManifestFileDeploymentData={type:{name:"Composite",className:"CloudManifestFileDeploymentData",modelProperties:{externalDsmsCertificates:{serializedName:"externalDsmsCertificates",type:{name:"String"}},customCloudVerificationKey:{serializedName:"customCloudVerificationKey",type:{name:"String"}},customCloudArmEndpoint:{serializedName:"customEnvironmentEndpoints.customCloudArmEndpoint",type:{name:"String"}},externalDsmsEndpoint:{serializedName:"customEnvironmentEndpoints.externalDsmsEndpoint",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},etag:{serializedName:"etag",type:{name:"String"}}}}},CustomerSubscriptionList={type:{name:"Composite",className:"CustomerSubscriptionList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"CustomerSubscription"}}}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},ProductList={type:{name:"Composite",className:"ProductList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Product"}}}}}}},IconUris={type:{name:"Composite",className:"IconUris",modelProperties:{large:{serializedName:"large",type:{name:"String"}},wide:{serializedName:"wide",type:{name:"String"}},medium:{serializedName:"medium",type:{name:"String"}},small:{serializedName:"small",type:{name:"String"}},hero:{serializedName:"hero",type:{name:"String"}}}}},ProductLink={type:{name:"Composite",className:"ProductLink",modelProperties:{displayName:{serializedName:"displayName",type:{name:"String"}},uri:{serializedName:"uri",type:{name:"String"}}}}},ProductProperties={type:{name:"Composite",className:"ProductProperties",modelProperties:{version:{serializedName:"version",type:{name:"String"}}}}},Compatibility={type:{name:"Composite",className:"Compatibility",modelProperties:{isCompatible:{serializedName:"isCompatible",type:{name:"Boolean"}},message:{serializedName:"message",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},issues:{serializedName:"issues",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ExtendedProduct={type:{name:"Composite",className:"ExtendedProduct",modelProperties:{galleryPackageBlobSasUri:{serializedName:"galleryPackageBlobSasUri",readOnly:!0,type:{name:"String"}},productKind:{serializedName:"productKind",readOnly:!0,type:{name:"String"}},computeRole:{serializedName:"properties.computeRole",readOnly:!0,type:{name:"String"}},isSystemExtension:{serializedName:"properties.isSystemExtension",readOnly:!0,type:{name:"Boolean"}},supportMultipleExtensions:{serializedName:"properties.supportMultipleExtensions",readOnly:!0,type:{name:"Boolean"}},versionPropertiesVersion:{serializedName:"properties.version",readOnly:!0,type:{name:"String"}},vmOsType:{serializedName:"properties.vmOsType",readOnly:!0,type:{name:"String"}},vmScaleSetEnabled:{serializedName:"properties.vmScaleSetEnabled",readOnly:!0,type:{name:"Boolean"}},uri:{serializedName:"properties.sourceBlob.uri",readOnly:!0,type:{name:"String"}},version:{serializedName:"properties.version",readOnly:!0,type:{name:"String"}},osDiskImage:{serializedName:"properties.osDiskImage",type:{name:"Composite",className:"OsDiskImage"}},dataDiskImages:{serializedName:"properties.dataDiskImages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataDiskImage"}}}}}}},VirtualMachineExtensionProductProperties={type:{name:"Composite",className:"VirtualMachineExtensionProductProperties",modelProperties:{computeRole:{serializedName:"computeRole",readOnly:!0,type:{name:"String"}},isSystemExtension:{serializedName:"isSystemExtension",readOnly:!0,type:{name:"Boolean"}},supportMultipleExtensions:{serializedName:"supportMultipleExtensions",readOnly:!0,type:{name:"Boolean"}},version:{serializedName:"version",readOnly:!0,type:{name:"String"}},vmOsType:{serializedName:"vmOsType",readOnly:!0,type:{name:"String"}},vmScaleSetEnabled:{serializedName:"vmScaleSetEnabled",readOnly:!0,type:{name:"Boolean"}},uri:{serializedName:"sourceBlob.uri",readOnly:!0,type:{name:"String"}}}}},VirtualMachineProductProperties={type:{name:"Composite",className:"VirtualMachineProductProperties",modelProperties:{version:{serializedName:"version",readOnly:!0,type:{name:"String"}},osDiskImage:{serializedName:"osDiskImage",type:{name:"Composite",className:"OsDiskImage"}},dataDiskImages:{serializedName:"dataDiskImages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataDiskImage"}}}}}}},OsDiskImage={type:{name:"Composite",className:"OsDiskImage",modelProperties:{operatingSystem:{serializedName:"operatingSystem",readOnly:!0,type:{name:"String"}},sourceBlobSasUri:{serializedName:"sourceBlobSasUri",readOnly:!0,type:{name:"String"}}}}},DataDiskImage={type:{name:"Composite",className:"DataDiskImage",modelProperties:{lun:{serializedName:"lun",readOnly:!0,type:{name:"Number"}},sourceBlobSasUri:{serializedName:"sourceBlobSasUri",readOnly:!0,type:{name:"String"}}}}},DeviceConfiguration={type:{name:"Composite",className:"DeviceConfiguration",modelProperties:{deviceVersion:{serializedName:"deviceVersion",readOnly:!0,type:{name:"String"}},identitySystem:{serializedName:"identitySystem",readOnly:!0,type:{name:"String"}}}}},MarketplaceProductLogUpdate={type:{name:"Composite",className:"MarketplaceProductLogUpdate",modelProperties:{operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},error:{serializedName:"error",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},ProductLog={type:{name:"Composite",className:"ProductLog",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},productId:{serializedName:"productId",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},registrationName:{serializedName:"registrationName",readOnly:!0,type:{name:"String"}},resourceGroupName:{serializedName:"resourceGroupName",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},startDate:{serializedName:"startDate",readOnly:!0,type:{name:"String"}},endDate:{serializedName:"endDate",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},error:{serializedName:"error",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},RegistrationList={type:{name:"Composite",className:"RegistrationList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Registration"}}}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},kind:{serializedName:"kind",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",type:{name:"String"}}}}},RegistrationParameter={type:{name:"Composite",className:"RegistrationParameter",modelProperties:{location:{serializedName:"location",required:!0,type:{name:"String"}},registrationToken:{serializedName:"properties.registrationToken",required:!0,type:{name:"String"}}}}},ActivationKeyResult={type:{name:"Composite",className:"ActivationKeyResult",modelProperties:{activationKey:{serializedName:"activationKey",type:{name:"String"}}}}},LinkedSubscriptionsList={type:{name:"Composite",className:"LinkedSubscriptionsList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"LinkedSubscription"}}}}}}},LinkedSubscriptionParameter={type:{name:"Composite",className:"LinkedSubscriptionParameter",modelProperties:{location:{serializedName:"location",required:!0,type:{name:"String"}},linkedSubscriptionId:{serializedName:"properties.linkedSubscriptionId",required:!0,type:{name:"String"}},registrationResourceId:{serializedName:"properties.registrationResourceId",required:!0,type:{name:"String"}}}}},CloudManifestFileResponse={type:{name:"Composite",className:"CloudManifestFileResponse",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"CloudManifestFileProperties"}}})}},CustomerSubscription={type:{name:"Composite",className:"CustomerSubscription",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},tenantId:{serializedName:"properties.tenantId",type:{name:"String"}}})}},Product={type:{name:"Composite",className:"Product",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},displayName:{serializedName:"properties.displayName",type:{name:"String"}},description:{serializedName:"properties.description",type:{name:"String"}},publisherDisplayName:{serializedName:"properties.publisherDisplayName",type:{name:"String"}},publisherIdentifier:{serializedName:"properties.publisherIdentifier",type:{name:"String"}},offer:{serializedName:"properties.offer",type:{name:"String"}},offerVersion:{serializedName:"properties.offerVersion",type:{name:"String"}},sku:{serializedName:"properties.sku",type:{name:"String"}},billingPartNumber:{serializedName:"properties.billingPartNumber",type:{name:"String"}},vmExtensionType:{serializedName:"properties.vmExtensionType",type:{name:"String"}},galleryItemIdentity:{serializedName:"properties.galleryItemIdentity",type:{name:"String"}},iconUris:{serializedName:"properties.iconUris",type:{name:"Composite",className:"IconUris"}},links:{serializedName:"properties.links",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProductLink"}}}},legalTerms:{serializedName:"properties.legalTerms",type:{name:"String"}},privacyPolicy:{serializedName:"properties.privacyPolicy",type:{name:"String"}},payloadLength:{serializedName:"properties.payloadLength",type:{name:"Number"}},productKind:{serializedName:"properties.productKind",type:{name:"String"}},productProperties:{serializedName:"properties.productProperties",type:{name:"Composite",className:"ProductProperties"}},compatibility:{serializedName:"properties.compatibility",type:{name:"Composite",className:"Compatibility"}}})}},ExtendedProductProperties={type:{name:"Composite",className:"ExtendedProductProperties",modelProperties:Object.assign(Object.assign({},VirtualMachineExtensionProductProperties.type.modelProperties),VirtualMachineProductProperties.type.modelProperties)}},Registration={type:{name:"Composite",className:"Registration",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{objectId:{serializedName:"properties.objectId",type:{name:"String"}},cloudId:{serializedName:"properties.cloudId",type:{name:"String"}},billingModel:{serializedName:"properties.billingModel",type:{name:"String"}}})}},LinkedSubscription={type:{name:"Composite",className:"LinkedSubscription",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{linkedSubscriptionId:{serializedName:"properties.linkedSubscriptionId",type:{name:"String"}},registrationResourceId:{serializedName:"properties.registrationResourceId",type:{name:"String"}},deviceId:{serializedName:"properties.deviceId",readOnly:!0,type:{name:"String"}},deviceObjectId:{serializedName:"properties.deviceObjectId",readOnly:!0,type:{name:"String"}},deviceLinkState:{serializedName:"properties.deviceLinkState",readOnly:!0,type:{name:"String"}},lastConnectedTime:{serializedName:"properties.lastConnectedTime",readOnly:!0,type:{name:"String"}},deviceConnectionStatus:{serializedName:"properties.deviceConnectionStatus",readOnly:!0,type:{name:"String"}}})}};var Mappers=Object.freeze({__proto__:null,OperationList:OperationList,Operation:Operation,Display:Display,ErrorResponse:ErrorResponse,ErrorDetails:ErrorDetails,CloudManifestFileProperties:CloudManifestFileProperties,CloudManifestFileDeploymentData:CloudManifestFileDeploymentData,Resource:Resource,CustomerSubscriptionList:CustomerSubscriptionList,SystemData:SystemData,ProductList:ProductList,IconUris:IconUris,ProductLink:ProductLink,ProductProperties:ProductProperties,Compatibility:Compatibility,ExtendedProduct:ExtendedProduct,VirtualMachineExtensionProductProperties:VirtualMachineExtensionProductProperties,VirtualMachineProductProperties:VirtualMachineProductProperties,OsDiskImage:OsDiskImage,DataDiskImage:DataDiskImage,DeviceConfiguration:DeviceConfiguration,MarketplaceProductLogUpdate:MarketplaceProductLogUpdate,ProductLog:ProductLog,RegistrationList:RegistrationList,TrackedResource:TrackedResource,RegistrationParameter:RegistrationParameter,ActivationKeyResult:ActivationKeyResult,LinkedSubscriptionsList:LinkedSubscriptionsList,LinkedSubscriptionParameter:LinkedSubscriptionParameter,CloudManifestFileResponse:CloudManifestFileResponse,CustomerSubscription:CustomerSubscription,Product:Product,ExtendedProductProperties:ExtendedProductProperties,Registration:Registration,LinkedSubscription:LinkedSubscription});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2020-06-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},verificationVersion={parameterPath:"verificationVersion",mapper:{serializedName:"verificationVersion",required:!0,type:{name:"String"}}},versionCreationDate={parameterPath:["options","versionCreationDate"],mapper:{serializedName:"versionCreationDate",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroup={parameterPath:"resourceGroup",mapper:{serializedName:"resourceGroup",required:!0,type:{name:"String"}}},registrationName={parameterPath:"registrationName",mapper:{serializedName:"registrationName",required:!0,type:{name:"String"}}},customerSubscriptionName={parameterPath:"customerSubscriptionName",mapper:{serializedName:"customerSubscriptionName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},customerCreationParameters={parameterPath:"customerCreationParameters",mapper:CustomerSubscription},productName={parameterPath:"productName",mapper:{serializedName:"productName",required:!0,type:{name:"String"}}},deviceConfiguration={parameterPath:["options","deviceConfiguration"],mapper:DeviceConfiguration},marketplaceProductLogUpdate={parameterPath:["options","marketplaceProductLogUpdate"],mapper:MarketplaceProductLogUpdate},token={parameterPath:"token",mapper:RegistrationParameter},linkedSubscriptionName={parameterPath:"linkedSubscriptionName",mapper:{serializedName:"linkedSubscriptionName",required:!0,type:{name:"String"}}},resource={parameterPath:"resource",mapper:LinkedSubscriptionParameter};class OperationsImpl{constructor(e){this.client=e}list(e){const r=this.listPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$4)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec$3)}}const serializer$5=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$4={path:"/providers/Microsoft.AzureStack/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$5},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$5};class CloudManifestFileImpl{constructor(e){this.client=e}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$3)}get(e,r){return this.client.sendOperationRequest({verificationVersion:e,options:r},getOperationSpec$4)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$3={path:"/providers/Microsoft.AzureStack/cloudManifestFiles",httpMethod:"GET",responses:{200:{bodyMapper:CloudManifestFileResponse},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$4},getOperationSpec$4={path:"/providers/Microsoft.AzureStack/cloudManifestFiles/{verificationVersion}",httpMethod:"GET",responses:{200:{bodyMapper:CloudManifestFileResponse},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,versionCreationDate],urlParameters:[$host,verificationVersion],headerParameters:[accept],serializer:serializer$4};class CustomerSubscriptionsImpl{constructor(e){this.client=e}list(e,r,t){const i=this.listPagingAll(e,r,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r,t)}}listPagingPage(t,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i,s));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,i,r,s)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o,n));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},listOperationSpec$2)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,options:i},getOperationSpec$3)}delete(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,options:i},deleteOperationSpec$2)}create(e,r,t,i,s){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,customerCreationParameters:i,options:s},createOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,nextLink:t,options:i},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscriptionList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$3},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscription},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept],serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept],serializer:serializer$3},createOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"PUT",responses:{200:{bodyMapper:CustomerSubscription},default:{bodyMapper:ErrorResponse}},requestBody:customerCreationParameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscriptionList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$3};class ProductsImpl{constructor(e){this.client=e}list(e,r,t){const i=this.listPagingAll(e,r,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r,t)}}listPagingPage(t,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i,s));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,i,r,s)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o,n));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},listOperationSpec$1)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getOperationSpec$2)}listDetails(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},listDetailsOperationSpec)}getProducts(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getProductsOperationSpec)}getProduct(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getProductOperationSpec)}uploadLog(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},uploadLogOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,nextLink:t,options:i},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products",httpMethod:"GET",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$2},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}",httpMethod:"GET",responses:{200:{bodyMapper:Product},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept],serializer:serializer$2},listDetailsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails",httpMethod:"POST",responses:{200:{bodyMapper:ExtendedProduct},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept],serializer:serializer$2},getProductsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProducts",httpMethod:"POST",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},requestBody:deviceConfiguration,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},getProductOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProduct",httpMethod:"POST",responses:{200:{bodyMapper:Product},default:{bodyMapper:ErrorResponse}},requestBody:deviceConfiguration,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},uploadLogOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/uploadProductLog",httpMethod:"POST",responses:{200:{bodyMapper:ProductLog},default:{bodyMapper:ErrorResponse}},requestBody:marketplaceProductLogUpdate,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$2};class RegistrationsImpl{constructor(e){this.client=e}list(e,r){const t=this.listPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r)}}listPagingPage(t,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,r,i)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r){return this.client.sendOperationRequest({resourceGroup:e,options:r},listOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$1)}get(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},getOperationSpec$1)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},deleteOperationSpec$1)}createOrUpdate(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,token:t,options:i},createOrUpdateOperationSpec$1)}update(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,token:t,options:i},updateOperationSpec$1)}getActivationKey(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},getActivationKeyOperationSpec)}enableRemoteManagement(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},enableRemoteManagementOperationSpec)}_listNext(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,nextLink:r,options:t},listNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer$1},listBySubscriptionOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"GET",responses:{200:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"PUT",responses:{200:{bodyMapper:Registration},201:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},requestBody:token,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},requestBody:token,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},getActivationKeyOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",httpMethod:"POST",responses:{200:{bodyMapper:ActivationKeyResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},enableRemoteManagementOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",httpMethod:"POST",responses:{200:{},default:{bodyMapper:ErrorResponse}},urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer$1},listBySubscriptionNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1};class LinkedSubscriptionsImpl{constructor(e){this.client=e}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(t,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,i));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByResourceGroupNext(t,r,i)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(a,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listByResourceGroupPagingPage(a,o));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroup:e,options:r},listByResourceGroupOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,options:t},getOperationSpec)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,options:t},deleteOperationSpec)}createOrUpdate(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,resource:t,options:i},createOrUpdateOperationSpec)}update(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,resource:t,options:i},updateOperationSpec)}_listByResourceGroupNext(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,nextLink:r,options:t},listByResourceGroupNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/linkedSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept],serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"PUT",responses:{200:{bodyMapper:LinkedSubscription},201:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},requestBody:resource,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"PATCH",responses:{200:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},requestBody:resource,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer};class AzureStackManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var i="azsdk-js-arm-azurestack/3.0.0-beta.3",i=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+i:i;super(Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:i},baseUri:null!=(i=null!=(e=t.endpoint)?e:t.baseUri)?i:"https://management.azure.com"})),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2020-06-01-preview",this.operations=new OperationsImpl(this),this.cloudManifestFile=new CloudManifestFileImpl(this),this.customerSubscriptions=new CustomerSubscriptionsImpl(this),this.products=new ProductsImpl(this),this.registrations=new RegistrationsImpl(this),this.linkedSubscriptions=new LinkedSubscriptionsImpl(this)}}exports.AzureStackManagementClient=AzureStackManagementClient;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");function _interopNamespace(t){if(t&&t.__esModule)return t;var i=Object.create(null);return t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),i.default=t,Object.freeze(i)}var coreClient__namespace=_interopNamespace(coreClient);exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownCompatibilityIssue=void 0,function(e){e.HigherDeviceVersionRequired="HigherDeviceVersionRequired",e.LowerDeviceVersionRequired="LowerDeviceVersionRequired",e.CapacityBillingModelRequired="CapacityBillingModelRequired",e.PayAsYouGoBillingModelRequired="PayAsYouGoBillingModelRequired",e.DevelopmentBillingModelRequired="DevelopmentBillingModelRequired",e.AzureADIdentitySystemRequired="AzureADIdentitySystemRequired",e.AdfsIdentitySystemRequired="ADFSIdentitySystemRequired",e.ConnectionToInternetRequired="ConnectionToInternetRequired",e.ConnectionToAzureRequired="ConnectionToAzureRequired",e.DisconnectedEnvironmentRequired="DisconnectedEnvironmentRequired"}(exports.KnownCompatibilityIssue||(exports.KnownCompatibilityIssue={})),exports.KnownComputeRole=void 0,function(e){e.None="None",e.IaaS="IaaS",e.PaaS="PaaS"}(exports.KnownComputeRole||(exports.KnownComputeRole={})),exports.KnownOperatingSystem=void 0,function(e){e.None="None",e.Windows="Windows",e.Linux="Linux"}(exports.KnownOperatingSystem||(exports.KnownOperatingSystem={})),exports.KnownCategory=void 0,function(e){e.AzureAD="AzureAD",e.Adfs="ADFS"}(exports.KnownCategory||(exports.KnownCategory={})),exports.KnownLocation=void 0,(exports.KnownLocation||(exports.KnownLocation={})).Global="global";const OperationList={type:{name:"Composite",className:"OperationList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"Display"}},origin:{serializedName:"origin",type:{name:"String"}}}}},Display={type:{name:"Composite",className:"Display",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetails"}}}}},ErrorDetails={type:{name:"Composite",className:"ErrorDetails",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}}}}},CloudManifestFileProperties={type:{name:"Composite",className:"CloudManifestFileProperties",modelProperties:{deploymentData:{serializedName:"deploymentData",type:{name:"Composite",className:"CloudManifestFileDeploymentData"}},signature:{serializedName:"signature",type:{name:"String"}}}}},CloudManifestFileDeploymentData={type:{name:"Composite",className:"CloudManifestFileDeploymentData",modelProperties:{externalDsmsCertificates:{serializedName:"externalDsmsCertificates",type:{name:"String"}},customCloudVerificationKey:{serializedName:"customCloudVerificationKey",type:{name:"String"}},customCloudArmEndpoint:{serializedName:"customEnvironmentEndpoints.customCloudArmEndpoint",type:{name:"String"}},externalDsmsEndpoint:{serializedName:"customEnvironmentEndpoints.externalDsmsEndpoint",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},etag:{serializedName:"etag",type:{name:"String"}}}}},CustomerSubscriptionList={type:{name:"Composite",className:"CustomerSubscriptionList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"CustomerSubscription"}}}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},ProductList={type:{name:"Composite",className:"ProductList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Product"}}}}}}},IconUris={type:{name:"Composite",className:"IconUris",modelProperties:{large:{serializedName:"large",type:{name:"String"}},wide:{serializedName:"wide",type:{name:"String"}},medium:{serializedName:"medium",type:{name:"String"}},small:{serializedName:"small",type:{name:"String"}},hero:{serializedName:"hero",type:{name:"String"}}}}},ProductLink={type:{name:"Composite",className:"ProductLink",modelProperties:{displayName:{serializedName:"displayName",type:{name:"String"}},uri:{serializedName:"uri",type:{name:"String"}}}}},ProductProperties={type:{name:"Composite",className:"ProductProperties",modelProperties:{version:{serializedName:"version",type:{name:"String"}}}}},Compatibility={type:{name:"Composite",className:"Compatibility",modelProperties:{isCompatible:{serializedName:"isCompatible",type:{name:"Boolean"}},message:{serializedName:"message",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},issues:{serializedName:"issues",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ExtendedProduct={type:{name:"Composite",className:"ExtendedProduct",modelProperties:{galleryPackageBlobSasUri:{serializedName:"galleryPackageBlobSasUri",readOnly:!0,type:{name:"String"}},productKind:{serializedName:"productKind",readOnly:!0,type:{name:"String"}},computeRole:{serializedName:"properties.computeRole",readOnly:!0,type:{name:"String"}},isSystemExtension:{serializedName:"properties.isSystemExtension",readOnly:!0,type:{name:"Boolean"}},supportMultipleExtensions:{serializedName:"properties.supportMultipleExtensions",readOnly:!0,type:{name:"Boolean"}},versionPropertiesVersion:{serializedName:"properties.version",readOnly:!0,type:{name:"String"}},vmOsType:{serializedName:"properties.vmOsType",readOnly:!0,type:{name:"String"}},vmScaleSetEnabled:{serializedName:"properties.vmScaleSetEnabled",readOnly:!0,type:{name:"Boolean"}},uri:{serializedName:"properties.sourceBlob.uri",readOnly:!0,type:{name:"String"}},version:{serializedName:"properties.version",readOnly:!0,type:{name:"String"}},osDiskImage:{serializedName:"properties.osDiskImage",type:{name:"Composite",className:"OsDiskImage"}},dataDiskImages:{serializedName:"properties.dataDiskImages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataDiskImage"}}}}}}},VirtualMachineExtensionProductProperties={type:{name:"Composite",className:"VirtualMachineExtensionProductProperties",modelProperties:{computeRole:{serializedName:"computeRole",readOnly:!0,type:{name:"String"}},isSystemExtension:{serializedName:"isSystemExtension",readOnly:!0,type:{name:"Boolean"}},supportMultipleExtensions:{serializedName:"supportMultipleExtensions",readOnly:!0,type:{name:"Boolean"}},version:{serializedName:"version",readOnly:!0,type:{name:"String"}},vmOsType:{serializedName:"vmOsType",readOnly:!0,type:{name:"String"}},vmScaleSetEnabled:{serializedName:"vmScaleSetEnabled",readOnly:!0,type:{name:"Boolean"}},uri:{serializedName:"sourceBlob.uri",readOnly:!0,type:{name:"String"}}}}},VirtualMachineProductProperties={type:{name:"Composite",className:"VirtualMachineProductProperties",modelProperties:{version:{serializedName:"version",readOnly:!0,type:{name:"String"}},osDiskImage:{serializedName:"osDiskImage",type:{name:"Composite",className:"OsDiskImage"}},dataDiskImages:{serializedName:"dataDiskImages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataDiskImage"}}}}}}},OsDiskImage={type:{name:"Composite",className:"OsDiskImage",modelProperties:{operatingSystem:{serializedName:"operatingSystem",readOnly:!0,type:{name:"String"}},sourceBlobSasUri:{serializedName:"sourceBlobSasUri",readOnly:!0,type:{name:"String"}}}}},DataDiskImage={type:{name:"Composite",className:"DataDiskImage",modelProperties:{lun:{serializedName:"lun",readOnly:!0,type:{name:"Number"}},sourceBlobSasUri:{serializedName:"sourceBlobSasUri",readOnly:!0,type:{name:"String"}}}}},DeviceConfiguration={type:{name:"Composite",className:"DeviceConfiguration",modelProperties:{deviceVersion:{serializedName:"deviceVersion",readOnly:!0,type:{name:"String"}},identitySystem:{serializedName:"identitySystem",readOnly:!0,type:{name:"String"}}}}},MarketplaceProductLogUpdate={type:{name:"Composite",className:"MarketplaceProductLogUpdate",modelProperties:{operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},error:{serializedName:"error",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},ProductLog={type:{name:"Composite",className:"ProductLog",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},productId:{serializedName:"productId",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},registrationName:{serializedName:"registrationName",readOnly:!0,type:{name:"String"}},resourceGroupName:{serializedName:"resourceGroupName",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},startDate:{serializedName:"startDate",readOnly:!0,type:{name:"String"}},endDate:{serializedName:"endDate",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},error:{serializedName:"error",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},RegistrationList={type:{name:"Composite",className:"RegistrationList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Registration"}}}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},kind:{serializedName:"kind",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",type:{name:"String"}}}}},RegistrationParameter={type:{name:"Composite",className:"RegistrationParameter",modelProperties:{location:{serializedName:"location",required:!0,type:{name:"String"}},registrationToken:{serializedName:"properties.registrationToken",required:!0,type:{name:"String"}}}}},ActivationKeyResult={type:{name:"Composite",className:"ActivationKeyResult",modelProperties:{activationKey:{serializedName:"activationKey",type:{name:"String"}}}}},LinkedSubscriptionsList={type:{name:"Composite",className:"LinkedSubscriptionsList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"LinkedSubscription"}}}}}}},LinkedSubscriptionParameter={type:{name:"Composite",className:"LinkedSubscriptionParameter",modelProperties:{location:{serializedName:"location",required:!0,type:{name:"String"}},linkedSubscriptionId:{serializedName:"properties.linkedSubscriptionId",required:!0,type:{name:"String"}},registrationResourceId:{serializedName:"properties.registrationResourceId",required:!0,type:{name:"String"}}}}},CloudManifestFileResponse={type:{name:"Composite",className:"CloudManifestFileResponse",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"CloudManifestFileProperties"}}})}},CustomerSubscription={type:{name:"Composite",className:"CustomerSubscription",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},tenantId:{serializedName:"properties.tenantId",type:{name:"String"}}})}},Product={type:{name:"Composite",className:"Product",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},displayName:{serializedName:"properties.displayName",type:{name:"String"}},description:{serializedName:"properties.description",type:{name:"String"}},publisherDisplayName:{serializedName:"properties.publisherDisplayName",type:{name:"String"}},publisherIdentifier:{serializedName:"properties.publisherIdentifier",type:{name:"String"}},offer:{serializedName:"properties.offer",type:{name:"String"}},offerVersion:{serializedName:"properties.offerVersion",type:{name:"String"}},sku:{serializedName:"properties.sku",type:{name:"String"}},billingPartNumber:{serializedName:"properties.billingPartNumber",type:{name:"String"}},vmExtensionType:{serializedName:"properties.vmExtensionType",type:{name:"String"}},galleryItemIdentity:{serializedName:"properties.galleryItemIdentity",type:{name:"String"}},iconUris:{serializedName:"properties.iconUris",type:{name:"Composite",className:"IconUris"}},links:{serializedName:"properties.links",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProductLink"}}}},legalTerms:{serializedName:"properties.legalTerms",type:{name:"String"}},privacyPolicy:{serializedName:"properties.privacyPolicy",type:{name:"String"}},payloadLength:{serializedName:"properties.payloadLength",type:{name:"Number"}},productKind:{serializedName:"properties.productKind",type:{name:"String"}},productProperties:{serializedName:"properties.productProperties",type:{name:"Composite",className:"ProductProperties"}},compatibility:{serializedName:"properties.compatibility",type:{name:"Composite",className:"Compatibility"}}})}},ExtendedProductProperties={type:{name:"Composite",className:"ExtendedProductProperties",modelProperties:Object.assign(Object.assign({},VirtualMachineExtensionProductProperties.type.modelProperties),VirtualMachineProductProperties.type.modelProperties)}},Registration={type:{name:"Composite",className:"Registration",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{objectId:{serializedName:"properties.objectId",type:{name:"String"}},cloudId:{serializedName:"properties.cloudId",type:{name:"String"}},billingModel:{serializedName:"properties.billingModel",type:{name:"String"}}})}},LinkedSubscription={type:{name:"Composite",className:"LinkedSubscription",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{linkedSubscriptionId:{serializedName:"properties.linkedSubscriptionId",type:{name:"String"}},registrationResourceId:{serializedName:"properties.registrationResourceId",type:{name:"String"}},deviceId:{serializedName:"properties.deviceId",readOnly:!0,type:{name:"String"}},deviceObjectId:{serializedName:"properties.deviceObjectId",readOnly:!0,type:{name:"String"}},deviceLinkState:{serializedName:"properties.deviceLinkState",readOnly:!0,type:{name:"String"}},lastConnectedTime:{serializedName:"properties.lastConnectedTime",readOnly:!0,type:{name:"String"}},deviceConnectionStatus:{serializedName:"properties.deviceConnectionStatus",readOnly:!0,type:{name:"String"}}})}};var Mappers=Object.freeze({__proto__:null,OperationList:OperationList,Operation:Operation,Display:Display,ErrorResponse:ErrorResponse,ErrorDetails:ErrorDetails,CloudManifestFileProperties:CloudManifestFileProperties,CloudManifestFileDeploymentData:CloudManifestFileDeploymentData,Resource:Resource,CustomerSubscriptionList:CustomerSubscriptionList,SystemData:SystemData,ProductList:ProductList,IconUris:IconUris,ProductLink:ProductLink,ProductProperties:ProductProperties,Compatibility:Compatibility,ExtendedProduct:ExtendedProduct,VirtualMachineExtensionProductProperties:VirtualMachineExtensionProductProperties,VirtualMachineProductProperties:VirtualMachineProductProperties,OsDiskImage:OsDiskImage,DataDiskImage:DataDiskImage,DeviceConfiguration:DeviceConfiguration,MarketplaceProductLogUpdate:MarketplaceProductLogUpdate,ProductLog:ProductLog,RegistrationList:RegistrationList,TrackedResource:TrackedResource,RegistrationParameter:RegistrationParameter,ActivationKeyResult:ActivationKeyResult,LinkedSubscriptionsList:LinkedSubscriptionsList,LinkedSubscriptionParameter:LinkedSubscriptionParameter,CloudManifestFileResponse:CloudManifestFileResponse,CustomerSubscription:CustomerSubscription,Product:Product,ExtendedProductProperties:ExtendedProductProperties,Registration:Registration,LinkedSubscription:LinkedSubscription});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2020-06-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},verificationVersion={parameterPath:"verificationVersion",mapper:{serializedName:"verificationVersion",required:!0,type:{name:"String"}}},versionCreationDate={parameterPath:["options","versionCreationDate"],mapper:{serializedName:"versionCreationDate",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroup={parameterPath:"resourceGroup",mapper:{serializedName:"resourceGroup",required:!0,type:{name:"String"}}},registrationName={parameterPath:"registrationName",mapper:{serializedName:"registrationName",required:!0,type:{name:"String"}}},customerSubscriptionName={parameterPath:"customerSubscriptionName",mapper:{serializedName:"customerSubscriptionName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},customerCreationParameters={parameterPath:"customerCreationParameters",mapper:CustomerSubscription},productName={parameterPath:"productName",mapper:{serializedName:"productName",required:!0,type:{name:"String"}}},deviceConfiguration={parameterPath:["options","deviceConfiguration"],mapper:DeviceConfiguration},marketplaceProductLogUpdate={parameterPath:["options","marketplaceProductLogUpdate"],mapper:MarketplaceProductLogUpdate},token={parameterPath:"token",mapper:RegistrationParameter},linkedSubscriptionName={parameterPath:"linkedSubscriptionName",mapper:{serializedName:"linkedSubscriptionName",required:!0,type:{name:"String"}}},resource={parameterPath:"resource",mapper:LinkedSubscriptionParameter};class OperationsImpl{constructor(e){this.client=e}list(e){const r=this.listPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$4)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec$3)}}const serializer$5=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$4={path:"/providers/Microsoft.AzureStack/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$5},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$5};class CloudManifestFileImpl{constructor(e){this.client=e}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$3)}get(e,r){return this.client.sendOperationRequest({verificationVersion:e,options:r},getOperationSpec$4)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$3={path:"/providers/Microsoft.AzureStack/cloudManifestFiles",httpMethod:"GET",responses:{200:{bodyMapper:CloudManifestFileResponse},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$4},getOperationSpec$4={path:"/providers/Microsoft.AzureStack/cloudManifestFiles/{verificationVersion}",httpMethod:"GET",responses:{200:{bodyMapper:CloudManifestFileResponse},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,versionCreationDate],urlParameters:[$host,verificationVersion],headerParameters:[accept],serializer:serializer$4};class CustomerSubscriptionsImpl{constructor(e){this.client=e}list(e,r,t){const i=this.listPagingAll(e,r,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r,t)}}listPagingPage(t,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i,s));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,i,r,s)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o,n));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},listOperationSpec$2)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,options:i},getOperationSpec$3)}delete(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,options:i},deleteOperationSpec$2)}create(e,r,t,i,s){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,customerSubscriptionName:t,customerCreationParameters:i,options:s},createOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,nextLink:t,options:i},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscriptionList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$3},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscription},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept],serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept],serializer:serializer$3},createOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}",httpMethod:"PUT",responses:{200:{bodyMapper:CustomerSubscription},default:{bodyMapper:ErrorResponse}},requestBody:customerCreationParameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,customerSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CustomerSubscriptionList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$3};class ProductsImpl{constructor(e){this.client=e}list(e,r,t){const i=this.listPagingAll(e,r,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r,t)}}listPagingPage(t,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i,s));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,i,r,s)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o,n));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},listOperationSpec$1)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getOperationSpec$2)}listDetails(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},listDetailsOperationSpec)}getProducts(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getProductsOperationSpec)}getProduct(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},getProductOperationSpec)}uploadLog(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,productName:t,options:i},uploadLogOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,nextLink:t,options:i},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products",httpMethod:"GET",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$2},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}",httpMethod:"GET",responses:{200:{bodyMapper:Product},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept],serializer:serializer$2},listDetailsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails",httpMethod:"POST",responses:{200:{bodyMapper:ExtendedProduct},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept],serializer:serializer$2},getProductsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProducts",httpMethod:"POST",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},requestBody:deviceConfiguration,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},getProductOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/getProduct",httpMethod:"POST",responses:{200:{bodyMapper:Product},default:{bodyMapper:ErrorResponse}},requestBody:deviceConfiguration,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},uploadLogOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/uploadProductLog",httpMethod:"POST",responses:{200:{bodyMapper:ProductLog},default:{bodyMapper:ErrorResponse}},requestBody:marketplaceProductLogUpdate,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName,productName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ProductList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$2};class RegistrationsImpl{constructor(e){this.client=e}list(e,r){const t=this.listPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,r)}}listPagingPage(t,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,i));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(t,r,i)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(a,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,o));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r){return this.client.sendOperationRequest({resourceGroup:e,options:r},listOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$1)}get(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},getOperationSpec$1)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},deleteOperationSpec$1)}createOrUpdate(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,token:t,options:i},createOrUpdateOperationSpec$1)}update(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,token:t,options:i},updateOperationSpec$1)}getActivationKey(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},getActivationKeyOperationSpec)}enableRemoteManagement(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,registrationName:r,options:t},enableRemoteManagementOperationSpec)}_listNext(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,nextLink:r,options:t},listNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer$1},listBySubscriptionOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"GET",responses:{200:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"PUT",responses:{200:{bodyMapper:Registration},201:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},requestBody:token,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Registration},default:{bodyMapper:ErrorResponse}},requestBody:token,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},getActivationKeyOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",httpMethod:"POST",responses:{200:{bodyMapper:ActivationKeyResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},enableRemoteManagementOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",httpMethod:"POST",responses:{200:{},default:{bodyMapper:ErrorResponse}},urlParameters:[$host,subscriptionId,resourceGroup,registrationName],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer$1},listBySubscriptionNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:RegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1};class LinkedSubscriptionsImpl{constructor(e){this.client=e}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(t,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,i));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByResourceGroupNext(t,r,i)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(a,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listByResourceGroupPagingPage(a,o));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroup:e,options:r},listByResourceGroupOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,options:t},getOperationSpec)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,options:t},deleteOperationSpec)}createOrUpdate(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,resource:t,options:i},createOrUpdateOperationSpec)}update(e,r,t,i){return this.client.sendOperationRequest({resourceGroup:e,linkedSubscriptionName:r,resource:t,options:i},updateOperationSpec)}_listByResourceGroupNext(e,r,t){return this.client.sendOperationRequest({resourceGroup:e,nextLink:r,options:t},listByResourceGroupNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/linkedSubscriptions",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept],serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"PUT",responses:{200:{bodyMapper:LinkedSubscription},201:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},requestBody:resource,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}",httpMethod:"PATCH",responses:{200:{bodyMapper:LinkedSubscription},default:{bodyMapper:ErrorResponse}},requestBody:resource,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroup,linkedSubscriptionName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroup],headerParameters:[accept],serializer:serializer},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:LinkedSubscriptionsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer};class AzureStackManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var i="azsdk-js-arm-azurestack/3.0.0-beta.4",i=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+i:i;super(Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:i},baseUri:null!=(i=null!=(e=t.endpoint)?e:t.baseUri)?i:"https://management.azure.com"})),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2020-06-01-preview",this.operations=new OperationsImpl(this),this.cloudManifestFile=new CloudManifestFileImpl(this),this.customerSubscriptions=new CustomerSubscriptionsImpl(this),this.products=new ProductsImpl(this),this.registrations=new RegistrationsImpl(this),this.linkedSubscriptions=new LinkedSubscriptionsImpl(this)}}exports.AzureStackManagementClient=AzureStackManagementClient;

@@ -6,3 +6,3 @@ {

"description": "A generated SDK for AzureStackManagementClient.",
"version": "3.0.0-alpha.20220930.2",
"version": "3.0.0-alpha.20221003.1",
"engines": {

@@ -9,0 +9,0 @@ "node": ">=12.0.0"

@@ -62,3 +62,3 @@ /*

const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.3`;
const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.4`;
const userAgentPrefix =

@@ -65,0 +65,0 @@ options.userAgentOptions && options.userAgentOptions.userAgentPrefix

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.31.2"
"packageVersion": "7.31.1"
}
]
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc