From 0325c21fe39376d7f307676f01444217b38ce01b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 18 Dec 2021 15:22:47 +0000 Subject: [PATCH] CodeGen from PR 16868 in Azure/azure-rest-api-specs Microsoft.Cdn : 2021-06-01 API (#16868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adds base for updating Microsoft.Cdn from version stable/2020-09-01 to version 2021-06-01 * Updates readme * Updates API version in new specs and examples * Update CODEOWNERS file (#1) * update CODEOWNERS file * update CODEOWNERS file * add new cdn code owner Co-authored-by: Jorin Mejia * add forwardingProtocol to OriginGroupOverride (#2) * Cache Behavior and Case Transform (#3) * add forwardingProtocol to OriginGroupOverride * added new cache behavior attributes and case transform enum values * update cache behavior * Swagger changes for enabling certname check and onboarding prevalidated customdomains * Fixing formatting - Swagger changes for enabling certname check and onboarding prevalidated customdomains * Correct input and output types of checkHostNameAvailability API * Set CA and SAN to readonly * Update ValidateSecretInput to include SecretVersion * Nit fix grammar * Swagger changes to move originResponseTimeoutSeconds property from afdendpoint to profile level * Remove redundant fields and mark certificate properties readonly * Reoganize parameters and update descriptions * Update examples * Fix typos and expand abbhreviations * Fix more typo * Update odatatype (#10) * Update odatatype * Update odatatype * Update typeName * camel casing typeName Co-authored-by: Chenglong Liu * Change country to countryOrRegion to avoid political concern according to CELA (#12) * Change country to countryOrRegion to avoid political concern according to CELA * Minor change to keep consistence Co-authored-by: Bo Zhang * Yunhe/cdn 2021 06 01 (#8) * add forwardingProtocol to OriginGroupOverride * added new cache behavior attributes and case transform enum values * update cache behavior * update route and route configuration override rule swagger definition * update * made changes to route and rule to remove EnableCache filed. To disable cache, leave CacheConfiguration to null. * add cache duration to route * update routeConfigOverride action * update route and action * update action swagger * update swagger spec * update examples * update comments * updated examples * server variable (#11) * wip server variable * server-variable udpates * server port transform * socket address * update server variable * resolve comments * revert unwanted change * Revert "server variable (#11)" (#16) This reverts commit d6eddf6a201df30dc2abe23e7083c4c158a8fb83. * [Azure CDN] Add missing customHttpsParameters field in CustomDomainProperties (#15) Co-authored-by: Bo Zhang * Swagger changes for adding secret type AzureFirstpartyManaged certifi… (#13) * Swagger changes for adding secret type AzureFirstpartyManaged certificate * Updating description for AzureFirstPartyManagedCertificate secret type * Updating description for AzureFirstPartyManagedCertificate secret type * resolving merge conflict * resolving merge conflict Co-authored-by: SINADELL * Fix multiple S360 correctness issues related to CDN (#17) * Fix multiple S360 corretness issues related to CDN * Fix privateEndpointStatus location issue Co-authored-by: Bo Zhang * Product Backlog Item 12546459: [AFDX][CDN][RP][SWAGGER] refreshValidationToken API for swagger and RP inconsistency * Product Backlog Item 12546473: [AFDX][CDN][RP][SWAGGER] domainValidationState of AFDDomainProperties swagger and RP inconsistency * Make description more readible * added transform values to all api versions (#19) * Product Backlog Item 12546377: [AFDX][CDN][RP][SWAGGER] Add CustomDomains property definition end EndpointProperties per swagger issue? (#20) * Fixing operations api swagger (#21) Co-authored-by: SINADELL * Change route and security policy to use ActivatedResourceReference for domains associated Routes and security policies can know if their associated domains are validated or not by using ActivatedResourceReference, which contains a property to indicate the domain validation state. * Add ActivatedResourceReference support Adding support to have a resource reference with a property to indicate whether the resource is active. To start with, this would indicate whether a domain referenced is active or inactive, but it can also be used for other purposes in the future. * 2021-06-01 ARM & SDK Fixes (#23) * fix incompatiable names * Revert "fix incompatiable names" This reverts commit 9a2bf2d0512338fdf7bc97bbaf2a4fcdd5a2ade5. * change CacheConfiguration naming to AfdCacheConfiguration * AfdCacheConfiguration -> AfdRouteCacheConfiguration, fix type for SDK issue * add format field to integer types * Add format field to integer types * IsCompressionEnabled -> isCompressionEnabled * responseBasedAFDOriginErrorDetectionSettings -> responseBasedAfdOriginErrorDetectionSettings * use camel casing for resource type * Add default response to delete operation * Update x-ms-name MatchVariable -> WafMatchVariable * Update Error Response to conform to spec * Update Error Response with additional fields * Update reference to error field in ErrorResponse * Fix semantics, validations, typos * Use camel casing and add 200 response code * Add remaining 200 response for delete and conform to operation spec * Add parent resource name in child resource Co-authored-by: Jorin Mejia * Fix merge conflicts (#24) Co-authored-by: Jorin Mejia * fix bug (#25) * Update codeowners, add read only field, add profileName to SecurityPolicyProperties * Merge Main Branch from Azure REST Specs (#26) * [PowerBIDedicated] Elaborate description and examples on capacity mode (#16131) * Elaborate description and exampleson capacity mode * PR fixes * Revert changes for 2017 version * update api scenario documentation (#16086) * add operation step * fix schema * restore OpTest * add cleanUpSteps & remove type * use draft-07 schema * refine propertyNames * add description * remove merge * fix copy/move * use property name * variable type * restore plain style * define Example and file reference in v1.1 * remove raw Example support * fix * rename to API scenario * restore entry * fix ref * swagger ase 2021 06 01 stable preview release (#16120) * Initial commit for 2021-06-01 and 2021-06-01-preview Initial commit for 2021-06-01 and 2021-06-01-preview * new version update * review comments changes. review comments changes. * [Quantum] Add job cost estimate (#16339) * copy existin api-version * update api-version ref * new feature * Revert "[Quantum] Add job cost estimate (#16339)" (#16340) This reverts commit 4df4b843dd2692aadd416dd9ede5979610c08be6. * Update description for ENUM_MISMATCH error code. (#16351) * [EdgeOrder] Update 2020-12-01-preview swagger with swagger correctness fix and other changes (#15962) * new api changes (#1) * new api changes * referer url change * EdgeOrder 2020-12-01-preview Swagger changes (#5) * readme changes * Swagger refresh and update examples * Change examples as per oav validations * Minor swagger modifications * Minor spacing adjustments * Set ModelAsString to true for enums and modify examples * Fix swagger lint validation error * Modify readme and examples * Modify readme.go.md * Update swagger * Minor prettier fix * Change python package version in readme * Fix spell check error * chanegs to enable forward and reverse shipping details in get order item call using odata filter * Swagger correctness fix with other changes (#25) * Swagger correctness fix with other changes * Return api field additions * Change expand description for listOrderItem calls Co-authored-by: Vaishnavi Janardhan * Fix semantic validation error in doubleEncryptionStatus (#30) * Mark parameters of shipping details as readonly (#35) * Additional properties swagger correctness fix (#43) Co-authored-by: sashanm <54701252+sashanm@users.noreply.github.com> Co-authored-by: t-vjanardhan <77781522+t-vjanardhan@users.noreply.github.com> Co-authored-by: Nidhi Jain Co-authored-by: nija-dev <67132984+nija-dev@users.noreply.github.com> Co-authored-by: Vaishnavi Janardhan * Update readme.md (#16349) * [Hub Generated] Review request for VideoAnalyzer.Edge to add version preview/1.1.0 (#16182) * Adds base for updating VideoAnalyzer.Edge from version preview/1.0.0 to version 1.1.0 * Updates readme * Updates API version in new specs and examples * Update AVA Edge Swagger to 1.1 release * fix a linter issue. * fix spelling mistakes * update the api version * update swagger with new changes * fix a bug in one of the ava properties. (#16365) * Swagger for Form Recognizer 2021-09-30-preview. (#16234) * Swagger for Form Recognizer 2021-09-30-preview. * Fix styling issues. * Fix styling. * Remove yml version. * Update Speaker Verification URL (#16348) * Update Speaker Identification URL (#16347) * Creator v1 Deprecated - Delete Swagger Docs (#16225) * Creator v1 Deprecated - Delete Swagger Docs Creator v1 Deprecated as of Sept 6 2021 - Delete Swagger Docs * Creator v1 Deprecated - Delete Swagger Docs Creator v1 Deprecated as of Sept 6 2021 - Delete Swagger Docs * [Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-09-01 (#16247) * Adds base for updating Microsoft.ContainerInstance from version stable/2021-07-01 to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Adding zones property to resource * Add zones property to relavent examples * Running prettier on modified examples * Adding x-ms-secret to password in responses * Changing parameters to use common types * Reverting changes since they introduced validation errors * Prettier check * Add managedIdentityResourceId to EventHubConnectionProperties (#16358) Co-authored-by: Amit Elran * Adding error responses (#16360) * [KubernetesConfiguration] Release 2021-11-01-preview with FluxConfigurations (#15999) * Adds base for updating Microsoft.KubernetesConfiguration from version stable/2021-03-01 to version 2021-10-01-preview * Updates readme * Updates API version in new specs and examples * Reference common definitions * Add fluxConfiguration to initial commit * Update readmes to new version * Add 409 conflict to scc * Update example api-versions * Add path example * Run prettier * Update dependsOn object body * Update readmes with 2021-09-01 * Change to lastSourceSyncedCommitID * Change to 2021-11-01-previe * [ACR] [New Api Version] add 2021-08-01-preview (#15990) * Initial commit for comparison with previous release * Add new swagger 2021-08-01-preview and examples * Swagger changes for Dataflow flowlets (#16251) * Swagger changes for Dataflow flowlets * Fix reference errors * Fix Lint checks * Separate changes for ADF and Synapse * Address Review Comment * Swagger changes for Synapse flowlets (#16335) * Swagger changes for Synapse flowlets * Add Flowlet to custom words * Address comments * Remove value attribute from certificate object (#15684) * Remove value attribute from certificate object * Fix prettier errors * Adding required property to some of the parameters we initially missed. (#16311) * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Adding required property to some of the parameters we initially missed. * Added new service versions for storage (#16298) * Added new service versions for storage * working on readmes * update * [Microsoft.HybridConnectivity] Promote 2021-07-08-privatepreview to 2021-10-06-preview (PublicPreview) (#16301) * Copy from 2021-07-08-privatepreview api from private repo * Promote 2021-07-08-privatepreview to 2021-10-06-preview * add expiresin custom word for linter fix * fix sdk generation failures * Add batch tag 10/14 (#16393) * add batch tag 10/14 * fix * revert the default tag change (#16398) * [Azure Maps] Timezone: Swagger improvement for SDK generation [Hub Generated] (#16057) * Rename with `x-ms-client-name` * Add extensible enum for timezone accept language * Rename operationId to have better method meaning Add x-ms-client-name for better explaining * Updated description for HasZone1970Location property * Removed Enum in model class name * Better naming for TimeTransitions * Updated x-ms-examples to be more friendly * Update Descriptions * Update method name * Update coordinates with collectionFormat csv * Modified sunrise, sunset type * Update wording for hasZone1970Location description * Use LatLongPair as reference * Modify exists definitions 1. Combined definitions with same structures into TimezoneResult, TimezoneId, ReferenceTime. * Update Examples to fix Model Validation * Rename to Timezone to be consistent * Update description for hasZone1970Location * Minor updates for name, type * Modified property to uppercase to match exmaples * Changed back to using RepresentativePoint Co-authored-by: Alex Tsao * Update to remove default value for enum RouteType (#16343) * [Synapse] - Add x-nullable:true for folder property (#16237) Co-authored-by: Dongwei Wang * Update readme.python.md (#16400) * Dev containerservice microsoft.container service 2021 09 01 (#16215) * Adds base for updating Microsoft.ContainerService from version stable/2021-08-01 to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Add gmsaProfile in WindowsProfile for AKS (#15976) * Add gmsaProfile in WindowsProfile for AKS * fix spell errors * Fix lint issue * Update readme.md for AKS 2021-09-01 * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 API (#16082) * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API * Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API Co-authored-by: Charlie Li * Agent pool start/stop (#16105) * added examples for agentpool start/stop * fixed code styling * added 201 response code in examples * added 201 response code object * added missing parameter * updated description for power state and added title * added power state to request body properties * Update specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-09-01/managedClusters.json Co-authored-by: Matthew Christopher Co-authored-by: Matthew Christopher Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com> Co-authored-by: Charlie Li Co-authored-by: rsamigullin <89222124+rsamigullin@users.noreply.github.com> Co-authored-by: Matthew Christopher * PR to make swagger changes for new event grid public SDK release (#16309) * create baseline commit * Add all the changes for new public SDK release * fix the version * fixing prettier check issues * address pr comments * fix arm version in readme * Add extra line * fix lintdiff issue * Adding suppression and fixing sdk readme * fix issues with go sdk path * fix a missing required and a description (#16421) * EventHub : New API version 2021-11-01 (#16363) * base commit for new api version 2021-11-01 * new api version 2021-11-01 changes * CI fixes * CI fixes * fix for Python SDK * added common def v2 * avocado fix * updated common types * update to address S360 * S360 fix for DisasterRecoveryConfigs * Revert "S360 fix for DisasterRecoveryConfigs" This reverts commit 2476975abd304ee89f1382ceaee280ad3a711e15. * Added SchemaRegistry API * CI fixes - Schemagroup * corrected Schemagroup group properties * reverted the proxyresource location change * Revert "reverted the proxyresource location change" This reverts commit ac79e8a163198742f32adfdc40cc11aa2e039e90. * addresing S360 swagger correctness fro operations and capture * updated description for datalake in capture * subscription format to uuid Co-authored-by: Damodar Avadhani Co-authored-by: v-ajnava * databricks: updating the Tags to be consistent (#16422) The other resources within this Swagger use the applicable Resource name however the Private Link resources use GET, DELETE and PUT - this fixes that so that these are consistent. * Fix Swagger correctness bugs. (#16280) * Created new API version for Monitor Action Groups (#16107) * Updated error response for Action Groups API * spacing * added missing fields to Action Group Resource spec * Added missing fields for action group resource in older version * Updated "resource" name * Removed changes to errorResponse * Removed errorObject * format * Updated required and default fields in Action groups spec * Update default value to boolean Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * changes default value type to boolean * undo webhook receiver changes * Created new API version for action groups * Added event hub Receiver to Action groups spec * Updated readme.md for Monitor * Initial checkin for Post and Get test notification apis * Change to completed * Fix some errors * Fix a couple more issues * add x-ms-long-running-operation-options * Context fix * Context * Context * Context * revert unwanted changes since we don't own these * update API version in actionGroups json * update API version in action groups examples * Fix for Swagger PrettierCheck failures * Fix the description of the RG name para * Remove the dupe resourcegroupname para * Another attempt to fix the description * PR comments * fix json format * Fix json * Lets revert the resource descrilption * Fix autorest exception and suppress Lint failures for error response schema * Fix for prettier check * Add providers * Used common types for definitions and parameters * fix lint errors for incompatible parameters * Revert Resource definition update to resolve Lint errors * Revert package tag to fix build break * Update API reference in latest package * PR comment * fix build break because didn't remove the createdBy from the sample * PR comments * Fix typo * Validation errors * Fix errors * Fix errors * Fix style * Change api name * Fix errors * Change the uri * Change the api name Co-authored-by: Ritwik Rajendra Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> Co-authored-by: Thomas Pham * Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody (#16371) * Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody * adding required to discoverduration * removing assetsink * making discoveryDuration optional * Add x-ms-pageable to AccessControl List operations (#16416) * Add x-ms-pageable to AccessControl list operations * remove x-ms-pageable from roleDefinitions List operations * Adding back category level samples (#16389) * Adding back category level samples Adding back category level samples * Adding reference to newly added sample files Adding reference to newly added sample files * Tries to fix prettier violations * Remove location field for sub/management group level * Tries to fix prettier by converting tab to spaces * Add track2 batch 4 mysql-->cognitiveservices (#16431) * Add track2 batch 4 mysql-->cognitiveservices * resourcehealth-->sqlvirtualmachine * Fix AVA 2021-11-01 example files (#16432) * fix examples * fix prettier checks * Api Management 2021-08-01 Stable API-VERSION (#16353) * Adds base for updating Microsoft.ApiManagement from version preview/2021-04-01-preview to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * [Azure Maps] Route: Swagger improvement for SDK generation [Hub Generated] (#16193) * Route: Rename parameter/client names * Route: Rename request body names * Route: Model a few objects as enum * Route: rename magnitudeOfDelay * Route: update startPointIndex/endPointIndex docstrings * Route: departureTime/arrivalTime to date-time * Route: Fix name in typescript.md * Route: modify docstrings for firstInstructionIndex/lastInstructionIndex * Route: rename turnAngleInDecimalDegrees * Route: Add docstrings for RouteSection/RouteLeg * Route: rename report object * Route: add friendly x-ms-examples key name * Route: rearrange definitions for better review * Route: remove language reference in hyperlink * Route: Remove repeated descriptions of batch API * Changed model name RouteDirectionsSummary to RouteSummary * Rename to RouteRangeResponse * Add max/min values for efficiency * Name changing with x-ms-client-name * Minor update * Route: naming fix * renamed all kWh to KwH * Route: add default values * Route: Fix wrong name * Route: Change response type name * Updated name and descriptions for route attributes * Remote language in URL * Route: definition name changed for type name * Route: keep the operations for maintaining SDK consistencies * Route: Change response object names * Route: Fix parameter type * Common: Add more definitions for better client type name * Common: Add description for query parameter * Route: Just rename RouteSummary Definition * Common: Redo the naming for batchItems * Route: add names for x-ms-enum * Route: change all floats to doubles (verified in backend) * Route: use collectionFormat for route range api * Route: rename operationIds to remove Post wording * Modified two method names * Route: update vehicleCommericial's client name * Route: update description/client name for carTrain Co-authored-by: Alex Tsao Co-authored-by: Daniel Rocha * [Azure Maps] Weather: Swagger improvement for SDK generation [Hub Generated] (#16148) * Modified AirQuality * Modified AirDetails * renaming variables for Current Condition * 1. Rename to model to WeatherValue 2. Renamed to IconCode definition * Rename properties to description(s) for consistency * Rename model to weatherValueRange * Renamed to Forecast for better self explaining * Better naming/self explaining for values * Update name fpr dbz * Add enum for UnitType, PrecipitationType, IconCode * Updated example files * Fix CI errors 1. Add new word to avoid error checks failing 2. Updated with "x-ms-client-name" to fix CI errors * Update according to review feedbacks 1. Removed duplicate enum attributes 2. Updated descriptions * Update IconCode * Update x-ms-exmaple for better description * Update Enum * add name for enum * Update according to feedback 1. Update all `query` to collectionFormat 2. Set `readOnly=true` for all response 3. Create PastHoursTemperature model for opimization * Update name Co-authored-by: Alex Tsao * [Hub Generated] Review request for Microsoft.Marketplace to add version stable/2021-10-01 (This is internal data plane service inside Microsoft.Marketplace RP) (#16306) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * first commit * fix * fix * examples * fix * words * fix * spell * pretty * fix * pretty * fix * comments * spelling * Fix check access response (#16428) * fix check access response * Add DefinitionsPropertiesNamesCamelCase suppression role Co-authored-by: Prince Gupta * Move QuestionAnswering 2021-07-15-preview to main (#16411) * move questionAnswering 2021-07-15-preview to main * update version in examples * [Hub Generated] Review request for Microsoft.KeyVault to add version preview/2021-06-01-preview (#16399) * Bypass incompatible responses * Add missing path * Add version info * Removing undesired 404 * add "x-ms-secret": true to secret field (#16436) * add "x-ms-secret": true to secret field * remove breaking change prop * Update example Co-authored-by: Nan Jiang * Add missing Opt-in APIs S360 (#16362) * add missing APIs S360 * fix json validation error * revert casing change * fix validation errors * run prettier * [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (#16149) * Adds base for updating Microsoft.AppPlatform from version preview/2021-06-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Add new changes for 2021-09-01-preview * Fix some validation errors * Use collection for loadedCertificates * Fix typo * Update readme for new api version autorest generating * name update * name update again * name update again again * rename storageProperties to properties * add systemData * fix * fix lint * resolve comments * fix reference link * fix * add x-ms-secret and x-ms-mutability annotations to accountKey * fix lint Co-authored-by: Wenhao Zhang Co-authored-by: Xuyang Cao * Update readme.python.md (#16451) * Update readme.python.md * config readme * [Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview (#16012) * fix some error * update * update * update example * [Azure CDN] Add missing customHttpsParameters field in CustomDomainProperties for versions after 2019-06-15 (#16129) Co-authored-by: Bo Zhang * First time adding VideoIndexer to public repo (#16439) * First time adding VideoIndexer to public repo * Fix spelling * Fix more spelling * remove preview only api for now * [Hub Generated] Review request for Microsoft.TimeSeriesInsights to add version preview/2021-03-31-preview (#16415) * Fix S360 errors in 2021-03-31-preview * Fix prettier check * [network] `2021-02-01-preview-only` tag configuration for Python (#16375) * test * test * Update readme.python.md * Update readme.python.md * Update readme.md * fix * Update readme.python.md Co-authored-by: 00Kai0 Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * Add Change Analysis API version from private repo (#16160) * Add API versions from private repo * Fix prettier and avocado validation report * Fix prettier and avocado validation report * push manifest from private repo * Make changes for public repo * Update to correct api-version' * update agent vm image in pipeline yml (#16467) * Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453) * [baseline] Microsoft.Chaos private preview API Version 2021-09-15-preview. * msft.chaos PublicPreview API 2021-09-15-preview * Add neccessary readme's from swagger tool branch generation. * remove artifiact resource from public preview. * fix static linter issues. * [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16455) * . * . * readme.python config (#16471) * Add text analytics v3.2-preview.2 API (#15736) * Add text analytics v3.2-preview.2 API * CR comments * Make project and deployment names required parameters * Fix projectName and deploymentName Rename projectName and deploymentName in input to project-name and deployment-name Co-authored-by: Omar Elhariry Co-authored-by: Kareem Yousef * Mhsm doc changes (#16444) * backuprestore 7.3 preview changes * remove Go track 1 auto-generation * 7.2 stable description * lint swagger errors Co-authored-by: Joel Hendrix * [Hub Generated] Render v1/v2 reconciliation (#16263) * render v1.0 centric updates multiple zooms differentiated by description removed * revert composition of GetCopyrightResult to resolve weird validation issue * add available tilesets into tilesetId enum * address render review * update the input files * seperate 1.0 tag * rename examples so the names don't clash and OpenAPI doc gen don't freak out, correct missing api in v2.1, remove /map/imagery in v2.1 as it should not be there * see if setting unique operationIds resolves this fragile doc gen * update custom-words for spell-check to pass * improve sample names * correct sample reference * remove V21 from operation ids Co-authored-by: Taras Vozniuk * [Microsoft.DeviceUpdate] Added private Network RP API for Private Endpoint support (#16396) * Added internal Network RP model and API * Fixed semantic validation error * prettier run * Added list operation for NRP-only proxy type * Linter fixes * Removed properties requirement * Removed read-only flags * Removing required from resources * More required properties * More c&p error fixes * Added missing property definition for remote proxy * Wrong place for provisioning state * Rogue space * Fixed an example * Another rogue space * Added internal note to descriptions * Adding missing identity properties and ExtensionTopics operation (#16469) * Adding missing identity properties and ExtensionTopics operation * fixing prettier check issues * Add identity to topic * Add system data to Extension topic response * fix lintdiff issue * fix kusto pool operation id (#16477) * Update Microsoft.Chaos API Version 2021-09-15-preview types/experiment.json (#16480) * Update azure-pipelines.yml to use ubuntu-20.04 (#16485) * Update azure-pipelines.yml * Update ShouldSendPRToMain.yml * Update BranchProtectionForPrivateRepo.yml * Update Chaos Client Name + Update outdated examples. (#16501) * publish Microsoft.AVS 2021-12-01 API (#16426) * copy 2021-06-01 API * replace "2021-06-01" with "2021-12-01" * add 2021-12-01 changes * update readme * add go * add java * fix go * Network may release: monthly branch release from Azure Networking side. (#16395) * Adds base for updating Microsoft.Network from version stable/2021-03-01 to version 2021-05-01 * Updates readme * Updates API version in new specs and examples * Add routing intent resource to 05-01 (#15998) * add routing intent resource to 05-01 * prettier fix * fix api version in examples * Update Exclusion Match Variable enum to support new values (#16124) * Adding new SKU values (#16112) * Adding new SKU values * Fixing basic in Tier(not name) Co-authored-by: Ishani Gupta * Update WAF Policy Exclusions to include RuleSet/RuleGroup/Rule hierarchy (#16154) * VNet Encryption: Add nic flag, vnet property, vnet peering property (#16224) * vnet encryption change * change api version * fix prettier check * add type object for encryption * remove circle (#16307) Co-authored-by: Weiheng Li * move to new branch (#16194) * Missed property added to LoadBalancerBackendAddress and new API (#16334) * Updated load balancer swagger with missing backendAddress property and queryInboundNatRulePortMapping API * Fixed example for QueryInboundNatRulePortMapping API * Fixed warnings * Revert "Fixed warnings" This reverts commit e3e4cac4b19f47452a2b24abfdf9e1e09d041fca. * Revert "Fixed example for QueryInboundNatRulePortMapping API" This reverts commit 5823b77f681534fbda8010901496886c88b81343. * Revert "Updated load balancer swagger with missing backendAddress property and queryInboundNatRulePortMapping API" This reverts commit e3f5bb3ca403ed5045b11bcde59d7b54975ae117. * Put changes into correct API version * Fixed lint diff errors * Fixes based on CR * Fixes based on CR * Fixed warnings * Fixed example * prettier * Fixed spelling * initial PR to the new release branch (#15842) * initial PR to the new release branch * moved body to end of request parameters, changed api version number in examples * Added action name for the list idps filter values * changed to match camel casing for the action added * fixed CR issues * fixing auto checks * fixed ARM cr issues * fixing the resource type to match specification * Isgu/fix/new branch SKU (#16410) * changes in 05 branch * Revert "Adding new SKU values (#16112)" This reverts commit bdf897a9ee38f612e97e84c2090447de0e3b1c79. Co-authored-by: Ishani Gupta Co-authored-by: Ritvika Reddy Nagula Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com> Co-authored-by: Ishani Gupta Co-authored-by: Ishani Gupta Co-authored-by: dtuCloud Co-authored-by: Weiheng Li Co-authored-by: Weiheng Li Co-authored-by: Henry Chen Co-authored-by: irrogozh Co-authored-by: amosarbiv-work <76393841+amosarbiv-work@users.noreply.github.com> * Fixed proxy paths (#16496) * For Add cases, 404 should be error response (#16488) For AddConnectionToGroup and AddUserToGorup, if connection does not exist, or user does not exist, 404 should be considered as error response. * replace resource with proxyresource (#16325) Co-authored-by: Alex Goldschmidt * Add Microsoft.ResourceConnector [Appliance] 2021-10-31-preview API (#16384) * Add Microsoft.ResourceConnector [Appliance] 2021-10-31-preview API * Run prettier on violation files * Add SCVMM to custom-words.txt * Fix validation issues * Fix prettier issue with AppliancesListClusterUserCredential.json * Add multi API section for go readme and update namespace for python readme * Update Example files to be more accurate * Add None to Managed Identity typ in parity with other Azure Arc Resources * Add default value as AKSEdge for distro * Adding type object for ApplianceListResult * Update Identity to use SystemAssignedServiceIdentity from common-types v3 managedidentity.json * Reverting to using custom Identity * Update readme.md * Update readme.python.md Co-authored-by: Anirban Thakur Co-authored-by: Yiming Lei <59104634+RAY-316@users.noreply.github.com> * Josefree doc update (#16457) * Create Sample Directory Structure for Swagger * Delete Sample Directory Structure for Swagger * Create Sample Directory Structure for Swagger * Update Getting started with OpenAPI specifications.md * Delete Sample Directory Structure for Swagger will reuse this wiki https://github.com/Azure/azure-rest-api-specs/wiki#directory-structure, instead of creating a new one. * Update Getting started with OpenAPI specifications.md reuse this wiki for sample directory https://github.com/Azure/azure-rest-api-specs/wiki#directory-structure * Add MDE Onboarding API to Microsoft.Security (2021-10-01-preview) (#16433) * Rename 'whitelist' * add missing 'Group' in renamed file * add mdeOnboarding API - 2021-10-01-preview * fix json format * fix PR issues * add List operation * change to plural, set default resource type name * mismatch between GET and LIST examples * made descriptions clearer, removed unused parameter * defined explicit parameters * delete unused schema Co-authored-by: Erel Hansav * [Hub Generated] Review request for Microsoft.Insights to add version stable/2021-10-14 (#16417) * Adds base for updating Microsoft.Insights from version preview/2020-06-02-preview to version 2021-10-14 * Updates readme * Updates API version in new specs and examples * Fixing a relative path * Pascal casing for the resource provider name * Attempt at fixing R4018 * ADLA RP October Swagger KPI fixes (#16459) * swagger fix * 2016 patch Co-authored-by: Jimmy Xie * Remove readonly on segment length property (#16513) * remove preview tag (#16441) * Disable replay attack checkfor VPN gateway (#16515) * [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (#16468) * Add dump API * add new line at the end of line * change cases * typo * response * add api for start/stop azure spring cloud instance * fix lint error Co-authored-by: Yinglue Zhang Co-authored-by: caiqing Co-authored-by: YinglueZhang-MS <78456380+YinglueZhang-MS@users.noreply.github.com> * Kusto: Swagger readonly cosmetics changes (no breaking changes) (#16405) * Kusto: Swagger readonly cosmetics changes * supress * prettier * fix 2017-09-07-privatepreview examples * fix 2018-09-07-preview model * 1 * 1 * [Microsoft.Security/Automations] Add AssessmentsSnapshot & SubAssessmentSnapshot data types (#16489) * Add SubAssessment event source type and add more automations examples * Change Location isReadOnlu to false * Test * Add new read/write location and add new type TrackedResourceLocation * Minor * minor * prettier fixes * Change variable name to TrackedResourceLocation * Change type name TrackedResourceLocation to AzureTrackedResourceLocation * Update automations example * Add SecureScores & SecureScoreControls as new supported datatypes in Automations resource * [ASC.Automations] add new data type RegulatoryComplianceAssessment * Add Secure Scores and Regulatory Compliance snapshot data types * Changes * minor fix * syntax fixes * [Microsoft.Security/Automations] Add AssessmentsSnapshot & SubAssessmentSnapshot data types * minor * minor * minor * minor * [Hub Generated] Public private branch 'dev-security-Microsoft.Security-2021-07-01' (#16435) * Adds base for updating Microsoft.Security from version preview/2021-05-01-preview to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding securityConnectors private API * Update the readme.md * adding custom word * Update Security Connector model in examples * Update main security connectors model with new organizational data properties, update examples as well. * added new offerings * fix pathing * fix offering name in all examples * add docs for patch endpoint * add system data resource * Remove duplication * Resolve tools issues * Change bool to boolean * Fix model validation errors * Fix lint error * CR fixes. Move systemData to root of object. Export identity type to definition * remove extra bracket * fix bracketing and pathing * lint fixes * fix camel case for linting * Fix systemData examples Co-authored-by: Sapir Elmakayes <32778998+SapirElmakayes@users.noreply.github.com> Co-authored-by: Sapir Elmakayes * Azure Maps - [Hub Generated] Review request for Traffic to add version preview/1.0 (#16128) * Modified method GetTrafficFlowSegment to remove the Result type and return the data type directly * Revert "Modified method GetTrafficFlowSegment to remove the Result type and return the data type directly" This reverts commit 46bc557383238dad2cd4b5d0a0040fdc754fdb79. * Flattening and renaming of several components within Traffic Segment Flow * Flattened the client for Traffic Incident Detail * More changes in flattening, now for TrafficIncident and Detail * More changes in flattening, now for TrafficIncident and Detail * More feedback addressed * prettier fixes * Clarified doc string * Added start and end time for Traffic incident * Added friendly names for x-ms-examples * Fixed avocado bugs, added query parameter as number array * Added collectionFormat to all comma separated parameters * Small changes to improve codegen * Prettier fixes * Fixed all comments from latest PR review Co-authored-by: Daniel Rocha * Adding Swagger for Short Code API (#15312) * saving progress * fixing typos * fixing typos * fixing typo * running prettier * small comment change * minor fixes * minor fix * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * saving progress * moving shortcodes files to its own folder * saving progress * adding basic readme file * Changing message details to support adding examples for contenttypes, adding estimatedRampUpTime and directionality * adding format for urls, emails and phone numbers * renames on different fields * adding back helpMessage and optOutMessage * removing tel format * S360: fix missing accesslevel field in requestResponse (#16464) * fix missing accesslevel field in requestResponse * fix another s360 issue * fix fields in example files as well * update custom words * [Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2021-10-15 (#15733) * Adds base for updating Microsoft.DocumentDB from version stable/2021-06-15 to version 2021-09-15 * Updates readme * Updates API version in new specs and examples * Add support for fetching continuous backup information for latest restorable timestamp. * Adding locations API and backupRedundancy * Fixing ref * Add 10-15 Preview along with ClientEncryptionKey management changes * Renaming 2021-09-15 api version to 2021-10-15 * Fixing some more renames * fix validation checks * add clientencryptionkeys to custom-words * initial commit * Swagger specifiations * readme file updated * Review comments addressed * Added TotalThroughputLimit property to Database Create and Update * Rebased and added type to capacity * Added changes to preview folder as well * Added changes to missing files * initial checkin of base version * Adding examples; /deallocate and /start api in swagger * update readme.md file * Removing 2021-10-15-preview changes * managed cassandra swagger changes for GA * Fixing linter issues * minor description fixes * adding missing example * add stable and preview swagger * revert to Thu Sep 9 2021 change * fix linter errors in swagger * fix validation errors * validation fixes * remove fetchNodeStatus from stable * remove unused example file, fix validation error * Fixing the spell check and formatting issues * remove /repair api, make /command async * remove unreferrenced example json * remove pageable link from /status api * remove backups api, add cassandraAuditLoggingEnabled property * add cassandraAuditLoggingEnabled property * make /status api async, minor fixes * remove async tag to /status * remove connectivity property, add Ldap as preview * remove unreferenced example files * use guid in subid for examples * add backupStorageCustomerKeyUri property * fix api response code * remove ldap * Changing operationId for locations API * review comments Co-authored-by: REDMOND\amisi Co-authored-by: Anuj Toshniwal Co-authored-by: Abhijit Karanjkar Co-authored-by: Praful Johari Co-authored-by: visunda Co-authored-by: Vivek Sundararajan Co-authored-by: vivek-microsoft <32766101+vivek-microsoft@users.noreply.github.com> * [SignalR] Add stable version 2021-10-01 (#16044) * init * remove * Add 2021-10-01 * Minor update * Add 2021-05-01-preview swagger API support for Autoscale newly added fields and new controller path. (#16463) * Initially cut, cloned from know existing GA bits (IE \specification\monitor\resource-manager\Microsoft.Insights\stable\2015-04-01) * rev API version, add new controller API path, and update JSON showing newly added predictiveAutoscalePolicy field * [QuotaRP] Fix LimitObject polymorphism (#16438) * Fix LimitObject polymorphism * move properties out of allOf * add type to LimitObject * value is required * Updating Operations Tag to QuotaOperations. * Update quota.json Updating Summary field for operations. Co-authored-by: Rahul Singh <53578268+rahuls-microsoft@users.noreply.github.com> * resolving s360 item (#16476) * resloving s360 itme * added prettier-fix changes Co-authored-by: Gaurav Bang * fix typo: readonly to readOnly (#16548) Co-authored-by: Xuyang Cao * [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16549) * Adds base for updating Microsoft.Security from version preview/2021-07-01-preview to version 2021-07-02-preview * Updates readme * Updates API version in new specs and examples * Fix account id to account ids * Minor * Minor Co-authored-by: Sapir Elmakayes * [Hub Generated] Review request for Microsoft.Maps/Microsoft.Maps to add version preview/2.0 (#16487) * added extra fields to JSON list data response in docs * added content-type field to request header * took out content type from header field due to errors; JSON reponse fields for user Data are ready to commit * [Hub Generated] Review request for Microsoft.Maps/Microsoft.Maps to add version preview/1.0 (#16446) * Remove mobility * Remove mobility * Remove mobility * Remove mobility reference * Trigger another pipeline? * Remove more mobility * [Hub Generated] Review request for Search to add version preview/1.0 (#16283) * First set of changes for Search API * More changes to address review * More changes to address review * More changes to address review * Reset searchAlongRoute name * Fixed roadUse * Fixed OAV error * Minor fixes * Fixed fuzzy search errors from review * Changes in Reverse Search Address mode * More changes from the review * Checkpoint commit * Fixed floating point numbers, dataSources field * Modified boundingBox to avoid causing model validation failure * Fixed more examples * Fixed more broken examples * Fixed more examples * Fixed more examples * Prettier fixes * Re-add street and buildingNumber * Revert client body flattening, add names for x-ms-enum * Removed locale-specific URLs * More changes to address review * More changes to address review * Minor fixes * More changes from the review * Fixed floating point numbers, dataSources field * Fixed final issues for review * Modified boundingBox to avoid causing model validation failure * Prettier fixes * Revert client body flattening, add names for x-ms-enum * Reflect operationId changes in Readme.typescript * Keep operations in TypeScript to be consistent for all languages * Update sdk generation to track2 * Prettier fix * Revert "Update sdk generation to track2" This reverts commit 5ede489e84a1820c06f7c26f70bf1bc9c2a3ec86. * Remove .net sdk generation since it is not used * Added prefix to Operation Id. * Fixed couple of operationIds * Renamed PolygonResponse * Address PR comments * More changes due to PR Review * Testing new batch naming * Fixed bug in searchInsideGeometry * Testing new batch naming * Fixed batch naming that didn't work well. * Renamed searchInsideGeometryBody to geometry * Finished all PR review comments, added changes to Common and Route Co-authored-by: Daniel Rocha Co-authored-by: alankashiwa * Removed redundant parameters from data plane account update example (#16552) Co-authored-by: Shailesh Kelkar * Rperezzamora/small fix for short codes (#16554) * making numberType on ShortCode model object extensible enum * Revert "making numberType on ShortCode model object extensible enum" This reverts commit 5051e3efd24853c073d4f2343076db728d96feff. Reverting change since it should have been done on feature branch * adding extensible enum metadata to short code numbertype * [Hub Generated] Creator reconciliation (#16331) * Add blockchain to latest profile * Add additional types * address review comments https://apiview.dev/Assemblies/Review/99ceeedf3dc84cc2b6652c6eba9b2431 * model validation, prettier fixes * rollback accidental legacy doc changes * resolve parameter name clashing for Description * remove the need for ExtendedGeoJsonFeatureCollection to define a descriminator by explicitly bypassing GeoJsonFeatureCollection * alias and tileset at 1.0 is not in main * leverage common's PositionLongitude/LatitudeAbbreviated for search BiasLat/Lng * address @tjprescott comments * Revert "leverage common's PositionLongitude/LatitudeAbbreviated for search BiasLat/Lng" This reverts commit 928b59e7700dede772748f8497d9746f469e80d9. * clarift GeofenceGeometry distance units in descriptions * remove remaining x-ms-client-flatten * renamed OutputOntology enum model name * rename StyleRuleType to RuleType to fix name collision * better StyleRule enum naming Co-authored-by: Mark Cowlishaw Co-authored-by: Taras Vozniuk Co-authored-by: Taras Vozniuk * [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 (#16503) * Lowered minItems to 0 to match API implementation * Added missing ThresholdType value. * Review request for Microsoft.AppPlatform to add a new field containerProbeSettings to DeploymentSettings in version 2021-09-01-preview (#16545) * Update CODEOWNERS (#16562) * Remove Provisioning Details from RestorePoint (#16099) * Add blockchain to latest profile * Add additional types * Remove Provisioning Details from RestorePoint * Fix prettier * JSON format * fix * Change 'timeCreated' Co-authored-by: Mark Cowlishaw * Revert "Robga/policy (#16255)" (#16537) This reverts commit 780a637142214a458a74db73a230dd0b1384eb2a. * Guidance and rules for release request (#16561) * 0.1.0 * update * format * add batch tag (#16578) * config desktopvirtualization readme and readme python (#16579) * config readme * Update readme.python.md Co-authored-by: Yuchao Yan * marketplacenotifications: fixing an invalid operation id (#16326) Since both of these share the same operation id - neither is currently valid / can work as such this fixes these to use the canonical name (List and Get) based on the convention * [QuestionAnswering] Move stable version from feature branch to main (#16510) * move stable to main * fix validation failures * update operationIds * update model names * Rename properties with x-ms-client-name * Properly declare ShortAnswerOptions.enable as constant true After https://github.com/Azure/autorest/pull/4184, modelAsString: false must be added * Fix linting error Co-authored-by: Heath Stewart * Add new version for scanning 2021-10-01-preview (for dns change) (#16447) * add new version for dns change * address check failures * fix readme path Co-authored-by: Parv Saxena * Resolve archboard feedback for Question Answering (#16589) * Dev maps microsoft.maps 2021 12 01 preview (#16153) * Adds base for updating Microsoft.Maps from version preview/2021-07-01-preview to version 2021-12-01-preview * Updates readme * Updates API version in new specs and examples * CORS and AccountSas * fix examples * fixing * fix example * fixing example * fix convention and systemdata * creator examples * fix by rule supress * content updates * fixes from specs pipeline * Feature/uratzmon/2021 10 27 preview (#16566) * Add blockchain to latest profile * Add additional types * copy paste the last version * replace the version string where necessary * add examples files * add new APIs * fix checks #1 * Update specification/vi/resource-manager/readme.md * delete unnecessary part Co-authored-by: Mark Cowlishaw Co-authored-by: Yuchao Yan * Service Fabric managed clusters api version 2021-11-01-preview (#16424) * initial comming copy from 2021-09-01-privatepreview * update swagger to version 2021-11-01-preview * update examples * adding serviceEndpoints * fix node type update tags * run prettier * remove api version enum as recommended not to get flagged on cros version breaking changes Co-authored-by: Alfredo Santamaria Gomez * Update dotnet sdk namespace for Microsoft.Chaos. (#16598) * [Hub Generated] Review request for Microsoft.Confluent to add version preview/2021-09-01-preview (#16048) * Adds base for updating Microsoft.Confluent from version preview/2021-03-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Fixing spellcheck (#16551) * update (#16419) * Fix an issue “ServicePrincipalCredentialEnum” should be string rather than object (#16322) * [Data Factory]Change compressionType to type of object in ADF public swagger (#16563) * Change compressionType to type of object in ADF public swagger * edit adf swagger * resolve comment Co-authored-by: Haoran Sun * Merge IoT Central Public API Oct Release to main branch (#16606) * Add new 2.0-preview.1 version for IoT Central * fix typo on enum value * rollback 1.0 changes, applied 2.0-preview.1 * fix typo * remove non-used examples * fix style * update version from 2.0-preview.1 to 1.1-preview * update code review comments, fix patch consumes with json-patch support, fix examples for fileupload * add nextLink to collection of orgs * fix typo * fix wrong position of paging * fix the paging * add . to description * update default to use enum for api-version * add oct release with query, cde v2, device filter, device template filter, relationship, edge template, simplified template patching * update examples * fix lint error, model validation * fix missing type in examples, remove url format * fix ID case * fix id case * fix ID case * add iotc query language reference * fix typo * [NetAppFiles] Apply s360 fix to operations result (#16270) * Apply s360 fix to operations resutl * Fix apiversion in example * Fix validation warning and errors * Add missing encryptDCConnections propety to AcitiveDirectory * fix api version * fix througntputmips * Clarify description throughputMibps Co-authored-by: Audunn Baldvinsson * [Hub Generated] Review request for Microsoft.PolicyInsights to add version stable/2021-10-01 (#16250) * Adds base for updating Microsoft.PolicyInsights from version stable/2019-07-01 to version 2021-10-01 * Updates readme * Updates API version in new specs and examples * Microsoft.PolicyInsights/remediations new API version: 2021-10-01 * Add Go tag * Add Java tag * Update specification/policyinsights/resource-manager/readme.md Co-authored-by: Dapeng Zhang * Remove Go SDK generation flag Co-authored-by: Dapeng Zhang * Cmk support for Azure healthbot (#16520) * adding cmk support * healthbot - actual CMK changes * readme update * new line added * Change summaries from Results to ProxyResults (#16533) Co-authored-by: Alex Goldschmidt * [Hub Generated] Review request for Microsoft.Devices to add version preview/2021-07-02-preview (#16493) * Adds base for updating Microsoft.Devices from version preview/2021-07-01-preview to version 2021-07-02-preview * Updates readme * Updates API version in new specs and examples * adding the creation time in the version * add data residency flag * changing the version tag * Backup admin update (#16151) * Move preview-2018-09-01 to stable * Add new api version 2021-09-01 * correct-typescript-for-desktopVirtualization (#16614) * Fix S360 item for FSPG swagger by adding default value to backupRetentionDays and maintenanceWindow (#16502) * Changed FSPG RestartParameter.failoverMode from string to enum for API 2021-06-01, 2021-06-01-preview, and 2021-06-15-privatepreview * Change enum first letter to lower case * Change to upper case * Fix S360 bugs for swagger FSPG 2020-02-14-preview, 2021-06-01-preview and 2021-06-01 APIs * Fix S360 item by adding default value to backupRetentionDays and maintenanceWindow * [Synapse] Add tag for Synapse Nov. release (#16595) * add Nov. release tag * fix * Break down swagger into multiple files for better maintainability (#16611) * IoT Central Public API 1.1-preview Oct Release (#16514) * Add new 2.0-preview.1 version for IoT Central * fix typo on enum value * rollback 1.0 changes, applied 2.0-preview.1 * fix typo * remove non-used examples * fix style * update version from 2.0-preview.1 to 1.1-preview * update code review comments, fix patch consumes with json-patch support, fix examples for fileupload * add nextLink to collection of orgs * fix typo * fix wrong position of paging * fix the paging * add . to description * update default to use enum for api-version * add oct release with query, cde v2, device filter, device template filter, relationship, edge template, simplified template patching * update examples * fix lint error, model validation * fix missing type in examples, remove url format * fix ID case * fix id case * fix ID case * add iotc query language reference * fix typo * Try to refactor swagger and see if it is breaking * Fix casing in swagger * fix * fix semantic * Adding spec and info * aabb * Add path * fix prettier Co-authored-by: Johnson Yang * Add example events. (#16404) * Add examples * Rename certificate_new_version_created.json to secret_new_version_created.json * Update geofence_entered.json * Create geofence_entered.json * Update geofence_entered.json * Update geofence_entered.json * Update geofence_entered.json * Update geofence_result.json * Update geofence_result.json * Update keyvalue_deleted.json Add syncToken for AppConfiguration. * Update keyvalue_modified.json Add syncToken for AppConfiguration. * Delete chat_member_removed_from_thread_with_user.json * Delete chat_member_added_to_thread_with_user.json * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Update placeholders * Update app_service_plan_updated.json * Update policy_state_changed.json * Update new_kubernetes_version_available.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> * Removed property from sample response (#16596) * Internal Network resource - all properties are top level (PrivateEndpointConnectionProxy) (#16628) * Removed property bags from NRP proxy definition * Added top level suppression * Added provisioning state because of RPaaS validation * Another try at supressions * square #1 * square #0 * another try * [Non-breaking change] Update diagnosticsProfile.bootDiagnostics.storageUri property description. (#16430) * Add blockchain to latest profile * Add additional types * Update property description. Co-authored-by: Mark Cowlishaw * [Synapse] Decouple dependencies among Swagger specs (#16616) * extract workspaceNameParameter to common * move some definitions to common folder * workspaceNameParameter * fix * fix * revert for libraryInfo * fix for breaking change * test for breaking change * test for breaking change * [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16550) * . * . * Update issue_assignment.yml (#16630) * adding parameters for dataflow activity (#16602) Co-authored-by: Bhaskar Annamalai * Update the CSharp output directory. (#16640) * Corrected Alert field to include ProxyResource. (#16572) * DPS RP API version for AZn+0 (#16538) * Initial commit, copying all files from last API version * Add changes for new API version * Update DPSCertificateCreateOrUpdate.json * Update DPSCreate.json * Update iotdps.json * Update cSpell.json * fix prettier issue * Add tag for new API * Update readme.md * Add 'systemData' * Move systemData Co-authored-by: Zhenglai Zhang * Cognitive Services Resource Provider API Version 2021-10-01 (#16418) * Adds base for updating Microsoft.CognitiveServices from version stable/2021-04-30 to version 2021-10-01 * Updates readme * Updates API version in new specs and examples * Changes for 2021-10-01 * Use 201 instead of 202 for Put, Add x-ms-pageable for List. * address comments * Added unexpected internal-only Network RP properties (#16644) * Added suppression because Network RP is sending undocumented properties * Removed suppression and added properties from NRP request * Adding operations status to the NRP Proxy resource * config readme (#16645) * [Synapse]Add auto gen readme files for cli kusto support (#16581) * Add blockchain to latest profile * Add additional types * addclikustosupportautogenfiles * removealias * addrepo Co-authored-by: Mark Cowlishaw * [Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#16500) * Added locale field and Forecasted enum value. * Added locale field and Forecasted enum value. * Add managee tenant properties to 2020-02-01-preview (#16466) * Rperezzamora/adding new content categories (#16647) * adding new message categories * moving estimatedRampUpTimeInDays to trafficDetails * Role assignment name description (#16639) * [Refactor only] Try to use common type as much as possible and remove not used field (#16648) * IoT Central Public API 1.1-preview Oct Release (#16514) * Add new 2.0-preview.1 version for IoT Central * fix typo on enum value * rollback 1.0 changes, applied 2.0-preview.1 * fix typo * remove non-used examples * fix style * update version from 2.0-preview.1 to 1.1-preview * update code review comments, fix patch consumes with json-patch support, fix examples for fileupload * add nextLink to collection of orgs * fix typo * fix wrong position of paging * fix the paging * add . to description * update default to use enum for api-version * add oct release with query, cde v2, device filter, device template filter, relationship, edge template, simplified template patching * update examples * fix lint error, model validation * fix missing type in examples, remove url format * fix ID case * fix id case * fix ID case * add iotc query language reference * fix typo * Try to use common types for operation list * Fix semnatic * try to use provided tracked resrouce * Remove dup * Fix tracked resource * blah * remove not used stuff * Remove types aren't used * use parameters from common * fix correct path * Adding back * Adding coming sku back Co-authored-by: Johnson Yang * Cognitive Services add batch tag package-2021-10 (#16658) * [Hub Generated] Review request for Microsoft.Insights to add version stable/2021-08-01 (#15845) * Adds base for updating Microsoft.Insights from version preview/2021-02-01-preview to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * Added new stable api version 2021-08-01 with paging support Co-authored-by: Avi Jerafi * [Synapse] [Bug Fix] Remove unnecessary additional properties for data flow flowlet. (#16650) * Remove additional properties * move to remove * [Hub Generated] Review request for Microsoft.EventHub to add version preview/2021-11-01-preview (#15855) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * Adding schema registry 2021-11-01 stable spec with examples * Fixing validation errors * Adding back text type for data plane operation * Revert "Adding back text type for data plane operation" This reverts commit 572a5ef6c0831ebee59d5ce7399e2c673e27e5be. * Adding charset to plain text * Fixing Prettier checks * Adding 'schemagroups' to custom words * Addressing feedback * Switching from stable to preview * Addressing more feedback * Fixing spelling errors * Adjusting readme to reflect preview * Fixing schema examples * Small fixes * Error cleanups * Addressing comments, serialization type unchanged * Small fixes * Removing 201 from PUT * Generic string for GetById example * More small changes * Adding back 'produces' value * Camel-casing x-ms-enum value * Renaming enum name * Changing serialization type to content type * Addressing feedback comments * Adjusting co… * Add accurate descriptions for fields and update examples * Update Descriptions (#27) * Add accurate descriptions for fields and update examples * Fix alias for code owner Co-authored-by: Jorin Mejia * Lint diff fix #1 * Lint diff fix 2 * Fixes for examples, wording, response codes * Run prettier on json files, fix responses * Add definition for CheckHostNameAvailabilityInput, update example * Remove patch call for secrets and examples * Change name in x-ms-enum * Add azure async opertion header, remove LRO from PUT rulesets * Add azure async operation header to 202 responses * Update log analytics examples * Add descriptions for each SKU * Yunhe/server variable (#28) * server variable (#11) * wip server variable * server-variable udpates * server port transform * socket address * update server variable * resolve comments * revert unwanted change * server variable conditions * fix hostname type name * update sslProtocol to extensible string * Add object type to conditions * Add transforms for RemoteAddress * Update CheckHostNameAvailability examples * Remove 202 response from PUT operations on RuleSets * Remove 202 response from Rules_Create.json * Add 202 response to rules, remove 202 response from RuleSets_Create.json * Run prettier * Remove breaking change enum & move ActivatedResourceReference to afdx.json * Adding managed identity to profile object. (#29) * Adding managed identity to profile object. * Adding user assigned identity to identity. * Adding user assigned identity section * Removing user assigned identity * Removing user assigned from enum. * Removing readonly * Changing modelAsString to true Co-authored-by: Jorin Mejia Co-authored-by: yunheMsft <69871746+yunheMsft@users.noreply.github.com> Co-authored-by: SINADELL Co-authored-by: Sindhuri Co-authored-by: Jessica Li Co-authored-by: Chenglong Liu <48578056+ChenglongLiu@users.noreply.github.com> Co-authored-by: Chenglong Liu Co-authored-by: t-bzhan <61817681+t-bzhan@users.noreply.github.com> Co-authored-by: Bo Zhang Co-authored-by: rrahulms <42217269+rrahulms@users.noreply.github.com> Co-authored-by: laurent-mic <41535579+laurent-mic@users.noreply.github.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: sameerpatro <88674399+sameerpatro@users.noreply.github.com> Co-authored-by: George Moussa Co-authored-by: Ray Chen Co-authored-by: Vaishnavi Janardhan Co-authored-by: sashanm <54701252+sashanm@users.noreply.github.com> Co-authored-by: t-vjanardhan <77781522+t-vjanardhan@users.noreply.github.com> Co-authored-by: Nidhi Jain Co-authored-by: nija-dev <67132984+nija-dev@users.noreply.github.com> Co-authored-by: Vaishnavi Janardhan Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: Paul Hsu Co-authored-by: Youssef Shahin Co-authored-by: Nikki Zuko <38327895+nizuko@users.noreply.github.com> Co-authored-by: joseph-porter <69636506+joseph-porter@users.noreply.github.com> Co-authored-by: Amit Elran Co-authored-by: Amit Elran Co-authored-by: SanjaMalesevic <53555921+SanjaMalesevic@users.noreply.github.com> Co-authored-by: Jonathan Innis Co-authored-by: savaradh <60020169+savaradh@users.noreply.github.com> Co-authored-by: esdhrgl1984 <44240496+esdhrgl1984@users.noreply.github.com> Co-authored-by: vasanthrajams <60414148+vasanthrajams@users.noreply.github.com> Co-authored-by: larisaborodina <58491292+larisaborodina@users.noreply.github.com> Co-authored-by: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Co-authored-by: Young Bu Park Co-authored-by: JiahuiPeng <46921893+804873052@users.noreply.github.com> Co-authored-by: Arcturus Co-authored-by: Alex Tsao Co-authored-by: Alex Tsao Co-authored-by: AriZavala2 <77034370+AriZavala2@users.noreply.github.com> Co-authored-by: Dongwei Wang Co-authored-by: Dongwei Wang Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> Co-authored-by: Chou Hu Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com> Co-authored-by: Charlie Li Co-authored-by: rsamigullin <89222124+rsamigullin@users.noreply.github.com> Co-authored-by: Matthew Christopher Co-authored-by: rohkuma-microsoft <90003118+rohkuma-microsoft@users.noreply.github.com> Co-authored-by: Ajit Navasare Co-authored-by: Damodar Avadhani Co-authored-by: v-ajnava Co-authored-by: Tom Harvey Co-authored-by: Samuel Kuang Co-authored-by: Ritwik Rajendra <21337621+ritwik8119@users.noreply.github.com> Co-authored-by: Ritwik Rajendra Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> Co-authored-by: Thomas Pham Co-authored-by: hivyas <61890270+hivyas@users.noreply.github.com> Co-authored-by: Anne Thompson Co-authored-by: LarryZhang19 <35974877+LarryZhang19@users.noreply.github.com> Co-authored-by: Samir Solanki Co-authored-by: Alan Po-Ching Yang Co-authored-by: Daniel Rocha Co-authored-by: Ishay Dahan Co-authored-by: prince3332 Co-authored-by: Prince Gupta Co-authored-by: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com> Co-authored-by: jiacheng-L <71623842+jiacheng-L@users.noreply.github.com> Co-authored-by: najian Co-authored-by: Nan Jiang Co-authored-by: swvenkats <87731907+swvenkats@users.noreply.github.com> Co-authored-by: Jie Shen Co-authored-by: Wenhao Zhang Co-authored-by: Xuyang Cao Co-authored-by: Zhixiang Zhan Co-authored-by: tabenari <73182585+tabenari@users.noreply.github.com> Co-authored-by: Kyle Rush Co-authored-by: Yuchao Yan Co-authored-by: 00Kai0 Co-authored-by: Jenny Winkler <52216782+jewinkle@users.noreply.github.com> Co-authored-by: Mario Hernandez Co-authored-by: kerend Co-authored-by: korosensei Co-authored-by: Omar Elhariry Co-authored-by: Kareem Yousef Co-authored-by: Maddie Lucas <85301813+maddiemlucas@users.noreply.github.com> Co-authored-by: Joel Hendrix Co-authored-by: Taras Vozniuk Co-authored-by: Taras Vozniuk Co-authored-by: darkoa-msft <61987922+darkoa-msft@users.noreply.github.com> Co-authored-by: Wan Yang Co-authored-by: Zhenglai Zhang Co-authored-by: Cameron Taggart Co-authored-by: Mikhail Co-authored-by: Ritvika Reddy Nagula Co-authored-by: tejasshah7 <49326906+tejasshah7@users.noreply.github.com> Co-authored-by: Ishani Gupta Co-authored-by: Ishani Gupta Co-authored-by: dtuCloud Co-authored-by: Weiheng Li Co-authored-by: Weiheng Li Co-authored-by: Henry Chen Co-authored-by: irrogozh Co-authored-by: amosarbiv-work <76393841+amosarbiv-work@users.noreply.github.com> Co-authored-by: Liangying.Wei Co-authored-by: alexgoldschmidt <33302838+alexgoldschmidt@users.noreply.github.com> Co-authored-by: Alex Goldschmidt Co-authored-by: anirbanthakur <89666721+anirbanthakur@users.noreply.github.com> Co-authored-by: Anirban Thakur Co-authored-by: Josephine Qiu Co-authored-by: Erel Hansav Co-authored-by: Erel Hansav Co-authored-by: Alexander Kaplan Co-authored-by: jimmyshie123 Co-authored-by: Jimmy Xie Co-authored-by: Aishwarya C S <24403906+Aishwarya-C-S@users.noreply.github.com> Co-authored-by: misbamomin <79725363+misbamomin@users.noreply.github.com> Co-authored-by: Sandy Cai Co-authored-by: Yinglue Zhang Co-authored-by: caiqing Co-authored-by: YinglueZhang-MS <78456380+YinglueZhang-MS@users.noreply.github.com> Co-authored-by: docohe <54349195+docohe@users.noreply.github.com> Co-authored-by: surashed <55134940+surashed@users.noreply.github.com> Co-authored-by: TomerHmsft <92307325+TomerHmsft@users.noreply.github.com> Co-authored-by: Sapir Elmakayes <32778998+SapirElmakayes@users.noreply.github.com> Co-authored-by: Sapir Elmakayes Co-authored-by: Daniel Rocha Co-authored-by: rperezzamora <80124228+rperezzamora@users.noreply.github.com> Co-authored-by: kavskalyan Co-authored-by: REDMOND\amisi Co-authored-by: Anuj Toshniwal Co-authored-by: Abhijit Karanjkar Co-authored-by: Praful Johari Co-authored-by: visunda Co-authored-by: Vivek Sundararajan Co-authored-by: vivek-microsoft <32766101+vivek-microsoft@users.noreply.github.com> Co-authored-by: Chenyang Liu Co-authored-by: PatrickTseng Co-authored-by: sbudhi-msft <81762203+sbudhi-msft@users.noreply.github.com> Co-authored-by: Rahul Singh <53578268+rahuls-microsoft@users.noreply.github.com> Co-authored-by: Gaurav Co-authored-by: Gaurav Bang Co-authored-by: Xuyang Cao Co-authored-by: sanil7777777 <90470998+sanil7777777@users.noreply.github.com> Co-authored-by: MaxWrightMicrosoft <89222647+MaxWrightMicrosoft@users.noreply.github.com> Co-authored-by: shaileshsk94 <52837212+shaileshsk94@users.noreply.github.com> Co-authored-by: Shailesh Kelkar Co-authored-by: Mark Cowlishaw Co-authored-by: Taras Vozniuk Co-authored-by: sashahdo <64434373+sashahdo@users.noreply.github.com> Co-authored-by: Caihua Rui <71814127+CaihuaRui@users.noreply.github.com> Co-authored-by: sukodava <78733210+sukodava@users.noreply.github.com> Co-authored-by: Robert Gao Co-authored-by: Heath Stewart Co-authored-by: Parv Saxena Co-authored-by: Parv Saxena Co-authored-by: Daniel Stack Co-authored-by: uratzmon <81904834+uratzmon@users.noreply.github.com> Co-authored-by: Alfredo Santamaria Co-authored-by: Alfredo Santamaria Gomez Co-authored-by: Krishna Sri Somepalli Co-authored-by: kesharma <74746991+kesharma@users.noreply.github.com> Co-authored-by: Jingshu923 <52914166+Jingshu923@users.noreply.github.com> Co-authored-by: rickysun93 Co-authored-by: Haoran Sun Co-authored-by: Johnson Yang Co-authored-by: Auðunn Co-authored-by: Audunn Baldvinsson Co-authored-by: Elad Perets <7473455+eladperets@users.noreply.github.com> Co-authored-by: Dapeng Zhang Co-authored-by: Avi Paz Co-authored-by: vikramadityab72 Co-authored-by: Yanqiong Chen <86596306+yanqiongchen@users.noreply.github.com> Co-authored-by: colawwj <70128817+colawwj@users.noreply.github.com> Co-authored-by: xunsun-commits <84804232+xunsun-commits@users.noreply.github.com> Co-authored-by: Shuo LI Co-authored-by: Tianyun Gao (MSFT) <65581162+Tianyun-G@users.noreply.github.com> Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Co-authored-by: Omar Rodriguez <73562205+omrodrig@users.noreply.github.com> Co-authored-by: Avinash Co-authored-by: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com> Co-authored-by: bannama Co-authored-by: Bhaskar Annamalai Co-authored-by: leigharubin <78169930+leigharubin@users.noreply.github.com> Co-authored-by: Zhenglai Zhang Co-authored-by: Yang Yuan Co-authored-by: zesluo Co-authored-by: Saif Kayani Co-authored-by: Robert Lyon <35980532+rolyon@users.noreply.github.com> Co-authored-by: avjerafi <64891828+avjerafi@users.noreply.github.com> Co-authored-by: Avi Jerafi Co-authored-by: Jack Ma Co-authored-by: Nick Hardwick <31860550+nickghardwick@users.noreply.github.com> Co-authored-by: xolve Co-authored-by: Ravi Arora Co-authored-by: Maor Leger Co-authored-by: tianxchen-ms <403562789@qq.com> Co-authored-by: Tianxiang Chen Co-authored-by: Theertharaj <40805847+thramu@users.noreply.github.com> Co-authored-by: Xingdong Li Co-authored-by: Xingdong Li Co-authored-by: Adriano Arce Co-authored-by: ILAVELAN KANNIAPPAN Co-authored-by: Roslyn Lu Co-authored-by: Roslyn Lu Co-authored-by: yoram-cohen-microsoft <92515642+yoram-cohen-microsoft@users.noreply.github.com> Co-authored-by: cfurmanczyk <89105175+cfurmanczyk@users.noreply.github.com> Co-authored-by: Braden Watkins Co-authored-by: Braden Watkins Co-authored-by: orkayam <68549999+orkayam@users.noreply.github.com> Co-authored-by: Orel Kayam Co-authored-by: vayada Co-authored-by: Andrew Peacock Co-authored-by: msyache <70287970+msyache@users.noreply.github.com> Co-authored-by: Yang Chen Co-authored-by: Hande Adiguzel <89477033+handeeeadiguzel@users.noreply.github.com> Co-authored-by: Christian Eduardo Palomares Peralta Co-authored-by: Alexander Zaslonov Co-authored-by: DreamlessA Co-authored-by: Alan Feng Co-authored-by: Jatin Sanghvi <20547963+JatinSanghvi@users.noreply.github.com> Co-authored-by: Nicolás Barrera Co-authored-by: Nicolás Barrera Co-authored-by: VitaliyKurokhtin Co-authored-by: Christian Palomares Co-authored-by: RupengLiu Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: rkapso Co-authored-by: Ochirkhuyag Co-authored-by: Ochi Co-authored-by: rezmicrosoft <70175798+rezmicrosoft@users.noreply.github.com> Co-authored-by: rez1 Co-authored-by: GovardhanaDK <36787828+GovardhanaDK@users.noreply.github.com> Co-authored-by: Govardhana D K Co-authored-by: Jane Lijuan Zhang Co-authored-by: inballeibovitch <74146365+inballeibovitch@users.noreply.github.com> Co-authored-by: jeffj6123 Co-authored-by: Joshua McCarthy Co-authored-by: jmccarthy Co-authored-by: Nick Depinet Co-authored-by: Nick Depinet Co-authored-by: Guosen Wang Co-authored-by: Deyaaeldeen Almahallawi Co-authored-by: Nitesh Vijay Co-authored-by: anujtoshniwal <62551957+anujtoshniwal@users.noreply.github.com> Co-authored-by: Ajay Parulekar <79739098+ajparule@users.noreply.github.com> Co-authored-by: Amit Singh <31076927+amisi01@users.noreply.github.com> Co-authored-by: pjohari-ms <84465928+pjohari-ms@users.noreply.github.com> Co-authored-by: KeYu(AnkhSpirit) <33389195+KeYu-AnkhSpirit@users.noreply.github.com> Co-authored-by: Travis Prescott Co-authored-by: Mohamed Abbas Co-authored-by: dabenhamMic <74346518+dabenhamMic@users.noreply.github.com> Co-authored-by: Jimmy Campbell Co-authored-by: Suna Liu Co-authored-by: varun kumar kunchakuri <66476965+vakuncha@users.noreply.github.com> Co-authored-by: sagamzu <52034287+sagamzu@users.noreply.github.com> Co-authored-by: Yihang Co-authored-by: sonalverm <73529783+sonalverm@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: Ritesh chitlangia <60164879+riteshchitlangia1@users.noreply.github.com> Co-authored-by: kim-soohwan <40476315+kim-soohwan@users.noreply.github.com> Co-authored-by: Soohwan Kim Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com> Co-authored-by: zhangyan133 <77086185+zhangyan133@users.noreply.github.com> Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) Co-authored-by: 陈箭飞 <32889038+chenjianfei2017@users.noreply.github.com> Co-authored-by: Your Name Co-authored-by: jdhms <77470403+jdhms@users.noreply.github.com> Co-authored-by: Alexander Batishchev Co-authored-by: dosegal <51155368+dosegal@users.noreply.github.com> Co-authored-by: Bruce Johnston Co-authored-by: Abdullah Syed <50675866+absyed@users.noreply.github.com> Co-authored-by: stuartko <47676853+stuartko@users.noreply.github.com> Co-authored-by: pvsraviteja <67624658+pvsraviteja@users.noreply.github.com> Co-authored-by: Nick Schonning Co-authored-by: Suba Co-authored-by: zhaomuzhi Co-authored-by: Vinay Rajmal Soni Co-authored-by: jopet@microsoft.com Co-authored-by: Josh Peterson <15050193+joshanator@users.noreply.github.com> Co-authored-by: chandrikagonuguntla Co-authored-by: Chandrika Gonuguntla Co-authored-by: aarongas Co-authored-by: Saar Shen Co-authored-by: Junbo Wang Co-authored-by: Hervey Wilson Co-authored-by: Janusz Lembicz Co-authored-by: Alexander Schmidt Co-authored-by: ThomasDai <73230321+ThomasDai@users.noreply.github.com> Co-authored-by: Trask Stalnaker Co-authored-by: alexsavo-ms <78455310+alexsavo-ms@users.noreply.github.com> Co-authored-by: TJ Egbejimba Co-authored-by: averyrob <78236769+averyrob@users.noreply.github.com> Co-authored-by: Aman Swaika Co-authored-by: Aman Swaika Co-authored-by: Gaurav Mishra (IDENTITY) Co-authored-by: us6193 Co-authored-by: Umang Shah Co-authored-by: Srinivas Co-authored-by: Xiang Yan Co-authored-by: Krista Pratico Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: jastenze <71854693+jastenze@users.noreply.github.com> Co-authored-by: Jose Manuel Heredia Hidalgo Co-authored-by: Rishi Kapoor Co-authored-by: Subrahmanyam Mandavilli Co-authored-by: Xing Zhou Co-authored-by: mkarmark Co-authored-by: Laurent Mazuel Co-authored-by: Ji Wang Co-authored-by: taogems <55105930+taogems@users.noreply.github.com> Co-authored-by: Mayank Aggarwal Co-authored-by: Mayank Aggarwal Co-authored-by: FAREAST\zakinkh Co-authored-by: Congrui <43364740+conhua@users.noreply.github.com> Co-authored-by: jadrefke Co-authored-by: Austin Drefke Co-authored-by: Amr Elroumy (Work) <77645021+amrelroumy-msft@users.noreply.github.com> Co-authored-by: akashkeshari Co-authored-by: Akash Keshari Co-authored-by: simanor <49607823+simanor@users.noreply.github.com> Co-authored-by: Tom FitzMacken Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> Co-authored-by: bowgong <56386108+bowgong@users.noreply.github.com> Co-authored-by: Jack Lichwa <52512203+jlichwa@users.noreply.github.com> Co-authored-by: jainharsh98 Co-authored-by: Shubham Gupta Co-authored-by: ssss141414 Co-authored-by: JianyeXi <59603451+jianyexi@users.noreply.github.com> Co-authored-by: jianyexi Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com> Co-authored-by: litchiyangMSFT <64560090+litchiyangMSFT@users.noreply.github.com> Co-authored-by: mayank88mahajan Co-authored-by: Weiguo Zhang Co-authored-by: maddieminn <79888413+maddieminn@users.noreply.github.com> Co-authored-by: nilgupta6 <78136736+nilgupta6@users.noreply.github.com> Co-authored-by: Yuan Xi Co-authored-by: Kai-Wen Feng <82062838+kaiwenfeng4086@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com> Co-authored-by: Dania Etienne Co-authored-by: Dania Etienne Co-authored-by: yl-ms <79939366+yl-ms@users.noreply.github.com> Co-authored-by: Aditi <12823918+aditimalladi@users.noreply.github.com> Co-authored-by: Aditi Co-authored-by: Meha Kaushik Co-authored-by: Meha Kaushik Co-authored-by: Christopher Bennage Co-authored-by: Ramu Co-authored-by: vipinhas <82088177+vipinhas@users.noreply.github.com> Co-authored-by: Jorge Cotillo Co-authored-by: yuzhangyi <44692931+yuzhangyi@users.noreply.github.com> Co-authored-by: zhanyu2014 Co-authored-by: ityankel <47292630+ityankel@users.noreply.github.com> Co-authored-by: hongxian <48581117+hongxian@users.noreply.github.com> Co-authored-by: Hongxian Yao Co-authored-by: nichatur <69816349+nichatur@users.noreply.github.com> Co-authored-by: Himanshu Chandel Co-authored-by: Himanshu Chandel Co-authored-by: Kalpesh Chavan <18593210+KalpeshChavan12@users.noreply.github.com> Co-authored-by: Kalpesh Chavan Co-authored-by: Bin Yu <56588422+BinYuMSFT@users.noreply.github.com> Co-authored-by: Bin Yu Co-authored-by: bar810 Co-authored-by: harini-ms <34797776+harini-ms@users.noreply.github.com> Co-authored-by: Harini Co-authored-by: alexandra142 Co-authored-by: Alexandra Lamiova Pistrakova Co-authored-by: iscai-msft Co-authored-by: stivanov-git <61129265+stivanov-git@users.noreply.github.com> Co-authored-by: Mel M <50640763+melmullen@users.noreply.github.com> Co-authored-by: neku <82562198+Neku-microsoft@users.noreply.github.com> Co-authored-by: ItaySofer Co-authored-by: Itay Sofer Co-authored-by: Luke Slevinsky Co-authored-by: yanfa317 <53584318+yanfa317@users.noreply.github.com> Co-authored-by: Noam Dishon <30979046+dishonono@users.noreply.github.com> Co-authored-by: sandeepparab Co-authored-by: Sandeep Parab Co-authored-by: kryalama <66494519+kryalama@users.noreply.github.com> Co-authored-by: David Watrous Co-authored-by: wwendyc Co-authored-by: Wendy Chang Co-authored-by: Pradeep Kintali <50682039+pradeepkintali@users.noreply.github.com> Co-authored-by: Jeff Couckuyt Co-authored-by: Robert Johnson Co-authored-by: Subbarayudu Kamma Co-authored-by: xerxestph <78384060+xerxestph@users.noreply.github.com> Co-authored-by: Po Tsang Co-authored-by: aleksbol Co-authored-by: Naveed Aziz Co-authored-by: Thomas Reis Co-authored-by: Karthik Kunjithapatham <77180268+karthikku-2020@users.noreply.github.com> Co-authored-by: Ben Viglietta Co-authored-by: Ben Viglietta Co-authored-by: Shuai Wang Co-authored-by: Tal Shoham <87926500+tshoham@users.noreply.github.com> Co-authored-by: Tamir Ben-Arie Co-authored-by: Mohit Chakraborty <8271806+Mohit-Chakraborty@users.noreply.github.com> Co-authored-by: Vu Tran <36055117+vutran01@users.noreply.github.com> Co-authored-by: bganapa Co-authored-by: Devanshu Singh <8132290+thisisdevanshu@users.noreply.github.com> Co-authored-by: Sunny Patel Co-authored-by: Sunny Patel Co-authored-by: Devanshu Singh Co-authored-by: Jim Harris <72156062+MicrosoftJim@users.noreply.github.com> Co-authored-by: Akanksha Bhattacharyya Co-authored-by: Akanksha Bhattacharyya Co-authored-by: Tony Vargas Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: giladsu <43436811+giladsu@users.noreply.github.com> Co-authored-by: Milan Brkic Co-authored-by: Tyler Lloyd Co-authored-by: Li Ma Co-authored-by: hbc Co-authored-by: Bradley Bridges Co-authored-by: damodaravadhani <91929893+damodaravadhani@users.noreply.github.com> Co-authored-by: pednekarpraj <72415888+pednekarpraj@users.noreply.github.com> Co-authored-by: Lior Abadi Co-authored-by: Lior Abadi Co-authored-by: Eli Arbel Co-authored-by: jbuls <48029054+jbuls@users.noreply.github.com> Co-authored-by: ajbrown821 <96266510+ajbrown821@users.noreply.github.com> --- sdk/cdn/arm-cdn/CHANGELOG.md | 227 +- sdk/cdn/arm-cdn/_meta.json | 6 +- sdk/cdn/arm-cdn/package.json | 18 +- .../recording_endpoints_create_test.js | 833 -- .../recording_endpoints_delete_test.js | 871 -- .../cdn_test/recording_endpoints_get_test.js | 149 - .../cdn_test/recording_endpoints_list_test.js | 149 - .../recording_endpoints_upeate_test.js | 149 - .../recording_profiles_create_test.js | 2467 ----- .../recording_profiles_delete_test.js | 529 - .../cdn_test/recording_profiles_get_test.js | 149 - .../cdn_test/recording_profiles_list_test.js | 149 - ...cording_profiles_listresourceusage_test.js | 149 - .../recording_profiles_upeate_test.js | 341 - sdk/cdn/arm-cdn/review/arm-cdn.api.md | 700 +- sdk/cdn/arm-cdn/src/cdnManagementClient.ts | 68 +- sdk/cdn/arm-cdn/src/models/index.ts | 5593 ++++++----- sdk/cdn/arm-cdn/src/models/mappers.ts | 8783 ++++++++++------- sdk/cdn/arm-cdn/src/models/parameters.ts | 289 +- .../src/operations/aFDCustomDomains.ts | 80 +- .../arm-cdn/src/operations/aFDEndpoints.ts | 74 +- .../arm-cdn/src/operations/aFDOriginGroups.ts | 61 +- sdk/cdn/arm-cdn/src/operations/aFDOrigins.ts | 62 +- sdk/cdn/arm-cdn/src/operations/aFDProfiles.ts | 28 +- .../arm-cdn/src/operations/customDomains.ts | 198 +- sdk/cdn/arm-cdn/src/operations/endpoints.ts | 32 +- sdk/cdn/arm-cdn/src/operations/index.ts | 16 +- .../arm-cdn/src/operations/logAnalytics.ts | 42 +- .../arm-cdn/src/operations/managedRuleSets.ts | 2 +- .../arm-cdn/src/operations/originGroups.ts | 16 +- sdk/cdn/arm-cdn/src/operations/origins.ts | 16 +- sdk/cdn/arm-cdn/src/operations/policies.ts | 19 +- sdk/cdn/arm-cdn/src/operations/profiles.ts | 115 +- sdk/cdn/arm-cdn/src/operations/routes.ts | 42 +- sdk/cdn/arm-cdn/src/operations/ruleSets.ts | 130 +- sdk/cdn/arm-cdn/src/operations/rules.ts | 42 +- sdk/cdn/arm-cdn/src/operations/secrets.ts | 164 +- .../src/operations/securityPolicies.ts | 52 +- .../operationsInterfaces/aFDCustomDomains.ts | 42 +- .../src/operationsInterfaces/aFDEndpoints.ts | 36 +- .../operationsInterfaces/aFDOriginGroups.ts | 27 +- .../src/operationsInterfaces/aFDOrigins.ts | 24 +- .../src/operationsInterfaces/aFDProfiles.ts | 10 +- .../src/operationsInterfaces/customDomains.ts | 42 +- .../arm-cdn/src/operationsInterfaces/index.ts | 16 +- .../src/operationsInterfaces/logAnalytics.ts | 18 +- .../src/operationsInterfaces/profiles.ts | 64 +- .../src/operationsInterfaces/routes.ts | 24 +- .../src/operationsInterfaces/ruleSets.ts | 38 +- .../arm-cdn/src/operationsInterfaces/rules.ts | 24 +- .../src/operationsInterfaces/secrets.ts | 53 +- .../operationsInterfaces/securityPolicies.ts | 32 +- sdk/cdn/arm-cdn/test/cdn_examples.ts | 161 - sdk/cdn/arm-cdn/test/sampleTest.ts | 48 + 54 files changed, 9885 insertions(+), 13584 deletions(-) delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js delete mode 100644 sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js delete mode 100644 sdk/cdn/arm-cdn/test/cdn_examples.ts create mode 100644 sdk/cdn/arm-cdn/test/sampleTest.ts diff --git a/sdk/cdn/arm-cdn/CHANGELOG.md b/sdk/cdn/arm-cdn/CHANGELOG.md index e5bbced080e1..700dc84e6893 100644 --- a/sdk/cdn/arm-cdn/CHANGELOG.md +++ b/sdk/cdn/arm-cdn/CHANGELOG.md @@ -1,15 +1,226 @@ # Release History + +## 7.0.0 (2021-12-18) + +**Features** -## 6.0.1 (Unreleased) + - Added operation CustomDomains.disableCustomHttps + - Added operation CustomDomains.enableCustomHttps + - Added operation RuleSets.create + - Added Interface ActivatedResourceReference + - Added Interface AfdRouteCacheConfiguration + - Added Interface CacheConfiguration + - Added Interface CheckHostNameAvailabilityInput + - Added Interface ClientPortMatchConditionParameters + - Added Interface DimensionProperties + - Added Interface ErrorAdditionalInfo + - Added Interface ErrorDetail + - Added Interface HostNameMatchConditionParameters + - Added Interface LogSpecification + - Added Interface ManagedServiceIdentity + - Added Interface MetricAvailability + - Added Interface MetricSpecification + - Added Interface OriginGroupOverride + - Added Interface RouteConfigurationOverrideActionParameters + - Added Interface ServerPortMatchConditionParameters + - Added Interface ServiceSpecification + - Added Interface SocketAddrMatchConditionParameters + - Added Interface SslProtocolMatchConditionParameters + - Added Type Alias AzureFirstPartyManagedCertificate + - Added Type Alias AzureFirstPartyManagedCertificateParameters + - Added Type Alias ClientPortOperator + - Added Type Alias CustomDomainsDisableCustomHttpsResponse + - Added Type Alias CustomDomainsEnableCustomHttpsResponse + - Added Type Alias DeliveryRuleClientPortCondition + - Added Type Alias DeliveryRuleHostNameCondition + - Added Type Alias DeliveryRuleRouteConfigurationOverrideAction + - Added Type Alias DeliveryRuleServerPortCondition + - Added Type Alias DeliveryRuleSocketAddrCondition + - Added Type Alias DeliveryRuleSslProtocolCondition + - Added Type Alias Enum47 + - Added Type Alias HostNameOperator + - Added Type Alias ManagedServiceIdentityType + - Added Type Alias RuleCacheBehavior + - Added Type Alias RuleIsCompressionEnabled + - Added Type Alias RuleQueryStringCachingBehavior + - Added Type Alias ServerPortOperator + - Added Type Alias SocketAddrOperator + - Added Type Alias SslProtocol + - Added Type Alias SslProtocolOperator + - Added Type Alias WafMatchVariable + - Interface AFDDomainUpdateParameters has a new optional parameter preValidatedCustomDomainResourceId + - Interface AFDDomainUpdateParameters has a new optional parameter profileName + - Interface AFDDomainUpdatePropertiesParameters has a new optional parameter preValidatedCustomDomainResourceId + - Interface AFDDomainUpdatePropertiesParameters has a new optional parameter profileName + - Interface AFDEndpointPropertiesUpdateParameters has a new optional parameter profileName + - Interface AFDEndpointUpdateParameters has a new optional parameter profileName + - Interface AFDOriginGroupUpdateParameters has a new optional parameter profileName + - Interface AFDOriginGroupUpdatePropertiesParameters has a new optional parameter profileName + - Interface AFDOriginUpdateParameters has a new optional parameter enforceCertificateNameCheck + - Interface AFDOriginUpdateParameters has a new optional parameter originGroupName + - Interface AFDOriginUpdatePropertiesParameters has a new optional parameter enforceCertificateNameCheck + - Interface AFDOriginUpdatePropertiesParameters has a new optional parameter originGroupName + - Interface Certificate has a new optional parameter type + - Interface DeepCreatedOrigin has a new optional parameter privateEndpointStatus + - Interface ErrorResponse has a new optional parameter error + - Interface HttpVersionMatchConditionParameters has a new optional parameter transforms + - Interface Operation has a new optional parameter isDataAction + - Interface Operation has a new optional parameter origin + - Interface Operation has a new optional parameter serviceSpecification + - Interface OperationDisplay has a new optional parameter description + - Interface RequestMethodMatchConditionParameters has a new optional parameter transforms + - Interface RequestSchemeMatchConditionParameters has a new optional parameter transforms + - Interface RouteUpdateParameters has a new optional parameter cacheConfiguration + - Interface RouteUpdateParameters has a new optional parameter endpointName + - Interface RouteUpdatePropertiesParameters has a new optional parameter cacheConfiguration + - Interface RouteUpdatePropertiesParameters has a new optional parameter endpointName + - Interface RuleUpdateParameters has a new optional parameter ruleSetName + - Interface RuleUpdatePropertiesParameters has a new optional parameter ruleSetName + - Interface ValidateSecretInput has a new optional parameter secretVersion + - Type Alias AFDDomain has a new parameter profileName + - Type Alias AFDDomain has a new parameter preValidatedCustomDomainResourceId + - Type Alias AFDEndpoint has a new parameter profileName + - Type Alias AFDOrigin has a new parameter originGroupName + - Type Alias AFDOrigin has a new parameter enforceCertificateNameCheck + - Type Alias AFDOriginGroup has a new parameter profileName + - Type Alias CustomerCertificate has a new parameter secretSource + - Type Alias CustomerCertificate has a new parameter secretVersion + - Type Alias CustomerCertificate has a new parameter thumbprint + - Type Alias CustomerCertificateParameters has a new parameter subject + - Type Alias CustomerCertificateParameters has a new parameter expirationDate + - Type Alias CustomerCertificateParameters has a new parameter thumbprint + - Type Alias Endpoint has a new parameter customDomains + - Type Alias EndpointProperties has a new parameter customDomains + - Type Alias ManagedCertificateParameters has a new parameter subject + - Type Alias ManagedCertificateParameters has a new parameter expirationDate + - Type Alias Profile has a new parameter identity + - Type Alias Profile has a new parameter frontDoorId + - Type Alias Profile has a new parameter kind + - Type Alias Profile has a new parameter originResponseTimeoutSeconds + - Type Alias Route has a new parameter endpointName + - Type Alias Route has a new parameter cacheConfiguration + - Type Alias Rule has a new parameter ruleSetName + - Type Alias RuleSet has a new parameter profileName + - Type Alias RuleSetProperties has a new parameter profileName + - Type Alias Secret has a new parameter profileName + - Type Alias SecretProperties has a new parameter profileName + - Type Alias SecurityPolicy has a new parameter profileName + - Type Alias SecurityPolicyProperties has a new parameter profileName + - Added Enum KnownAfdQueryStringCachingBehavior + - Added Enum KnownClientPortOperator + - Added Enum KnownEnum47 + - Added Enum KnownHostNameOperator + - Added Enum KnownManagedServiceIdentityType + - Added Enum KnownRuleCacheBehavior + - Added Enum KnownRuleIsCompressionEnabled + - Added Enum KnownRuleQueryStringCachingBehavior + - Added Enum KnownServerPortOperator + - Added Enum KnownSocketAddrOperator + - Added Enum KnownSslProtocol + - Added Enum KnownSslProtocolOperator + - Added Enum KnownWafMatchVariable + - Enum KnownAfdCertificateType has a new value AzureFirstPartyManagedCertificate + - Enum KnownDeliveryRuleAction has a new value RouteConfigurationOverride + - Enum KnownDomainValidationState has a new value Rejected + - Enum KnownLogMetricsGroupBy has a new value CountryOrRegion + - Enum KnownMatchVariable has a new value ClientPort + - Enum KnownMatchVariable has a new value HostName + - Enum KnownMatchVariable has a new value ServerPort + - Enum KnownMatchVariable has a new value SslProtocol + - Enum KnownMetricsResponseSeriesItemUnit has a new value MilliSeconds + - Enum KnownSecretType has a new value AzureFirstPartyManagedCertificate + - Enum KnownTransform has a new value RemoveNulls + - Enum KnownTransform has a new value Trim + - Enum KnownTransform has a new value UrlDecode + - Enum KnownTransform has a new value UrlEncode + - Enum KnownWafRankingType has a new value CountryOrRegion -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +**Breaking Changes** + - Removed operation CustomDomains.beginDisableCustomHttps + - Removed operation CustomDomains.beginDisableCustomHttpsAndWait + - Removed operation CustomDomains.beginEnableCustomHttps + - Removed operation CustomDomains.beginEnableCustomHttpsAndWait + - Removed operation RuleSets.beginCreate + - Removed operation RuleSets.beginCreateAndWait + - Removed operation Secrets.beginUpdate + - Removed operation Secrets.beginUpdateAndWait + - Operation AFDProfiles.checkHostNameAvailability has a new signature + - Interface CacheExpirationActionParameters no longer has parameter odataType + - Interface CacheKeyQueryStringActionParameters no longer has parameter odataType + - Interface CdnCertificateSourceParameters no longer has parameter odataType + - Interface Certificate no longer has parameter thumbprint + - Interface CookiesMatchConditionParameters no longer has parameter odataType + - Interface CustomDomainsDisableCustomHttpsOptionalParams no longer has parameter resumeFrom + - Interface CustomDomainsDisableCustomHttpsOptionalParams no longer has parameter updateIntervalInMs + - Interface CustomDomainsEnableCustomHttpsOptionalParams no longer has parameter resumeFrom + - Interface CustomDomainsEnableCustomHttpsOptionalParams no longer has parameter updateIntervalInMs + - Interface ErrorResponse no longer has parameter code + - Interface ErrorResponse no longer has parameter message + - Interface HeaderActionParameters no longer has parameter odataType + - Interface HttpVersionMatchConditionParameters no longer has parameter odataType + - Interface IsDeviceMatchConditionParameters no longer has parameter odataType + - Interface IsDeviceMatchConditionParameters no longer has parameter transforms + - Interface KeyVaultCertificateSourceParameters no longer has parameter odataType + - Interface KeyVaultSigningKeyParameters no longer has parameter odataType + - Interface OriginGroupOverrideActionParameters no longer has parameter odataType + - Interface PostArgsMatchConditionParameters no longer has parameter odataType + - Interface QueryStringMatchConditionParameters no longer has parameter odataType + - Interface RemoteAddressMatchConditionParameters no longer has parameter odataType + - Interface RequestBodyMatchConditionParameters no longer has parameter odataType + - Interface RequestHeaderMatchConditionParameters no longer has parameter odataType + - Interface RequestMethodMatchConditionParameters no longer has parameter odataType + - Interface RequestSchemeMatchConditionParameters no longer has parameter odataType + - Interface RequestUriMatchConditionParameters no longer has parameter odataType + - Interface RouteUpdateParameters no longer has parameter compressionSettings + - Interface RouteUpdateParameters no longer has parameter queryStringCachingBehavior + - Interface RouteUpdatePropertiesParameters no longer has parameter compressionSettings + - Interface RouteUpdatePropertiesParameters no longer has parameter queryStringCachingBehavior + - Interface RuleSetsCreateOptionalParams no longer has parameter resumeFrom + - Interface RuleSetsCreateOptionalParams no longer has parameter updateIntervalInMs + - Interface UrlFileExtensionMatchConditionParameters no longer has parameter odataType + - Interface UrlFileNameMatchConditionParameters no longer has parameter odataType + - Interface UrlPathMatchConditionParameters no longer has parameter odataType + - Interface UrlRedirectActionParameters no longer has parameter odataType + - Interface UrlRewriteActionParameters no longer has parameter odataType + - Interface UrlSigningActionParameters no longer has parameter odataType + - Interface CacheExpirationActionParameters has a new required parameter typeName + - Interface CacheKeyQueryStringActionParameters has a new required parameter typeName + - Interface CdnCertificateSourceParameters has a new required parameter typeName + - Interface CookiesMatchConditionParameters has a new required parameter typeName + - Interface HeaderActionParameters has a new required parameter typeName + - Interface HttpVersionMatchConditionParameters has a new required parameter typeName + - Interface IsDeviceMatchConditionParameters has a new required parameter typeName + - Interface KeyVaultCertificateSourceParameters has a new required parameter typeName + - Interface KeyVaultSigningKeyParameters has a new required parameter typeName + - Interface OriginGroupOverrideActionParameters has a new required parameter typeName + - Interface PostArgsMatchConditionParameters has a new required parameter typeName + - Interface QueryStringMatchConditionParameters has a new required parameter typeName + - Interface RemoteAddressMatchConditionParameters has a new required parameter typeName + - Interface RequestBodyMatchConditionParameters has a new required parameter typeName + - Interface RequestHeaderMatchConditionParameters has a new required parameter typeName + - Interface RequestMethodMatchConditionParameters has a new required parameter typeName + - Interface RequestSchemeMatchConditionParameters has a new required parameter typeName + - Interface RequestUriMatchConditionParameters has a new required parameter typeName + - Interface UrlFileExtensionMatchConditionParameters has a new required parameter typeName + - Interface UrlFileNameMatchConditionParameters has a new required parameter typeName + - Interface UrlPathMatchConditionParameters has a new required parameter typeName + - Interface UrlRedirectActionParameters has a new required parameter typeName + - Interface UrlRewriteActionParameters has a new required parameter typeName + - Interface UrlSigningActionParameters has a new required parameter typeName + - Type Alias CustomerCertificate no longer has parameter version + - Type Alias CustomerCertificate no longer has parameter certificateUrl + - Type Alias Profile no longer has parameter frontdoorId + - Type Alias Route no longer has parameter compressionSettings + - Type Alias Route no longer has parameter queryStringCachingBehavior + - Removed Enum KnownEnum46 + - Removed Enum KnownValidateSecretType + - Enum KnownLogMetricsGroupBy no longer has value Country + - Enum KnownMatchVariable no longer has value RemoteAddr + - Enum KnownSkuName no longer has value PremiumChinaCdn + - Enum KnownWafRankingType no longer has value Country + + ## 6.0.0 (2021-12-16) The package of @azure/arm-cdn is using our next generation design principles since version 6.0.0, which contains breaking changes. diff --git a/sdk/cdn/arm-cdn/_meta.json b/sdk/cdn/arm-cdn/_meta.json index fcbfec47664b..0c859dfb326a 100644 --- a/sdk/cdn/arm-cdn/_meta.json +++ b/sdk/cdn/arm-cdn/_meta.json @@ -1,7 +1,7 @@ { - "commit": "ea0f7b072ad3aaff203ea9003246b9e584b819ff", + "commit": "d967edeee8fd6af6d40bffe53cceed1bd053d7ad", "readme": "specification/cdn/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/cdn/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211207.1", + "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/cdn/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211207.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1" } \ No newline at end of file diff --git a/sdk/cdn/arm-cdn/package.json b/sdk/cdn/arm-cdn/package.json index 07693adc75ca..f0b092274404 100644 --- a/sdk/cdn/arm-cdn/package.json +++ b/sdk/cdn/arm-cdn/package.json @@ -3,10 +3,8 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for CdnManagementClient.", - "version": "6.0.1", - "engines": { - "node": ">=12.0.0" - }, + "version": "7.0.0", + "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -16,13 +14,7 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -49,9 +41,7 @@ "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, + "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", "dist/**/*.js.map", diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js deleted file mode 100644 index 141f06755e8e..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js +++ /dev/null @@ -1,833 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7c66302b70d569ff45ae98febc6b5db3"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '9bed8f69-8b1e-4591-be3e-4496e6ea0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Akxd5LYWW9FNjdbNnthjeRY; expires=Sat, 15-Jan-2022 02:14:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSGNI-kbCqABC3oYiQid4sVvRTgF3pGLfaGRGOlBrvqZ-BwJ4h0OlH9K9C0XR8TGUOKzCN9cmiLrPSS82H72-LOJs3LnhOQJPE-0e1-pyLrcSnmTlAEwvRJGoF2CmPqg5NfET92ip_yMVx0fydUXlbCQDpHEXwkSGH5eOwQsB1fkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:14:32 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f215b684-5d11-4e35-8031-583352230200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AmnqY-lfqDlOn0vNhl9O5Qg; expires=Sat, 15-Jan-2022 02:14:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWUREpaAnK6jQ5_jO7Jfj5q7CVZBsx-qGMguKlGgyJUTrsRx5DwAKzfnX8DS2N5xsqpWF_mMMNQmlyWtZWJnNIttnZIk49WRIiRmFUGM5b0kcsPytgjNUEHJAkdx9VwqS6rycImzqQZQHKG5TuzM2QY68-oYsIzfC2euXlAQgTwogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:14:32 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=bcc0c77a-8b97-4963-b5de-3bc1939e1696&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '96da2a01-9bbf-4976-b77e-e8e6562f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Alk0AHSg1lZMgw_5joM-GwgWPr5BAQAAAAiYTNkOAAAA; expires=Sat, 15-Jan-2022 02:14:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:14:32 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx', {"location":"westus","tags":{"key1":"value1"},"properties":{"originPath":"/image","contentTypesToCompress":["text/html","application/octet-stream"],"originHostHeader":"www.bing.com","isCompressionEnabled":true,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"BypassCaching","origins":[{"name":"origin1","properties":{"hostName":"host1.hello.com"}}]}}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx","type":"Microsoft.Cdn/profiles/endpoints","name":"myendpointxxx","location":"WestUs","tags":{"key1":"value1"},"properties":{"hostName":"myendpointxxx.azureedge.net","originHostHeader":"www.bing.com","originPath":"/image","contentTypesToCompress":["text/html","application/octet-stream"],"isCompressionEnabled":true,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"BypassCaching","optimizationType":null,"probePath":null,"origins":[{"name":"origin1","properties":{"hostName":"host1.hello.com","httpPort":null,"httpsPort":null,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '1140', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '4c728a18-6e03-458e-b824-f461043720a6', - 'x-ms-client-request-id', - '84e588f9-71ea-4809-9b18-d58dd0be8f99', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '99', - 'x-ms-correlation-request-id', - '2c2b1c2a-8c1b-48c5-b18b-4db9adde985a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021448Z:2c2b1c2a-8c1b-48c5-b18b-4db9adde985a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9f068c0-e790-4f8d-889f-b3b6f47b25ce', - 'x-ms-client-request-id', - 'f518cf04-f54c-43b1-9835-753be672d4f8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11939', - 'x-ms-correlation-request-id', - '978e847f-01be-4118-99ad-8e73f6ebc620', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021449Z:978e847f-01be-4118-99ad-8e73f6ebc620', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:49 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e36bf57b-611b-408f-bf7e-aad21194e302', - 'x-ms-client-request-id', - 'f71c0c94-9dc5-4e33-bfb5-f7216ee2d6f0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11938', - 'x-ms-correlation-request-id', - 'd1ddbbbf-0c57-404a-b6b6-b886e8256fee', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021451Z:d1ddbbbf-0c57-404a-b6b6-b886e8256fee', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd0017f54-dd9a-4862-bf9b-05ab05b3cb71', - 'x-ms-client-request-id', - '2ff6a2c4-7170-4735-a3b9-7d6f70514827', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11937', - 'x-ms-correlation-request-id', - '6e84fbf1-6bd0-45a9-9289-3b476f7e040e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021453Z:6e84fbf1-6bd0-45a9-9289-3b476f7e040e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7e530318-d21d-48d4-a5d4-23a3327c2a7f', - 'x-ms-client-request-id', - 'de2ebe52-b80c-4fb7-b774-3d55be47b708', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11936', - 'x-ms-correlation-request-id', - '4e0cbe26-f997-4fc5-ad52-0ae3cb289fa8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021456Z:4e0cbe26-f997-4fc5-ad52-0ae3cb289fa8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '4c678973-55e9-4306-a00c-0b8f3d66dc58', - 'x-ms-client-request-id', - '9c928fd7-4f25-4cee-a524-938c0ef214f8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11935', - 'x-ms-correlation-request-id', - '57ee41e4-5f81-4331-b41a-5230fd42ade7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021458Z:57ee41e4-5f81-4331-b41a-5230fd42ade7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '976d6d86-99a3-4f52-9faa-69dbe7789cf0', - 'x-ms-client-request-id', - 'cbb18d11-3747-45cd-b6a2-ea5627132979', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11934', - 'x-ms-correlation-request-id', - 'f9c19a63-d470-4d36-a959-3526c3b9c26c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021500Z:f9c19a63-d470-4d36-a959-3526c3b9c26c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '27d4c4a4-0f41-466f-a030-a14bcc2c60b6', - 'x-ms-client-request-id', - 'c890aaf0-b8da-4242-9771-d126b568bedb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11933', - 'x-ms-correlation-request-id', - '64aa5d3f-8217-4307-bb84-62e01683435a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021503Z:64aa5d3f-8217-4307-bb84-62e01683435a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5556951b-28ce-48d9-af23-1701c3025bcf', - 'x-ms-client-request-id', - 'a5f06467-151a-4788-90ff-b67f8d69b63c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11932', - 'x-ms-correlation-request-id', - 'a5effd6d-632d-4831-8dea-9c1b3d2e7048', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021505Z:a5effd6d-632d-4831-8dea-9c1b3d2e7048', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:05 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '91f3a8ba-47bb-44e4-a8ba-69f7e273d1a1', - 'x-ms-client-request-id', - 'a5732a49-1001-4042-9cde-c616c9e3ca83', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11931', - 'x-ms-correlation-request-id', - '5e662844-11fc-46a1-8f8f-ea24d8a99f89', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021507Z:5e662844-11fc-46a1-8f8f-ea24d8a99f89', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2a092789-eb30-4c84-8c49-79b7e4b9f123', - 'x-ms-client-request-id', - 'd7b554d0-079b-4933-8854-74f8942bf789', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11930', - 'x-ms-correlation-request-id', - '6914c662-4811-4a09-8ea2-fb5279ffc6cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021510Z:6914c662-4811-4a09-8ea2-fb5279ffc6cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd09f4b6c-ab6d-4fd6-8a25-9bb21d3a0740', - 'x-ms-client-request-id', - 'a16ee363-68e9-48e3-b1ef-d012a111d610', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11929', - 'x-ms-correlation-request-id', - '7edf181c-5028-44e5-8462-28a897a0c8b7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021512Z:7edf181c-5028-44e5-8462-28a897a0c8b7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8a937305-4c44-4369-bd0c-2fef95c42204', - 'x-ms-client-request-id', - '2b3a10e0-012e-4ae1-b026-6f4a6dbe6664', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11928', - 'x-ms-correlation-request-id', - 'fa971091-d52f-4085-94ce-46eb2af348b1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021514Z:fa971091-d52f-4085-94ce-46eb2af348b1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'dd4aebd2-b07c-461b-8746-936a964561c1', - 'x-ms-client-request-id', - 'ce49c07a-e804-4c8e-b8a0-8696e0c79515', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11927', - 'x-ms-correlation-request-id', - 'e77dd1f0-2b4c-4af8-b9da-6469d80c4712', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021517Z:e77dd1f0-2b4c-4af8-b9da-6469d80c4712', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '46bc9d0c-75df-4c93-b458-72f53ba6da30', - 'x-ms-client-request-id', - '438f7165-2d0f-4557-a06f-59477936e5bd', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11926', - 'x-ms-correlation-request-id', - 'f6e8b0a2-6546-46c8-b7d6-2fc1b927e7b4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021519Z:f6e8b0a2-6546-46c8-b7d6-2fc1b927e7b4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'befa50f8-e445-4193-bf01-703dbf03ecb8', - 'x-ms-client-request-id', - '5cd9e1d6-cd6a-41f9-8bc0-8e57f9a7ca57', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11925', - 'x-ms-correlation-request-id', - '8bd90431-948a-424d-b55b-27394ff02a7b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021521Z:8bd90431-948a-424d-b55b-27394ff02a7b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7e7528fb-93b6-42c5-a0a1-f6e356f9f265', - 'x-ms-client-request-id', - '88f97026-344d-4e27-826b-43e625b2449e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11924', - 'x-ms-correlation-request-id', - 'c7d7e229-67c8-49e9-9ac6-50782e017fd6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021524Z:c7d7e229-67c8-49e9-9ac6-50782e017fd6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b2182c25-238e-41ba-9207-53dfcafc8a28', - 'x-ms-client-request-id', - 'd5a80b61-b04a-4d37-97af-4a7106f63642', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11923', - 'x-ms-correlation-request-id', - '88a6a5cb-244a-471b-8dde-6ef8468f6130', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021526Z:88a6a5cb-244a-471b-8dde-6ef8468f6130', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffcd1dbfc7a973ebfccca75befbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd7fc92f","f97f00088390f674040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'fc606965-ef64-4948-88a8-b3d6fe4e7b10', - 'x-ms-client-request-id', - 'fc611616-1ab8-451b-9c05-2e38c471ea9a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - '8bd3c035-5a9b-4c59-93fc-69b4b2da1638', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021529Z:8bd3c035-5a9b-4c59-93fc-69b4b2da1638', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:29 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js deleted file mode 100644 index 1776d7f76655..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js +++ /dev/null @@ -1,871 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "86bf0c0f959aa87dcf70aaa0f5204570"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fa8ee40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=At_tOHeBYX5Fq1rf2CzKNkI; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1GTnXKGNdq2klncW0bDKlgoyjzt2FWWkDJvqBqVWN2QK_eDNqHcBi56qIHoUCSAnqLphvuenLOEuJ1gHjT5wLUN4tug25u_0Wbpbf3sG0RvI1h-Bw1PR8mjblth-czBLBB-eB6d5B9Jx9VUQfrKAdddJ5Ldy3S1dMR7vxxLbVZ0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:55 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fa92e40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=An8Cev2163NAjWbRyY7CXQo; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9aZ3YNWXpfS5ReaGoBV_fryN2jyBWVvaXT1abdAbHYk_Z2reWQz2d6DEIJuvA76pkZnUfDENoZc91VUe6biPLNWsIDs7Mi_bR4Wy_tWzVXxdU3iObuCvF_7vxFUhjWiOv2X6PGA7mWTdBqJN_2ru18mEZg1RlmuE_4aRzHaWAn0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:55 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=52cb058a-2203-4c38-91ba-85a49ae0502a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '6edbaf0b-a0a4-49c7-852a-1809d6690700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkX8qvOQt_xFoVrjUB8XsyEWPr5BAQAAAFuYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:56 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5/profileresults/myprofilexxx/endpointresults/myendpointxxx?api-version=2020-09-01', - 'Retry-After', - '10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8ff0a8fa-c6f9-4b28-8693-6129de77ed9e', - 'x-ms-client-request-id', - 'd5c0c4a7-d2d2-4e5d-bcec-647e711f7bfe', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-correlation-request-id', - 'e5112d2b-0d7d-41b1-9490-3605c7efd2f7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021600Z:e5112d2b-0d7d-41b1-9490-3605c7efd2f7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:59 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd5aa6eb5-b241-430d-a3e9-7436b770c86b', - 'x-ms-client-request-id', - 'dcbd48a9-6982-4c48-a307-79b019e3c905', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11917', - 'x-ms-correlation-request-id', - '76438c79-d2d0-4226-885e-f0b01eb2e9e9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021600Z:76438c79-d2d0-4226-885e-f0b01eb2e9e9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6c9d9999-2f4d-49a4-9008-95c033671803', - 'x-ms-client-request-id', - '81bd20e0-5b2a-4aa6-aa7b-9784e06e15ef', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11916', - 'x-ms-correlation-request-id', - '2119ad2f-73d1-4715-ac14-b315c244c3e6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021602Z:2119ad2f-73d1-4715-ac14-b315c244c3e6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e7d84c00-1a6d-4b90-b16f-dd894b66ff79', - 'x-ms-client-request-id', - 'f1df9eea-ba18-4383-9b5f-bb8acf0bf6d5', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11915', - 'x-ms-correlation-request-id', - 'd5e1b6ca-5c24-444d-abe0-30b313d635f3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021605Z:d5e1b6ca-5c24-444d-abe0-30b313d635f3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '930555e2-01dd-42be-a61b-6bcfab7d6f5d', - 'x-ms-client-request-id', - '5605c0f0-d054-43e3-bec1-cda9e8637a81', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11914', - 'x-ms-correlation-request-id', - 'c701fe08-e056-4398-9ffb-e78c7d2fdea9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021607Z:c701fe08-e056-4398-9ffb-e78c7d2fdea9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:06 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e57070fc-15e4-459b-ab40-e7293c71bef2', - 'x-ms-client-request-id', - 'b0a00345-d0c9-4b35-a5b2-4e6789c3dd49', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11913', - 'x-ms-correlation-request-id', - '848fd84d-4a45-4177-96cd-99d3d86bf4b5', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021609Z:848fd84d-4a45-4177-96cd-99d3d86bf4b5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ec14d828-023a-4c89-959a-ca79e6ccce1b', - 'x-ms-client-request-id', - '238d2fef-7612-4822-a8ac-4a4bdff6a9cb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11912', - 'x-ms-correlation-request-id', - '2c0916c0-47d6-446e-b20b-0372f2a88880', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021612Z:2c0916c0-47d6-446e-b20b-0372f2a88880', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '11ba53aa-dc26-4467-b668-1a2ecf6c60b1', - 'x-ms-client-request-id', - '8b47f5a1-3c08-42e2-9915-765b25186187', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11911', - 'x-ms-correlation-request-id', - 'bbd1d747-6d03-4ea2-bdec-cd4bb9163562', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021614Z:bbd1d747-6d03-4ea2-bdec-cd4bb9163562', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '32675de3-f7be-44e3-b8f4-550592e15d5a', - 'x-ms-client-request-id', - '625b22a5-e408-48fc-a081-f0bd776f4112', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11910', - 'x-ms-correlation-request-id', - '9c2071b4-a101-4b7a-853a-7c0926017b61', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021616Z:9c2071b4-a101-4b7a-853a-7c0926017b61', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8c25625c-78d5-4606-b8f4-e7246942341b', - 'x-ms-client-request-id', - 'c9aaa42a-7d6e-4a3f-aec9-0bbcb8a3d726', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11909', - 'x-ms-correlation-request-id', - '3d12ad6a-bf88-4450-88b3-26f8e44aed37', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021619Z:3d12ad6a-bf88-4450-88b3-26f8e44aed37', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '00534ca4-c8e7-4e42-bf51-3a387b5dc39c', - 'x-ms-client-request-id', - 'df52dfd8-4c6b-4587-9a41-e7432928244f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11908', - 'x-ms-correlation-request-id', - '09f3fc36-2603-492f-a47b-86a93b4d99d8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021621Z:09f3fc36-2603-492f-a47b-86a93b4d99d8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd6c2d01b-c08d-48f0-aaf6-0fd64f950180', - 'x-ms-client-request-id', - 'd716406b-39d9-42d5-8134-b8a51f69c01f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11907', - 'x-ms-correlation-request-id', - '0eef2b99-1ccc-4d0b-8ac7-d14b021f1e72', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021623Z:0eef2b99-1ccc-4d0b-8ac7-d14b021f1e72', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f96cdf46-2109-4a21-b106-a6dafe417e2d', - 'x-ms-client-request-id', - '246350af-ca1a-435c-89d8-83a5ed57deca', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11906', - 'x-ms-correlation-request-id', - 'fd413dbd-7fe8-4f72-938c-7e728335a040', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021626Z:fd413dbd-7fe8-4f72-938c-7e728335a040', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b3dea63e-8608-45cc-9bfe-ed3ddaf9e739', - 'x-ms-client-request-id', - 'e05ccba1-e91c-4c98-bf98-5a66e3772186', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11905', - 'x-ms-correlation-request-id', - 'c97d77f8-ae77-442b-9905-fb3ac9e338cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021628Z:c97d77f8-ae77-442b-9905-fb3ac9e338cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f4f9ca5f-fae6-4dc5-a06d-d0403705351d', - 'x-ms-client-request-id', - '50c0ef66-06be-4107-bfe5-e14e529ad75f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11904', - 'x-ms-correlation-request-id', - '107ecb5f-6816-46ba-a0ef-4339c6fbbe63', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021630Z:107ecb5f-6816-46ba-a0ef-4339c6fbbe63', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '40aff4bc-2ceb-4d87-b664-fb96148a2180', - 'x-ms-client-request-id', - '4191bdec-a1a4-448e-bd95-a724dd4cd168', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11903', - 'x-ms-correlation-request-id', - '1f00e9c5-3c9b-4349-bc6d-01f4232f87b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021633Z:1f00e9c5-3c9b-4349-bc6d-01f4232f87b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6cdf4e00-ba4d-46ce-b351-436794d9aa59', - 'x-ms-client-request-id', - 'c6e85e18-437c-4689-ae3c-9784036ed55f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11902', - 'x-ms-correlation-request-id', - '9edb0996-a5d3-4860-bfbf-148cc0722b9d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021635Z:9edb0996-a5d3-4860-bfbf-148cc0722b9d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '60957e66-7989-41aa-8214-82064be44709', - 'x-ms-client-request-id', - 'c6ef4fa1-a503-474c-bd84-1d428935c5a9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11901', - 'x-ms-correlation-request-id', - 'cdd3f4a9-d428-45dd-bfe2-1c4b1c5d7aae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021637Z:cdd3f4a9-d428-45dd-bfe2-1c4b1c5d7aae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'c9e64aa6-7b6f-4938-83c3-3b9a8ddce241', - 'x-ms-client-request-id', - 'f5449a92-a8cf-48a8-89b6-632d445d9e01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11900', - 'x-ms-correlation-request-id', - '81623a55-9884-4f62-b0fa-d68859288851', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021640Z:81623a55-9884-4f62-b0fa-d68859288851', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '27f40657-d40c-458c-b9c1-b7b84f151836', - 'x-ms-client-request-id', - '699ad824-84dd-4186-a1f1-7f502fac6bea', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '46', - 'x-ms-correlation-request-id', - '3bbdb071-984a-4f09-a35b-de7ecb1da493', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021640Z:3bbdb071-984a-4f09-a35b-de7ecb1da493', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:39 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js deleted file mode 100644 index ad3d243189db..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "356719bc015940ab6a6655fb2cec3622"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '653645f0-3ec7-4ea4-98be-8ae4cb420200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=An1bcdpELSVJhTccbSL949Y; expires=Sat, 15-Jan-2022 02:15:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9gEQvlJpEVYweZ6CcHzAyWoUe0iQ4HMU6kSPfoS8wA5e-csrdSIVy1o2dPUE8bY8r7dVgzLDER9oCaihTRqJmwFZNPxzmwsjG05e0wcqobzhzocbTEiawMCfthHzGp3P6lB_Gl4T6lFkZWeid5osKBpXjyoPWO0e7EjUcH5dYv4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:30 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '9bed8f69-8b1e-4591-be3e-4496acec0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AmoN6izqOxVLlXdubE-nEZI; expires=Sat, 15-Jan-2022 02:15:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCH_DoUnfqiLBFsDT8KWacpLlX7OnaOmAP0uT31oF-GlpElzqErxTua2ccjb0_vfhKgORbJI48YVeDXLfu5QE7B9jls-Q1tmFONKPnCPyyC4Srys-uvxreiGz7TS_LqadGWQ6CBTtzEvpGhxKrx9URall7lXqQyGQxxxSi46dqx0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:30 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=77babcd8-94a1-4bc5-b470-06b544f32004&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '03c6d51b-19f7-48ed-989c-a4f2e52e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Apo33xoL7-ZNhBF4KZlap8kWPr5BAQAAAEKYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:31 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:30 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffcd1dbfc7a973ebfccca75befbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd7fc92f","f97f00088390f674040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07c7c8cb-681e-4091-a71f-9d5719fb3431', - 'x-ms-client-request-id', - '799ac8c3-3498-4a1b-944d-910377bf0199', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '48', - 'x-ms-correlation-request-id', - 'ae3e5672-994a-430b-9725-c93a34e19eae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021532Z:ae3e5672-994a-430b-9725-c93a34e19eae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:31 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js deleted file mode 100644 index da882197e0b0..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "6a2ba09f13c44d387f5fe653cc9a7b2d"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f058f362-0d5d-4341-9bc3-777967470200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AsYsfdN9ARVOhJzS5KBFqcc; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrvd499NS8B4_Drk_bGB018xDYt8qYfAA9Y9B2RzZJFhttrtz3MW5tYkhWwVdqiRLtGhlotVSwHdLKrAfNV2JA_eeMb9DGgK7bvAh52axA6J5ipFBX29ppoxkw-MQ_FqAyNlYmWpPsec4YPvfxVhrdxQw5dQOIklBOnXrFNYxK8WYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:47 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fa44e40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvBJTzJ-WFFOs9zNWONFh3E; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrkutinWN51meTX6Jbpvz3OTE10ACQ5EpsshW3vBiow3uvky-tjRmad8htGEedWO_VCnKKrtSuM5OWdUHEOa8cXLU7AQEXdsAn3OsGvnQhrF0NpeRR2bwTKm7aYVAgfzHxbRoYoYTnmUT85GYV7GATK3rGtG39NYLYIaPWA23o3E0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:47 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=7113a01c-7a63-48e0-bf78-ff080235294a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '03c6d51b-19f7-48ed-989c-a4f2942f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkX3Flcpyt1LgJyz-nJhF44WPr5BAQAAAFSYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:48 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534bfa8abf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf864b6c4e7e74599a3a5fefaeeddbbbbf972b6aa8a658b8fcdeff4f947a38fdaeb1561f8d10010d3b6a196cb6c81965d006535cd301efaeabb84d85768da6617cd478f7ef1476ff3eb5dfa9cc9b0fbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd697c","bfe4ff01ca2d2efd80040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6cf66604-63cf-48c3-9f02-985a43148b78', - 'x-ms-client-request-id', - 'd511d57a-2499-4bc2-b209-9aed98cbdd96', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '47', - 'x-ms-correlation-request-id', - '2eb0fc4c-57c0-459c-8cb0-eb49b5c14874', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021549Z:2eb0fc4c-57c0-459c-8cb0-eb49b5c14874', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:49 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js deleted file mode 100644 index 7f6fa15770a6..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2a65ccd8a71a7cc6b2d5eb4cff369315"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f058f362-0d5d-4341-9bc3-777970470200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AsW6uR1Cj8xIricWNt7BEOk; expires=Sat, 15-Jan-2022 02:15:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXcw76XjuzwG8C3nru2bKj1UMiDLYnrfZIBumHrESo0bjHU6aUfZfuEBRmbrwTb8d3PEONPRp9WvTus1wNRHSIqtRcIjY0WvCyWrIvnCCG2Ra7B19aGf3nWs4RtfQkA7r0ddbd3lk3cvJYRFNW3Vqk7dHi565b9k5aDIfCPVtBUwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:48 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '9bed8f69-8b1e-4591-be3e-449627ed0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AjL0gYJ1js5DiugZlzyRmos; expires=Sat, 15-Jan-2022 02:15:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrf-0SPR262Bh6518tX42woU2zHLjUZPgNPoKpFbuUcHymD0SwR6JVzxrcYiGu5hxOlRr8EV5giJdyLvRXed3Veakra23ScEahUBjYp7fZ2to528mwQrKT8G8iIw6XjXCOoeiJ9LNQjJxre7QE6xytzVtbpaXwfdQkArJCoz8KnaYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:49 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=65d24986-947e-4cc5-b9e1-80aaf51b8626&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '653645f0-3ec7-4ea4-98be-8ae454430200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AjIeZDi_0JRNuijuC28hzVwWPr5BAQAAAFWYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:50 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:49 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx', {"tags":{"additional_properties":"Tag1"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffc51369b15f82e2b7f7f02b9caebb6c8e98b8fde6417bb1ffd92d147fe87bff8a379d5b42f229d8cb31faceb3c9f5de4e365de12f8aa2e2e8ae5b7a9f9b7f38c68402f5c5d5d8d27c5f2623cad16b6c5cbac9dd377778b457691d3a7d36ad9e6cbf60d0db979539d548b155197bafede476dfeaebd3b6f1725b5ca56abb29031ddada66dde6e376d9d678b8fbe3ffaa868cc5bf4ede9329b94394d6c5baf737cf7edb65d1d976575d5fdb0e97cfa8bd6797dfdbaad09e1936c3aa71f4ff27976595418ca93eb55d634fa39e15311bb2c8a1f304240fda347cb755932f126b90c513e9041633cbfd84c967cb44b50a8759cd4f875773ccf094325de9c307e59d5ad818bbf1bff0381ead35f3e5fd53482a2bd367f5fe5c5c5dcbe9587e4a2c697599b3f2f966f8fcb2223b4a499f7f92be5fd337aa9f7e573cb77c157a7ca37afdbac5dc7801eaf88149759f9054d22d8825bfc925f42934bb8d3b03e67412322d227b3fc3c5b97ed97ee0b694eacb46eda6af1b45a6442716a7c9157cf8ab2259194bf6779595cd23cbfac889d2c4dd675f9bab858d2d4fe5ef935b5944faff209e145ed7848cf8a3abfcaca52de04d2a61d711e5304a323d43f7ab55e02144d1a0655802be94ff3edebf5744a724334ff25","bfe4ff013035c44083040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '171358fd-d2d4-4d26-aec3-c87186f3446b', - 'x-ms-client-request-id', - '1d0b7237-61f4-496a-ab86-7d7ab16635e1', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '98', - 'x-ms-correlation-request-id', - '95106d11-c418-4bdc-9b8e-958fe27436fe', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021556Z:95106d11-c418-4bdc-9b8e-958fe27436fe', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:55 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js deleted file mode 100644 index 0045283bf12b..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js +++ /dev/null @@ -1,2467 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "ed09cd01dcc42ebf7a22455fe1b3ed1e"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'd3033c4a-b30b-4222-a25d-93df1f330200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=ArXDAxos2fRFtbPukul4Peg; expires=Sat, 15-Jan-2022 02:11:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxdMI1bEoesdw1X870c7jC-vq7E_HjGqOeOs0P4f1o8aUoAptWEcOrwiQHyQIq_21UUvWXJpsLJjc8QzePDcNLer7olQsLGdDuepH7XGHNF3XvgdfZowXxv2km3Om_eaNvvL6tH58OHd99AN6nDcBoD8yOi-jZcTKmHyOj0SJCzQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:11:56 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f12d6233-7a33-4ce6-8ec0-15b5b4fd0100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AocrV1DgGO5PtAiai-1_3WU; expires=Sat, 15-Jan-2022 02:11:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLWUBGDyUi78Jt9y2DOJOEYp-GAUWXkXxFXPabP0PMOFSluVNxwLQ-WIsd8e4M2GzOkqz3Gy6HIFCI81evIQAW_XGQ00WDBTvNHGa7moZ3rnWALF4mrOJNOhahtc2jT-2VsId60Xzh65ApxkZI5uhqfM5WHghvfj6LTGiM_5RbtYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:11:56 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=85e3b273-f242-4d57-8973-042dd7dfc78a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'df4b40a2-2c2b-4dc4-a2a6-8c0a63ed0100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AiTK6vu2LNhDkBCC-pZatFwWPr5BAQAAAG2XTNkOAAAA; expires=Sat, 15-Jan-2022 02:11:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:11:57 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx', {"location":"eastus","sku":{"name":"Standard_Verizon"}}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx","type":"Microsoft.Cdn/profiles","name":"myprofilexxx","location":"EastUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '334', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'daa98095-810b-440a-a4b8-653f7604c054', - 'x-ms-client-request-id', - 'f92f8dc0-11ff-4cc0-a1ca-ee314bb433e0', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '24', - 'x-ms-correlation-request-id', - 'c819d5e3-78a7-4427-afff-397d5b52b4e8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021210Z:c819d5e3-78a7-4427-afff-397d5b52b4e8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '99a49fa3-5f58-4e57-824b-41aff2055491', - 'x-ms-client-request-id', - '4b54e259-cb84-415f-8680-9c6bd8f79b9a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '389f25c8-4971-43e2-b441-bc440f80e6a8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021210Z:389f25c8-4971-43e2-b441-bc440f80e6a8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:10 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8fbf1224-a985-4eb3-b7cd-a47098346940', - 'x-ms-client-request-id', - '6acdcca5-fb7f-4e5b-b07e-42d27d80701c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'a4e3fb12-e231-4e0c-94c2-ec451d25a888', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021213Z:a4e3fb12-e231-4e0c-94c2-ec451d25a888', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'aadb24f3-16c9-4e8f-a247-80de907a7a1c', - 'x-ms-client-request-id', - 'cb8a2303-ada7-490e-be8c-61dec0b1bfa9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - '5fc4cdef-946a-4fe1-bf3a-2fa3a82de73b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021215Z:5fc4cdef-946a-4fe1-bf3a-2fa3a82de73b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2913dbc8-b01f-4778-ac9d-aae309b1cd22', - 'x-ms-client-request-id', - '1896bcc4-7fc7-4b4d-a959-2b78828bcf8a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - '74c87577-db75-4372-9d77-312008da0b4c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021217Z:74c87577-db75-4372-9d77-312008da0b4c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:17 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '063cffa8-5b09-45e6-9d9a-2d88448e33e1', - 'x-ms-client-request-id', - 'f1a4a75c-a308-4b5a-a01b-caf9d81017f0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - '36235f5c-060d-4d8b-b40b-254108da5171', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021220Z:36235f5c-060d-4d8b-b40b-254108da5171', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ae1ed90a-a715-4ef5-a06d-780a86cc574d', - 'x-ms-client-request-id', - 'cb9345bb-19b8-4fdb-9b1a-f715358e6264', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - 'd5ea914f-d452-407b-8198-65c389345bbd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021222Z:d5ea914f-d452-407b-8198-65c389345bbd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6ed41757-c460-4fa1-8c8c-f8b94fd4771a', - 'x-ms-client-request-id', - 'e2ccbf4f-fe2d-4654-847d-981cad8507ff', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - '721c870a-f4c7-45cd-ba83-195b6e9874d3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021224Z:721c870a-f4c7-45cd-ba83-195b6e9874d3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:24 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1a768250-9fb6-407b-9498-06076b95483b', - 'x-ms-client-request-id', - '246969c9-56b5-453c-98c2-6a47dcfb3d8c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - '535857d2-1efc-4ddc-bcad-53591d894a44', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021227Z:535857d2-1efc-4ddc-bcad-53591d894a44', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'cb4cae03-fb77-443f-91d6-ae569ef15412', - 'x-ms-client-request-id', - 'b0198193-f107-4779-ad70-52f1a05f0df7', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - 'd087c188-9ae4-465a-90a9-b7584e29c4b0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021229Z:d087c188-9ae4-465a-90a9-b7584e29c4b0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6990373d-7652-4ab1-95fe-76402c0eeacc', - 'x-ms-client-request-id', - '5712de6a-22d5-4648-a66b-f04eec363fa2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - '7d075676-af99-4ff2-8b81-eafde8e07b08', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021231Z:7d075676-af99-4ff2-8b81-eafde8e07b08', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '60f482a6-9d74-41ab-88b2-4376d3f4ee57', - 'x-ms-client-request-id', - '781bf9d4-b2ba-4d31-b57d-c222bc8bd062', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-correlation-request-id', - 'f87cc4d6-fdbe-42ee-9f44-3add6cc13dd6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021234Z:f87cc4d6-fdbe-42ee-9f44-3add6cc13dd6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '778c2833-abe2-4e24-b20b-4a4e29dda947', - 'x-ms-client-request-id', - 'a9991c93-6e7b-40dc-bcc9-9394e0481c4a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-correlation-request-id', - '76c06776-fb6d-4971-85ea-8becbe77ab06', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021236Z:76c06776-fb6d-4971-85ea-8becbe77ab06', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:35 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'c78dbb5b-8dca-4f3c-b788-e766de4fd9c7', - 'x-ms-client-request-id', - 'eed41fe2-913e-43a0-80b3-72073a1c613f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-correlation-request-id', - 'b53123dd-4f03-4dfd-90ac-d345434d43e8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021239Z:b53123dd-4f03-4dfd-90ac-d345434d43e8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ac5aaf3d-2e4d-4fcd-a3e2-0eda0b19aabb', - 'x-ms-client-request-id', - 'ac58b602-d87a-4ead-ba8f-586900e62b02', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-correlation-request-id', - '11d204cf-3bc7-453b-9f56-13287fe78aa3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021241Z:11d204cf-3bc7-453b-9f56-13287fe78aa3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:40 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b03aa034-102e-4e52-90b8-d4fda5a60076', - 'x-ms-client-request-id', - 'd741fc29-dc06-4f4e-ab10-36c0df8b7f8b', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11985', - 'x-ms-correlation-request-id', - '252e61c9-76fc-4966-984d-1d7d9ba7ef63', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021243Z:252e61c9-76fc-4966-984d-1d7d9ba7ef63', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '62236532-c88c-4ba7-87df-df3ff771bb6c', - 'x-ms-client-request-id', - '8f2829e2-f96f-4134-bc51-00cc67596f8e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11984', - 'x-ms-correlation-request-id', - 'd04eccdf-44ec-4184-848b-a452947bdead', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021246Z:d04eccdf-44ec-4184-848b-a452947bdead', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd38cca2b-9a42-426e-8e88-bc0f529d3bfe', - 'x-ms-client-request-id', - '53221462-41c9-449a-8567-56df598dcb35', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11983', - 'x-ms-correlation-request-id', - 'd1d07e2c-ed1d-41da-a9c2-c9254d8103ae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021248Z:d1d07e2c-ed1d-41da-a9c2-c9254d8103ae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'aeb4b6c1-5d51-4ebf-8280-77765f46d880', - 'x-ms-client-request-id', - 'f23154d4-8e08-4f07-afba-6a6e48bcfe46', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11982', - 'x-ms-correlation-request-id', - 'c20b0e09-d99d-4a5c-a9e3-09f735afdc93', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021250Z:c20b0e09-d99d-4a5c-a9e3-09f735afdc93', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8ee001fb-21c3-44cf-b8bc-04c2b8a1d563', - 'x-ms-client-request-id', - '4c37a3ac-5443-4b81-859f-a871da40d5c0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11981', - 'x-ms-correlation-request-id', - '759a92bc-823a-40c3-8155-be8f11a6d3da', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021253Z:759a92bc-823a-40c3-8155-be8f11a6d3da', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b29df97b-6701-49ba-b144-6a0cc51af229', - 'x-ms-client-request-id', - '569daa83-a98d-4af2-8187-83d6cded8e64', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11980', - 'x-ms-correlation-request-id', - 'e3c946f8-b003-46a0-bdcc-10f0cc00c6fd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021255Z:e3c946f8-b003-46a0-bdcc-10f0cc00c6fd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '36cfd1e7-7d67-4b25-9739-0743a21c9c13', - 'x-ms-client-request-id', - 'd1c548a3-18eb-4011-987e-5841d3d48f4d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11979', - 'x-ms-correlation-request-id', - '2c6f9857-be73-4eae-a228-b202174d182e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021257Z:2c6f9857-be73-4eae-a228-b202174d182e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '019ad9e6-3c62-4c18-b460-934e01254287', - 'x-ms-client-request-id', - '96a1d8c0-79d5-4255-ba82-85a23886e6e2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11978', - 'x-ms-correlation-request-id', - 'a6c7c7bb-c3fa-4b22-9f1a-89de3710c8b1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021300Z:a6c7c7bb-c3fa-4b22-9f1a-89de3710c8b1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '878f9db8-8b68-441d-b422-a590643fabf4', - 'x-ms-client-request-id', - '01c809fa-dc87-4694-b742-2a507d41fad8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11977', - 'x-ms-correlation-request-id', - '7fd3b2f2-5074-4723-8fa9-d39af38e677a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021302Z:7fd3b2f2-5074-4723-8fa9-d39af38e677a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8082ddf6-fa2b-40ea-9486-83ba5ccbf833', - 'x-ms-client-request-id', - 'be7eafa5-29a6-42fb-b79b-e52858d8dcee', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11976', - 'x-ms-correlation-request-id', - '154be00b-6a72-489e-a3a6-dbaae24baeb4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021304Z:154be00b-6a72-489e-a3a6-dbaae24baeb4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8518bb0e-c21e-4bba-a68b-be2e4ae8d305', - 'x-ms-client-request-id', - '9ed33dac-70f1-427f-9728-71fe83f4171d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11975', - 'x-ms-correlation-request-id', - 'dba6c253-91b5-44b0-8f3a-60fad34c0fa8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021307Z:dba6c253-91b5-44b0-8f3a-60fad34c0fa8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'cff0ed91-e1f2-4349-86be-8063a85d1946', - 'x-ms-client-request-id', - '82111900-13e3-421b-a25b-d6bcf2a43770', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11974', - 'x-ms-correlation-request-id', - '5f5d037e-fd04-4c88-90f6-cbef5cd1aab4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021309Z:5f5d037e-fd04-4c88-90f6-cbef5cd1aab4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1e4d9edd-c2a1-4fb3-9af0-47ea8d4e08b4', - 'x-ms-client-request-id', - '24eacd79-73ea-45ee-aa30-d4367b818d14', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11973', - 'x-ms-correlation-request-id', - '6def06d1-5fa5-41e4-8f5a-dffc399c3136', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021311Z:6def06d1-5fa5-41e4-8f5a-dffc399c3136', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9ebc43e-642c-4914-bc5a-56cae392d000', - 'x-ms-client-request-id', - '442a8573-4262-4256-a125-3f67895b5cd5', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11972', - 'x-ms-correlation-request-id', - '3ceeb78c-1e7f-4fe6-a5f1-08bf291a99af', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021314Z:3ceeb78c-1e7f-4fe6-a5f1-08bf291a99af', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e071c3b5-8bde-4795-a94c-18ef228dcfc9', - 'x-ms-client-request-id', - '243ab8a6-9db7-4ceb-995b-b7392874420b', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11971', - 'x-ms-correlation-request-id', - '8bc11129-065f-4fc2-9f05-7a8c3beea2c8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021316Z:8bc11129-065f-4fc2-9f05-7a8c3beea2c8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2e1296bf-c2c4-4f0c-a28f-62997412513c', - 'x-ms-client-request-id', - '489363de-ec84-4916-a59d-09671bc1b295', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11970', - 'x-ms-correlation-request-id', - '5f4bafa7-8ea0-4fcc-ad94-61d69200ac90', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021318Z:5f4bafa7-8ea0-4fcc-ad94-61d69200ac90', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ec37a416-bb38-48ce-98ff-933b0f5bb7e9', - 'x-ms-client-request-id', - '64f31a9a-da7d-48e2-bd32-c1ff776d6a30', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11969', - 'x-ms-correlation-request-id', - 'd3513d9d-0793-4cd8-b6f0-0244248c8d28', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021321Z:d3513d9d-0793-4cd8-b6f0-0244248c8d28', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6c273590-d076-4ee7-bb52-f0e4809cf36a', - 'x-ms-client-request-id', - '50969fa2-e657-4b81-b4fb-f04c0a9ffafd', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11968', - 'x-ms-correlation-request-id', - 'cfe34e98-392e-44df-91eb-126628730e00', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021323Z:cfe34e98-392e-44df-91eb-126628730e00', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'a8840456-dfa6-4cb8-a7b9-340e2dcc2ea9', - 'x-ms-client-request-id', - '1f817f1d-1f93-4751-a85a-50fa6c0d0c92', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11967', - 'x-ms-correlation-request-id', - '310edfbd-ea7b-476b-9036-b582967b740b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021325Z:310edfbd-ea7b-476b-9036-b582967b740b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '44301f9e-da07-43ae-a552-1d69edfd6b5c', - 'x-ms-client-request-id', - '02838552-b2ff-43e7-9820-c8b23b0357d3', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11966', - 'x-ms-correlation-request-id', - '43f11d9f-54e4-4420-9cf7-83718e1763f6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021328Z:43f11d9f-54e4-4420-9cf7-83718e1763f6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1e44074e-9b59-4875-8297-7cbb0392be72', - 'x-ms-client-request-id', - 'b944a754-48c9-407d-b0ed-48466e2cd469', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11965', - 'x-ms-correlation-request-id', - '6a989626-eb02-4d6e-80ee-5e426887485f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021330Z:6a989626-eb02-4d6e-80ee-5e426887485f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'af3a73d3-4e5d-42e7-9c3c-5613c51ed718', - 'x-ms-client-request-id', - '21355524-82d8-477a-a89d-f2b490fce532', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11964', - 'x-ms-correlation-request-id', - 'ce4da5d0-0a3a-4a0f-85e1-6f6174770b30', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021332Z:ce4da5d0-0a3a-4a0f-85e1-6f6174770b30', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'a2fe4c93-aa86-4926-812e-2c8bb1508a54', - 'x-ms-client-request-id', - 'dc575f9b-b46b-424f-b4ca-059c16b33152', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11963', - 'x-ms-correlation-request-id', - '2fbaa88e-e960-4cae-8a00-a92ad277b544', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021335Z:2fbaa88e-e960-4cae-8a00-a92ad277b544', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '13313310-318c-4d12-b82b-461ef507687f', - 'x-ms-client-request-id', - '4b132363-954a-49a9-9ae7-2eb84bdba279', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11962', - 'x-ms-correlation-request-id', - 'df14296f-35e3-425a-9b6d-7455bff5c8d4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021337Z:df14296f-35e3-425a-9b6d-7455bff5c8d4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '45b4da5f-a3cf-4757-bde3-155a29ee47e4', - 'x-ms-client-request-id', - '4178b70d-f304-4c3d-b4b7-3d19fe603d3d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11961', - 'x-ms-correlation-request-id', - 'f2623453-10c1-4d76-a0f1-4cf3211b9459', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021340Z:f2623453-10c1-4d76-a0f1-4cf3211b9459', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '423c579d-0552-4a6a-b1a8-550f853fa53c', - 'x-ms-client-request-id', - '023af442-4228-4e07-bb90-8422eaffd50e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11960', - 'x-ms-correlation-request-id', - '9095a014-5948-4ab9-b74b-2d68bab61fba', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021342Z:9095a014-5948-4ab9-b74b-2d68bab61fba', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5292dd02-152e-4730-978a-8c767b50ff90', - 'x-ms-client-request-id', - 'f414c09e-63c0-4433-a585-b51cdb9dcc0f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11959', - 'x-ms-correlation-request-id', - 'd581d6c9-8cfb-4146-be36-7638d15a2e46', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021344Z:d581d6c9-8cfb-4146-be36-7638d15a2e46', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:44 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'dd3a218c-0189-4d18-9c17-beda18d2053f', - 'x-ms-client-request-id', - '4f2d2948-5112-4862-bf1e-30d2843c2709', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11958', - 'x-ms-correlation-request-id', - 'd49ed220-dcf5-49a3-bc28-3103e00734c4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021347Z:d49ed220-dcf5-49a3-bc28-3103e00734c4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '900a6d17-cd6d-4f57-9170-3ab5e16a3ba3', - 'x-ms-client-request-id', - '684d7db1-be12-4451-bf90-53a8da39344f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11957', - 'x-ms-correlation-request-id', - 'f7eb358b-5b27-48ed-8ab1-f2b9ba8fa4dc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021349Z:f7eb358b-5b27-48ed-8ab1-f2b9ba8fa4dc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ffae2893-26f0-4fcb-b4a3-e8a75dfc8e85', - 'x-ms-client-request-id', - '46146d43-458a-44ea-8a1f-0413c464d4f6', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11956', - 'x-ms-correlation-request-id', - '9e0a7c13-887b-4939-9a5f-b3f03e085da9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021351Z:9e0a7c13-887b-4939-9a5f-b3f03e085da9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8f6133f7-4c57-49d1-a2ea-3cac4adf8700', - 'x-ms-client-request-id', - '1a4f5e1b-8bac-42d2-a177-9aaa3a066f58', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11955', - 'x-ms-correlation-request-id', - '7e42a48b-dd14-4bf7-bfe4-abbfac87a7ed', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021354Z:7e42a48b-dd14-4bf7-bfe4-abbfac87a7ed', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'abaddd5b-ac1e-4036-91ab-adefa75b8797', - 'x-ms-client-request-id', - '37bb7743-4c6e-416b-bd72-b0b6761ce506', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11954', - 'x-ms-correlation-request-id', - '44561fe7-e024-49bc-a867-4cb72f9ea9af', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021356Z:44561fe7-e024-49bc-a867-4cb72f9ea9af', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:56 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f0797351-a4db-4c45-a56e-710f792ea50e', - 'x-ms-client-request-id', - '288b33b4-b83a-4c9a-9ee0-3eea580fed0e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11953', - 'x-ms-correlation-request-id', - 'e1517fc5-c1ac-4579-bd9c-b674da2ed84b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021359Z:e1517fc5-c1ac-4579-bd9c-b674da2ed84b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9b1020b-5939-4baf-bfd1-249bfd9b5bb2', - 'x-ms-client-request-id', - '5e2514ce-d20f-4ddd-a051-5bdb5a2b5093', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11952', - 'x-ms-correlation-request-id', - 'be964865-2d10-4a03-81c3-11b1a50ab5b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021401Z:be964865-2d10-4a03-81c3-11b1a50ab5b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6f681959-12f5-47cd-9711-9cedffab9cc1', - 'x-ms-client-request-id', - '563ef288-e69f-47e1-83e8-ba00300bb90c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11951', - 'x-ms-correlation-request-id', - '1e449fcd-de24-4da2-a547-9d7041b64f81', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021403Z:1e449fcd-de24-4da2-a547-9d7041b64f81', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:03 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '87953e15-7a71-4b03-be8e-6cc311162e2b', - 'x-ms-client-request-id', - '7bae7bcd-7e5b-4307-8b7e-a4ffa92780f2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11950', - 'x-ms-correlation-request-id', - 'f6d16086-21d1-40a6-bd2b-c9f81b1c17c7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021406Z:f6d16086-21d1-40a6-bd2b-c9f81b1c17c7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:05 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '81864c2c-e800-4f8c-9a9c-b5dce173ad20', - 'x-ms-client-request-id', - 'cae6223d-42fb-44a3-9862-0f9564c039ea', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11949', - 'x-ms-correlation-request-id', - '01d1fe99-e690-43e2-8f13-9101b50642b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021408Z:01d1fe99-e690-43e2-8f13-9101b50642b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '52b9d1f2-0092-493c-bc23-21b28fdad2ce', - 'x-ms-client-request-id', - 'd699beaa-6fec-4a6b-8cd4-54a9381bce95', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11948', - 'x-ms-correlation-request-id', - '1282c159-b34a-4965-89c2-f5b82f1a47b0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021410Z:1282c159-b34a-4965-89c2-f5b82f1a47b0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2c06aebe-bdd5-479c-b4f6-cda9d66fb3e1', - 'x-ms-client-request-id', - '9fff7214-8b73-484b-a610-1f60e301b402', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11947', - 'x-ms-correlation-request-id', - '337f1169-e23f-450e-9ab2-4f9c4d82bfe7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021413Z:337f1169-e23f-450e-9ab2-4f9c4d82bfe7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3e7183b4-b081-40ba-b44e-709faedff875', - 'x-ms-client-request-id', - '78f47711-00a4-4330-a1f2-38de3a96072c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11946', - 'x-ms-correlation-request-id', - '8b79fb83-c54d-40e0-a9b1-649469cea01a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021415Z:8b79fb83-c54d-40e0-a9b1-649469cea01a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'bb7f8868-aafa-4d4e-bc0e-cb6c7cfaa551', - 'x-ms-client-request-id', - 'a6692156-cd51-4c16-b02e-c3e71f90850a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11945', - 'x-ms-correlation-request-id', - '135e9709-2662-42d0-9500-f30a13a05da7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021417Z:135e9709-2662-42d0-9500-f30a13a05da7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd431fbd5-f537-4796-bf9a-933814d8c445', - 'x-ms-client-request-id', - '22e4f357-65dd-4179-923f-00ee6dbe570a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11944', - 'x-ms-correlation-request-id', - '069007b9-0f01-42be-a5ec-80013f896cf2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021420Z:069007b9-0f01-42be-a5ec-80013f896cf2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1062f094-5f08-4e57-8a08-0a0d263841c6', - 'x-ms-client-request-id', - '32ab13f6-ff37-4596-8a4c-fef8b4a7d5e2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11943', - 'x-ms-correlation-request-id', - '119d8696-bf3c-456c-812d-e0c76c489a29', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021422Z:119d8696-bf3c-456c-812d-e0c76c489a29', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'af79b56d-d0f5-401a-9c02-3220b6513d2e', - 'x-ms-client-request-id', - '2fa9feee-a083-4cc0-bfc9-1babec81416e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11942', - 'x-ms-correlation-request-id', - 'fe440ab9-3319-4651-98ec-7ef00ff5b4f3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021424Z:fe440ab9-3319-4651-98ec-7ef00ff5b4f3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '85c6afae-7c11-470f-89b0-c405ab69f921', - 'x-ms-client-request-id', - '0a5f5531-a374-4ea9-ac18-808b7dbcc00f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11941', - 'x-ms-correlation-request-id', - '128a2b64-f508-45fd-b5d0-6a7eff23f497', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021427Z:128a2b64-f508-45fd-b5d0-6a7eff23f497', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0f1db903-25c8-4d0a-9845-a8b81e639b0d', - 'x-ms-client-request-id', - '81374996-7677-4f7c-ba9c-26924350a834', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11940', - 'x-ms-correlation-request-id', - 'c7298fef-cd74-428c-bdea-ed2bb7c14c04', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021429Z:c7298fef-cd74-428c-bdea-ed2bb7c14c04', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77ef3e1a7dd45eaf724221de98be5f660b7cdf79abaca61990a56f4eb3a6fd0a2ddf164b0c663a5bd21f6d76d17cf4e817ff92d147cddb35fd62e0bc6eb3e52cab67bfff4fe675f10302402d08f22aafdb82faa3866660d4b2c51bc7d3b6b8cc092435bb2c1aeab4585e982f5fafa7d33c9fe5b38f7ec9","2ff97f0068b6dfee4d010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6ef5400a-94f7-423e-9acc-097e0ae61f57', - 'x-ms-client-request-id', - 'f3d128a9-6ddb-49f4-80d0-f062dae3359d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - '7b7bbdb1-ae48-45db-aebf-799a59bf274d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021432Z:7b7bbdb1-ae48-45db-aebf-799a59bf274d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:31 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js deleted file mode 100644 index 86e1eccf626c..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js +++ /dev/null @@ -1,529 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "1bc13a36d959e3c06e67c049879f8101"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '96da2a01-9bbf-4976-b77e-e8e642330200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ArGKb2avoC5HkglTuhB3ls8; expires=Sat, 15-Jan-2022 02:16:40 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevry4yZEp-qhmOVVAbekvrb-AJSKT30Nyj7ugZmK3dZgFWmvw2MMiS_vX9jJC2KxvYheAfgzp6Ql_vvLaHwueR4fQI11XPMKaleh-Od4v9W5FWacK3M8Zgo8Erfjdy-LAsVCiQl7VYS4QWKyzkv8EIFE4c1-mIJx_407k0DkT8K-rUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:16:40 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '9bed8f69-8b1e-4591-be3e-4496efee0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AtTkqGjevHhBp7UM60_VQZM; expires=Sat, 15-Jan-2022 02:16:41 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDnpfhC8qbpjrvrZeV6nGqUzXWyytYlL8MycQW4j9rbSNgwhtj4QE92I2fuTEFjnD1zBkFpVE3S0T_Sejuz7RkTSFt1mFwLg02P4WlNkDN4fTr3yBtfeZ1Qkzv9tNCxuEgBs3KQpSC5UlxuJvwClpdVtz2wMAJIYxyqL6JgEQ5j8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:16:40 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=853c28a0-89be-4c1f-8cc0-94a424b9d094&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'e89207c8-c8ba-4184-b836-b4dd22130700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ar3I3fDslaZKkqC2YSIklFIWPr5BAQAAAIiYTNkOAAAA; expires=Sat, 15-Jan-2022 02:16:41 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:16:40 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974/profileresults/myprofilexxx?api-version=2020-09-01', - 'Retry-After', - '10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '9c67603c-d589-4d09-aa81-96219b13836c', - 'x-ms-client-request-id', - '840ec6db-63ae-48bb-9504-9a1d8c4356f6', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - '7ae19ce4-7ebc-418d-a173-57e93314dfe1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021643Z:7ae19ce4-7ebc-418d-a173-57e93314dfe1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:42 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3ef362c0-a5d7-472a-a75b-bd11473bba40', - 'x-ms-client-request-id', - 'c74030cf-178b-41d2-967a-27eb5b332dae', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11899', - 'x-ms-correlation-request-id', - '32dff386-ffdb-4750-b15a-a81ef0890a2b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021644Z:32dff386-ffdb-4750-b15a-a81ef0890a2b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:43 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0b0500a6-7ab8-4f05-a356-5f9011b71f38', - 'x-ms-client-request-id', - 'fbe6a258-dcc8-4f30-aa96-b7801548b2a4', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11898', - 'x-ms-correlation-request-id', - '6f69848f-06fe-4cc1-bceb-2616de8c89fa', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021646Z:6f69848f-06fe-4cc1-bceb-2616de8c89fa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:45 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07f203df-c057-4f66-b72b-6a1d4bff8ca1', - 'x-ms-client-request-id', - 'c81ccd5d-a4fc-4877-9a8b-df50f4678708', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11897', - 'x-ms-correlation-request-id', - '113473db-dd83-49be-8fe6-9c8cc85750cb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021648Z:113473db-dd83-49be-8fe6-9c8cc85750cb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:47 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '86b35448-e7a5-4686-ac3b-ae3cca923c51', - 'x-ms-client-request-id', - 'cf99f7c7-1d9d-454d-87a8-adcce5129465', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11896', - 'x-ms-correlation-request-id', - 'ffc28c99-e81c-4896-9a21-9b59518d677d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021651Z:ffc28c99-e81c-4896-9a21-9b59518d677d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0d022591-42d9-4381-8fff-d97f0153e698', - 'x-ms-client-request-id', - 'b3d19fc3-0e2a-49ab-b075-2a3069129b87', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11895', - 'x-ms-correlation-request-id', - '29aa4a43-a3d9-4512-8688-92c3db3f42e6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021653Z:29aa4a43-a3d9-4512-8688-92c3db3f42e6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:52 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07adc428-8d96-4494-a317-65e00df09ae8', - 'x-ms-client-request-id', - '3cbeee87-a5d1-41a7-a33a-a0954438f45a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11894', - 'x-ms-correlation-request-id', - '532a00f0-0832-4de7-abfc-7a17ac504ec1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021656Z:532a00f0-0832-4de7-abfc-7a17ac504ec1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '237777da-cc62-42dc-a8ff-90234e4eed26', - 'x-ms-client-request-id', - '5960fb2f-eaa7-41a9-8523-60eef2705478', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11893', - 'x-ms-correlation-request-id', - '0a40dd11-018f-497e-b8de-fba5fa1d739d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021658Z:0a40dd11-018f-497e-b8de-fba5fa1d739d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '9bed2cfe-c14e-4ec4-9ee2-9864fd9c6aa7', - 'x-ms-client-request-id', - '4f487c4a-89b7-4faa-8b93-09ae0aee28d8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11892', - 'x-ms-correlation-request-id', - '7acd0802-6415-4416-b9df-ec473cdceb12', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021700Z:7acd0802-6415-4416-b9df-ec473cdceb12', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f8de7a3f-7dbd-413f-b41d-8f79f4af88df', - 'x-ms-client-request-id', - 'd249382c-7e46-4658-8847-d7228bae64cf', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11891', - 'x-ms-correlation-request-id', - '20e848ce-9908-4a12-8aa7-28e19f86b6fc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021703Z:20e848ce-9908-4a12-8aa7-28e19f86b6fc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:17:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8a75c09a-49d9-4b5a-a307-309657c9d7a8', - 'x-ms-client-request-id', - '945d577b-b970-4dc0-853f-313ca6326fdb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '46', - 'x-ms-correlation-request-id', - 'fbcc053f-29f5-490b-8675-1bea01047828', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021703Z:fbcc053f-29f5-490b-8675-1bea01047828', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:17:02 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js deleted file mode 100644 index 8ee04d34b756..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "23021080da85bbef5d9658111ebf321c"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '03c6d51b-19f7-48ed-989c-a4f2da2e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AimAIkZrD-xEiSeMYiaDu6o; expires=Sat, 15-Jan-2022 02:15:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7xXTtsUaZA8Iq_Av2BG3G_egPPpMQJShvJQLcnEU4_9o6Gk-ue3ehFtmqwFXOch5IYOsHdrA_vssCkTbF7aUB-fskDHg2zaHg_PsW0h4jWohpL8j1qeqUGkeg9LnOg96I1rb-O0aME09eC5PhIuzBDXcPEWApLnKgtG19xk2QbwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:28 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '6edbaf0b-a0a4-49c7-852a-1809e4680700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AgozIP_rYk9Jon-EPkuKL1Y; expires=Sat, 15-Jan-2022 02:15:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsOAnxxZBxmz4N2SUVJ-T1dXQa9xUcJaL91Nt-5x0UBX1fb6Wv3CHGz8j0_tuXQNJUmVj6MxyE4Ti_bFh34lpQUSu1EgE1xTydCKEjAB1OMNVQF7aIIRklATEbq_fiEnbV_qcvAaeSHY_ig8hctsOj5KeV3qMzFAi8cMSaykUdoEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:29 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=3cae2e39-a1cc-4fde-a306-5f7604df0d73&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '03c6d51b-19f7-48ed-989c-a4f2de2e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ak59tCHjQBJPrxOAGciQhsoWPr5BAQAAAEGYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:29 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77ef3e1a7dd45eaf724221de98be5f660b7cdf79abaca61990a56f4eb3a6fd0a2ddf164b0c663a5bd21f6d76d17cf4e817ff92d147cddb35fd62e0bc6eb3e52cab67bfff4fe675f10302402d08f22aafdb82faa3866660d4b2c51bc7d3b6b8cc092435bb2c1aeab4585e982f5fafa7d33c9fe5b38f7ec9","2ff97f0068b6dfee4d010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '368809b9-087d-4547-afc9-4e6ed0c84210', - 'x-ms-client-request-id', - 'c10006f2-6923-4dbf-87b9-c6f601f704ce', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '48', - 'x-ms-correlation-request-id', - '811b68d8-5d67-4dd3-b943-c26578739021', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021530Z:811b68d8-5d67-4dd3-b943-c26578739021', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:30 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js deleted file mode 100644 index da058a4b6bd4..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "fce63e02ca36d72a5e1b182d8c115587"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f215b684-5d11-4e35-8031-583389250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AqpmrJrXsxxBi9zzTICj5zA; expires=Sat, 15-Jan-2022 02:15:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqQejleeL6lLo86SYCeod_4FGGWd6bU-w4ErJ49Nl82Rf0as9flfeBCipPLz9cRqVVJdNzLg1C_BCOn4PP5CBbfQxRmPmAsvB242Lgpf0pi4G6x_Vju3rR1fa2VAtwRlrnj3OMWUij--tp2BSpey3Fh_YEgLKhfrNKWNj2k0gDpcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:31 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '96da2a01-9bbf-4976-b77e-e8e60a310200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AvQXnKgC4SJNjARqW16KE58; expires=Sat, 15-Jan-2022 02:15:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfL6bR-HEJm0NmDSMusAPURpOeKhjnk81ep8YJOfDfYtr6VHqCVyLzZHD7VX64vDw1PrAMllS5LHJb4Xx4dCGheS2DtSDLMsY_MqM4Roc7c9AXT3PKzjBRvPoNjCAnD5z-WwE4PFsfBJOu0c-M30kbEB1BdcmRRPWuai78If9cdggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:31 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=51e02e70-c1f5-4181-8ddc-5e96a6a9190f&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f215b684-5d11-4e35-8031-583392250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Aj6OL5kffqFJnHY0_as9bRIWPr5BAQAAAEOYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:32 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534bfa8abf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf864b6c4e7e74599a3a5fefaeeddbb8f461fb5d72bc2e4a37863fa7e992df07de7adb29a664096be39cd9af62bb47c5b2c3198e96c497fb4d945f3d1a35ffc4b461f356fd7f48b81f3bacd96b3ac9efdfe3f99d7c50f0800b520c8abbc6e0bea8f1a9a8151cb166f1c4fdbe2322790d4ecb268a8d3627961be7cbd9e4ef37c96cf3efa25bfe4fb","bfe4ff0148c4a01e59010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '48c796e4-0f79-4414-bd6c-3503cfef81aa', - 'x-ms-client-request-id', - '04978e6f-8b05-4776-a4cf-fa4c7c8af91a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '47', - 'x-ms-correlation-request-id', - '6e7da2a4-2ccf-496a-93c7-3a1065f7c9bd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021533Z:6e7da2a4-2ccf-496a-93c7-3a1065f7c9bd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:33 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js deleted file mode 100644 index 128f99405a36..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "a6f83987f0b4f6a6c9df1274fafbc766"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f058f362-0d5d-4341-9bc3-7779d8460200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AnvN_-DFzBJEt1YJVxJES08; expires=Sat, 15-Jan-2022 02:15:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrp0_kKSvpP0QTWKHF-NCCoW7XX2D5tXbfzMlxDu5F4LgCmqSP39IwS4kmsOPkbytfSgm8Ih4oV6FSSxfv1gC-bfKZopVvQV_9wY7PMlQBPybu0xw4cPYCgiYnKoQcb9REhp5kkx3oGKVrIxvoWFBF0IBFC9tC1OhXBjE5ifYA2gIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:32 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f215b684-5d11-4e35-8031-58339e250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AoVXfAVBcAJCj0F1qUGgFdQ; expires=Sat, 15-Jan-2022 02:15:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbvbshzfEjf6bFnqwUbZutQEeyZmRvHxl6bUvdlLqXtjE4XbaF7PvdGk95L_bvjfZc1lQiTsCAv7xl41xq8bOyozJaqMUQ6Uabg-GFOthHH_kIM5w8ZDQ_hw-24WiUP0Js6rCy05TcP7D41vknhYDKIjHEIc9dupgxfmojT1gOSEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:33 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=87281c92-33b9-4020-b732-011727b52c8a&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '96da2a01-9bbf-4976-b77e-e8e613310200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ai_UDtFMXklDtlArySlUjSoWPr5BAQAAAEWYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:34 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:33 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/checkResourceUsage') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc519d37d5ba9ee66fae57f4c147f972b6aa8a65fbd1e8a3f5b268e99369b5e63fa7ebbace97ed4fca9bbba38fca6281067bf77fc9f77f","c9ff03f4f9781a52000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0244362b-045c-4caa-8d7f-75ac8a5fc331', - 'x-ms-client-request-id', - '3af3cf43-7b24-4fd7-9687-ee296b3c73b4', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '651f99fb-5e1c-4b0e-80a7-084890e1ac9c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021535Z:651f99fb-5e1c-4b0e-80a7-084890e1ac9c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:34 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js deleted file mode 100644 index 85c5b8f6ee83..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js +++ /dev/null @@ -1,341 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "1bd7023ed28777a4b59713a57fa85e6d"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fad1e30100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Avitk0lQMh1Bn3eA4pOCYrU; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreFsS_f9_ijT2FR9wuSLUYNm3m8yTN4ecMv2S_O1Un107Aun8Lr006Ek22izNDUooneEB8P9lUFBzqfe60KADQ1xxJxJSOedFiNI3_RYHm0L8qng2aS4nYPkqdsJ5W-kw50XDpZlooPifGyhLIqX1TxAPMka_23ouo3ZAjwUJDw0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:34 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f058f362-0d5d-4341-9bc3-7779f0460200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=ApuZVRCOH9hGijtuyHrCqhI; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW6YsZh_FZQEZE6axKVKxTAwkfJlAPEOHx955lJHI_FNQq6KsnL10O4hNAQooQcgGcLWdQNFypeWYyoz9T090I21YpDeljgS1-2PIjWCFUWtj8h3yi7hzl_qT4mVsEVtqh46P34jpGUkAQ-gyuzWYHs77YHSjmBA5_-8eCatSEb8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:34 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=277fa1c6-b83c-4e87-b427-5557d7cc56fa&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '03c6d51b-19f7-48ed-989c-a4f2212f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ala_AGbFrBVIgk3JHzTxtCcWPr5BAQAAAEeYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:35 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx', {"tags":{"additional_properties":"Tag1"}}) - .query(true) - .reply(202, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx","type":"Microsoft.Cdn/profiles","name":"myprofilexxx","location":"EastUs","kind":"cdn","tags":{"additional_properties":"Tag1"},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Active","provisioningState":"Succeeded"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '363', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c/profileresults/myprofilexxx?api-version=2020-09-01', - 'Retry-After', - '10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '978197ff-4b27-47bb-8ecc-c90e68188d55', - 'x-ms-client-request-id', - '2e9f8721-eb9c-49f9-97a9-1a3041fa3763', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '23', - 'x-ms-correlation-request-id', - '505e32f9-495c-477d-ba6e-f43f37394777', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021538Z:505e32f9-495c-477d-ba6e-f43f37394777', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '74e611c8-7c6d-4a82-8a5d-93f7d08767e6', - 'x-ms-client-request-id', - '6775fc01-988e-4872-9116-0915731f7143', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11922', - 'x-ms-correlation-request-id', - 'b7e91020-3d94-4003-8c43-0e09ff7589f0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021538Z:b7e91020-3d94-4003-8c43-0e09ff7589f0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b1882a80-1cf5-4db5-86f3-fe3a1d8d8946', - 'x-ms-client-request-id', - '321d7f4a-298b-4b4b-a50a-6643e500210c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11921', - 'x-ms-correlation-request-id', - '6687eee0-56b9-479d-85ec-7a869192dbf1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021540Z:6687eee0-56b9-479d-85ec-7a869192dbf1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:40 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'bf17ae1f-4d94-4422-a37f-588993a4422b', - 'x-ms-client-request-id', - 'd97af70c-a280-4a5a-977a-71bfea14e79e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11920', - 'x-ms-correlation-request-id', - '187bcac0-43a2-4fff-98ed-d6ce5f4f4482', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021543Z:187bcac0-43a2-4fff-98ed-d6ce5f4f4482', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd1e756b7-2096-422e-aadb-db473bb02ede', - 'x-ms-client-request-id', - '6fd7adf9-b984-4566-aaaf-a362fde092e9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11919', - 'x-ms-correlation-request-id', - 'e110cf7b-5b94-4973-9183-7d4c56d40245', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021545Z:e110cf7b-5b94-4973-9183-7d4c56d40245', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:45 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c/profileresults/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9f26eb5caeb0cf0e9c575d93677cff71f1c4c26bbd3ed7cf7d39dedfd6936dbceee1d3cd89e7d7a7f7fb27f3039cf77a680765e94b9796771ad1fbc7bf7eea3d147edf52a27f46fe8485fd13fe9b565b6c06b1d606535e5d7e89bd3ac69bf42cbb7c512f499ce96f4479b5d341f3dfac51f65b359818659f9fb1300eaad2d72fae2a337d9c5ee47bf64f451f3768d66dacbeb365bceb27af6fbff645e173f20f0d4c27fed177f44883125a9658b378ea76d71995387d4ecb268a8a7627961be7cbd9e4ef37c96cf3efa25bf","e4ff01088fc69cbe010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5d2c26bf-5426-4218-8220-92fa2daaab95', - 'x-ms-client-request-id', - '4390be16-9157-47b9-a745-9c6ef98defc1', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11918', - 'x-ms-correlation-request-id', - '1b246543-cfc0-406f-a749-386be00463fe', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021548Z:1b246543-cfc0-406f-a749-386be00463fe', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:47 GMT' -]); diff --git a/sdk/cdn/arm-cdn/review/arm-cdn.api.md b/sdk/cdn/arm-cdn/review/arm-cdn.api.md index 1cc7630d5ccb..644f9d0b9300 100644 --- a/sdk/cdn/arm-cdn/review/arm-cdn.api.md +++ b/sdk/cdn/arm-cdn/review/arm-cdn.api.md @@ -13,6 +13,12 @@ import { PollOperationState } from '@azure/core-lro'; // @public export type ActionType = string; +// @public +export interface ActivatedResourceReference { + id?: string; + readonly isActive?: boolean; +} + // @public export type AfdCertificateType = string; @@ -22,8 +28,8 @@ export interface AFDCustomDomains { beginCreateAndWait(resourceGroupName: string, profileName: string, customDomainName: string, customDomain: AFDDomain, options?: AFDCustomDomainsCreateOptionalParams): Promise; beginDelete(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsDeleteOptionalParams): Promise; - beginRefreshValidationToken(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams): Promise, AFDCustomDomainsRefreshValidationTokenResponse>>; - beginRefreshValidationTokenAndWait(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams): Promise; + beginRefreshValidationToken(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams): Promise, void>>; + beginRefreshValidationTokenAndWait(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams): Promise; beginUpdate(resourceGroupName: string, profileName: string, customDomainName: string, customDomainUpdateProperties: AFDDomainUpdateParameters, options?: AFDCustomDomainsUpdateOptionalParams): Promise, AFDCustomDomainsUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, profileName: string, customDomainName: string, customDomainUpdateProperties: AFDDomainUpdateParameters, options?: AFDCustomDomainsUpdateOptionalParams): Promise; get(resourceGroupName: string, profileName: string, customDomainName: string, options?: AFDCustomDomainsGetOptionalParams): Promise; @@ -72,9 +78,6 @@ export interface AFDCustomDomainsRefreshValidationTokenOptionalParams extends co updateIntervalInMs?: number; } -// @public -export type AFDCustomDomainsRefreshValidationTokenResponse = ValidationToken; - // @public export interface AFDCustomDomainsUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -86,8 +89,10 @@ export type AFDCustomDomainsUpdateResponse = AFDDomain; // @public export type AFDDomain = ProxyResource & { + readonly profileName?: string; tlsSettings?: AFDDomainHttpsParameters; azureDnsZone?: ResourceReference; + preValidatedCustomDomainResourceId?: ResourceReference; readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; readonly domainValidationState?: DomainValidationState; @@ -118,19 +123,24 @@ export type AFDDomainProperties = AFDDomainUpdatePropertiesParameters & AFDState // @public export interface AFDDomainUpdateParameters { azureDnsZone?: ResourceReference; + preValidatedCustomDomainResourceId?: ResourceReference; + readonly profileName?: string; tlsSettings?: AFDDomainHttpsParameters; } // @public export interface AFDDomainUpdatePropertiesParameters { azureDnsZone?: ResourceReference; + preValidatedCustomDomainResourceId?: ResourceReference; + readonly profileName?: string; tlsSettings?: AFDDomainHttpsParameters; } // @public export type AFDEndpoint = TrackedResource & { - originResponseTimeoutSeconds?: number; + readonly profileName?: string; enabledState?: EnabledState; + originResponseTimeoutSeconds?: number; readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; readonly hostName?: string; @@ -151,6 +161,7 @@ export type AFDEndpointProperties = AFDEndpointPropertiesUpdateParameters & AFDS export interface AFDEndpointPropertiesUpdateParameters { enabledState?: EnabledState; originResponseTimeoutSeconds?: number; + readonly profileName?: string; } // @public @@ -248,6 +259,7 @@ export type AFDEndpointsValidateCustomDomainResponse = ValidateCustomDomainOutpu export interface AFDEndpointUpdateParameters { enabledState?: EnabledState; originResponseTimeoutSeconds?: number; + readonly profileName?: string; tags?: { [propertyName: string]: string; }; @@ -255,7 +267,7 @@ export interface AFDEndpointUpdateParameters { // @public export interface AfdErrorResponse { - error?: ErrorResponse; + error?: ErrorDetail; } // @public @@ -263,6 +275,7 @@ export type AfdMinimumTlsVersion = "TLS10" | "TLS12"; // @public export type AFDOrigin = ProxyResource & { + readonly originGroupName?: string; azureOrigin?: ResourceReference; hostName?: string; httpPort?: number; @@ -272,12 +285,14 @@ export type AFDOrigin = ProxyResource & { weight?: number; sharedPrivateLinkResource?: Record; enabledState?: EnabledState; + enforceCertificateNameCheck?: boolean; readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; }; // @public export type AFDOriginGroup = ProxyResource & { + readonly profileName?: string; loadBalancingSettings?: LoadBalancingSettingsParameters; healthProbeSettings?: HealthProbeParameters; trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; @@ -372,6 +387,7 @@ export type AFDOriginGroupsUpdateResponse = AFDOriginGroup; export interface AFDOriginGroupUpdateParameters { healthProbeSettings?: HealthProbeParameters; loadBalancingSettings?: LoadBalancingSettingsParameters; + readonly profileName?: string; responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; sessionAffinityState?: EnabledState; trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; @@ -381,6 +397,7 @@ export interface AFDOriginGroupUpdateParameters { export interface AFDOriginGroupUpdatePropertiesParameters { healthProbeSettings?: HealthProbeParameters; loadBalancingSettings?: LoadBalancingSettingsParameters; + readonly profileName?: string; responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; sessionAffinityState?: EnabledState; trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; @@ -456,9 +473,11 @@ export type AFDOriginsUpdateResponse = AFDOrigin; export interface AFDOriginUpdateParameters { azureOrigin?: ResourceReference; enabledState?: EnabledState; + enforceCertificateNameCheck?: boolean; hostName?: string; httpPort?: number; httpsPort?: number; + readonly originGroupName?: string; originHostHeader?: string; priority?: number; sharedPrivateLinkResource?: Record; @@ -469,9 +488,11 @@ export interface AFDOriginUpdateParameters { export interface AFDOriginUpdatePropertiesParameters { azureOrigin?: ResourceReference; enabledState?: EnabledState; + enforceCertificateNameCheck?: boolean; hostName?: string; httpPort?: number; httpsPort?: number; + readonly originGroupName?: string; originHostHeader?: string; priority?: number; sharedPrivateLinkResource?: Record; @@ -480,7 +501,7 @@ export interface AFDOriginUpdatePropertiesParameters { // @public export interface AFDProfiles { - checkHostNameAvailability(resourceGroupName: string, profileName: string, checkHostNameAvailabilityInput: ValidateCustomDomainInput, options?: AFDProfilesCheckHostNameAvailabilityOptionalParams): Promise; + checkHostNameAvailability(resourceGroupName: string, profileName: string, checkHostNameAvailabilityInput: CheckHostNameAvailabilityInput, options?: AFDProfilesCheckHostNameAvailabilityOptionalParams): Promise; listResourceUsage(resourceGroupName: string, profileName: string, options?: AFDProfilesListResourceUsageOptionalParams): PagedAsyncIterableIterator; } @@ -489,7 +510,7 @@ export interface AFDProfilesCheckHostNameAvailabilityOptionalParams extends core } // @public -export type AFDProfilesCheckHostNameAvailabilityResponse = ValidateCustomDomainOutput; +export type AFDProfilesCheckHostNameAvailabilityResponse = CheckNameAvailabilityOutput; // @public export interface AFDProfilesListResourceUsageNextOptionalParams extends coreClient.OperationOptions { @@ -515,7 +536,14 @@ export interface AfdPurgeParameters { } // @public -export type AfdQueryStringCachingBehavior = "IgnoreQueryString" | "UseQueryString" | "NotSet"; +export type AfdQueryStringCachingBehavior = string; + +// @public +export interface AfdRouteCacheConfiguration { + compressionSettings?: Record; + queryParameters?: string; + queryStringCachingBehavior?: AfdQueryStringCachingBehavior; +} // @public export interface AFDStateProperties { @@ -527,24 +555,41 @@ export interface AFDStateProperties { type Algorithm_2 = string; export { Algorithm_2 as Algorithm } +// @public +export type AzureFirstPartyManagedCertificate = Certificate & {}; + +// @public +export type AzureFirstPartyManagedCertificateParameters = SecretParameters & { + type: "AzureFirstPartyManagedCertificate"; +}; + // @public export type CacheBehavior = string; +// @public +export interface CacheConfiguration { + cacheBehavior?: RuleCacheBehavior; + cacheDuration?: string; + isCompressionEnabled?: RuleIsCompressionEnabled; + queryParameters?: string; + queryStringCachingBehavior?: RuleQueryStringCachingBehavior; +} + // @public export interface CacheExpirationActionParameters { cacheBehavior: CacheBehavior; cacheDuration?: string; cacheType: CacheType; // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"; + typeName: "DeliveryRuleCacheExpirationActionParameters"; } // @public export interface CacheKeyQueryStringActionParameters { - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"; queryParameters?: string; queryStringBehavior: QueryStringBehavior; + // (undocumented) + typeName: "DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"; } // @public @@ -554,7 +599,7 @@ export type CacheType = string; export interface CdnCertificateSourceParameters { certificateType: CertificateType; // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"; + typeName: "CdnCertificateSourceParameters"; } // @public @@ -661,9 +706,9 @@ export interface CdnWebApplicationFirewallPolicyPatchParameters { // @public export interface Certificate { - expirationDate?: string; - subject?: string; - thumbprint?: string; + readonly expirationDate?: string; + readonly subject?: string; + type?: SecretType; } // @public @@ -672,6 +717,11 @@ export type CertificateSource = string; // @public export type CertificateType = string; +// @public +export interface CheckHostNameAvailabilityInput { + hostName: string; +} + // @public export interface CheckNameAvailabilityInput { name: string; @@ -705,6 +755,18 @@ export interface CidrIpAddress { prefixLength?: number; } +// @public +export interface ClientPortMatchConditionParameters { + matchValues?: string[]; + negateCondition?: boolean; + operator: ClientPortOperator; + // (undocumented) + typeName: "DeliveryRuleClientPortConditionParameters"; +} + +// @public +export type ClientPortOperator = string; + // @public (undocumented) export interface Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems { // (undocumented) @@ -763,11 +825,11 @@ export interface ContinentsResponseCountryOrRegionsItem { export interface CookiesMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters"; operator: CookiesOperator; selector?: string; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleCookiesConditionParameters"; } // @public @@ -814,10 +876,8 @@ export interface CustomDomains { beginCreateAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, customDomainProperties: CustomDomainParameters, options?: CustomDomainsCreateOptionalParams): Promise; beginDelete(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise; - beginDisableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise, void>>; - beginDisableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise; - beginEnableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise, void>>; - beginEnableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise; + disableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise; + enableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise; get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsGetOptionalParams): Promise; listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: CustomDomainsListByEndpointOptionalParams): PagedAsyncIterableIterator; } @@ -839,17 +899,19 @@ export interface CustomDomainsDeleteOptionalParams extends coreClient.OperationO // @public export interface CustomDomainsDisableCustomHttpsOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } +// @public +export type CustomDomainsDisableCustomHttpsResponse = CustomDomain; + // @public export interface CustomDomainsEnableCustomHttpsOptionalParams extends coreClient.OperationOptions { customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; - resumeFrom?: string; - updateIntervalInMs?: number; } +// @public +export type CustomDomainsEnableCustomHttpsResponse = CustomDomain; + // @public export interface CustomDomainsGetOptionalParams extends coreClient.OperationOptions { } @@ -873,11 +935,12 @@ export type CustomDomainsListByEndpointResponse = CustomDomainListResult; // @public export type CustomerCertificate = Certificate & { - version?: string; - certificateAuthority?: string; - certificateUrl: string; + secretSource?: ResourceReference; + secretVersion?: string; + readonly certificateAuthority?: string; useLatestVersion?: boolean; subjectAlternativeNames?: string[]; + readonly thumbprint?: string; }; // @public @@ -885,9 +948,12 @@ export type CustomerCertificateParameters = SecretParameters & { type: "CustomerCertificate"; secretSource: ResourceReference; secretVersion?: string; - certificateAuthority?: string; useLatestVersion?: boolean; + readonly subject?: string; + readonly expirationDate?: string; + readonly certificateAuthority?: string; subjectAlternativeNames?: string[]; + readonly thumbprint?: string; }; // @public @@ -922,6 +988,7 @@ export interface DeepCreatedOrigin { name: string; originHostHeader?: string; priority?: number; + readonly privateEndpointStatus?: PrivateEndpointStatus; privateLinkAlias?: string; privateLinkApprovalMessage?: string; privateLinkLocation?: string; @@ -954,11 +1021,11 @@ export type DeliveryRuleAction = string; // @public export interface DeliveryRuleActionAutoGenerated { - name: "UrlRedirect" | "UrlSigning" | "OriginGroupOverride" | "UrlRewrite" | "ModifyRequestHeader" | "ModifyResponseHeader" | "CacheExpiration" | "CacheKeyQueryString"; + name: "UrlRedirect" | "UrlSigning" | "OriginGroupOverride" | "UrlRewrite" | "ModifyRequestHeader" | "ModifyResponseHeader" | "CacheExpiration" | "CacheKeyQueryString" | "RouteConfigurationOverride"; } // @public (undocumented) -export type DeliveryRuleActionAutoGeneratedUnion = DeliveryRuleActionAutoGenerated | UrlRedirectAction | UrlSigningAction | OriginGroupOverrideAction | UrlRewriteAction | DeliveryRuleRequestHeaderAction | DeliveryRuleResponseHeaderAction | DeliveryRuleCacheExpirationAction | DeliveryRuleCacheKeyQueryStringAction; +export type DeliveryRuleActionAutoGeneratedUnion = DeliveryRuleActionAutoGenerated | UrlRedirectAction | UrlSigningAction | OriginGroupOverrideAction | UrlRewriteAction | DeliveryRuleRequestHeaderAction | DeliveryRuleResponseHeaderAction | DeliveryRuleCacheExpirationAction | DeliveryRuleCacheKeyQueryStringAction | DeliveryRuleRouteConfigurationOverrideAction; // @public export type DeliveryRuleCacheExpirationAction = DeliveryRuleActionAutoGenerated & { @@ -972,13 +1039,19 @@ export type DeliveryRuleCacheKeyQueryStringAction = DeliveryRuleActionAutoGenera parameters: CacheKeyQueryStringActionParameters; }; +// @public +export type DeliveryRuleClientPortCondition = DeliveryRuleCondition & { + name: "ClientPort"; + parameters: ClientPortMatchConditionParameters; +}; + // @public export interface DeliveryRuleCondition { - name: "RemoteAddress" | "RequestMethod" | "QueryString" | "PostArgs" | "RequestUri" | "RequestHeader" | "RequestBody" | "RequestScheme" | "UrlPath" | "UrlFileExtension" | "UrlFileName" | "HttpVersion" | "Cookies" | "IsDevice"; + name: "RemoteAddress" | "RequestMethod" | "QueryString" | "PostArgs" | "RequestUri" | "RequestHeader" | "RequestBody" | "RequestScheme" | "UrlPath" | "UrlFileExtension" | "UrlFileName" | "HttpVersion" | "Cookies" | "IsDevice" | "SocketAddr" | "ClientPort" | "ServerPort" | "HostName" | "SslProtocol"; } // @public (undocumented) -export type DeliveryRuleConditionUnion = DeliveryRuleCondition | DeliveryRuleRemoteAddressCondition | DeliveryRuleRequestMethodCondition | DeliveryRuleQueryStringCondition | DeliveryRulePostArgsCondition | DeliveryRuleRequestUriCondition | DeliveryRuleRequestHeaderCondition | DeliveryRuleRequestBodyCondition | DeliveryRuleRequestSchemeCondition | DeliveryRuleUrlPathCondition | DeliveryRuleUrlFileExtensionCondition | DeliveryRuleUrlFileNameCondition | DeliveryRuleHttpVersionCondition | DeliveryRuleCookiesCondition | DeliveryRuleIsDeviceCondition; +export type DeliveryRuleConditionUnion = DeliveryRuleCondition | DeliveryRuleRemoteAddressCondition | DeliveryRuleRequestMethodCondition | DeliveryRuleQueryStringCondition | DeliveryRulePostArgsCondition | DeliveryRuleRequestUriCondition | DeliveryRuleRequestHeaderCondition | DeliveryRuleRequestBodyCondition | DeliveryRuleRequestSchemeCondition | DeliveryRuleUrlPathCondition | DeliveryRuleUrlFileExtensionCondition | DeliveryRuleUrlFileNameCondition | DeliveryRuleHttpVersionCondition | DeliveryRuleCookiesCondition | DeliveryRuleIsDeviceCondition | DeliveryRuleSocketAddrCondition | DeliveryRuleClientPortCondition | DeliveryRuleServerPortCondition | DeliveryRuleHostNameCondition | DeliveryRuleSslProtocolCondition; // @public export type DeliveryRuleCookiesCondition = DeliveryRuleCondition & { @@ -986,6 +1059,12 @@ export type DeliveryRuleCookiesCondition = DeliveryRuleCondition & { parameters: CookiesMatchConditionParameters; }; +// @public +export type DeliveryRuleHostNameCondition = DeliveryRuleCondition & { + name: "HostName"; + parameters: HostNameMatchConditionParameters; +}; + // @public export type DeliveryRuleHttpVersionCondition = DeliveryRuleCondition & { name: "HttpVersion"; @@ -1058,6 +1137,30 @@ export type DeliveryRuleResponseHeaderAction = DeliveryRuleActionAutoGenerated & parameters: HeaderActionParameters; }; +// @public +export type DeliveryRuleRouteConfigurationOverrideAction = DeliveryRuleActionAutoGenerated & { + name: "RouteConfigurationOverride"; + parameters: RouteConfigurationOverrideActionParameters; +}; + +// @public +export type DeliveryRuleServerPortCondition = DeliveryRuleCondition & { + name: "ServerPort"; + parameters: ServerPortMatchConditionParameters; +}; + +// @public +export type DeliveryRuleSocketAddrCondition = DeliveryRuleCondition & { + name: "SocketAddr"; + parameters: SocketAddrMatchConditionParameters; +}; + +// @public +export type DeliveryRuleSslProtocolCondition = DeliveryRuleCondition & { + name: "SslProtocol"; + parameters: SslProtocolMatchConditionParameters; +}; + // @public export type DeliveryRuleUrlFileExtensionCondition = DeliveryRuleCondition & { name: "UrlFileExtension"; @@ -1082,6 +1185,13 @@ export type DeploymentStatus = string; // @public export type DestinationProtocol = string; +// @public +export interface DimensionProperties { + displayName?: string; + internalName?: string; + name?: string; +} + // @public export interface DomainValidationProperties { readonly expirationDate?: string; @@ -1143,6 +1253,7 @@ export type Endpoint = TrackedResource & { readonly hostName?: string; origins?: DeepCreatedOrigin[]; originGroups?: DeepCreatedOriginGroup[]; + readonly customDomains?: CustomDomain[]; readonly resourceState?: EndpointResourceState; readonly provisioningState?: string; }; @@ -1158,6 +1269,7 @@ export type EndpointProperties = EndpointPropertiesUpdateParameters & { readonly hostName?: string; origins: DeepCreatedOrigin[]; originGroups?: DeepCreatedOriginGroup[]; + readonly customDomains?: CustomDomain[]; readonly resourceState?: EndpointResourceState; readonly provisioningState?: string; }; @@ -1334,12 +1446,26 @@ export interface EndpointUpdateParameters { } // @public -export type Enum46 = number; +export type Enum47 = number; // @public -export interface ErrorResponse { +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; +} + +// @public +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; readonly code?: string; + readonly details?: ErrorDetail[]; readonly message?: string; + readonly target?: string; +} + +// @public +export interface ErrorResponse { + error?: ErrorDetail; } // @public @@ -1363,7 +1489,7 @@ export interface HeaderActionParameters { headerAction: HeaderAction; headerName: string; // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"; + typeName: "DeliveryRuleHeaderActionParameters"; value?: string; } @@ -1378,6 +1504,19 @@ export interface HealthProbeParameters { // @public export type HealthProbeRequestType = "NotSet" | "GET" | "HEAD"; +// @public +export interface HostNameMatchConditionParameters { + matchValues?: string[]; + negateCondition?: boolean; + operator: HostNameOperator; + transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleHostNameConditionParameters"; +} + +// @public +export type HostNameOperator = string; + // @public export interface HttpErrorRangeParameters { begin?: number; @@ -1391,9 +1530,10 @@ export type HttpsRedirect = string; export interface HttpVersionMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters"; operator: HttpVersionOperator; + transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleHttpVersionConditionParameters"; } // @public @@ -1413,10 +1553,9 @@ export interface IpAddressGroup { export interface IsDeviceMatchConditionParameters { matchValues?: IsDeviceMatchConditionParametersMatchValuesItem[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters"; operator: IsDeviceOperator; - transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleIsDeviceConditionParameters"; } // @public @@ -1428,24 +1567,24 @@ export type IsDeviceOperator = string; // @public export interface KeyVaultCertificateSourceParameters { deleteRule: DeleteRule; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"; resourceGroupName: string; secretName: string; secretVersion?: string; subscriptionId: string; + // (undocumented) + typeName: "KeyVaultCertificateSourceParameters"; updateRule: UpdateRule; vaultName: string; } // @public export interface KeyVaultSigningKeyParameters { - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.KeyVaultSigningKeyParameters"; resourceGroupName: string; secretName: string; secretVersion: string; subscriptionId: string; + // (undocumented) + typeName: "KeyVaultSigningKeyParameters"; vaultName: string; } @@ -1463,6 +1602,8 @@ export enum KnownActionType { // @public export enum KnownAfdCertificateType { + // (undocumented) + AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate", // (undocumented) CustomerCertificate = "CustomerCertificate", // (undocumented) @@ -1491,6 +1632,18 @@ export enum KnownAfdProvisioningState { Updating = "Updating" } +// @public +export enum KnownAfdQueryStringCachingBehavior { + // (undocumented) + IgnoreQueryString = "IgnoreQueryString", + // (undocumented) + IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + // (undocumented) + IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings", + // (undocumented) + UseQueryString = "UseQueryString" +} + // @public export enum KnownAlgorithm { // (undocumented) @@ -1529,6 +1682,30 @@ export enum KnownCertificateType { Shared = "Shared" } +// @public +export enum KnownClientPortOperator { + // (undocumented) + Any = "Any", + // (undocumented) + BeginsWith = "BeginsWith", + // (undocumented) + Contains = "Contains", + // (undocumented) + EndsWith = "EndsWith", + // (undocumented) + Equal = "Equal", + // (undocumented) + GreaterThan = "GreaterThan", + // (undocumented) + GreaterThanOrEqual = "GreaterThanOrEqual", + // (undocumented) + LessThan = "LessThan", + // (undocumented) + LessThanOrEqual = "LessThanOrEqual", + // (undocumented) + RegEx = "RegEx" +} + // @public export enum KnownCookiesOperator { // (undocumented) @@ -1628,6 +1805,8 @@ export enum KnownDeliveryRuleAction { // (undocumented) OriginGroupOverride = "OriginGroupOverride", // (undocumented) + RouteConfigurationOverride = "RouteConfigurationOverride", + // (undocumented) UrlRedirect = "UrlRedirect", // (undocumented) UrlRewrite = "UrlRewrite", @@ -1666,6 +1845,8 @@ export enum KnownDomainValidationState { // (undocumented) PendingRevalidation = "PendingRevalidation", // (undocumented) + Rejected = "Rejected", + // (undocumented) Submitting = "Submitting", // (undocumented) TimedOut = "TimedOut", @@ -1698,7 +1879,7 @@ export enum KnownEndpointResourceState { } // @public -export enum KnownEnum46 { +export enum KnownEnum47 { // (undocumented) FourHundredFive = 405, // (undocumented) @@ -1731,6 +1912,30 @@ export enum KnownHeaderAction { Overwrite = "Overwrite" } +// @public +export enum KnownHostNameOperator { + // (undocumented) + Any = "Any", + // (undocumented) + BeginsWith = "BeginsWith", + // (undocumented) + Contains = "Contains", + // (undocumented) + EndsWith = "EndsWith", + // (undocumented) + Equal = "Equal", + // (undocumented) + GreaterThan = "GreaterThan", + // (undocumented) + GreaterThanOrEqual = "GreaterThanOrEqual", + // (undocumented) + LessThan = "LessThan", + // (undocumented) + LessThanOrEqual = "LessThanOrEqual", + // (undocumented) + RegEx = "RegEx" +} + // @public export enum KnownHttpsRedirect { // (undocumented) @@ -1810,7 +2015,7 @@ export enum KnownLogMetricsGroupBy { // (undocumented) CacheStatus = "cacheStatus", // (undocumented) - Country = "country", + CountryOrRegion = "countryOrRegion", // (undocumented) CustomDomain = "customDomain", // (undocumented) @@ -1857,6 +2062,14 @@ export enum KnownManagedRuleEnabledState { Enabled = "Enabled" } +// @public +export enum KnownManagedServiceIdentityType { + // (undocumented) + None = "None", + // (undocumented) + SystemAssigned = "SystemAssigned" +} + // @public export enum KnownMatchProcessingBehavior { // (undocumented) @@ -1867,9 +2080,13 @@ export enum KnownMatchProcessingBehavior { // @public export enum KnownMatchVariable { + // (undocumented) + ClientPort = "ClientPort", // (undocumented) Cookies = "Cookies", // (undocumented) + HostName = "HostName", + // (undocumented) HttpVersion = "HttpVersion", // (undocumented) IsDevice = "IsDevice", @@ -1878,8 +2095,6 @@ export enum KnownMatchVariable { // (undocumented) QueryString = "QueryString", // (undocumented) - RemoteAddr = "RemoteAddr", - // (undocumented) RemoteAddress = "RemoteAddress", // (undocumented) RequestBody = "RequestBody", @@ -1892,8 +2107,12 @@ export enum KnownMatchVariable { // (undocumented) RequestUri = "RequestUri", // (undocumented) + ServerPort = "ServerPort", + // (undocumented) SocketAddr = "SocketAddr", // (undocumented) + SslProtocol = "SslProtocol", + // (undocumented) UrlFileExtension = "UrlFileExtension", // (undocumented) UrlFileName = "UrlFileName", @@ -1918,7 +2137,9 @@ export enum KnownMetricsResponseSeriesItemUnit { // (undocumented) Bytes = "bytes", // (undocumented) - Count = "count" + Count = "count", + // (undocumented) + MilliSeconds = "milliSeconds" } // @public @@ -2255,8 +2476,40 @@ export enum KnownRequestUriOperator { RegEx = "RegEx" } +// @public +export enum KnownRuleCacheBehavior { + // (undocumented) + HonorOrigin = "HonorOrigin", + // (undocumented) + OverrideAlways = "OverrideAlways", + // (undocumented) + OverrideIfOriginMissing = "OverrideIfOriginMissing" +} + +// @public +export enum KnownRuleIsCompressionEnabled { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownRuleQueryStringCachingBehavior { + // (undocumented) + IgnoreQueryString = "IgnoreQueryString", + // (undocumented) + IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + // (undocumented) + IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings", + // (undocumented) + UseQueryString = "UseQueryString" +} + // @public export enum KnownSecretType { + // (undocumented) + AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate", // (undocumented) CustomerCertificate = "CustomerCertificate", // (undocumented) @@ -2271,6 +2524,30 @@ export enum KnownSecurityPolicyType { WebApplicationFirewall = "WebApplicationFirewall" } +// @public +export enum KnownServerPortOperator { + // (undocumented) + Any = "Any", + // (undocumented) + BeginsWith = "BeginsWith", + // (undocumented) + Contains = "Contains", + // (undocumented) + EndsWith = "EndsWith", + // (undocumented) + Equal = "Equal", + // (undocumented) + GreaterThan = "GreaterThan", + // (undocumented) + GreaterThanOrEqual = "GreaterThanOrEqual", + // (undocumented) + LessThan = "LessThan", + // (undocumented) + LessThanOrEqual = "LessThanOrEqual", + // (undocumented) + RegEx = "RegEx" +} + // @public export enum KnownSkuName { // (undocumented) @@ -2278,8 +2555,6 @@ export enum KnownSkuName { // (undocumented) PremiumAzureFrontDoor = "Premium_AzureFrontDoor", // (undocumented) - PremiumChinaCdn = "Premium_ChinaCdn", - // (undocumented) PremiumVerizon = "Premium_Verizon", // (undocumented) Standard955BandWidthChinaCdn = "Standard_955BandWidth_ChinaCdn", @@ -2303,6 +2578,30 @@ export enum KnownSkuName { StandardVerizon = "Standard_Verizon" } +// @public +export enum KnownSocketAddrOperator { + // (undocumented) + Any = "Any", + // (undocumented) + IPMatch = "IPMatch" +} + +// @public +export enum KnownSslProtocol { + // (undocumented) + TLSv1 = "TLSv1", + // (undocumented) + TLSv11 = "TLSv1.1", + // (undocumented) + TLSv12 = "TLSv1.2" +} + +// @public +export enum KnownSslProtocolOperator { + // (undocumented) + Equal = "Equal" +} + // @public export enum KnownStatus { // (undocumented) @@ -2320,7 +2619,15 @@ export enum KnownTransform { // (undocumented) Lowercase = "Lowercase", // (undocumented) - Uppercase = "Uppercase" + RemoveNulls = "RemoveNulls", + // (undocumented) + Trim = "Trim", + // (undocumented) + Uppercase = "Uppercase", + // (undocumented) + UrlDecode = "UrlDecode", + // (undocumented) + UrlEncode = "UrlEncode" } // @public @@ -2425,16 +2732,6 @@ export enum KnownUsageUnit { Count = "Count" } -// @public -export enum KnownValidateSecretType { - // (undocumented) - CustomerCertificate = "CustomerCertificate", - // (undocumented) - ManagedCertificate = "ManagedCertificate", - // (undocumented) - UrlSigningKey = "UrlSigningKey" -} - // @public export enum KnownWafAction { // (undocumented) @@ -2457,6 +2754,28 @@ export enum KnownWafGranularity { PT5M = "PT5M" } +// @public +export enum KnownWafMatchVariable { + // (undocumented) + Cookies = "Cookies", + // (undocumented) + PostArgs = "PostArgs", + // (undocumented) + QueryString = "QueryString", + // (undocumented) + RemoteAddr = "RemoteAddr", + // (undocumented) + RequestBody = "RequestBody", + // (undocumented) + RequestHeader = "RequestHeader", + // (undocumented) + RequestMethod = "RequestMethod", + // (undocumented) + RequestUri = "RequestUri", + // (undocumented) + SocketAddr = "SocketAddr" +} + // @public export enum KnownWafMetric { // (undocumented) @@ -2488,7 +2807,7 @@ export enum KnownWafRankingType { // (undocumented) ClientIp = "clientIp", // (undocumented) - Country = "country", + CountryOrRegion = "countryOrRegion", // (undocumented) RuleGroup = "ruleGroup", // (undocumented) @@ -2602,12 +2921,22 @@ export type LogRanking = string; // @public export type LogRankingMetric = string; +// @public +export interface LogSpecification { + blobDuration?: string; + displayName?: string; + logFilterPattern?: string; + name?: string; +} + // @public export type ManagedCertificate = Certificate & {}; // @public export type ManagedCertificateParameters = SecretParameters & { type: "ManagedCertificate"; + readonly subject?: string; + readonly expirationDate?: string; }; // @public @@ -2686,10 +3015,20 @@ export interface ManagedRuleSetsListOptionalParams extends coreClient.OperationO // @public export type ManagedRuleSetsListResponse = ManagedRuleSetDefinitionList; +// @public +export interface ManagedServiceIdentity { + readonly principalId?: string; + readonly tenantId?: string; + type?: ManagedServiceIdentityType; +} + +// @public +export type ManagedServiceIdentityType = string; + // @public export interface MatchCondition { matchValue: string[]; - matchVariable: MatchVariable; + matchVariable: WafMatchVariable; negateCondition?: boolean; operator: Operator; selector?: string; @@ -2702,6 +3041,29 @@ export type MatchProcessingBehavior = string; // @public export type MatchVariable = string; +// @public +export interface MetricAvailability { + // (undocumented) + blobDuration?: string; + // (undocumented) + timeGrain?: string; +} + +// @public +export interface MetricSpecification { + aggregationType?: string; + availabilities?: MetricAvailability[]; + dimensions?: DimensionProperties[]; + displayDescription?: string; + displayName?: string; + fillGapWithZero?: boolean; + isInternal?: boolean; + metricFilterPattern?: string; + name?: string; + supportedTimeGrainTypes?: string[]; + unit?: string; +} + // @public export interface MetricsResponse { // (undocumented) @@ -2746,11 +3108,15 @@ export type MinimumTlsVersion = "None" | "TLS10" | "TLS12"; // @public export interface Operation { display?: OperationDisplay; + isDataAction?: boolean; readonly name?: string; + readonly origin?: string; + serviceSpecification?: ServiceSpecification; } // @public export interface OperationDisplay { + readonly description?: string; readonly operation?: string; readonly provider?: string; readonly resource?: string; @@ -2778,7 +3144,7 @@ export type OperationsListResponse = OperationsListResult; // @public export interface OperationsListResult { nextLink?: string; - readonly value?: Operation[]; + value?: Operation[]; } // @public @@ -2821,6 +3187,12 @@ export interface OriginGroupListResult { readonly value?: OriginGroup[]; } +// @public +export interface OriginGroupOverride { + forwardingProtocol?: ForwardingProtocol; + originGroup?: ResourceReference; +} + // @public export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { name: "OriginGroupOverride"; @@ -2829,9 +3201,9 @@ export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { // @public export interface OriginGroupOverrideActionParameters { - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleOriginGroupOverrideActionParameters"; originGroup: ResourceReference; + // (undocumented) + typeName: "DeliveryRuleOriginGroupOverrideActionParameters"; } // @public @@ -3088,7 +3460,7 @@ export type PolicyResourceState = string; // @public export interface PolicySettings { defaultCustomBlockResponseBody?: string; - defaultCustomBlockResponseStatusCode?: Enum46; + defaultCustomBlockResponseStatusCode?: Enum47; defaultRedirectUrl?: string; enabledState?: PolicyEnabledState; mode?: PolicyMode; @@ -3098,11 +3470,11 @@ export interface PolicySettings { export interface PostArgsMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters"; operator: PostArgsOperator; selector?: string; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRulePostArgsConditionParameters"; } // @public @@ -3118,8 +3490,11 @@ export type ProbeProtocol = "NotSet" | "Http" | "Https"; export type Profile = TrackedResource & { sku: Sku; readonly resourceState?: ProfileResourceState; + identity?: ManagedServiceIdentity; readonly provisioningState?: string; - readonly frontdoorId?: string; + readonly frontDoorId?: string; + readonly kind?: string; + originResponseTimeoutSeconds?: number; }; // @public @@ -3265,10 +3640,10 @@ export type QueryStringCachingBehavior = "IgnoreQueryString" | "BypassCaching" | export interface QueryStringMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters"; operator: QueryStringOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleQueryStringConditionParameters"; } // @public @@ -3328,10 +3703,10 @@ export type RedirectType = string; export interface RemoteAddressMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"; operator: RemoteAddressOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRemoteAddressConditionParameters"; } // @public @@ -3341,10 +3716,10 @@ export type RemoteAddressOperator = string; export interface RequestBodyMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters"; operator: RequestBodyOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRequestBodyConditionParameters"; } // @public @@ -3354,11 +3729,11 @@ export type RequestBodyOperator = string; export interface RequestHeaderMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"; operator: RequestHeaderOperator; selector?: string; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRequestHeaderConditionParameters"; } // @public @@ -3368,9 +3743,10 @@ export type RequestHeaderOperator = string; export interface RequestMethodMatchConditionParameters { matchValues?: RequestMethodMatchConditionParametersMatchValuesItem[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters"; operator: RequestMethodOperator; + transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRequestMethodConditionParameters"; } // @public @@ -3383,9 +3759,10 @@ export type RequestMethodOperator = string; export interface RequestSchemeMatchConditionParameters { matchValues?: RequestSchemeMatchConditionParametersMatchValuesItem[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"; operator: "Equal"; + transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRequestSchemeConditionParameters"; } // @public @@ -3395,10 +3772,10 @@ export type RequestSchemeMatchConditionParametersMatchValuesItem = string; export interface RequestUriMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters"; operator: RequestUriOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleRequestUriConditionParameters"; } // @public @@ -3506,14 +3883,14 @@ export interface ResponseBasedOriginErrorDetectionParameters { // @public export type Route = ProxyResource & { - customDomains?: ResourceReference[]; + readonly endpointName?: string; + customDomains?: ActivatedResourceReference[]; originGroup?: ResourceReference; originPath?: string; ruleSets?: ResourceReference[]; supportedProtocols?: AFDEndpointProtocols[]; patternsToMatch?: string[]; - compressionSettings?: Record; - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; + cacheConfiguration?: AfdRouteCacheConfiguration; forwardingProtocol?: ForwardingProtocol; linkToDefaultDomain?: LinkToDefaultDomain; httpsRedirect?: HttpsRedirect; @@ -3522,6 +3899,14 @@ export type Route = ProxyResource & { readonly deploymentStatus?: DeploymentStatus; }; +// @public +export interface RouteConfigurationOverrideActionParameters { + cacheConfiguration?: CacheConfiguration; + originGroupOverride?: OriginGroupOverride; + // (undocumented) + typeName: "DeliveryRuleRouteConfigurationOverrideActionParameters"; +} + // @public export interface RouteListResult { nextLink?: string; @@ -3590,38 +3975,39 @@ export type RoutesUpdateResponse = Route; // @public export interface RouteUpdateParameters { - compressionSettings?: Record; - customDomains?: ResourceReference[]; + cacheConfiguration?: AfdRouteCacheConfiguration; + customDomains?: ActivatedResourceReference[]; enabledState?: EnabledState; + readonly endpointName?: string; forwardingProtocol?: ForwardingProtocol; httpsRedirect?: HttpsRedirect; linkToDefaultDomain?: LinkToDefaultDomain; originGroup?: ResourceReference; originPath?: string; patternsToMatch?: string[]; - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; ruleSets?: ResourceReference[]; supportedProtocols?: AFDEndpointProtocols[]; } // @public export interface RouteUpdatePropertiesParameters { - compressionSettings?: Record; - customDomains?: ResourceReference[]; + cacheConfiguration?: AfdRouteCacheConfiguration; + customDomains?: ActivatedResourceReference[]; enabledState?: EnabledState; + readonly endpointName?: string; forwardingProtocol?: ForwardingProtocol; httpsRedirect?: HttpsRedirect; linkToDefaultDomain?: LinkToDefaultDomain; originGroup?: ResourceReference; originPath?: string; patternsToMatch?: string[]; - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; ruleSets?: ResourceReference[]; supportedProtocols?: AFDEndpointProtocols[]; } // @public export type Rule = ProxyResource & { + readonly ruleSetName?: string; order?: number; conditions?: DeliveryRuleConditionUnion[]; actions?: DeliveryRuleActionAutoGeneratedUnion[]; @@ -3630,6 +4016,12 @@ export type Rule = ProxyResource & { readonly deploymentStatus?: DeploymentStatus; }; +// @public +export type RuleCacheBehavior = string; + +// @public +export type RuleIsCompressionEnabled = string; + // @public export interface RuleListResult { nextLink?: string; @@ -3639,6 +4031,9 @@ export interface RuleListResult { // @public export type RuleProperties = RuleUpdatePropertiesParameters & AFDStateProperties & {}; +// @public +export type RuleQueryStringCachingBehavior = string; + // @public export interface Rules { beginCreate(resourceGroupName: string, profileName: string, ruleSetName: string, ruleName: string, rule: Rule, options?: RulesCreateOptionalParams): Promise, RulesCreateResponse>>; @@ -3670,6 +4065,7 @@ export interface RulesDeleteOptionalParams extends coreClient.OperationOptions { export type RuleSet = ProxyResource & { readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; + readonly profileName?: string; }; // @public @@ -3679,14 +4075,15 @@ export interface RuleSetListResult { } // @public -export type RuleSetProperties = AFDStateProperties & {}; +export type RuleSetProperties = AFDStateProperties & { + readonly profileName?: string; +}; // @public export interface RuleSets { - beginCreate(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsCreateOptionalParams): Promise, RuleSetsCreateResponse>>; - beginCreateAndWait(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsCreateOptionalParams): Promise; beginDelete(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsDeleteOptionalParams): Promise; + create(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsCreateOptionalParams): Promise; get(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsGetOptionalParams): Promise; listByProfile(resourceGroupName: string, profileName: string, options?: RuleSetsListByProfileOptionalParams): PagedAsyncIterableIterator; listResourceUsage(resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsListResourceUsageOptionalParams): PagedAsyncIterableIterator; @@ -3694,8 +4091,6 @@ export interface RuleSets { // @public export interface RuleSetsCreateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; } // @public @@ -3778,6 +4173,7 @@ export interface RuleUpdateParameters { conditions?: DeliveryRuleConditionUnion[]; matchProcessingBehavior?: MatchProcessingBehavior; order?: number; + readonly ruleSetName?: string; } // @public @@ -3786,12 +4182,14 @@ export interface RuleUpdatePropertiesParameters { conditions?: DeliveryRuleConditionUnion[]; matchProcessingBehavior?: MatchProcessingBehavior; order?: number; + readonly ruleSetName?: string; } // @public export type Secret = ProxyResource & { readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; + readonly profileName?: string; parameters?: SecretParametersUnion; }; @@ -3803,14 +4201,15 @@ export interface SecretListResult { // @public export interface SecretParameters { - type: "UrlSigningKey" | "ManagedCertificate" | "CustomerCertificate"; + type: "UrlSigningKey" | "ManagedCertificate" | "CustomerCertificate" | "AzureFirstPartyManagedCertificate"; } // @public (undocumented) -export type SecretParametersUnion = SecretParameters | UrlSigningKeyParameters | ManagedCertificateParameters | CustomerCertificateParameters; +export type SecretParametersUnion = SecretParameters | UrlSigningKeyParameters | ManagedCertificateParameters | CustomerCertificateParameters | AzureFirstPartyManagedCertificateParameters; // @public export type SecretProperties = AFDStateProperties & { + readonly profileName?: string; parameters?: SecretParametersUnion; }; @@ -3820,8 +4219,6 @@ export interface Secrets { beginCreateAndWait(resourceGroupName: string, profileName: string, secretName: string, secret: Secret, options?: SecretsCreateOptionalParams): Promise; beginDelete(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, profileName: string, secretName: string, secretProperties: SecretProperties, options?: SecretsUpdateOptionalParams): Promise, SecretsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, profileName: string, secretName: string, secretProperties: SecretProperties, options?: SecretsUpdateOptionalParams): Promise; get(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsGetOptionalParams): Promise; listByProfile(resourceGroupName: string, profileName: string, options?: SecretsListByProfileOptionalParams): PagedAsyncIterableIterator; } @@ -3862,15 +4259,6 @@ export interface SecretsListByProfileOptionalParams extends coreClient.Operation // @public export type SecretsListByProfileResponse = SecretListResult; -// @public -export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; -} - -// @public -export type SecretsUpdateResponse = Secret; - // @public export type SecretType = string; @@ -3935,6 +4323,7 @@ export type SecurityPoliciesPatchResponse = SecurityPolicy; export type SecurityPolicy = ProxyResource & { readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; + readonly profileName?: string; parameters?: SecurityPolicyParametersUnion; }; @@ -3954,6 +4343,7 @@ export type SecurityPolicyParametersUnion = SecurityPolicyParameters | SecurityP // @public export type SecurityPolicyProperties = AFDStateProperties & { + readonly profileName?: string; parameters?: SecurityPolicyParametersUnion; }; @@ -3962,7 +4352,7 @@ export type SecurityPolicyType = string; // @public export interface SecurityPolicyWebApplicationFirewallAssociation { - domains?: ResourceReference[]; + domains?: ActivatedResourceReference[]; patternsToMatch?: string[]; } @@ -3973,6 +4363,24 @@ export type SecurityPolicyWebApplicationFirewallParameters = SecurityPolicyParam associations?: SecurityPolicyWebApplicationFirewallAssociation[]; }; +// @public +export interface ServerPortMatchConditionParameters { + matchValues?: string[]; + negateCondition?: boolean; + operator: ServerPortOperator; + // (undocumented) + typeName: "DeliveryRuleServerPortConditionParameters"; +} + +// @public +export type ServerPortOperator = string; + +// @public +export interface ServiceSpecification { + logSpecifications?: LogSpecification[]; + metricSpecifications?: MetricSpecification[]; +} + // @public export interface SharedPrivateLinkResourceProperties { groupId?: string; @@ -3993,6 +4401,33 @@ export interface Sku { // @public export type SkuName = string; +// @public +export interface SocketAddrMatchConditionParameters { + matchValues?: string[]; + negateCondition?: boolean; + operator: SocketAddrOperator; + // (undocumented) + typeName: "DeliveryRuleSocketAddrConditionParameters"; +} + +// @public +export type SocketAddrOperator = string; + +// @public +export type SslProtocol = string; + +// @public +export interface SslProtocolMatchConditionParameters { + matchValues?: SslProtocol[]; + negateCondition?: boolean; + operator: SslProtocolOperator; + // (undocumented) + typeName: "DeliveryRuleSslProtocolConditionParameters"; +} + +// @public +export type SslProtocolOperator = string; + // @public export interface SsoUri { readonly ssoUriValue?: string; @@ -4037,10 +4472,10 @@ export type UpdateRule = string; export interface UrlFileExtensionMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters"; operator: UrlFileExtensionOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleUrlFileExtensionMatchConditionParameters"; } // @public @@ -4050,10 +4485,10 @@ export type UrlFileExtensionOperator = string; export interface UrlFileNameMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters"; operator: UrlFileNameOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleUrlFilenameConditionParameters"; } // @public @@ -4063,10 +4498,10 @@ export type UrlFileNameOperator = string; export interface UrlPathMatchConditionParameters { matchValues?: string[]; negateCondition?: boolean; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters"; operator: UrlPathOperator; transforms?: Transform[]; + // (undocumented) + typeName: "DeliveryRuleUrlPathMatchConditionParameters"; } // @public @@ -4085,9 +4520,9 @@ export interface UrlRedirectActionParameters { customPath?: string; customQueryString?: string; destinationProtocol?: DestinationProtocol; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"; redirectType: RedirectType; + // (undocumented) + typeName: "DeliveryRuleUrlRedirectActionParameters"; } // @public @@ -4099,10 +4534,10 @@ export type UrlRewriteAction = DeliveryRuleActionAutoGenerated & { // @public export interface UrlRewriteActionParameters { destination: string; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"; preserveUnmatchedPath?: boolean; sourcePattern: string; + // (undocumented) + typeName: "DeliveryRuleUrlRewriteActionParameters"; } // @public @@ -4114,9 +4549,9 @@ export type UrlSigningAction = DeliveryRuleActionAutoGenerated & { // @public export interface UrlSigningActionParameters { algorithm?: Algorithm_2; - // (undocumented) - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlSigningActionParameters"; parameterNameOverride?: UrlSigningParamIdentifier[]; + // (undocumented) + typeName: "DeliveryRuleUrlSigningActionParameters"; } // @public @@ -4208,7 +4643,8 @@ export type ValidateProbeResponse = ValidateProbeOutput; // @public export interface ValidateSecretInput { secretSource: ResourceReference; - secretType: ValidateSecretType; + secretType: SecretType; + secretVersion?: string; } // @public @@ -4224,9 +4660,6 @@ export interface ValidateSecretOutput { // @public export type ValidateSecretResponse = ValidateSecretOutput; -// @public -export type ValidateSecretType = string; - // @public export interface ValidationToken { readonly token?: string; @@ -4238,6 +4671,9 @@ export type WafAction = string; // @public export type WafGranularity = string; +// @public +export type WafMatchVariable = string; + // @public export type WafMetric = string; diff --git a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts index 7db6755e7456..a6915874930d 100644 --- a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts +++ b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts @@ -9,14 +9,6 @@ import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-auth"; import { - ProfilesImpl, - EndpointsImpl, - OriginsImpl, - OriginGroupsImpl, - CustomDomainsImpl, - ResourceUsageOperationsImpl, - OperationsImpl, - EdgeNodesImpl, AFDProfilesImpl, AFDCustomDomainsImpl, AFDEndpointsImpl, @@ -29,18 +21,18 @@ import { SecretsImpl, ValidateImpl, LogAnalyticsImpl, + ProfilesImpl, + EndpointsImpl, + OriginsImpl, + OriginGroupsImpl, + CustomDomainsImpl, + ResourceUsageOperationsImpl, + OperationsImpl, + EdgeNodesImpl, PoliciesImpl, ManagedRuleSetsImpl } from "./operations"; import { - Profiles, - Endpoints, - Origins, - OriginGroups, - CustomDomains, - ResourceUsageOperations, - Operations, - EdgeNodes, AFDProfiles, AFDCustomDomains, AFDEndpoints, @@ -53,6 +45,14 @@ import { Secrets, Validate, LogAnalytics, + Profiles, + Endpoints, + Origins, + OriginGroups, + CustomDomains, + ResourceUsageOperations, + Operations, + EdgeNodes, Policies, ManagedRuleSets } from "./operationsInterfaces"; @@ -102,7 +102,7 @@ export class CdnManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-cdn/6.0.0`; + const packageDetails = `azsdk-js-arm-cdn/7.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -125,15 +125,7 @@ export class CdnManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2020-09-01"; - this.profiles = new ProfilesImpl(this); - this.endpoints = new EndpointsImpl(this); - this.origins = new OriginsImpl(this); - this.originGroups = new OriginGroupsImpl(this); - this.customDomains = new CustomDomainsImpl(this); - this.resourceUsageOperations = new ResourceUsageOperationsImpl(this); - this.operations = new OperationsImpl(this); - this.edgeNodes = new EdgeNodesImpl(this); + this.apiVersion = options.apiVersion || "2021-06-01"; this.aFDProfiles = new AFDProfilesImpl(this); this.aFDCustomDomains = new AFDCustomDomainsImpl(this); this.aFDEndpoints = new AFDEndpointsImpl(this); @@ -146,6 +138,14 @@ export class CdnManagementClient extends coreClient.ServiceClient { this.secrets = new SecretsImpl(this); this.validate = new ValidateImpl(this); this.logAnalytics = new LogAnalyticsImpl(this); + this.profiles = new ProfilesImpl(this); + this.endpoints = new EndpointsImpl(this); + this.origins = new OriginsImpl(this); + this.originGroups = new OriginGroupsImpl(this); + this.customDomains = new CustomDomainsImpl(this); + this.resourceUsageOperations = new ResourceUsageOperationsImpl(this); + this.operations = new OperationsImpl(this); + this.edgeNodes = new EdgeNodesImpl(this); this.policies = new PoliciesImpl(this); this.managedRuleSets = new ManagedRuleSetsImpl(this); } @@ -199,14 +199,6 @@ export class CdnManagementClient extends coreClient.ServiceClient { ); } - profiles: Profiles; - endpoints: Endpoints; - origins: Origins; - originGroups: OriginGroups; - customDomains: CustomDomains; - resourceUsageOperations: ResourceUsageOperations; - operations: Operations; - edgeNodes: EdgeNodes; aFDProfiles: AFDProfiles; aFDCustomDomains: AFDCustomDomains; aFDEndpoints: AFDEndpoints; @@ -219,6 +211,14 @@ export class CdnManagementClient extends coreClient.ServiceClient { secrets: Secrets; validate: Validate; logAnalytics: LogAnalytics; + profiles: Profiles; + endpoints: Endpoints; + origins: Origins; + originGroups: OriginGroups; + customDomains: CustomDomains; + resourceUsageOperations: ResourceUsageOperations; + operations: Operations; + edgeNodes: EdgeNodes; policies: Policies; managedRuleSets: ManagedRuleSets; } diff --git a/sdk/cdn/arm-cdn/src/models/index.ts b/sdk/cdn/arm-cdn/src/models/index.ts index 42508ba9ceae..a303a6d8162f 100644 --- a/sdk/cdn/arm-cdn/src/models/index.ts +++ b/sdk/cdn/arm-cdn/src/models/index.ts @@ -23,7 +23,12 @@ export type DeliveryRuleConditionUnion = | DeliveryRuleUrlFileNameCondition | DeliveryRuleHttpVersionCondition | DeliveryRuleCookiesCondition - | DeliveryRuleIsDeviceCondition; + | DeliveryRuleIsDeviceCondition + | DeliveryRuleSocketAddrCondition + | DeliveryRuleClientPortCondition + | DeliveryRuleServerPortCondition + | DeliveryRuleHostNameCondition + | DeliveryRuleSslProtocolCondition; export type DeliveryRuleActionAutoGeneratedUnion = | DeliveryRuleActionAutoGenerated | UrlRedirectAction @@ -33,11 +38,8 @@ export type DeliveryRuleActionAutoGeneratedUnion = | DeliveryRuleRequestHeaderAction | DeliveryRuleResponseHeaderAction | DeliveryRuleCacheExpirationAction - | DeliveryRuleCacheKeyQueryStringAction; -export type CustomDomainHttpsParametersUnion = - | CustomDomainHttpsParameters - | CdnManagedHttpsParameters - | UserManagedHttpsParameters; + | DeliveryRuleCacheKeyQueryStringAction + | DeliveryRuleRouteConfigurationOverrideAction; export type SecurityPolicyParametersUnion = | SecurityPolicyParameters | SecurityPolicyWebApplicationFirewallParameters; @@ -45,23 +47,185 @@ export type SecretParametersUnion = | SecretParameters | UrlSigningKeyParameters | ManagedCertificateParameters - | CustomerCertificateParameters; + | CustomerCertificateParameters + | AzureFirstPartyManagedCertificateParameters; +export type CustomDomainHttpsParametersUnion = + | CustomDomainHttpsParameters + | CdnManagedHttpsParameters + | UserManagedHttpsParameters; -/** Result of the request to list profiles. It contains a list of profile objects and a URL link to get the next set of results. */ -export interface ProfileListResult { +/** The list usages operation response. */ +export interface UsagesListResult { + /** The list of resource usages. */ + value?: Usage[]; + /** URL to get the next set of results. */ + nextLink?: string; +} + +/** Describes resource usage. */ +export interface Usage { /** - * List of CDN profiles within a resource group. + * Resource identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Profile[]; - /** URL to get the next set of profile objects if there are any. */ + readonly id?: string; + /** An enum describing the unit of measurement. */ + unit: UsageUnit; + /** The current value of the usage. */ + currentValue: number; + /** The limit of usage. */ + limit: number; + /** The name of the type of usage. */ + name: UsageName; +} + +/** The usage names. */ +export interface UsageName { + /** A string describing the resource name. */ + value?: string; + /** A localized string describing the resource name. */ + localizedValue?: string; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface AfdErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; +} + +/** Input of CheckHostNameAvailability API. */ +export interface CheckHostNameAvailabilityInput { + /** The host name to validate. */ + hostName: string; +} + +/** Output of check name availability API. */ +export interface CheckNameAvailabilityOutput { + /** + * Indicates whether the name is available. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nameAvailable?: boolean; + /** + * The reason why the name is not available. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly reason?: string; + /** + * The detailed error message describing why the name is not available. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; +} + +/** Result of the request to list domains. It contains a list of domain objects and a URL link to get the next set of results. */ +export interface AFDDomainListResult { + /** + * List of AzureFrontDoor domains within a profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: AFDDomain[]; + /** URL to get the next set of domain objects if there are any. */ nextLink?: string; } -/** The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. */ -export interface Sku { - /** Name of the pricing tier. */ - name?: SkuName; +/** The JSON object that contains the properties to validate a domain. */ +export interface DomainValidationProperties { + /** + * Challenge used for DNS TXT record or file based validation + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly validationToken?: string; + /** + * The date time that the token expires + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly expirationDate?: string; +} + +/** The JSON object that contains the properties of the domain to create. */ +export interface AFDDomainUpdatePropertiesParameters { + /** + * The name of the profile which holds the domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. */ + tlsSettings?: AFDDomainHttpsParameters; + /** Resource reference to the Azure DNS zone */ + azureDnsZone?: ResourceReference; + /** Resource reference to the Azure resource where custom domain ownership was prevalidated */ + preValidatedCustomDomainResourceId?: ResourceReference; +} + +/** The JSON object that contains the properties to secure a domain. */ +export interface AFDDomainHttpsParameters { + /** Defines the source of the SSL certificate. */ + certificateType: AfdCertificateType; + /** TLS protocol version that will be used for Https */ + minimumTlsVersion?: AfdMinimumTlsVersion; + /** Resource reference to the secret. ie. subs/rg/profile/secret */ + secret?: ResourceReference; +} + +/** Reference to another resource. */ +export interface ResourceReference { + /** Resource ID. */ + id?: string; +} + +/** The tracking states for afd resources. */ +export interface AFDStateProperties { + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; } /** The core properties of ARM resources */ @@ -104,130 +268,131 @@ export interface SystemData { lastModifiedAt?: Date; } -/** Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message. */ -export interface ErrorResponse { - /** - * Error code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; +/** The domain JSON object required for domain creation or update. */ +export interface AFDDomainUpdateParameters { /** - * Error message indicating why the operation failed. + * The name of the profile which holds the domain. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; -} - -/** Properties required to update a profile. */ -export interface ProfileUpdateParameters { - /** Profile tags */ - tags?: { [propertyName: string]: string }; + readonly profileName?: string; + /** The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. */ + tlsSettings?: AFDDomainHttpsParameters; + /** Resource reference to the Azure DNS zone */ + azureDnsZone?: ResourceReference; + /** Resource reference to the Azure resource where custom domain ownership was prevalidated */ + preValidatedCustomDomainResourceId?: ResourceReference; } -/** The URI required to login to the supplemental portal from the Azure portal. */ -export interface SsoUri { +/** Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results. */ +export interface AFDEndpointListResult { /** - * The URI used to login to the supplemental portal. + * List of AzureFrontDoor endpoints within a profile * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly ssoUriValue?: string; + readonly value?: AFDEndpoint[]; + /** URL to get the next set of endpoint objects if there is any. */ + nextLink?: string; } -/** The result of the GetSupportedOptimizationTypes API */ -export interface SupportedOptimizationTypesListResult { +/** The JSON object containing endpoint update parameters. */ +export interface AFDEndpointPropertiesUpdateParameters { /** - * Supported optimization types for a profile. + * The name of the profile which holds the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly supportedOptimizationTypes?: OptimizationType[]; + readonly profileName?: string; + /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ + enabledState?: EnabledState; + /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ + originResponseTimeoutSeconds?: number; } -/** Output of check resource usage API. */ -export interface ResourceUsageListResult { +/** Properties required to create or update an endpoint. */ +export interface AFDEndpointUpdateParameters { + /** Endpoint tags. */ + tags?: { [propertyName: string]: string }; /** - * List of resource usages. + * The name of the profile which holds the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: ResourceUsage[]; - /** URL to get the next set of custom domain objects if there are any. */ - nextLink?: string; + readonly profileName?: string; + /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ + enabledState?: EnabledState; + /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ + originResponseTimeoutSeconds?: number; } -/** Output of check resource usage API. */ -export interface ResourceUsage { - /** - * Resource type for which the usage is provided. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; +/** Parameters required for content purge. */ +export interface AfdPurgeParameters { + /** The path to the content to be purged. Can describe a file path or a wild card directory. */ + contentPaths: string[]; + /** List of domains. */ + domains?: string[]; +} + +/** Input of the custom domain to be validated for DNS mapping. */ +export interface ValidateCustomDomainInput { + /** The host name of the custom domain. Must be a domain name. */ + hostName: string; +} + +/** Output of custom domain validation. */ +export interface ValidateCustomDomainOutput { /** - * Unit of the usage. e.g. Count. + * Indicates whether the custom domain is valid or not. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: string; + readonly customDomainValidated?: boolean; /** - * Actual value of usage on the specified resource type. + * The reason why the custom domain is not valid. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly reason?: string; /** - * Quota of the specified resource type. + * Error message describing why the custom domain is not valid. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly limit?: number; + readonly message?: string; } -/** Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results. */ -export interface EndpointListResult { +/** Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results. */ +export interface AFDOriginGroupListResult { /** - * List of CDN endpoints within a profile + * List of CDN origin groups within an endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Endpoint[]; - /** URL to get the next set of endpoint objects if there is any. */ + readonly value?: AFDOriginGroup[]; + /** URL to get the next set of origin objects if there are any. */ nextLink?: string; } -/** The main origin of CDN content which is added when creating a CDN endpoint. */ -export interface DeepCreatedOrigin { - /** Origin name which must be unique within the endpoint. */ - name: string; - /** The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. */ - hostName?: string; - /** The value of the HTTP port. Must be between 1 and 65535. */ - httpPort?: number; - /** The value of the HTTPS port. Must be between 1 and 65535. */ - httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ - originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. */ - priority?: number; - /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ - weight?: number; - /** Origin is enabled for load balancing or not. By default, origin is always enabled. */ - enabled?: boolean; - /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ - privateLinkAlias?: string; - /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ - privateLinkResourceId?: string; - /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ - privateLinkLocation?: string; - /** A custom message to be included in the approval request to connect to the Private Link. */ - privateLinkApprovalMessage?: string; -} - -/** The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. */ -export interface DeepCreatedOriginGroup { - /** Origin group name which must be unique within the endpoint. */ - name: string; +/** The JSON object that contains the properties of the origin group. */ +export interface AFDOriginGroupUpdatePropertiesParameters { + /** + * The name of the profile which holds the origin group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** Load balancing settings for a backend pool */ + loadBalancingSettings?: LoadBalancingSettingsParameters; /** Health probe settings to the origin that is used to determine the health of the origin. */ healthProbeSettings?: HealthProbeParameters; - /** The source of the content being delivered via CDN within given origin group. */ - origins?: ResourceReference[]; /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. */ - responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ + responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + /** Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' */ + sessionAffinityState?: EnabledState; +} + +/** Round-Robin load balancing settings for a backend pool */ +export interface LoadBalancingSettingsParameters { + /** The number of samples to consider for load balancing decisions */ + sampleSize?: number; + /** The number of samples within the sample period that must succeed */ + successfulSamplesRequired?: number; + /** The additional latency in milliseconds for probes to fall into the lowest latency bucket */ + additionalLatencyInMilliseconds?: number; } /** The JSON object that contains the properties to send health probes to origin. */ @@ -242,12 +407,6 @@ export interface HealthProbeParameters { probeIntervalInSeconds?: number; } -/** Reference to another resource. */ -export interface ResourceReference { - /** Resource ID. */ - id?: string; -} - /** The JSON object that contains the properties to determine origin health using real requests/responses. */ export interface ResponseBasedOriginErrorDetectionParameters { /** Type of response errors for real user requests for which origin will be deemed unhealthy */ @@ -266,98 +425,234 @@ export interface HttpErrorRangeParameters { end?: number; } -/** The JSON object containing endpoint update parameters. */ -export interface EndpointPropertiesUpdateParameters { - /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ - originPath?: string; - /** List of content types on which compression applies. The value should be a valid MIME type. */ - contentTypesToCompress?: string[]; - /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ +/** AFDOrigin group properties needed for origin group creation or update. */ +export interface AFDOriginGroupUpdateParameters { + /** + * The name of the profile which holds the origin group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** Load balancing settings for a backend pool */ + loadBalancingSettings?: LoadBalancingSettingsParameters; + /** Health probe settings to the origin that is used to determine the health of the origin. */ + healthProbeSettings?: HealthProbeParameters; + /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ + responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + /** Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' */ + sessionAffinityState?: EnabledState; +} + +/** Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results. */ +export interface AFDOriginListResult { + /** + * List of CDN origins within an endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: AFDOrigin[]; + /** URL to get the next set of origin objects if there are any. */ + nextLink?: string; +} + +/** The JSON object that contains the properties of the origin. */ +export interface AFDOriginUpdatePropertiesParameters { + /** + * The name of the origin group which contains this origin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly originGroupName?: string; + /** Resource reference to the Azure origin resource. */ + azureOrigin?: ResourceReference; + /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ + hostName?: string; + /** The value of the HTTP port. Must be between 1 and 65535. */ + httpPort?: number; + /** The value of the HTTPS port. Must be between 1 and 65535. */ + httpsPort?: number; + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ originHostHeader?: string; - /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ - isCompressionEnabled?: boolean; - /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpAllowed?: boolean; - /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpsAllowed?: boolean; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: QueryStringCachingBehavior; - /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ - optimizationType?: OptimizationType; - /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ - probePath?: string; - /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ - geoFilters?: GeoFilter[]; - /** A reference to the origin group. */ - defaultOriginGroup?: ResourceReference; - /** List of keys used to validate the signed URL hashes. */ - urlSigningKeys?: UrlSigningKey[]; - /** A policy that specifies the delivery rules to be used for an endpoint. */ - deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; - /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ - webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + priority?: number; + /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ + weight?: number; + /** The properties of the private link resource for private origin. */ + sharedPrivateLinkResource?: Record; + /** Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. */ + enabledState?: EnabledState; + /** Whether to enable certificate name check at origin level */ + enforceCertificateNameCheck?: boolean; } -/** Rules defining user's geo access within a CDN endpoint. */ -export interface GeoFilter { - /** Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) */ - relativePath: string; - /** Action of the geo filter, i.e. allow or block access. */ - action: GeoFilterActions; - /** Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. */ - countryCodes: string[]; +/** AFDOrigin properties needed for origin update. */ +export interface AFDOriginUpdateParameters { + /** + * The name of the origin group which contains this origin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly originGroupName?: string; + /** Resource reference to the Azure origin resource. */ + azureOrigin?: ResourceReference; + /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ + hostName?: string; + /** The value of the HTTP port. Must be between 1 and 65535. */ + httpPort?: number; + /** The value of the HTTPS port. Must be between 1 and 65535. */ + httpsPort?: number; + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ + originHostHeader?: string; + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + priority?: number; + /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ + weight?: number; + /** The properties of the private link resource for private origin. */ + sharedPrivateLinkResource?: Record; + /** Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. */ + enabledState?: EnabledState; + /** Whether to enable certificate name check at origin level */ + enforceCertificateNameCheck?: boolean; } -/** Url signing key */ -export interface UrlSigningKey { - /** Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. */ - keyId: string; - /** Defines the parameters for using customer key vault for Url Signing Key. */ - keySourceParameters: KeyVaultSigningKeyParameters; +/** Result of the request to list routes. It contains a list of route objects and a URL link to get the next set of results. */ +export interface RouteListResult { + /** + * List of AzureFrontDoor routes within a profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Route[]; + /** URL to get the next set of route objects if there are any. */ + nextLink?: string; } -/** Describes the parameters for using a user's KeyVault for URL Signing Key. */ -export interface KeyVaultSigningKeyParameters { - odataType: "#Microsoft.Azure.Cdn.Models.KeyVaultSigningKeyParameters"; - /** Subscription Id of the user's Key Vault containing the secret */ - subscriptionId: string; - /** Resource group of the user's Key Vault containing the secret */ - resourceGroupName: string; - /** The name of the user's Key Vault containing the secret */ - vaultName: string; - /** The name of secret in Key Vault. */ - secretName: string; - /** The version(GUID) of secret in Key Vault. */ - secretVersion: string; +/** The JSON object that contains the properties of the domain to create. */ +export interface RouteUpdatePropertiesParameters { + /** + * The name of the endpoint which holds the route. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endpointName?: string; + /** Domains referenced by this endpoint. */ + customDomains?: ActivatedResourceReference[]; + /** A reference to the origin group. */ + originGroup?: ResourceReference; + /** A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ + originPath?: string; + /** rule sets referenced by this endpoint. */ + ruleSets?: ResourceReference[]; + /** List of supported protocols for this route. */ + supportedProtocols?: AFDEndpointProtocols[]; + /** The route patterns of the rule. */ + patternsToMatch?: string[]; + /** The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. */ + cacheConfiguration?: AfdRouteCacheConfiguration; + /** Protocol this rule will use when forwarding traffic to backends. */ + forwardingProtocol?: ForwardingProtocol; + /** whether this route will be linked to the default endpoint domain. */ + linkToDefaultDomain?: LinkToDefaultDomain; + /** Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. */ + httpsRedirect?: HttpsRedirect; + /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ + enabledState?: EnabledState; } -/** A policy that specifies the delivery rules to be used for an endpoint. */ -export interface EndpointPropertiesUpdateParametersDeliveryPolicy { - /** User-friendly description of the policy. */ - description?: string; - /** A list of the delivery rules. */ - rules: DeliveryRule[]; +/** Reference to another resource along with its state. */ +export interface ActivatedResourceReference { + /** Resource ID. */ + id?: string; + /** + * Whether the resource is active or inactive + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isActive?: boolean; } -/** A rule that specifies a set of actions and conditions */ -export interface DeliveryRule { - /** Name of the rule */ - name?: string; - /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ - order: number; - /** A list of conditions that must be matched for the actions to be executed */ - conditions?: DeliveryRuleConditionUnion[]; - /** A list of actions that are executed when all the conditions of a rule are satisfied. */ - actions: DeliveryRuleActionAutoGeneratedUnion[]; +/** Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ +export interface AfdRouteCacheConfiguration { + /** Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. */ + queryStringCachingBehavior?: AfdQueryStringCachingBehavior; + /** query parameters to include or exclude (comma separated). */ + queryParameters?: string; + /** compression settings. */ + compressionSettings?: Record; } -/** A condition for the delivery rule. */ -export interface DeliveryRuleCondition { - /** Polymorphic discriminator, which specifies the different types this object can be */ - name: - | "RemoteAddress" - | "RequestMethod" - | "QueryString" +/** The domain JSON object required for domain creation or update. */ +export interface RouteUpdateParameters { + /** + * The name of the endpoint which holds the route. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endpointName?: string; + /** Domains referenced by this endpoint. */ + customDomains?: ActivatedResourceReference[]; + /** A reference to the origin group. */ + originGroup?: ResourceReference; + /** A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ + originPath?: string; + /** rule sets referenced by this endpoint. */ + ruleSets?: ResourceReference[]; + /** List of supported protocols for this route. */ + supportedProtocols?: AFDEndpointProtocols[]; + /** The route patterns of the rule. */ + patternsToMatch?: string[]; + /** The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. */ + cacheConfiguration?: AfdRouteCacheConfiguration; + /** Protocol this rule will use when forwarding traffic to backends. */ + forwardingProtocol?: ForwardingProtocol; + /** whether this route will be linked to the default endpoint domain. */ + linkToDefaultDomain?: LinkToDefaultDomain; + /** Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. */ + httpsRedirect?: HttpsRedirect; + /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ + enabledState?: EnabledState; +} + +/** Result of the request to list rule sets. It contains a list of rule set objects and a URL link to get the next set of results. */ +export interface RuleSetListResult { + /** + * List of AzureFrontDoor rule sets within a profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: RuleSet[]; + /** URL to get the next set of rule set objects if there are any. */ + nextLink?: string; +} + +/** Result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results. */ +export interface RuleListResult { + /** + * List of AzureFrontDoor rules within a rule set. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Rule[]; + /** URL to get the next set of rule objects if there are any. */ + nextLink?: string; +} + +/** The JSON object that contains the properties of the rule to update. */ +export interface RuleUpdatePropertiesParameters { + /** + * The name of the rule set containing the rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly ruleSetName?: string; + /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ + order?: number; + /** A list of conditions that must be matched for the actions to be executed */ + conditions?: DeliveryRuleConditionUnion[]; + /** A list of actions that are executed when all the conditions of a rule are satisfied. */ + actions?: DeliveryRuleActionAutoGeneratedUnion[]; + /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ + matchProcessingBehavior?: MatchProcessingBehavior; +} + +/** A condition for the delivery rule. */ +export interface DeliveryRuleCondition { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: + | "RemoteAddress" + | "RequestMethod" + | "QueryString" | "PostArgs" | "RequestUri" | "RequestHeader" @@ -368,7 +663,12 @@ export interface DeliveryRuleCondition { | "UrlFileName" | "HttpVersion" | "Cookies" - | "IsDevice"; + | "IsDevice" + | "SocketAddr" + | "ClientPort" + | "ServerPort" + | "HostName" + | "SslProtocol"; } /** An action for the delivery rule. */ @@ -382,876 +682,824 @@ export interface DeliveryRuleActionAutoGenerated { | "ModifyRequestHeader" | "ModifyResponseHeader" | "CacheExpiration" - | "CacheKeyQueryString"; -} - -/** Defines the Web Application Firewall policy for the endpoint (if applicable) */ -export interface EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink { - /** Resource ID. */ - id?: string; -} - -/** Properties required to create or update an endpoint. */ -export interface EndpointUpdateParameters { - /** Endpoint tags. */ - tags?: { [propertyName: string]: string }; - /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ - originPath?: string; - /** List of content types on which compression applies. The value should be a valid MIME type. */ - contentTypesToCompress?: string[]; - /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ - originHostHeader?: string; - /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ - isCompressionEnabled?: boolean; - /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpAllowed?: boolean; - /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpsAllowed?: boolean; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: QueryStringCachingBehavior; - /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ - optimizationType?: OptimizationType; - /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ - probePath?: string; - /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ - geoFilters?: GeoFilter[]; - /** A reference to the origin group. */ - defaultOriginGroup?: ResourceReference; - /** List of keys used to validate the signed URL hashes. */ - urlSigningKeys?: UrlSigningKey[]; - /** A policy that specifies the delivery rules to be used for an endpoint. */ - deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; - /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ - webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; -} - -/** Parameters required for content purge. */ -export interface PurgeParameters { - /** The path to the content to be purged. Can describe a file path or a wild card directory. */ - contentPaths: string[]; -} - -/** Parameters required for content load. */ -export interface LoadParameters { - /** The path to the content to be loaded. Path should be a relative file URL of the origin. */ - contentPaths: string[]; -} - -/** Input of the custom domain to be validated for DNS mapping. */ -export interface ValidateCustomDomainInput { - /** The host name of the custom domain. Must be a domain name. */ - hostName: string; + | "CacheKeyQueryString" + | "RouteConfigurationOverride"; } -/** Output of custom domain validation. */ -export interface ValidateCustomDomainOutput { - /** - * Indicates whether the custom domain is valid or not. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly customDomainValidated?: boolean; - /** - * The reason why the custom domain is not valid. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reason?: string; +/** The domain JSON object required for domain creation or update. */ +export interface RuleUpdateParameters { /** - * Error message describing why the custom domain is not valid. + * The name of the rule set containing the rule. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; + readonly ruleSetName?: string; + /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ + order?: number; + /** A list of conditions that must be matched for the actions to be executed */ + conditions?: DeliveryRuleConditionUnion[]; + /** A list of actions that are executed when all the conditions of a rule are satisfied. */ + actions?: DeliveryRuleActionAutoGeneratedUnion[]; + /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ + matchProcessingBehavior?: MatchProcessingBehavior; } -/** Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results. */ -export interface OriginListResult { +/** Result of the request to list security policies. It contains a list of security policy objects and a URL link to get the next set of results. */ +export interface SecurityPolicyListResult { /** - * List of CDN origins within an endpoint + * List of Security policies within a profile * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Origin[]; - /** URL to get the next set of origin objects if there are any. */ + readonly value?: SecurityPolicy[]; + /** URL to get the next set of security policy objects if there is any. */ nextLink?: string; } -/** The JSON object that contains the properties of the origin. */ -export interface OriginUpdatePropertiesParameters { - /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ - hostName?: string; - /** The value of the HTTP port. Must be between 1 and 65535. */ - httpPort?: number; - /** The value of the HTTPS port. Must be between 1 and 65535. */ - httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ - originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ - priority?: number; - /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ - weight?: number; - /** Origin is enabled for load balancing or not */ - enabled?: boolean; - /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ - privateLinkAlias?: string; - /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ - privateLinkResourceId?: string; - /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ - privateLinkLocation?: string; - /** A custom message to be included in the approval request to connect to the Private Link. */ - privateLinkApprovalMessage?: string; -} - -/** Origin properties needed for origin update. */ -export interface OriginUpdateParameters { - /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ - hostName?: string; - /** The value of the HTTP port. Must be between 1 and 65535. */ - httpPort?: number; - /** The value of the HTTPS port. Must be between 1 and 65535. */ - httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ - originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ - priority?: number; - /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ - weight?: number; - /** Origin is enabled for load balancing or not */ - enabled?: boolean; - /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ - privateLinkAlias?: string; - /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ - privateLinkResourceId?: string; - /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ - privateLinkLocation?: string; - /** A custom message to be included in the approval request to connect to the Private Link. */ - privateLinkApprovalMessage?: string; +/** The json object containing security policy parameters */ +export interface SecurityPolicyParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WebApplicationFirewall"; } -/** Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results. */ -export interface OriginGroupListResult { +/** Result of the request to list secrets. It contains a list of Secret objects and a URL link to get the next set of results. */ +export interface SecretListResult { /** - * List of CDN origin groups within an endpoint + * List of AzureFrontDoor secrets within a profile. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: OriginGroup[]; - /** URL to get the next set of origin objects if there are any. */ + readonly value?: Secret[]; + /** URL to get the next set of Secret objects if there are any. */ nextLink?: string; } -/** The JSON object that contains the properties of the origin group. */ -export interface OriginGroupUpdatePropertiesParameters { - /** Health probe settings to the origin that is used to determine the health of the origin. */ - healthProbeSettings?: HealthProbeParameters; - /** The source of the content being delivered via CDN within given origin group. */ - origins?: ResourceReference[]; - /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ - responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; +/** The json object containing secret parameters */ +export interface SecretParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "UrlSigningKey" + | "ManagedCertificate" + | "CustomerCertificate" + | "AzureFirstPartyManagedCertificate"; } -/** Origin group properties needed for origin group creation or update. */ -export interface OriginGroupUpdateParameters { - /** Health probe settings to the origin that is used to determine the health of the origin. */ - healthProbeSettings?: HealthProbeParameters; - /** The source of the content being delivered via CDN within given origin group. */ - origins?: ResourceReference[]; - /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ - responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; +/** Input of the secret to be validated. */ +export interface ValidateSecretInput { + /** The secret type. */ + secretType: SecretType; + /** Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ + secretSource: ResourceReference; + /** Secret version, if customer is using a specific version. */ + secretVersion?: string; } -/** Result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results. */ -export interface CustomDomainListResult { - /** - * List of CDN CustomDomains within an endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: CustomDomain[]; - /** URL to get the next set of custom domain objects if there are any. */ - nextLink?: string; +/** Output of the validated secret. */ +export interface ValidateSecretOutput { + /** The validation status. */ + status?: Status; + /** Detailed error message */ + message?: string; } -/** The JSON object that contains the properties to secure a custom domain. */ -export interface CustomDomainHttpsParameters { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "Cdn" | "AzureKeyVault"; - /** Defines the TLS extension protocol that is used for secure delivery. */ - protocolType: ProtocolType; - /** TLS protocol version that will be used for Https */ - minimumTlsVersion?: MinimumTlsVersion; +/** Metrics Response */ +export interface MetricsResponse { + dateTimeBegin?: Date; + dateTimeEnd?: Date; + granularity?: MetricsResponseGranularity; + series?: MetricsResponseSeriesItem[]; } -/** The customDomain JSON object required for custom domain creation or update. */ -export interface CustomDomainParameters { - /** The host name of the custom domain. Must be a domain name. */ - hostName?: string; +export interface MetricsResponseSeriesItem { + metric?: string; + unit?: MetricsResponseSeriesItemUnit; + groups?: MetricsResponseSeriesPropertiesItemsItem[]; + data?: Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems[]; } -/** Input of CheckNameAvailability API. */ -export interface CheckNameAvailabilityInput { - /** The resource name to validate. */ - name: string; - /** The type of the resource whose name is to be validated. */ - type: "Microsoft.Cdn/Profiles/Endpoints"; +export interface MetricsResponseSeriesPropertiesItemsItem { + name?: string; + value?: string; } -/** Output of check name availability API. */ -export interface CheckNameAvailabilityOutput { +export interface Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems { + dateTime?: Date; + value?: number; +} + +/** Rankings Response */ +export interface RankingsResponse { + dateTimeBegin?: Date; + dateTimeEnd?: Date; + tables?: RankingsResponseTablesItem[]; +} + +export interface RankingsResponseTablesItem { + ranking?: string; + data?: RankingsResponseTablesPropertiesItemsItem[]; +} + +export interface RankingsResponseTablesPropertiesItemsItem { + name?: string; + metrics?: RankingsResponseTablesPropertiesItemsMetricsItem[]; +} + +export interface RankingsResponseTablesPropertiesItemsMetricsItem { + metric?: string; + value?: number; + percentage?: number; +} + +/** Continents Response */ +export interface ContinentsResponse { + continents?: ContinentsResponseContinentsItem[]; + countryOrRegions?: ContinentsResponseCountryOrRegionsItem[]; +} + +export interface ContinentsResponseContinentsItem { + id?: string; +} + +export interface ContinentsResponseCountryOrRegionsItem { + id?: string; + continentId?: string; +} + +/** Resources Response */ +export interface ResourcesResponse { + endpoints?: ResourcesResponseEndpointsItem[]; + customDomains?: ResourcesResponseCustomDomainsItem[]; +} + +export interface ResourcesResponseEndpointsItem { + id?: string; + name?: string; + history?: boolean; + customDomains?: ResourcesResponseEndpointsPropertiesItemsItem[]; +} + +export interface ResourcesResponseEndpointsPropertiesItemsItem { + id?: string; + name?: string; + endpointId?: string; + history?: boolean; +} + +export interface ResourcesResponseCustomDomainsItem { + id?: string; + name?: string; + endpointId?: string; + history?: boolean; +} + +/** Waf Metrics Response */ +export interface WafMetricsResponse { + dateTimeBegin?: Date; + dateTimeEnd?: Date; + granularity?: WafMetricsResponseGranularity; + series?: WafMetricsResponseSeriesItem[]; +} + +export interface WafMetricsResponseSeriesItem { + metric?: string; + unit?: "count"; + groups?: WafMetricsResponseSeriesPropertiesItemsItem[]; + data?: Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems[]; +} + +export interface WafMetricsResponseSeriesPropertiesItemsItem { + name?: string; + value?: string; +} + +export interface Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems { + dateTime?: Date; + value?: number; +} + +/** Waf Rankings Response */ +export interface WafRankingsResponse { + dateTimeBegin?: Date; + dateTimeEnd?: Date; + groups?: string[]; + data?: WafRankingsResponseDataItem[]; +} + +export interface WafRankingsResponseDataItem { + groupValues?: string[]; + metrics?: ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems[]; +} + +export interface ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems { + metric?: string; + value?: number; + percentage?: number; +} + +/** Result of the request to list profiles. It contains a list of profile objects and a URL link to get the next set of results. */ +export interface ProfileListResult { /** - * Indicates whether the name is available. + * List of CDN profiles within a resource group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nameAvailable?: boolean; + readonly value?: Profile[]; + /** URL to get the next set of profile objects if there are any. */ + nextLink?: string; +} + +/** + * Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + * Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + * Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + * Standard_Akamai = The SKU name for an Akamai CDN profile. + * Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + * Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + * Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + * Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + * Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + * Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + * StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + * StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + * StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + * + */ +export interface Sku { + /** Name of the pricing tier. */ + name?: SkuName; +} + +/** Managed service identity. */ +export interface ManagedServiceIdentity { + /** Type of managed service identity. */ + type?: ManagedServiceIdentityType; /** - * The reason why the name is not available. + * Tenant of managed service identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly reason?: string; + readonly tenantId?: string; /** - * The detailed error message describing why the name is not available. + * Principal Id of managed service identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; + readonly principalId?: string; } -/** Input of the validate probe API. */ -export interface ValidateProbeInput { - /** The probe URL to validate. */ - probeURL: string; +/** Error response indicates Azure Front Door Standard or Azure Front Door Premium or CDN service is not able to process the incoming request. The reason is provided in the error message. */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; } -/** Output of the validate probe API. */ -export interface ValidateProbeOutput { - /** - * Indicates whether the probe URL is accepted or not. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isValid?: boolean; +/** Properties required to update a profile. */ +export interface ProfileUpdateParameters { + /** Profile tags */ + tags?: { [propertyName: string]: string }; +} + +/** The URI required to login to the supplemental portal from the Azure portal. */ +export interface SsoUri { /** - * Specifies the error code when the probe url is not accepted. + * The URI used to login to the supplemental portal. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errorCode?: string; + readonly ssoUriValue?: string; +} + +/** The result of the GetSupportedOptimizationTypes API */ +export interface SupportedOptimizationTypesListResult { /** - * The detailed error message describing why the probe URL is not accepted. + * Supported optimization types for a profile. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; + readonly supportedOptimizationTypes?: OptimizationType[]; } -/** Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results. */ -export interface OperationsListResult { +/** Output of check resource usage API. */ +export interface ResourceUsageListResult { /** - * List of CDN operations supported by the CDN resource provider. + * List of resource usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Operation[]; - /** URL to get the next set of operation list results if there are any. */ + readonly value?: ResourceUsage[]; + /** URL to get the next set of custom domain objects if there are any. */ nextLink?: string; } -/** CDN REST API operation */ -export interface Operation { +/** Output of check resource usage API. */ +export interface ResourceUsage { /** - * Operation name: {provider}/{resource}/{operation} + * Resource type for which the usage is provided. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; - /** The object that represents the operation. */ - display?: OperationDisplay; -} - -/** The object that represents the operation. */ -export interface OperationDisplay { + readonly resourceType?: string; /** - * Service provider: Microsoft.Cdn + * Unit of the usage. e.g. Count. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provider?: string; + readonly unit?: string; /** - * Resource on which the operation is performed: Profile, endpoint, etc. + * Actual value of usage on the specified resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resource?: string; + readonly currentValue?: number; /** - * Operation type: Read, write, delete, etc. + * Quota of the specified resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operation?: string; + readonly limit?: number; } -/** Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results. */ -export interface EdgenodeResult { +/** Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results. */ +export interface EndpointListResult { /** - * Edge node of CDN service. + * List of CDN endpoints within a profile * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: EdgeNode[]; - /** URL to get the next set of edgenode list results if there are any. */ - nextLink?: string; -} - -/** CDN Ip address group */ -export interface IpAddressGroup { - /** The delivery region of the ip address group */ - deliveryRegion?: string; - /** The list of ip v4 addresses. */ - ipv4Addresses?: CidrIpAddress[]; - /** The list of ip v6 addresses. */ - ipv6Addresses?: CidrIpAddress[]; -} - -/** CIDR Ip address */ -export interface CidrIpAddress { - /** Ip address itself. */ - baseIpAddress?: string; - /** The length of the prefix of the ip address. */ - prefixLength?: number; -} - -/** The list usages operation response. */ -export interface UsagesListResult { - /** The list of resource usages. */ - value?: Usage[]; - /** URL to get the next set of results. */ - nextLink?: string; -} - -/** Describes resource usage. */ -export interface Usage { - /** - * Resource identifier. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** An enum describing the unit of measurement. */ - unit: UsageUnit; - /** The current value of the usage. */ - currentValue: number; - /** The limit of usage. */ - limit: number; - /** The name of the type of usage. */ - name: UsageName; -} - -/** The usage names. */ -export interface UsageName { - /** A string describing the resource name. */ - value?: string; - /** A localized string describing the resource name. */ - localizedValue?: string; -} - -/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ -export interface AfdErrorResponse { - /** The error object. */ - error?: ErrorResponse; -} - -/** Result of the request to list domains. It contains a list of domain objects and a URL link to get the next set of results. */ -export interface AFDDomainListResult { - /** - * List of AzureFrontDoor domains within a profile. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AFDDomain[]; - /** URL to get the next set of domain objects if there are any. */ - nextLink?: string; -} - -/** The JSON object that contains the properties to validate a domain. */ -export interface DomainValidationProperties { - /** - * Challenge used for DNS TXT record or file based validation - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly validationToken?: string; - /** - * The date time that the token expires - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly expirationDate?: string; -} - -/** The JSON object that contains the properties of the domain to create. */ -export interface AFDDomainUpdatePropertiesParameters { - /** The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. */ - tlsSettings?: AFDDomainHttpsParameters; - /** Resource reference to the Azure DNS zone */ - azureDnsZone?: ResourceReference; -} - -/** The JSON object that contains the properties to secure a domain. */ -export interface AFDDomainHttpsParameters { - /** Defines the source of the SSL certificate. */ - certificateType: AfdCertificateType; - /** TLS protocol version that will be used for Https */ - minimumTlsVersion?: AfdMinimumTlsVersion; - /** Resource reference to the secret. ie. subs/rg/profile/secret */ - secret?: ResourceReference; -} - -/** The tracking states for afd resources. */ -export interface AFDStateProperties { - /** - * Provisioning status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; -} - -/** The domain JSON object required for domain creation or update. */ -export interface AFDDomainUpdateParameters { - /** The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. */ - tlsSettings?: AFDDomainHttpsParameters; - /** Resource reference to the Azure DNS zone */ - azureDnsZone?: ResourceReference; -} - -/** The validation token. */ -export interface ValidationToken { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly token?: string; -} - -/** Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results. */ -export interface AFDEndpointListResult { - /** - * List of AzureFrontDoor endpoints within a profile - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AFDEndpoint[]; + readonly value?: Endpoint[]; /** URL to get the next set of endpoint objects if there is any. */ nextLink?: string; } -/** The JSON object containing endpoint update parameters. */ -export interface AFDEndpointPropertiesUpdateParameters { - /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ - originResponseTimeoutSeconds?: number; - /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ - enabledState?: EnabledState; -} - -/** Properties required to create or update an endpoint. */ -export interface AFDEndpointUpdateParameters { - /** Endpoint tags. */ - tags?: { [propertyName: string]: string }; - /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ - originResponseTimeoutSeconds?: number; - /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ - enabledState?: EnabledState; -} - -/** Parameters required for content purge. */ -export interface AfdPurgeParameters { - /** The path to the content to be purged. Can describe a file path or a wild card directory. */ - contentPaths: string[]; - /** List of domains. */ - domains?: string[]; -} - -/** Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results. */ -export interface AFDOriginGroupListResult { - /** - * List of CDN origin groups within an endpoint - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AFDOriginGroup[]; - /** URL to get the next set of origin objects if there are any. */ - nextLink?: string; -} - -/** The JSON object that contains the properties of the origin group. */ -export interface AFDOriginGroupUpdatePropertiesParameters { - /** Load balancing settings for a backend pool */ - loadBalancingSettings?: LoadBalancingSettingsParameters; - /** Health probe settings to the origin that is used to determine the health of the origin. */ - healthProbeSettings?: HealthProbeParameters; - /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ - responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; - /** Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' */ - sessionAffinityState?: EnabledState; -} - -/** Round-Robin load balancing settings for a backend pool */ -export interface LoadBalancingSettingsParameters { - /** The number of samples to consider for load balancing decisions */ - sampleSize?: number; - /** The number of samples within the sample period that must succeed */ - successfulSamplesRequired?: number; - /** The additional latency in milliseconds for probes to fall into the lowest latency bucket */ - additionalLatencyInMilliseconds?: number; -} - -/** AFDOrigin group properties needed for origin group creation or update. */ -export interface AFDOriginGroupUpdateParameters { - /** Load balancing settings for a backend pool */ - loadBalancingSettings?: LoadBalancingSettingsParameters; - /** Health probe settings to the origin that is used to determine the health of the origin. */ - healthProbeSettings?: HealthProbeParameters; - /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ - responseBasedAfdOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; - /** Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' */ - sessionAffinityState?: EnabledState; -} - -/** Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results. */ -export interface AFDOriginListResult { - /** - * List of CDN origins within an endpoint - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AFDOrigin[]; - /** URL to get the next set of origin objects if there are any. */ - nextLink?: string; -} - -/** The JSON object that contains the properties of the origin. */ -export interface AFDOriginUpdatePropertiesParameters { - /** Resource reference to the Azure origin resource. */ - azureOrigin?: ResourceReference; - /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ - hostName?: string; - /** The value of the HTTP port. Must be between 1 and 65535. */ - httpPort?: number; - /** The value of the HTTPS port. Must be between 1 and 65535. */ - httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ - originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ - priority?: number; - /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ - weight?: number; - /** The properties of the private link resource for private origin. */ - sharedPrivateLinkResource?: Record; - /** Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. */ - enabledState?: EnabledState; -} - -/** AFDOrigin properties needed for origin update. */ -export interface AFDOriginUpdateParameters { - /** Resource reference to the Azure origin resource. */ - azureOrigin?: ResourceReference; - /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ +/** The main origin of CDN content which is added when creating a CDN endpoint. */ +export interface DeepCreatedOrigin { + /** Origin name which must be unique within the endpoint. */ + name: string; + /** The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. */ hostName?: string; /** The value of the HTTP port. Must be between 1 and 65535. */ httpPort?: number; /** The value of the HTTPS port. Must be between 1 and 65535. */ httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. */ priority?: number; /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ weight?: number; - /** The properties of the private link resource for private origin. */ - sharedPrivateLinkResource?: Record; - /** Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. */ - enabledState?: EnabledState; -} - -/** Result of the request to list routes. It contains a list of route objects and a URL link to get the next set of results. */ -export interface RouteListResult { - /** - * List of AzureFrontDoor routes within a profile. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: Route[]; - /** URL to get the next set of route objects if there are any. */ - nextLink?: string; -} - -/** The JSON object that contains the properties of the domain to create. */ -export interface RouteUpdatePropertiesParameters { - /** Domains referenced by this endpoint. */ - customDomains?: ResourceReference[]; - /** A reference to the origin group. */ - originGroup?: ResourceReference; - /** A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ - originPath?: string; - /** rule sets referenced by this endpoint. */ - ruleSets?: ResourceReference[]; - /** List of supported protocols for this route. */ - supportedProtocols?: AFDEndpointProtocols[]; - /** The route patterns of the rule. */ - patternsToMatch?: string[]; - /** compression settings. */ - compressionSettings?: Record; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; - /** Protocol this rule will use when forwarding traffic to backends. */ - forwardingProtocol?: ForwardingProtocol; - /** whether this route will be linked to the default endpoint domain. */ - linkToDefaultDomain?: LinkToDefaultDomain; - /** Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. */ - httpsRedirect?: HttpsRedirect; - /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ - enabledState?: EnabledState; -} - -/** The domain JSON object required for domain creation or update. */ -export interface RouteUpdateParameters { - /** Domains referenced by this endpoint. */ - customDomains?: ResourceReference[]; - /** A reference to the origin group. */ - originGroup?: ResourceReference; - /** A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ - originPath?: string; - /** rule sets referenced by this endpoint. */ - ruleSets?: ResourceReference[]; - /** List of supported protocols for this route. */ - supportedProtocols?: AFDEndpointProtocols[]; - /** The route patterns of the rule. */ - patternsToMatch?: string[]; - /** compression settings. */ - compressionSettings?: Record; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; - /** Protocol this rule will use when forwarding traffic to backends. */ - forwardingProtocol?: ForwardingProtocol; - /** whether this route will be linked to the default endpoint domain. */ - linkToDefaultDomain?: LinkToDefaultDomain; - /** Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. */ - httpsRedirect?: HttpsRedirect; - /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ - enabledState?: EnabledState; -} - -/** Result of the request to list rule sets. It contains a list of rule set objects and a URL link to get the next set of results. */ -export interface RuleSetListResult { + /** Origin is enabled for load balancing or not. By default, origin is always enabled. */ + enabled?: boolean; + /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ + privateLinkAlias?: string; + /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ + privateLinkResourceId?: string; + /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ + privateLinkLocation?: string; + /** A custom message to be included in the approval request to connect to the Private Link. */ + privateLinkApprovalMessage?: string; /** - * List of AzureFrontDoor rule sets within a profile. + * The approval status for the connection to the Private Link * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: RuleSet[]; - /** URL to get the next set of rule set objects if there are any. */ - nextLink?: string; + readonly privateEndpointStatus?: PrivateEndpointStatus; } -/** Result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results. */ -export interface RuleListResult { - /** - * List of AzureFrontDoor rules within a rule set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: Rule[]; - /** URL to get the next set of rule objects if there are any. */ - nextLink?: string; +/** The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. */ +export interface DeepCreatedOriginGroup { + /** Origin group name which must be unique within the endpoint. */ + name: string; + /** Health probe settings to the origin that is used to determine the health of the origin. */ + healthProbeSettings?: HealthProbeParameters; + /** The source of the content being delivered via CDN within given origin group. */ + origins?: ResourceReference[]; + /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. */ + responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; } -/** The JSON object that contains the properties of the domain to create. */ -export interface RuleUpdatePropertiesParameters { - /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ - order?: number; - /** A list of conditions that must be matched for the actions to be executed */ - conditions?: DeliveryRuleConditionUnion[]; - /** A list of actions that are executed when all the conditions of a rule are satisfied. */ - actions?: DeliveryRuleActionAutoGeneratedUnion[]; - /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ - matchProcessingBehavior?: MatchProcessingBehavior; +/** The JSON object that contains the properties to secure a custom domain. */ +export interface CustomDomainHttpsParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "Cdn" | "AzureKeyVault"; + /** Defines the TLS extension protocol that is used for secure delivery. */ + protocolType: ProtocolType; + /** TLS protocol version that will be used for Https */ + minimumTlsVersion?: MinimumTlsVersion; } -/** The domain JSON object required for domain creation or update. */ -export interface RuleUpdateParameters { - /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ - order?: number; - /** A list of conditions that must be matched for the actions to be executed */ - conditions?: DeliveryRuleConditionUnion[]; - /** A list of actions that are executed when all the conditions of a rule are satisfied. */ - actions?: DeliveryRuleActionAutoGeneratedUnion[]; - /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ - matchProcessingBehavior?: MatchProcessingBehavior; +/** The JSON object containing endpoint update parameters. */ +export interface EndpointPropertiesUpdateParameters { + /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ + originPath?: string; + /** List of content types on which compression applies. The value should be a valid MIME type. */ + contentTypesToCompress?: string[]; + /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ + originHostHeader?: string; + /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ + isCompressionEnabled?: boolean; + /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpAllowed?: boolean; + /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpsAllowed?: boolean; + /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ + queryStringCachingBehavior?: QueryStringCachingBehavior; + /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ + optimizationType?: OptimizationType; + /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ + probePath?: string; + /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ + geoFilters?: GeoFilter[]; + /** A reference to the origin group. */ + defaultOriginGroup?: ResourceReference; + /** List of keys used to validate the signed URL hashes. */ + urlSigningKeys?: UrlSigningKey[]; + /** A policy that specifies the delivery rules to be used for an endpoint. */ + deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; + /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ + webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; } -/** Result of the request to list security policies. It contains a list of security policy objects and a URL link to get the next set of results. */ -export interface SecurityPolicyListResult { - /** - * List of Security policies within a profile - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: SecurityPolicy[]; - /** URL to get the next set of security policy objects if there is any. */ - nextLink?: string; +/** Rules defining user's geo access within a CDN endpoint. */ +export interface GeoFilter { + /** Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) */ + relativePath: string; + /** Action of the geo filter, i.e. allow or block access. */ + action: GeoFilterActions; + /** Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. */ + countryCodes: string[]; } -/** The json object containing security policy parameters */ -export interface SecurityPolicyParameters { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "WebApplicationFirewall"; +/** Url signing key */ +export interface UrlSigningKey { + /** Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. */ + keyId: string; + /** Defines the parameters for using customer key vault for Url Signing Key. */ + keySourceParameters: KeyVaultSigningKeyParameters; } -/** Result of the request to list secrets. It contains a list of Secret objects and a URL link to get the next set of results. */ -export interface SecretListResult { - /** - * List of AzureFrontDoor secrets within a profile. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: Secret[]; - /** URL to get the next set of Secret objects if there are any. */ - nextLink?: string; +/** Describes the parameters for using a user's KeyVault for URL Signing Key. */ +export interface KeyVaultSigningKeyParameters { + typeName: "KeyVaultSigningKeyParameters"; + /** Subscription Id of the user's Key Vault containing the secret */ + subscriptionId: string; + /** Resource group of the user's Key Vault containing the secret */ + resourceGroupName: string; + /** The name of the user's Key Vault containing the secret */ + vaultName: string; + /** The name of secret in Key Vault. */ + secretName: string; + /** The version(GUID) of secret in Key Vault. */ + secretVersion: string; } -/** The json object containing secret parameters */ -export interface SecretParameters { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "UrlSigningKey" | "ManagedCertificate" | "CustomerCertificate"; +/** A policy that specifies the delivery rules to be used for an endpoint. */ +export interface EndpointPropertiesUpdateParametersDeliveryPolicy { + /** User-friendly description of the policy. */ + description?: string; + /** A list of the delivery rules. */ + rules: DeliveryRule[]; } -/** Input of the secret to be validated. */ -export interface ValidateSecretInput { - /** The secret source. */ - secretSource: ResourceReference; - /** The secret type. */ - secretType: ValidateSecretType; +/** A rule that specifies a set of actions and conditions */ +export interface DeliveryRule { + /** Name of the rule */ + name?: string; + /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ + order: number; + /** A list of conditions that must be matched for the actions to be executed */ + conditions?: DeliveryRuleConditionUnion[]; + /** A list of actions that are executed when all the conditions of a rule are satisfied. */ + actions: DeliveryRuleActionAutoGeneratedUnion[]; } -/** Output of the validated secret. */ -export interface ValidateSecretOutput { - /** The validation status. */ - status?: Status; - /** Detailed error message */ - message?: string; +/** Defines the Web Application Firewall policy for the endpoint (if applicable) */ +export interface EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink { + /** Resource ID. */ + id?: string; } -/** Metrics Response */ -export interface MetricsResponse { - dateTimeBegin?: Date; - dateTimeEnd?: Date; - granularity?: MetricsResponseGranularity; - series?: MetricsResponseSeriesItem[]; +/** Properties required to create or update an endpoint. */ +export interface EndpointUpdateParameters { + /** Endpoint tags. */ + tags?: { [propertyName: string]: string }; + /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ + originPath?: string; + /** List of content types on which compression applies. The value should be a valid MIME type. */ + contentTypesToCompress?: string[]; + /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ + originHostHeader?: string; + /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ + isCompressionEnabled?: boolean; + /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpAllowed?: boolean; + /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpsAllowed?: boolean; + /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ + queryStringCachingBehavior?: QueryStringCachingBehavior; + /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ + optimizationType?: OptimizationType; + /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ + probePath?: string; + /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ + geoFilters?: GeoFilter[]; + /** A reference to the origin group. */ + defaultOriginGroup?: ResourceReference; + /** List of keys used to validate the signed URL hashes. */ + urlSigningKeys?: UrlSigningKey[]; + /** A policy that specifies the delivery rules to be used for an endpoint. */ + deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; + /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ + webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; } -export interface MetricsResponseSeriesItem { - metric?: string; - unit?: MetricsResponseSeriesItemUnit; - groups?: MetricsResponseSeriesPropertiesItemsItem[]; - data?: Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems[]; +/** Parameters required for content purge. */ +export interface PurgeParameters { + /** The path to the content to be purged. Can describe a file path or a wild card directory. */ + contentPaths: string[]; } -export interface MetricsResponseSeriesPropertiesItemsItem { - name?: string; - value?: string; +/** Parameters required for content load. */ +export interface LoadParameters { + /** The path to the content to be loaded. Path should be a relative file URL of the origin. */ + contentPaths: string[]; } -export interface Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems { - dateTime?: Date; - value?: number; +/** Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results. */ +export interface OriginListResult { + /** + * List of CDN origins within an endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Origin[]; + /** URL to get the next set of origin objects if there are any. */ + nextLink?: string; } -/** Rankings Response */ -export interface RankingsResponse { - dateTimeBegin?: Date; - dateTimeEnd?: Date; - tables?: RankingsResponseTablesItem[]; +/** The JSON object that contains the properties of the origin. */ +export interface OriginUpdatePropertiesParameters { + /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ + hostName?: string; + /** The value of the HTTP port. Must be between 1 and 65535. */ + httpPort?: number; + /** The value of the HTTPS port. Must be between 1 and 65535. */ + httpsPort?: number; + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ + originHostHeader?: string; + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + priority?: number; + /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ + weight?: number; + /** Origin is enabled for load balancing or not */ + enabled?: boolean; + /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ + privateLinkAlias?: string; + /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ + privateLinkResourceId?: string; + /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ + privateLinkLocation?: string; + /** A custom message to be included in the approval request to connect to the Private Link. */ + privateLinkApprovalMessage?: string; } -export interface RankingsResponseTablesItem { - ranking?: string; - data?: RankingsResponseTablesPropertiesItemsItem[]; +/** Origin properties needed for origin update. */ +export interface OriginUpdateParameters { + /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ + hostName?: string; + /** The value of the HTTP port. Must be between 1 and 65535. */ + httpPort?: number; + /** The value of the HTTPS port. Must be between 1 and 65535. */ + httpsPort?: number; + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ + originHostHeader?: string; + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + priority?: number; + /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ + weight?: number; + /** Origin is enabled for load balancing or not */ + enabled?: boolean; + /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ + privateLinkAlias?: string; + /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ + privateLinkResourceId?: string; + /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ + privateLinkLocation?: string; + /** A custom message to be included in the approval request to connect to the Private Link. */ + privateLinkApprovalMessage?: string; } -export interface RankingsResponseTablesPropertiesItemsItem { - name?: string; - metrics?: RankingsResponseTablesPropertiesItemsMetricsItem[]; +/** Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results. */ +export interface OriginGroupListResult { + /** + * List of CDN origin groups within an endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: OriginGroup[]; + /** URL to get the next set of origin objects if there are any. */ + nextLink?: string; } -export interface RankingsResponseTablesPropertiesItemsMetricsItem { - metric?: string; - value?: number; - percentage?: number; +/** The JSON object that contains the properties of the origin group. */ +export interface OriginGroupUpdatePropertiesParameters { + /** Health probe settings to the origin that is used to determine the health of the origin. */ + healthProbeSettings?: HealthProbeParameters; + /** The source of the content being delivered via CDN within given origin group. */ + origins?: ResourceReference[]; + /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ + responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; } -/** Continents Response */ -export interface ContinentsResponse { - continents?: ContinentsResponseContinentsItem[]; - countryOrRegions?: ContinentsResponseCountryOrRegionsItem[]; +/** Origin group properties needed for origin group creation or update. */ +export interface OriginGroupUpdateParameters { + /** Health probe settings to the origin that is used to determine the health of the origin. */ + healthProbeSettings?: HealthProbeParameters; + /** The source of the content being delivered via CDN within given origin group. */ + origins?: ResourceReference[]; + /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ + responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; } -export interface ContinentsResponseContinentsItem { - id?: string; +/** Result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results. */ +export interface CustomDomainListResult { + /** + * List of CDN CustomDomains within an endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: CustomDomain[]; + /** URL to get the next set of custom domain objects if there are any. */ + nextLink?: string; } -export interface ContinentsResponseCountryOrRegionsItem { - id?: string; - continentId?: string; +/** The customDomain JSON object required for custom domain creation or update. */ +export interface CustomDomainParameters { + /** The host name of the custom domain. Must be a domain name. */ + hostName?: string; } -/** Resources Response */ -export interface ResourcesResponse { - endpoints?: ResourcesResponseEndpointsItem[]; - customDomains?: ResourcesResponseCustomDomainsItem[]; +/** Input of CheckNameAvailability API. */ +export interface CheckNameAvailabilityInput { + /** The resource name to validate. */ + name: string; + /** The type of the resource whose name is to be validated. */ + type: "Microsoft.Cdn/Profiles/Endpoints"; } -export interface ResourcesResponseEndpointsItem { - id?: string; - name?: string; - history?: boolean; - customDomains?: ResourcesResponseEndpointsPropertiesItemsItem[]; +/** Input of the validate probe API. */ +export interface ValidateProbeInput { + /** The probe URL to validate. */ + probeURL: string; } -export interface ResourcesResponseEndpointsPropertiesItemsItem { - id?: string; - name?: string; - endpointId?: string; - history?: boolean; +/** Output of the validate probe API. */ +export interface ValidateProbeOutput { + /** + * Indicates whether the probe URL is accepted or not. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isValid?: boolean; + /** + * Specifies the error code when the probe url is not accepted. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errorCode?: string; + /** + * The detailed error message describing why the probe URL is not accepted. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; } -export interface ResourcesResponseCustomDomainsItem { - id?: string; - name?: string; - endpointId?: string; - history?: boolean; +/** Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results. */ +export interface OperationsListResult { + /** List of CDN operations supported by the CDN resource provider. */ + value?: Operation[]; + /** URL to get the next set of operation list results if there are any. */ + nextLink?: string; } -/** Waf Metrics Response */ -export interface WafMetricsResponse { - dateTimeBegin?: Date; - dateTimeEnd?: Date; - granularity?: WafMetricsResponseGranularity; - series?: WafMetricsResponseSeriesItem[]; +/** CDN REST API operation */ +export interface Operation { + /** + * Operation name: {provider}/{resource}/{operation} + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** Indicates whether the operation is a data action */ + isDataAction?: boolean; + /** The object that represents the operation. */ + display?: OperationDisplay; + /** + * The origin of operations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly origin?: string; + /** One property of operation, include metric specifications. */ + serviceSpecification?: ServiceSpecification; } -export interface WafMetricsResponseSeriesItem { - metric?: string; - unit?: "count"; - groups?: WafMetricsResponseSeriesPropertiesItemsItem[]; - data?: Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems[]; +/** The object that represents the operation. */ +export interface OperationDisplay { + /** + * Service provider: Microsoft.Cdn + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provider?: string; + /** + * Resource on which the operation is performed: Profile, endpoint, etc. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * Operation type: Read, write, delete, etc. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * Description of operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; } -export interface WafMetricsResponseSeriesPropertiesItemsItem { +/** One property of operation, include log specifications. */ +export interface ServiceSpecification { + /** Log specifications of operation. */ + logSpecifications?: LogSpecification[]; + /** Metric specifications of operation. */ + metricSpecifications?: MetricSpecification[]; +} + +/** Log specification of operation. */ +export interface LogSpecification { + /** Name of log specification. */ name?: string; - value?: string; + /** Display name of log specification. */ + displayName?: string; + /** Blob duration of specification. */ + blobDuration?: string; + /** Pattern to filter based on name */ + logFilterPattern?: string; } -export interface Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems { - dateTime?: Date; - value?: number; +/** Metric specification of operation. */ +export interface MetricSpecification { + /** Name of metric specification. */ + name?: string; + /** Display name of metric specification. */ + displayName?: string; + /** Display description of metric specification. */ + displayDescription?: string; + /** The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. */ + unit?: string; + /** The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. */ + aggregationType?: string; + /** Retention policies of a resource metric. */ + availabilities?: MetricAvailability[]; + /** The supported time grain types for the metrics. */ + supportedTimeGrainTypes?: string[]; + /** The dimensions of metric */ + dimensions?: DimensionProperties[]; + /** Property to specify whether to fill gap with zero. */ + fillGapWithZero?: boolean; + /** Pattern to filter based on name */ + metricFilterPattern?: string; + /** Property to specify metric is internal or not. */ + isInternal?: boolean; +} + +/** Retention policy of a resource metric. */ +export interface MetricAvailability { + timeGrain?: string; + blobDuration?: string; +} + +/** Type of operation: get, read, delete, etc. */ +export interface DimensionProperties { + /** Name of dimension. */ + name?: string; + /** Display name of dimension. */ + displayName?: string; + /** Internal name of dimension. */ + internalName?: string; } -/** Waf Rankings Response */ -export interface WafRankingsResponse { - dateTimeBegin?: Date; - dateTimeEnd?: Date; - groups?: string[]; - data?: WafRankingsResponseDataItem[]; +/** Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results. */ +export interface EdgenodeResult { + /** + * Edge node of CDN service. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: EdgeNode[]; + /** URL to get the next set of edgenode list results if there are any. */ + nextLink?: string; } -export interface WafRankingsResponseDataItem { - groupValues?: string[]; - metrics?: ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems[]; +/** CDN Ip address group */ +export interface IpAddressGroup { + /** The delivery region of the ip address group */ + deliveryRegion?: string; + /** The list of ip v4 addresses. */ + ipv4Addresses?: CidrIpAddress[]; + /** The list of ip v6 addresses. */ + ipv6Addresses?: CidrIpAddress[]; } -export interface ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems { - metric?: string; - value?: number; - percentage?: number; +/** CIDR Ip address */ +export interface CidrIpAddress { + /** Ip address itself. */ + baseIpAddress?: string; + /** The length of the prefix of the ip address. */ + prefixLength?: number; } /** Defines a list of WebApplicationFirewallPolicies for Azure CDN. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. */ @@ -1274,7 +1522,7 @@ export interface PolicySettings { /** If action type is redirect, this field represents the default redirect URL for the client. */ defaultRedirectUrl?: string; /** If the action type is block, this field defines the default customer overridable http response status code. */ - defaultCustomBlockResponseStatusCode?: Enum46; + defaultCustomBlockResponseStatusCode?: Enum47; /** If the action type is block, customer can override the response body. The body must be specified in base64 encoding. */ defaultCustomBlockResponseBody?: string; } @@ -1302,7 +1550,7 @@ export interface CustomRule { /** Define match conditions */ export interface MatchCondition { /** Match variable to compare against. */ - matchVariable: MatchVariable; + matchVariable: WafMatchVariable; /** Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. */ selector?: string; /** Describes operator to be matched */ @@ -1413,9 +1661,61 @@ export interface ManagedRuleDefinition { readonly description?: string; } +/** Certificate used for https */ +export interface Certificate { + /** The type of the secret resource. */ + type?: SecretType; + /** + * Subject name in the certificate. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subject?: string; + /** + * Certificate expiration date. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly expirationDate?: string; +} + +/** settings for security policy patterns to match */ +export interface SecurityPolicyWebApplicationFirewallAssociation { + /** List of domains. */ + domains?: ActivatedResourceReference[]; + /** List of paths */ + patternsToMatch?: string[]; +} + +/** settings for compression. */ +export interface CompressionSettings { + /** List of content types on which compression applies. The value should be a valid MIME type. */ + contentTypesToCompress?: string[]; + /** Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ + isCompressionEnabled?: boolean; +} + +/** Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. */ +export interface SharedPrivateLinkResourceProperties { + /** The resource id of the resource the shared private link resource is for. */ + privateLink?: ResourceReference; + /** The location of the shared private link resource */ + privateLinkLocation?: string; + /** The group id from the provider of resource the shared private link resource is for. */ + groupId?: string; + /** The request message for requesting approval of the shared private link resource. */ + requestMessage?: string; + /** Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. */ + status?: SharedPrivateLinkResourceStatus; +} + +/** The validation token. */ +export interface ValidationToken { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly token?: string; +} + /** Defines the parameters for RemoteAddress match conditions */ export interface RemoteAddressMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"; + typeName: "DeliveryRuleRemoteAddressConditionParameters"; /** Describes operator to be matched */ operator: RemoteAddressOperator; /** Describes if this is negate condition or not */ @@ -1428,18 +1728,20 @@ export interface RemoteAddressMatchConditionParameters { /** Defines the parameters for RequestMethod match conditions */ export interface RequestMethodMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters"; + typeName: "DeliveryRuleRequestMethodConditionParameters"; /** Describes operator to be matched */ operator: RequestMethodOperator; /** Describes if this is negate condition or not */ negateCondition?: boolean; + /** List of transforms */ + transforms?: Transform[]; /** The match value for the condition of the delivery rule */ matchValues?: RequestMethodMatchConditionParametersMatchValuesItem[]; } /** Defines the parameters for QueryString match conditions */ export interface QueryStringMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters"; + typeName: "DeliveryRuleQueryStringConditionParameters"; /** Describes operator to be matched */ operator: QueryStringOperator; /** Describes if this is negate condition or not */ @@ -1452,7 +1754,7 @@ export interface QueryStringMatchConditionParameters { /** Defines the parameters for PostArgs match conditions */ export interface PostArgsMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters"; + typeName: "DeliveryRulePostArgsConditionParameters"; /** Name of PostArg to be matched */ selector?: string; /** Describes operator to be matched */ @@ -1467,7 +1769,7 @@ export interface PostArgsMatchConditionParameters { /** Defines the parameters for RequestUri match conditions */ export interface RequestUriMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters"; + typeName: "DeliveryRuleRequestUriConditionParameters"; /** Describes operator to be matched */ operator: RequestUriOperator; /** Describes if this is negate condition or not */ @@ -1480,7 +1782,7 @@ export interface RequestUriMatchConditionParameters { /** Defines the parameters for RequestHeader match conditions */ export interface RequestHeaderMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"; + typeName: "DeliveryRuleRequestHeaderConditionParameters"; /** Name of Header to be matched */ selector?: string; /** Describes operator to be matched */ @@ -1495,7 +1797,7 @@ export interface RequestHeaderMatchConditionParameters { /** Defines the parameters for RequestBody match conditions */ export interface RequestBodyMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters"; + typeName: "DeliveryRuleRequestBodyConditionParameters"; /** Describes operator to be matched */ operator: RequestBodyOperator; /** Describes if this is negate condition or not */ @@ -1508,18 +1810,20 @@ export interface RequestBodyMatchConditionParameters { /** Defines the parameters for RequestScheme match conditions */ export interface RequestSchemeMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"; + typeName: "DeliveryRuleRequestSchemeConditionParameters"; /** Describes operator to be matched */ operator: "Equal"; /** Describes if this is negate condition or not */ negateCondition?: boolean; + /** List of transforms */ + transforms?: Transform[]; /** The match value for the condition of the delivery rule */ matchValues?: RequestSchemeMatchConditionParametersMatchValuesItem[]; } /** Defines the parameters for UrlPath match conditions */ export interface UrlPathMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters"; + typeName: "DeliveryRuleUrlPathMatchConditionParameters"; /** Describes operator to be matched */ operator: UrlPathOperator; /** Describes if this is negate condition or not */ @@ -1532,7 +1836,7 @@ export interface UrlPathMatchConditionParameters { /** Defines the parameters for UrlFileExtension match conditions */ export interface UrlFileExtensionMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters"; + typeName: "DeliveryRuleUrlFileExtensionMatchConditionParameters"; /** Describes operator to be matched */ operator: UrlFileExtensionOperator; /** Describes if this is negate condition or not */ @@ -1545,7 +1849,7 @@ export interface UrlFileExtensionMatchConditionParameters { /** Defines the parameters for UrlFilename match conditions */ export interface UrlFileNameMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters"; + typeName: "DeliveryRuleUrlFilenameConditionParameters"; /** Describes operator to be matched */ operator: UrlFileNameOperator; /** Describes if this is negate condition or not */ @@ -1558,18 +1862,20 @@ export interface UrlFileNameMatchConditionParameters { /** Defines the parameters for HttpVersion match conditions */ export interface HttpVersionMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters"; + typeName: "DeliveryRuleHttpVersionConditionParameters"; /** Describes operator to be matched */ operator: HttpVersionOperator; /** Describes if this is negate condition or not */ negateCondition?: boolean; /** The match value for the condition of the delivery rule */ matchValues?: string[]; + /** List of transforms */ + transforms?: Transform[]; } /** Defines the parameters for Cookies match conditions */ export interface CookiesMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters"; + typeName: "DeliveryRuleCookiesConditionParameters"; /** Name of Cookies to be matched */ selector?: string; /** Describes operator to be matched */ @@ -1584,20 +1890,75 @@ export interface CookiesMatchConditionParameters { /** Defines the parameters for IsDevice match conditions */ export interface IsDeviceMatchConditionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters"; + typeName: "DeliveryRuleIsDeviceConditionParameters"; /** Describes operator to be matched */ operator: IsDeviceOperator; /** Describes if this is negate condition or not */ negateCondition?: boolean; /** The match value for the condition of the delivery rule */ matchValues?: IsDeviceMatchConditionParametersMatchValuesItem[]; +} + +/** Defines the parameters for SocketAddress match conditions */ +export interface SocketAddrMatchConditionParameters { + typeName: "DeliveryRuleSocketAddrConditionParameters"; + /** Describes operator to be matched */ + operator: SocketAddrOperator; + /** Describes if this is negate condition or not */ + negateCondition?: boolean; + /** The match value for the condition of the delivery rule */ + matchValues?: string[]; +} + +/** Defines the parameters for ClientPort match conditions */ +export interface ClientPortMatchConditionParameters { + typeName: "DeliveryRuleClientPortConditionParameters"; + /** Describes operator to be matched */ + operator: ClientPortOperator; + /** Describes if this is negate condition or not */ + negateCondition?: boolean; + /** The match value for the condition of the delivery rule */ + matchValues?: string[]; +} + +/** Defines the parameters for ServerPort match conditions */ +export interface ServerPortMatchConditionParameters { + typeName: "DeliveryRuleServerPortConditionParameters"; + /** Describes operator to be matched */ + operator: ServerPortOperator; + /** Describes if this is negate condition or not */ + negateCondition?: boolean; + /** The match value for the condition of the delivery rule */ + matchValues?: string[]; +} + +/** Defines the parameters for HostName match conditions */ +export interface HostNameMatchConditionParameters { + typeName: "DeliveryRuleHostNameConditionParameters"; + /** Describes operator to be matched */ + operator: HostNameOperator; + /** Describes if this is negate condition or not */ + negateCondition?: boolean; + /** The match value for the condition of the delivery rule */ + matchValues?: string[]; /** List of transforms */ transforms?: Transform[]; } +/** Defines the parameters for SslProtocol match conditions */ +export interface SslProtocolMatchConditionParameters { + typeName: "DeliveryRuleSslProtocolConditionParameters"; + /** Describes operator to be matched */ + operator: SslProtocolOperator; + /** Describes if this is negate condition or not */ + negateCondition?: boolean; + /** The match value for the condition of the delivery rule */ + matchValues?: SslProtocol[]; +} + /** Defines the parameters for the url redirect action. */ export interface UrlRedirectActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"; + typeName: "DeliveryRuleUrlRedirectActionParameters"; /** The redirect type the rule will use when redirecting traffic. */ redirectType: RedirectType; /** Protocol to use for the redirect. The default value is MatchRequest */ @@ -1614,7 +1975,7 @@ export interface UrlRedirectActionParameters { /** Defines the parameters for the Url Signing action. */ export interface UrlSigningActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlSigningActionParameters"; + typeName: "DeliveryRuleUrlSigningActionParameters"; /** Algorithm to use for URL signing */ algorithm?: Algorithm; /** Defines which query string parameters in the url to be considered for expires, key id etc. */ @@ -1631,14 +1992,14 @@ export interface UrlSigningParamIdentifier { /** Defines the parameters for the origin group override action. */ export interface OriginGroupOverrideActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleOriginGroupOverrideActionParameters"; + typeName: "DeliveryRuleOriginGroupOverrideActionParameters"; /** defines the OriginGroup that would override the DefaultOriginGroup. */ originGroup: ResourceReference; } /** Defines the parameters for the url rewrite action. */ export interface UrlRewriteActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"; + typeName: "DeliveryRuleUrlRewriteActionParameters"; /** define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. */ sourcePattern: string; /** Define the relative URL to which the above requests will be rewritten by. */ @@ -1649,7 +2010,7 @@ export interface UrlRewriteActionParameters { /** Defines the parameters for the request header action. */ export interface HeaderActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"; + typeName: "DeliveryRuleHeaderActionParameters"; /** Action to perform */ headerAction: HeaderAction; /** Name of the header to modify */ @@ -1660,7 +2021,7 @@ export interface HeaderActionParameters { /** Defines the parameters for the cache expiration action. */ export interface CacheExpirationActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"; + typeName: "DeliveryRuleCacheExpirationActionParameters"; /** Caching behavior for the requests */ cacheBehavior: CacheBehavior; /** The level at which the content needs to be cached. */ @@ -1671,23 +2032,54 @@ export interface CacheExpirationActionParameters { /** Defines the parameters for the cache-key query string action. */ export interface CacheKeyQueryStringActionParameters { - odataType: "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"; + typeName: "DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"; /** Caching behavior for the requests */ queryStringBehavior: QueryStringBehavior; /** query parameters to include or exclude (comma separated). */ queryParameters?: string; } +/** Defines the parameters for the route configuration override action. */ +export interface RouteConfigurationOverrideActionParameters { + typeName: "DeliveryRuleRouteConfigurationOverrideActionParameters"; + /** A reference to the origin group override configuration. Leave empty to use the default origin group on route. */ + originGroupOverride?: OriginGroupOverride; + /** The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. */ + cacheConfiguration?: CacheConfiguration; +} + +/** Defines the parameters for the origin group override configuration. */ +export interface OriginGroupOverride { + /** defines the OriginGroup that would override the DefaultOriginGroup on route. */ + originGroup?: ResourceReference; + /** Protocol this rule will use when forwarding traffic to backends. */ + forwardingProtocol?: ForwardingProtocol; +} + +/** Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ +export interface CacheConfiguration { + /** Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. */ + queryStringCachingBehavior?: RuleQueryStringCachingBehavior; + /** query parameters to include or exclude (comma separated). */ + queryParameters?: string; + /** Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ + isCompressionEnabled?: RuleIsCompressionEnabled; + /** Caching behavior for the requests */ + cacheBehavior?: RuleCacheBehavior; + /** The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss */ + cacheDuration?: string; +} + /** Defines the parameters for using CDN managed certificate for securing custom domain. */ export interface CdnCertificateSourceParameters { - odataType: "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"; + typeName: "CdnCertificateSourceParameters"; /** Type of certificate used */ certificateType: CertificateType; } /** Describes the parameters for using a user's KeyVault certificate for securing custom domain. */ export interface KeyVaultCertificateSourceParameters { - odataType: "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"; + typeName: "KeyVaultCertificateSourceParameters"; /** Subscription Id of the user's Key Vault containing the SSL certificate */ subscriptionId: string; /** Resource group of the user's Key Vault containing the SSL certificate */ @@ -1704,45 +2096,82 @@ export interface KeyVaultCertificateSourceParameters { deleteRule: DeleteRule; } -/** Certificate used for https */ -export interface Certificate { - /** Subject name in the certificate. */ - subject?: string; - /** Certificate expiration date. */ - expirationDate?: string; - /** Certificate thumbprint. */ - thumbprint?: string; -} +/** The JSON object that contains the properties of the domain to create. */ +export type AFDDomainProperties = AFDDomainUpdatePropertiesParameters & + AFDStateProperties & { + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly domainValidationState?: DomainValidationState; + /** The host name of the domain. Must be a domain name. */ + hostName: string; + /** + * Values the customer needs to validate domain ownership + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly validationProperties?: DomainValidationProperties; + }; -/** settings for security policy patterns to match */ -export interface SecurityPolicyWebApplicationFirewallAssociation { - /** List of domains. */ - domains?: ResourceReference[]; - /** List of paths */ - patternsToMatch?: string[]; -} +/** The JSON object that contains the properties required to create an endpoint. */ +export type AFDEndpointProperties = AFDEndpointPropertiesUpdateParameters & + AFDStateProperties & { + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly hostName?: string; + }; -/** settings for compression. */ -export interface CompressionSettings { - /** List of content types on which compression applies. The value should be a valid MIME type. */ - contentTypesToCompress?: string[]; - /** Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ - isCompressionEnabled?: boolean; -} +/** The JSON object that contains the properties of the origin group. */ +export type AFDOriginGroupProperties = AFDOriginGroupUpdatePropertiesParameters & + AFDStateProperties & {}; -/** Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. */ -export interface SharedPrivateLinkResourceProperties { - /** The resource id of the resource the shared private link resource is for. */ - privateLink?: ResourceReference; - /** The location of the shared private link resource */ - privateLinkLocation?: string; - /** The group id from the provider of resource the shared private link resource is for. */ - groupId?: string; - /** The request message for requesting approval of the shared private link resource. */ - requestMessage?: string; - /** Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. */ - status?: SharedPrivateLinkResourceStatus; -} +/** The JSON object that contains the properties of the origin. */ +export type AFDOriginProperties = AFDOriginUpdatePropertiesParameters & + AFDStateProperties & {}; + +/** The JSON object that contains the properties of the Routes to create. */ +export type RouteProperties = RouteUpdatePropertiesParameters & + AFDStateProperties & {}; + +/** The JSON object that contains the properties of the Rule Set to create. */ +export type RuleSetProperties = AFDStateProperties & { + /** + * The name of the profile which holds the rule set. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; +}; + +/** The JSON object that contains the properties of the Rules to create. */ +export type RuleProperties = RuleUpdatePropertiesParameters & + AFDStateProperties & {}; + +/** The json object that contains properties required to create a security policy */ +export type SecurityPolicyProperties = AFDStateProperties & { + /** + * The name of the profile which holds the security policy. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** object which contains security policy parameters */ + parameters?: SecurityPolicyParametersUnion; +}; + +/** The JSON object that contains the properties of the Secret to create. */ +export type SecretProperties = AFDStateProperties & { + /** + * The name of the profile which holds the secret. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** object which contains secret parameters */ + parameters?: SecretParametersUnion; +}; + +/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */ +export type ProxyResource = Resource & {}; /** The resource model definition for a ARM tracked top level resource. */ export type TrackedResource = Resource & { @@ -1752,9 +2181,6 @@ export type TrackedResource = Resource & { tags?: { [propertyName: string]: string }; }; -/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */ -export type ProxyResource = Resource & {}; - /** Describes a managed rule set definition. */ export type ManagedRuleSetDefinition = Resource & { /** The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. */ @@ -1781,29 +2207,6 @@ export type ManagedRuleSetDefinition = Resource & { readonly ruleGroups?: ManagedRuleGroupDefinition[]; }; -/** The JSON object that contains the properties required to create an endpoint. */ -export type EndpointProperties = EndpointPropertiesUpdateParameters & { - /** - * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostName?: string; - /** The source of the content being delivered via CDN. */ - origins: DeepCreatedOrigin[]; - /** The origin groups comprising of origins that are used for load balancing the traffic based on availability. */ - originGroups?: DeepCreatedOriginGroup[]; - /** - * Resource status of the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceState?: EndpointResourceState; - /** - * Provisioning status of the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; -}; - /** Defines the RemoteAddress condition for the delivery rule. */ export type DeliveryRuleRemoteAddressCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1916,175 +2319,116 @@ export type DeliveryRuleIsDeviceCondition = DeliveryRuleCondition & { parameters: IsDeviceMatchConditionParameters; }; -/** Defines the url redirect action for the delivery rule. */ -export type UrlRedirectAction = DeliveryRuleActionAutoGenerated & { +/** Defines the SocketAddress condition for the delivery rule. */ +export type DeliveryRuleSocketAddrCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "UrlRedirect"; - /** Defines the parameters for the action. */ - parameters: UrlRedirectActionParameters; + name: "SocketAddr"; + /** Defines the parameters for the condition. */ + parameters: SocketAddrMatchConditionParameters; }; -/** Defines the url signing action for the delivery rule. */ -export type UrlSigningAction = DeliveryRuleActionAutoGenerated & { +/** Defines the ClientPort condition for the delivery rule. */ +export type DeliveryRuleClientPortCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "UrlSigning"; - /** Defines the parameters for the action. */ - parameters: UrlSigningActionParameters; + name: "ClientPort"; + /** Defines the parameters for the condition. */ + parameters: ClientPortMatchConditionParameters; }; -/** Defines the origin group override action for the delivery rule. */ -export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { +/** Defines the ServerPort condition for the delivery rule. */ +export type DeliveryRuleServerPortCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "OriginGroupOverride"; - /** Defines the parameters for the action. */ - parameters: OriginGroupOverrideActionParameters; + name: "ServerPort"; + /** Defines the parameters for the condition. */ + parameters: ServerPortMatchConditionParameters; }; -/** Defines the url rewrite action for the delivery rule. */ -export type UrlRewriteAction = DeliveryRuleActionAutoGenerated & { +/** Defines the HostName condition for the delivery rule. */ +export type DeliveryRuleHostNameCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "UrlRewrite"; - /** Defines the parameters for the action. */ - parameters: UrlRewriteActionParameters; + name: "HostName"; + /** Defines the parameters for the condition. */ + parameters: HostNameMatchConditionParameters; }; -/** Defines the request header action for the delivery rule. */ -export type DeliveryRuleRequestHeaderAction = DeliveryRuleActionAutoGenerated & { +/** Defines the SslProtocol condition for the delivery rule. */ +export type DeliveryRuleSslProtocolCondition = DeliveryRuleCondition & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "ModifyRequestHeader"; - /** Defines the parameters for the action. */ - parameters: HeaderActionParameters; + name: "SslProtocol"; + /** Defines the parameters for the condition. */ + parameters: SslProtocolMatchConditionParameters; }; -/** Defines the response header action for the delivery rule. */ -export type DeliveryRuleResponseHeaderAction = DeliveryRuleActionAutoGenerated & { +/** Defines the url redirect action for the delivery rule. */ +export type UrlRedirectAction = DeliveryRuleActionAutoGenerated & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "ModifyResponseHeader"; + name: "UrlRedirect"; /** Defines the parameters for the action. */ - parameters: HeaderActionParameters; + parameters: UrlRedirectActionParameters; }; -/** Defines the cache expiration action for the delivery rule. */ -export type DeliveryRuleCacheExpirationAction = DeliveryRuleActionAutoGenerated & { +/** Defines the url signing action for the delivery rule. */ +export type UrlSigningAction = DeliveryRuleActionAutoGenerated & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "CacheExpiration"; + name: "UrlSigning"; /** Defines the parameters for the action. */ - parameters: CacheExpirationActionParameters; + parameters: UrlSigningActionParameters; }; -/** Defines the cache-key query string action for the delivery rule. */ -export type DeliveryRuleCacheKeyQueryStringAction = DeliveryRuleActionAutoGenerated & { +/** Defines the origin group override action for the delivery rule. */ +export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { /** Polymorphic discriminator, which specifies the different types this object can be */ - name: "CacheKeyQueryString"; + name: "OriginGroupOverride"; /** Defines the parameters for the action. */ - parameters: CacheKeyQueryStringActionParameters; -}; - -/** The JSON object that contains the properties of the origin. */ -export type OriginProperties = OriginUpdatePropertiesParameters & { - /** - * Resource status of the origin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceState?: OriginResourceState; - /** - * Provisioning status of the origin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** - * The approval status for the connection to the Private Link - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateEndpointStatus?: PrivateEndpointStatus; -}; - -/** The JSON object that contains the properties of the origin group. */ -export type OriginGroupProperties = OriginGroupUpdatePropertiesParameters & { - /** - * Resource status of the origin group. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceState?: OriginGroupResourceState; - /** - * Provisioning status of the origin group. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; -}; - -/** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ -export type CdnManagedHttpsParameters = CustomDomainHttpsParameters & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "Cdn"; - /** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ - certificateSourceParameters: CdnCertificateSourceParameters; -}; - -/** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ -export type UserManagedHttpsParameters = CustomDomainHttpsParameters & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "AzureKeyVault"; - /** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ - certificateSourceParameters: KeyVaultCertificateSourceParameters; -}; - -/** The JSON object that contains the properties of the domain to create. */ -export type AFDDomainProperties = AFDDomainUpdatePropertiesParameters & - AFDStateProperties & { - /** - * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly domainValidationState?: DomainValidationState; - /** The host name of the domain. Must be a domain name. */ - hostName: string; - /** - * Values the customer needs to validate domain ownership - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly validationProperties?: DomainValidationProperties; - }; - -/** The JSON object that contains the properties required to create an endpoint. */ -export type AFDEndpointProperties = AFDEndpointPropertiesUpdateParameters & - AFDStateProperties & { - /** - * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostName?: string; - }; - -/** The JSON object that contains the properties of the origin group. */ -export type AFDOriginGroupProperties = AFDOriginGroupUpdatePropertiesParameters & - AFDStateProperties & {}; + parameters: OriginGroupOverrideActionParameters; +}; -/** The JSON object that contains the properties of the origin. */ -export type AFDOriginProperties = AFDOriginUpdatePropertiesParameters & - AFDStateProperties & {}; +/** Defines the url rewrite action for the delivery rule. */ +export type UrlRewriteAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "UrlRewrite"; + /** Defines the parameters for the action. */ + parameters: UrlRewriteActionParameters; +}; -/** The JSON object that contains the properties of the Routes to create. */ -export type RouteProperties = RouteUpdatePropertiesParameters & - AFDStateProperties & {}; +/** Defines the request header action for the delivery rule. */ +export type DeliveryRuleRequestHeaderAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "ModifyRequestHeader"; + /** Defines the parameters for the action. */ + parameters: HeaderActionParameters; +}; -/** The JSON object that contains the properties of the Rule Set to create. */ -export type RuleSetProperties = AFDStateProperties & {}; +/** Defines the response header action for the delivery rule. */ +export type DeliveryRuleResponseHeaderAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "ModifyResponseHeader"; + /** Defines the parameters for the action. */ + parameters: HeaderActionParameters; +}; -/** The JSON object that contains the properties of the Rules to create. */ -export type RuleProperties = RuleUpdatePropertiesParameters & - AFDStateProperties & {}; +/** Defines the cache expiration action for the delivery rule. */ +export type DeliveryRuleCacheExpirationAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "CacheExpiration"; + /** Defines the parameters for the action. */ + parameters: CacheExpirationActionParameters; +}; -/** The json object that contains properties required to create a security policy */ -export type SecurityPolicyProperties = AFDStateProperties & { - /** object which contains security policy parameters */ - parameters?: SecurityPolicyParametersUnion; +/** Defines the cache-key query string action for the delivery rule. */ +export type DeliveryRuleCacheKeyQueryStringAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "CacheKeyQueryString"; + /** Defines the parameters for the action. */ + parameters: CacheKeyQueryStringActionParameters; }; -/** The JSON object that contains the properties of the Secret to create. */ -export type SecretProperties = AFDStateProperties & { - /** object which contains secret parameters */ - parameters?: SecretParametersUnion; +/** Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. */ +export type DeliveryRuleRouteConfigurationOverrideAction = DeliveryRuleActionAutoGenerated & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + name: "RouteConfigurationOverride"; + /** Defines the parameters for the action. */ + parameters: RouteConfigurationOverrideActionParameters; }; /** The json object containing security policy waf parameters */ @@ -2103,7 +2447,7 @@ export type UrlSigningKeyParameters = SecretParameters & { type: "UrlSigningKey"; /** Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. */ keyId: string; - /** Resource reference to the KV secret */ + /** Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ secretSource: ResourceReference; /** Version of the secret to be used */ secretVersion?: string; @@ -2113,109 +2457,90 @@ export type UrlSigningKeyParameters = SecretParameters & { export type ManagedCertificateParameters = SecretParameters & { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "ManagedCertificate"; + /** + * Subject name in the certificate. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subject?: string; + /** + * Certificate expiration date. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly expirationDate?: string; }; /** Customer Certificate used for https */ export type CustomerCertificateParameters = SecretParameters & { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "CustomerCertificate"; - /** Resource reference to the KV secret */ + /** Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ secretSource: ResourceReference; /** Version of the secret to be used */ secretVersion?: string; - /** Certificate issuing authority. */ - certificateAuthority?: string; - /** Whether to use the latest version for the certificate */ - useLatestVersion?: boolean; - /** The list of SANs. */ - subjectAlternativeNames?: string[]; -}; - -/** Defines a rate limiting rule that can be included in a waf policy */ -export type RateLimitRule = CustomRule & { - /** Defines rate limit threshold. */ - rateLimitThreshold: number; - /** Defines rate limit duration. Default is 1 minute. */ - rateLimitDurationInMinutes: number; -}; - -/** Managed Certificate used for https */ -export type ManagedCertificate = Certificate & {}; - -/** Customer Certificate used for https */ -export type CustomerCertificate = Certificate & { - /** Certificate version. */ - version?: string; - /** Certificate issuing authority. */ - certificateAuthority?: string; - /** Complete Url to the certificate */ - certificateUrl: string; /** Whether to use the latest version for the certificate */ useLatestVersion?: boolean; - /** The list of SANs. */ - subjectAlternativeNames?: string[]; -}; - -/** CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier. */ -export type Profile = TrackedResource & { - /** The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. */ - sku: Sku; /** - * Resource status of the profile. + * Subject name in the certificate. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resourceState?: ProfileResourceState; + readonly subject?: string; /** - * Provisioning status of the profile. + * Certificate expiration date. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly expirationDate?: string; /** - * The Id of the frontdoor. + * Certificate issuing authority. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly certificateAuthority?: string; + /** The list of SANs. */ + subjectAlternativeNames?: string[]; + /** + * Certificate thumbprint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly frontdoorId?: string; + readonly thumbprint?: string; }; -/** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. */ -export type Endpoint = TrackedResource & { - /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ - originPath?: string; - /** List of content types on which compression applies. The value should be a valid MIME type. */ - contentTypesToCompress?: string[]; - /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ - originHostHeader?: string; - /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ - isCompressionEnabled?: boolean; - /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpAllowed?: boolean; - /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ - isHttpsAllowed?: boolean; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: QueryStringCachingBehavior; - /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ - optimizationType?: OptimizationType; - /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ - probePath?: string; - /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ - geoFilters?: GeoFilter[]; - /** A reference to the origin group. */ - defaultOriginGroup?: ResourceReference; - /** List of keys used to validate the signed URL hashes. */ - urlSigningKeys?: UrlSigningKey[]; - /** A policy that specifies the delivery rules to be used for an endpoint. */ - deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; - /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ - webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; +/** Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. */ +export type AzureFirstPartyManagedCertificateParameters = SecretParameters & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFirstPartyManagedCertificate"; +}; + +/** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ +export type CdnManagedHttpsParameters = CustomDomainHttpsParameters & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "Cdn"; + /** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ + certificateSourceParameters: CdnCertificateSourceParameters; +}; + +/** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ +export type UserManagedHttpsParameters = CustomDomainHttpsParameters & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "AzureKeyVault"; + /** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ + certificateSourceParameters: KeyVaultCertificateSourceParameters; +}; + +/** The JSON object that contains the properties required to create an endpoint. */ +export type EndpointProperties = EndpointPropertiesUpdateParameters & { /** * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hostName?: string; /** The source of the content being delivered via CDN. */ - origins?: DeepCreatedOrigin[]; + origins: DeepCreatedOrigin[]; /** The origin groups comprising of origins that are used for load balancing the traffic based on availability. */ originGroups?: DeepCreatedOriginGroup[]; + /** + * The custom domains under the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customDomains?: CustomDomain[]; /** * Resource status of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2228,162 +2553,88 @@ export type Endpoint = TrackedResource & { readonly provisioningState?: string; }; -/** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. */ -export type AFDEndpoint = TrackedResource & { - /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ - originResponseTimeoutSeconds?: number; - /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ - enabledState?: EnabledState; - /** - * Provisioning status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; - /** - * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostName?: string; -}; - -/** Defines web application firewall policy for Azure CDN. */ -export type CdnWebApplicationFirewallPolicy = TrackedResource & { - /** Gets a unique read-only string that changes whenever the resource is updated. */ - etag?: string; - /** The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. */ - sku: Sku; - /** Describes policySettings for policy */ - policySettings?: PolicySettings; - /** Describes rate limit rules inside the policy. */ - rateLimitRules?: RateLimitRuleList; - /** Describes custom rules inside the policy. */ - customRules?: CustomRuleList; - /** Describes managed rules inside the policy. */ - managedRules?: ManagedRuleSetList; - /** - * Describes Azure CDN endpoints associated with this Web Application Firewall policy. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly endpointLinks?: CdnEndpoint[]; - /** - * Provisioning state of the WebApplicationFirewallPolicy. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** - * Resource status of the policy. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceState?: PolicyResourceState; -}; - -/** CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. */ -export type Origin = ProxyResource & { - /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ - hostName?: string; - /** The value of the HTTP port. Must be between 1 and 65535. */ - httpPort?: number; - /** The value of the HTTPS port. Must be between 1 and 65535. */ - httpsPort?: number; - /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ - originHostHeader?: string; - /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ - priority?: number; - /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ - weight?: number; - /** Origin is enabled for load balancing or not */ - enabled?: boolean; - /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ - privateLinkAlias?: string; - /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ - privateLinkResourceId?: string; - /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ - privateLinkLocation?: string; - /** A custom message to be included in the approval request to connect to the Private Link. */ - privateLinkApprovalMessage?: string; +/** The JSON object that contains the properties of the origin. */ +export type OriginProperties = OriginUpdatePropertiesParameters & { /** * Resource status of the origin. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resourceState?: OriginResourceState; /** - * Provisioning status of the origin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** - * The approval status for the connection to the Private Link - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateEndpointStatus?: PrivateEndpointStatus; -}; - -/** Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. */ -export type OriginGroup = ProxyResource & { - /** Health probe settings to the origin that is used to determine the health of the origin. */ - healthProbeSettings?: HealthProbeParameters; - /** The source of the content being delivered via CDN within given origin group. */ - origins?: ResourceReference[]; - /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ - responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; - /** - * Resource status of the origin group. + * Provisioning status of the origin. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resourceState?: OriginGroupResourceState; + readonly provisioningState?: string; /** - * Provisioning status of the origin group. + * The approval status for the connection to the Private Link * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly privateEndpointStatus?: PrivateEndpointStatus; }; -/** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ -export type CustomDomain = ProxyResource & { - /** The host name of the custom domain. Must be a domain name. */ - hostName?: string; +/** The JSON object that contains the properties of the origin group. */ +export type OriginGroupProperties = OriginGroupUpdatePropertiesParameters & { /** - * Resource status of the custom domain. + * Resource status of the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resourceState?: CustomDomainResourceState; + readonly resourceState?: OriginGroupResourceState; /** - * Provisioning status of Custom Https of the custom domain. + * Provisioning status of the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; + readonly provisioningState?: string; +}; + +/** Defines a rate limiting rule that can be included in a waf policy */ +export type RateLimitRule = CustomRule & { + /** Defines rate limit threshold. */ + rateLimitThreshold: number; + /** Defines rate limit duration. Default is 1 minute. */ + rateLimitDurationInMinutes: number; +}; + +/** Managed Certificate used for https */ +export type ManagedCertificate = Certificate & {}; + +/** Customer Certificate used for https */ +export type CustomerCertificate = Certificate & { + /** Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ + secretSource?: ResourceReference; + /** Certificate version. */ + secretVersion?: string; /** - * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + * Certificate issuing authority. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; - /** Certificate parameters for securing custom HTTPS */ - customHttpsParameters?: CustomDomainHttpsParametersUnion; - /** Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. */ - validationData?: string; + readonly certificateAuthority?: string; + /** Whether to use the latest version for the certificate */ + useLatestVersion?: boolean; + /** The list of SANs. */ + subjectAlternativeNames?: string[]; /** - * Provisioning status of the custom domain. + * Certificate thumbprint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly thumbprint?: string; }; -/** Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users. */ -export type EdgeNode = ProxyResource & { - /** List of ip address groups. */ - ipAddressGroups?: IpAddressGroup[]; -}; +/** Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. */ +export type AzureFirstPartyManagedCertificate = Certificate & {}; /** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ export type AFDDomain = ProxyResource & { + /** + * The name of the profile which holds the domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; /** The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. */ tlsSettings?: AFDDomainHttpsParameters; /** Resource reference to the Azure DNS zone */ azureDnsZone?: ResourceReference; + /** Resource reference to the Azure resource where custom domain ownership was prevalidated */ + preValidatedCustomDomainResourceId?: ResourceReference; /** * Provisioning status * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2407,6 +2658,11 @@ export type AFDDomain = ProxyResource & { /** AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. */ export type AFDOriginGroup = ProxyResource & { + /** + * The name of the profile which holds the origin group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; /** Load balancing settings for a backend pool */ loadBalancingSettings?: LoadBalancingSettingsParameters; /** Health probe settings to the origin that is used to determine the health of the origin. */ @@ -2428,6 +2684,11 @@ export type AFDOriginGroup = ProxyResource & { /** CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. */ export type AFDOrigin = ProxyResource & { + /** + * The name of the origin group which contains this origin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly originGroupName?: string; /** Resource reference to the Azure origin resource. */ azureOrigin?: ResourceReference; /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ @@ -2446,6 +2707,8 @@ export type AFDOrigin = ProxyResource & { sharedPrivateLinkResource?: Record; /** Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. */ enabledState?: EnabledState; + /** Whether to enable certificate name check at origin level */ + enforceCertificateNameCheck?: boolean; /** * Provisioning status * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2457,8 +2720,13 @@ export type AFDOrigin = ProxyResource & { /** Friendly Routes name mapping to the any Routes or secret related information. */ export type Route = ProxyResource & { + /** + * The name of the endpoint which holds the route. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endpointName?: string; /** Domains referenced by this endpoint. */ - customDomains?: ResourceReference[]; + customDomains?: ActivatedResourceReference[]; /** A reference to the origin group. */ originGroup?: ResourceReference; /** A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ @@ -2469,10 +2737,8 @@ export type Route = ProxyResource & { supportedProtocols?: AFDEndpointProtocols[]; /** The route patterns of the rule. */ patternsToMatch?: string[]; - /** compression settings. */ - compressionSettings?: Record; - /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ - queryStringCachingBehavior?: AfdQueryStringCachingBehavior; + /** The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. */ + cacheConfiguration?: AfdRouteCacheConfiguration; /** Protocol this rule will use when forwarding traffic to backends. */ forwardingProtocol?: ForwardingProtocol; /** whether this route will be linked to the default endpoint domain. */ @@ -2488,123 +2754,424 @@ export type Route = ProxyResource & { readonly provisioningState?: AfdProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deploymentStatus?: DeploymentStatus; -}; - -/** Friendly RuleSet name mapping to the any RuleSet or secret related information. */ -export type RuleSet = ProxyResource & { +}; + +/** Friendly RuleSet name mapping to the any RuleSet or secret related information. */ +export type RuleSet = ProxyResource & { + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; + /** + * The name of the profile which holds the rule set. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; +}; + +/** Friendly Rules name mapping to the any Rules or secret related information. */ +export type Rule = ProxyResource & { + /** + * The name of the rule set containing the rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly ruleSetName?: string; + /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ + order?: number; + /** A list of conditions that must be matched for the actions to be executed */ + conditions?: DeliveryRuleConditionUnion[]; + /** A list of actions that are executed when all the conditions of a rule are satisfied. */ + actions?: DeliveryRuleActionAutoGeneratedUnion[]; + /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ + matchProcessingBehavior?: MatchProcessingBehavior; + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; +}; + +/** SecurityPolicy association for AzureFrontDoor profile */ +export type SecurityPolicy = ProxyResource & { + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; + /** + * The name of the profile which holds the security policy. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** object which contains security policy parameters */ + parameters?: SecurityPolicyParametersUnion; +}; + +/** Friendly Secret name mapping to the any Secret or secret related information. */ +export type Secret = ProxyResource & { + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; + /** + * The name of the profile which holds the secret. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** object which contains secret parameters */ + parameters?: SecretParametersUnion; +}; + +/** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ +export type CustomDomain = ProxyResource & { + /** The host name of the custom domain. Must be a domain name. */ + hostName?: string; + /** + * Resource status of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: CustomDomainResourceState; + /** + * Provisioning status of Custom Https of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; + /** Certificate parameters for securing custom HTTPS */ + customHttpsParameters?: CustomDomainHttpsParametersUnion; + /** Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. */ + validationData?: string; + /** + * Provisioning status of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; +}; + +/** CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. */ +export type Origin = ProxyResource & { + /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ + hostName?: string; + /** The value of the HTTP port. Must be between 1 and 65535. */ + httpPort?: number; + /** The value of the HTTPS port. Must be between 1 and 65535. */ + httpsPort?: number; + /** The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint */ + originHostHeader?: string; + /** Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 */ + priority?: number; + /** Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ + weight?: number; + /** Origin is enabled for load balancing or not */ + enabled?: boolean; + /** The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ + privateLinkAlias?: string; + /** The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' */ + privateLinkResourceId?: string; + /** The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated */ + privateLinkLocation?: string; + /** A custom message to be included in the approval request to connect to the Private Link. */ + privateLinkApprovalMessage?: string; + /** + * Resource status of the origin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: OriginResourceState; + /** + * Provisioning status of the origin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * The approval status for the connection to the Private Link + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointStatus?: PrivateEndpointStatus; +}; + +/** Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. */ +export type OriginGroup = ProxyResource & { + /** Health probe settings to the origin that is used to determine the health of the origin. */ + healthProbeSettings?: HealthProbeParameters; + /** The source of the content being delivered via CDN within given origin group. */ + origins?: ResourceReference[]; + /** Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. */ + responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + /** + * Resource status of the origin group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: OriginGroupResourceState; + /** + * Provisioning status of the origin group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; +}; + +/** Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users. */ +export type EdgeNode = ProxyResource & { + /** List of ip address groups. */ + ipAddressGroups?: IpAddressGroup[]; +}; + +/** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. */ +export type AFDEndpoint = TrackedResource & { + /** + * The name of the profile which holds the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly profileName?: string; + /** Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' */ + enabledState?: EnabledState; + /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ + originResponseTimeoutSeconds?: number; + /** + * Provisioning status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AfdProvisioningState; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly deploymentStatus?: DeploymentStatus; /** - * Provisioning status + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; + readonly hostName?: string; }; -/** Friendly Rules name mapping to the any Rules or secret related information. */ -export type Rule = ProxyResource & { - /** The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. */ - order?: number; - /** A list of conditions that must be matched for the actions to be executed */ - conditions?: DeliveryRuleConditionUnion[]; - /** A list of actions that are executed when all the conditions of a rule are satisfied. */ - actions?: DeliveryRuleActionAutoGeneratedUnion[]; - /** If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. */ - matchProcessingBehavior?: MatchProcessingBehavior; +/** A profile is a logical grouping of endpoints that share the same settings. */ +export type Profile = TrackedResource & { + /** The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. */ + sku: Sku; /** - * Provisioning status + * Resource status of the profile. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; + readonly resourceState?: ProfileResourceState; + /** Managed service identity. */ + identity?: ManagedServiceIdentity; + /** + * Provisioning status of the profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * The Id of the frontdoor. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly frontDoorId?: string; + /** + * Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly kind?: string; + /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ + originResponseTimeoutSeconds?: number; }; -/** SecurityPolicy association for AzureFrontDoor profile */ -export type SecurityPolicy = ProxyResource & { +/** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. */ +export type Endpoint = TrackedResource & { + /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ + originPath?: string; + /** List of content types on which compression applies. The value should be a valid MIME type. */ + contentTypesToCompress?: string[]; + /** The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ + originHostHeader?: string; + /** Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. */ + isCompressionEnabled?: boolean; + /** Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpAllowed?: boolean; + /** Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. */ + isHttpsAllowed?: boolean; + /** Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. */ + queryStringCachingBehavior?: QueryStringCachingBehavior; + /** Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. */ + optimizationType?: OptimizationType; + /** Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. */ + probePath?: string; + /** List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ */ + geoFilters?: GeoFilter[]; + /** A reference to the origin group. */ + defaultOriginGroup?: ResourceReference; + /** List of keys used to validate the signed URL hashes. */ + urlSigningKeys?: UrlSigningKey[]; + /** A policy that specifies the delivery rules to be used for an endpoint. */ + deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; + /** Defines the Web Application Firewall policy for the endpoint (if applicable) */ + webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; /** - * Provisioning status + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; - /** object which contains security policy parameters */ - parameters?: SecurityPolicyParametersUnion; + readonly hostName?: string; + /** The source of the content being delivered via CDN. */ + origins?: DeepCreatedOrigin[]; + /** The origin groups comprising of origins that are used for load balancing the traffic based on availability. */ + originGroups?: DeepCreatedOriginGroup[]; + /** + * The custom domains under the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customDomains?: CustomDomain[]; + /** + * Resource status of the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: EndpointResourceState; + /** + * Provisioning status of the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; }; -/** Friendly Secret name mapping to the any Secret or secret related information. */ -export type Secret = ProxyResource & { +/** Defines web application firewall policy for Azure CDN. */ +export type CdnWebApplicationFirewallPolicy = TrackedResource & { + /** Gets a unique read-only string that changes whenever the resource is updated. */ + etag?: string; + /** The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. */ + sku: Sku; + /** Describes policySettings for policy */ + policySettings?: PolicySettings; + /** Describes rate limit rules inside the policy. */ + rateLimitRules?: RateLimitRuleList; + /** Describes custom rules inside the policy. */ + customRules?: CustomRuleList; + /** Describes managed rules inside the policy. */ + managedRules?: ManagedRuleSetList; /** - * Provisioning status + * Describes Azure CDN endpoints associated with this Web Application Firewall policy. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: AfdProvisioningState; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deploymentStatus?: DeploymentStatus; - /** object which contains secret parameters */ - parameters?: SecretParametersUnion; + readonly endpointLinks?: CdnEndpoint[]; + /** + * Provisioning state of the WebApplicationFirewallPolicy. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** + * Resource status of the policy. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: PolicyResourceState; }; -/** Known values of {@link SkuName} that the service accepts. */ -export enum KnownSkuName { - StandardVerizon = "Standard_Verizon", - PremiumVerizon = "Premium_Verizon", - CustomVerizon = "Custom_Verizon", - StandardAkamai = "Standard_Akamai", - StandardChinaCdn = "Standard_ChinaCdn", - StandardMicrosoft = "Standard_Microsoft", - PremiumChinaCdn = "Premium_ChinaCdn", - StandardAzureFrontDoor = "Standard_AzureFrontDoor", - PremiumAzureFrontDoor = "Premium_AzureFrontDoor", - Standard955BandWidthChinaCdn = "Standard_955BandWidth_ChinaCdn", - StandardAvgBandWidthChinaCdn = "Standard_AvgBandWidth_ChinaCdn", - StandardPlusChinaCdn = "StandardPlus_ChinaCdn", - StandardPlus955BandWidthChinaCdn = "StandardPlus_955BandWidth_ChinaCdn", - StandardPlusAvgBandWidthChinaCdn = "StandardPlus_AvgBandWidth_ChinaCdn" +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + Count = "Count" } /** - * Defines values for SkuName. \ - * {@link KnownSkuName} can be used interchangeably with SkuName, + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_Verizon** \ - * **Premium_Verizon** \ - * **Custom_Verizon** \ - * **Standard_Akamai** \ - * **Standard_ChinaCdn** \ - * **Standard_Microsoft** \ - * **Premium_ChinaCdn** \ - * **Standard_AzureFrontDoor** \ - * **Premium_AzureFrontDoor** \ - * **Standard_955BandWidth_ChinaCdn** \ - * **Standard_AvgBandWidth_ChinaCdn** \ - * **StandardPlus_ChinaCdn** \ - * **StandardPlus_955BandWidth_ChinaCdn** \ - * **StandardPlus_AvgBandWidth_ChinaCdn** + * **Count** */ -export type SkuName = string; +export type UsageUnit = string; -/** Known values of {@link ProfileResourceState} that the service accepts. */ -export enum KnownProfileResourceState { - Creating = "Creating", - Active = "Active", +/** Known values of {@link DomainValidationState} that the service accepts. */ +export enum KnownDomainValidationState { + Unknown = "Unknown", + Submitting = "Submitting", + Pending = "Pending", + Rejected = "Rejected", + TimedOut = "TimedOut", + PendingRevalidation = "PendingRevalidation", + Approved = "Approved" +} + +/** + * Defines values for DomainValidationState. \ + * {@link KnownDomainValidationState} can be used interchangeably with DomainValidationState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Submitting** \ + * **Pending** \ + * **Rejected** \ + * **TimedOut** \ + * **PendingRevalidation** \ + * **Approved** + */ +export type DomainValidationState = string; + +/** Known values of {@link AfdCertificateType} that the service accepts. */ +export enum KnownAfdCertificateType { + CustomerCertificate = "CustomerCertificate", + ManagedCertificate = "ManagedCertificate", + AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate" +} + +/** + * Defines values for AfdCertificateType. \ + * {@link KnownAfdCertificateType} can be used interchangeably with AfdCertificateType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **CustomerCertificate** \ + * **ManagedCertificate** \ + * **AzureFirstPartyManagedCertificate** + */ +export type AfdCertificateType = string; + +/** Known values of {@link AfdProvisioningState} that the service accepts. */ +export enum KnownAfdProvisioningState { + Succeeded = "Succeeded", + Failed = "Failed", + Updating = "Updating", Deleting = "Deleting", - Disabled = "Disabled" + Creating = "Creating" } /** - * Defines values for ProfileResourceState. \ - * {@link KnownProfileResourceState} can be used interchangeably with ProfileResourceState, + * Defines values for AfdProvisioningState. \ + * {@link KnownAfdProvisioningState} can be used interchangeably with AfdProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Active** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ * **Deleting** \ - * **Disabled** + * **Creating** */ -export type ProfileResourceState = string; +export type AfdProvisioningState = string; + +/** Known values of {@link DeploymentStatus} that the service accepts. */ +export enum KnownDeploymentStatus { + NotStarted = "NotStarted", + InProgress = "InProgress", + Succeeded = "Succeeded", + Failed = "Failed" +} + +/** + * Defines values for DeploymentStatus. \ + * {@link KnownDeploymentStatus} can be used interchangeably with DeploymentStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted** \ + * **InProgress** \ + * **Succeeded** \ + * **Failed** + */ +export type DeploymentStatus = string; /** Known values of {@link IdentityType} that the service accepts. */ export enum KnownIdentityType { @@ -2626,51 +3193,107 @@ export enum KnownIdentityType { */ export type IdentityType = string; -/** Known values of {@link OptimizationType} that the service accepts. */ -export enum KnownOptimizationType { - GeneralWebDelivery = "GeneralWebDelivery", - GeneralMediaStreaming = "GeneralMediaStreaming", - VideoOnDemandMediaStreaming = "VideoOnDemandMediaStreaming", - LargeFileDownload = "LargeFileDownload", - DynamicSiteAcceleration = "DynamicSiteAcceleration" +/** Known values of {@link EnabledState} that the service accepts. */ +export enum KnownEnabledState { + Enabled = "Enabled", + Disabled = "Disabled" } /** - * Defines values for OptimizationType. \ - * {@link KnownOptimizationType} can be used interchangeably with OptimizationType, + * Defines values for EnabledState. \ + * {@link KnownEnabledState} can be used interchangeably with EnabledState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **GeneralWebDelivery** \ - * **GeneralMediaStreaming** \ - * **VideoOnDemandMediaStreaming** \ - * **LargeFileDownload** \ - * **DynamicSiteAcceleration** + * **Enabled** \ + * **Disabled** */ -export type OptimizationType = string; +export type EnabledState = string; -/** Known values of {@link EndpointResourceState} that the service accepts. */ -export enum KnownEndpointResourceState { - Creating = "Creating", - Deleting = "Deleting", - Running = "Running", - Starting = "Starting", - Stopped = "Stopped", - Stopping = "Stopping" +/** Known values of {@link AFDEndpointProtocols} that the service accepts. */ +export enum KnownAFDEndpointProtocols { + Http = "Http", + Https = "Https" } /** - * Defines values for EndpointResourceState. \ - * {@link KnownEndpointResourceState} can be used interchangeably with EndpointResourceState, + * Defines values for AFDEndpointProtocols. \ + * {@link KnownAFDEndpointProtocols} can be used interchangeably with AFDEndpointProtocols, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Deleting** \ - * **Running** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** + * **Http** \ + * **Https** */ -export type EndpointResourceState = string; +export type AFDEndpointProtocols = string; + +/** Known values of {@link AfdQueryStringCachingBehavior} that the service accepts. */ +export enum KnownAfdQueryStringCachingBehavior { + IgnoreQueryString = "IgnoreQueryString", + UseQueryString = "UseQueryString", + IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings" +} + +/** + * Defines values for AfdQueryStringCachingBehavior. \ + * {@link KnownAfdQueryStringCachingBehavior} can be used interchangeably with AfdQueryStringCachingBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **IgnoreQueryString** \ + * **UseQueryString** \ + * **IgnoreSpecifiedQueryStrings** \ + * **IncludeSpecifiedQueryStrings** + */ +export type AfdQueryStringCachingBehavior = string; + +/** Known values of {@link ForwardingProtocol} that the service accepts. */ +export enum KnownForwardingProtocol { + HttpOnly = "HttpOnly", + HttpsOnly = "HttpsOnly", + MatchRequest = "MatchRequest" +} + +/** + * Defines values for ForwardingProtocol. \ + * {@link KnownForwardingProtocol} can be used interchangeably with ForwardingProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **HttpOnly** \ + * **HttpsOnly** \ + * **MatchRequest** + */ +export type ForwardingProtocol = string; + +/** Known values of {@link LinkToDefaultDomain} that the service accepts. */ +export enum KnownLinkToDefaultDomain { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for LinkToDefaultDomain. \ + * {@link KnownLinkToDefaultDomain} can be used interchangeably with LinkToDefaultDomain, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type LinkToDefaultDomain = string; + +/** Known values of {@link HttpsRedirect} that the service accepts. */ +export enum KnownHttpsRedirect { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for HttpsRedirect. \ + * {@link KnownHttpsRedirect} can be used interchangeably with HttpsRedirect, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type HttpsRedirect = string; /** Known values of {@link MatchVariable} that the service accepts. */ export enum KnownMatchVariable { @@ -2688,8 +3311,11 @@ export enum KnownMatchVariable { HttpVersion = "HttpVersion", Cookies = "Cookies", IsDevice = "IsDevice", - RemoteAddr = "RemoteAddr", - SocketAddr = "SocketAddr" + SocketAddr = "SocketAddr", + ClientPort = "ClientPort", + ServerPort = "ServerPort", + HostName = "HostName", + SslProtocol = "SslProtocol" } /** @@ -2711,8 +3337,11 @@ export enum KnownMatchVariable { * **HttpVersion** \ * **Cookies** \ * **IsDevice** \ - * **RemoteAddr** \ - * **SocketAddr** + * **SocketAddr** \ + * **ClientPort** \ + * **ServerPort** \ + * **HostName** \ + * **SslProtocol** */ export type MatchVariable = string; @@ -2723,730 +3352,660 @@ export enum KnownDeliveryRuleAction { ModifyRequestHeader = "ModifyRequestHeader", ModifyResponseHeader = "ModifyResponseHeader", UrlRedirect = "UrlRedirect", - UrlRewrite = "UrlRewrite", - UrlSigning = "UrlSigning", - OriginGroupOverride = "OriginGroupOverride" -} - -/** - * Defines values for DeliveryRuleAction. \ - * {@link KnownDeliveryRuleAction} can be used interchangeably with DeliveryRuleAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **CacheExpiration** \ - * **CacheKeyQueryString** \ - * **ModifyRequestHeader** \ - * **ModifyResponseHeader** \ - * **UrlRedirect** \ - * **UrlRewrite** \ - * **UrlSigning** \ - * **OriginGroupOverride** - */ -export type DeliveryRuleAction = string; - -/** Known values of {@link OriginResourceState} that the service accepts. */ -export enum KnownOriginResourceState { - Creating = "Creating", - Active = "Active", - Deleting = "Deleting" -} - -/** - * Defines values for OriginResourceState. \ - * {@link KnownOriginResourceState} can be used interchangeably with OriginResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Active** \ - * **Deleting** - */ -export type OriginResourceState = string; - -/** Known values of {@link PrivateEndpointStatus} that the service accepts. */ -export enum KnownPrivateEndpointStatus { - Pending = "Pending", - Approved = "Approved", - Rejected = "Rejected", - Disconnected = "Disconnected", - Timeout = "Timeout" -} - -/** - * Defines values for PrivateEndpointStatus. \ - * {@link KnownPrivateEndpointStatus} can be used interchangeably with PrivateEndpointStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** - */ -export type PrivateEndpointStatus = string; - -/** Known values of {@link OriginGroupResourceState} that the service accepts. */ -export enum KnownOriginGroupResourceState { - Creating = "Creating", - Active = "Active", - Deleting = "Deleting" -} - -/** - * Defines values for OriginGroupResourceState. \ - * {@link KnownOriginGroupResourceState} can be used interchangeably with OriginGroupResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Active** \ - * **Deleting** - */ -export type OriginGroupResourceState = string; - -/** Known values of {@link CustomDomainResourceState} that the service accepts. */ -export enum KnownCustomDomainResourceState { - Creating = "Creating", - Active = "Active", - Deleting = "Deleting" -} - -/** - * Defines values for CustomDomainResourceState. \ - * {@link KnownCustomDomainResourceState} can be used interchangeably with CustomDomainResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Active** \ - * **Deleting** - */ -export type CustomDomainResourceState = string; - -/** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */ -export enum KnownCustomHttpsProvisioningState { - Enabling = "Enabling", - Enabled = "Enabled", - Disabling = "Disabling", - Disabled = "Disabled", - Failed = "Failed" -} - -/** - * Defines values for CustomHttpsProvisioningState. \ - * {@link KnownCustomHttpsProvisioningState} can be used interchangeably with CustomHttpsProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabling** \ - * **Enabled** \ - * **Disabling** \ - * **Disabled** \ - * **Failed** - */ -export type CustomHttpsProvisioningState = string; - -/** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */ -export enum KnownCustomHttpsProvisioningSubstate { - SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest", - PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval", - DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved", - DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected", - DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut", - IssuingCertificate = "IssuingCertificate", - DeployingCertificate = "DeployingCertificate", - CertificateDeployed = "CertificateDeployed", - DeletingCertificate = "DeletingCertificate", - CertificateDeleted = "CertificateDeleted" -} - -/** - * Defines values for CustomHttpsProvisioningSubstate. \ - * {@link KnownCustomHttpsProvisioningSubstate} can be used interchangeably with CustomHttpsProvisioningSubstate, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SubmittingDomainControlValidationRequest** \ - * **PendingDomainControlValidationREquestApproval** \ - * **DomainControlValidationRequestApproved** \ - * **DomainControlValidationRequestRejected** \ - * **DomainControlValidationRequestTimedOut** \ - * **IssuingCertificate** \ - * **DeployingCertificate** \ - * **CertificateDeployed** \ - * **DeletingCertificate** \ - * **CertificateDeleted** + UrlRewrite = "UrlRewrite", + UrlSigning = "UrlSigning", + OriginGroupOverride = "OriginGroupOverride", + RouteConfigurationOverride = "RouteConfigurationOverride" +} + +/** + * Defines values for DeliveryRuleAction. \ + * {@link KnownDeliveryRuleAction} can be used interchangeably with DeliveryRuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **CacheExpiration** \ + * **CacheKeyQueryString** \ + * **ModifyRequestHeader** \ + * **ModifyResponseHeader** \ + * **UrlRedirect** \ + * **UrlRewrite** \ + * **UrlSigning** \ + * **OriginGroupOverride** \ + * **RouteConfigurationOverride** */ -export type CustomHttpsProvisioningSubstate = string; +export type DeliveryRuleAction = string; -/** Known values of {@link CertificateSource} that the service accepts. */ -export enum KnownCertificateSource { - AzureKeyVault = "AzureKeyVault", - Cdn = "Cdn" +/** Known values of {@link MatchProcessingBehavior} that the service accepts. */ +export enum KnownMatchProcessingBehavior { + Continue = "Continue", + Stop = "Stop" } /** - * Defines values for CertificateSource. \ - * {@link KnownCertificateSource} can be used interchangeably with CertificateSource, + * Defines values for MatchProcessingBehavior. \ + * {@link KnownMatchProcessingBehavior} can be used interchangeably with MatchProcessingBehavior, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureKeyVault** \ - * **Cdn** + * **Continue** \ + * **Stop** */ -export type CertificateSource = string; +export type MatchProcessingBehavior = string; -/** Known values of {@link ProtocolType} that the service accepts. */ -export enum KnownProtocolType { - ServerNameIndication = "ServerNameIndication", - IPBased = "IPBased" +/** Known values of {@link SecurityPolicyType} that the service accepts. */ +export enum KnownSecurityPolicyType { + WebApplicationFirewall = "WebApplicationFirewall" } /** - * Defines values for ProtocolType. \ - * {@link KnownProtocolType} can be used interchangeably with ProtocolType, + * Defines values for SecurityPolicyType. \ + * {@link KnownSecurityPolicyType} can be used interchangeably with SecurityPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ServerNameIndication** \ - * **IPBased** + * **WebApplicationFirewall** */ -export type ProtocolType = string; +export type SecurityPolicyType = string; -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - Count = "Count" +/** Known values of {@link SecretType} that the service accepts. */ +export enum KnownSecretType { + UrlSigningKey = "UrlSigningKey", + CustomerCertificate = "CustomerCertificate", + ManagedCertificate = "ManagedCertificate", + AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate" } /** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * Defines values for SecretType. \ + * {@link KnownSecretType} can be used interchangeably with SecretType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Count** + * **UrlSigningKey** \ + * **CustomerCertificate** \ + * **ManagedCertificate** \ + * **AzureFirstPartyManagedCertificate** */ -export type UsageUnit = string; +export type SecretType = string; -/** Known values of {@link DomainValidationState} that the service accepts. */ -export enum KnownDomainValidationState { - Unknown = "Unknown", - Submitting = "Submitting", - Pending = "Pending", - TimedOut = "TimedOut", - PendingRevalidation = "PendingRevalidation", - Approved = "Approved" +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + Valid = "Valid", + Invalid = "Invalid", + AccessDenied = "AccessDenied", + CertificateExpired = "CertificateExpired" } /** - * Defines values for DomainValidationState. \ - * {@link KnownDomainValidationState} can be used interchangeably with DomainValidationState, + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Submitting** \ - * **Pending** \ - * **TimedOut** \ - * **PendingRevalidation** \ - * **Approved** + * **Valid** \ + * **Invalid** \ + * **AccessDenied** \ + * **CertificateExpired** */ -export type DomainValidationState = string; +export type Status = string; -/** Known values of {@link AfdCertificateType} that the service accepts. */ -export enum KnownAfdCertificateType { - CustomerCertificate = "CustomerCertificate", - ManagedCertificate = "ManagedCertificate" +/** Known values of {@link LogMetric} that the service accepts. */ +export enum KnownLogMetric { + ClientRequestCount = "clientRequestCount", + ClientRequestTraffic = "clientRequestTraffic", + ClientRequestBandwidth = "clientRequestBandwidth", + OriginRequestTraffic = "originRequestTraffic", + OriginRequestBandwidth = "originRequestBandwidth", + TotalLatency = "totalLatency" } /** - * Defines values for AfdCertificateType. \ - * {@link KnownAfdCertificateType} can be used interchangeably with AfdCertificateType, + * Defines values for LogMetric. \ + * {@link KnownLogMetric} can be used interchangeably with LogMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CustomerCertificate** \ - * **ManagedCertificate** + * **clientRequestCount** \ + * **clientRequestTraffic** \ + * **clientRequestBandwidth** \ + * **originRequestTraffic** \ + * **originRequestBandwidth** \ + * **totalLatency** */ -export type AfdCertificateType = string; +export type LogMetric = string; -/** Known values of {@link AfdProvisioningState} that the service accepts. */ -export enum KnownAfdProvisioningState { - Succeeded = "Succeeded", - Failed = "Failed", - Updating = "Updating", - Deleting = "Deleting", - Creating = "Creating" +/** Known values of {@link LogMetricsGranularity} that the service accepts. */ +export enum KnownLogMetricsGranularity { + PT5M = "PT5M", + PT1H = "PT1H", + P1D = "P1D" } /** - * Defines values for AfdProvisioningState. \ - * {@link KnownAfdProvisioningState} can be used interchangeably with AfdProvisioningState, + * Defines values for LogMetricsGranularity. \ + * {@link KnownLogMetricsGranularity} can be used interchangeably with LogMetricsGranularity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Updating** \ - * **Deleting** \ - * **Creating** + * **PT5M** \ + * **PT1H** \ + * **P1D** */ -export type AfdProvisioningState = string; +export type LogMetricsGranularity = string; -/** Known values of {@link DeploymentStatus} that the service accepts. */ -export enum KnownDeploymentStatus { - NotStarted = "NotStarted", - InProgress = "InProgress", - Succeeded = "Succeeded", - Failed = "Failed" +/** Known values of {@link LogMetricsGroupBy} that the service accepts. */ +export enum KnownLogMetricsGroupBy { + HttpStatusCode = "httpStatusCode", + Protocol = "protocol", + CacheStatus = "cacheStatus", + CountryOrRegion = "countryOrRegion", + CustomDomain = "customDomain" } /** - * Defines values for DeploymentStatus. \ - * {@link KnownDeploymentStatus} can be used interchangeably with DeploymentStatus, + * Defines values for LogMetricsGroupBy. \ + * {@link KnownLogMetricsGroupBy} can be used interchangeably with LogMetricsGroupBy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotStarted** \ - * **InProgress** \ - * **Succeeded** \ - * **Failed** + * **httpStatusCode** \ + * **protocol** \ + * **cacheStatus** \ + * **countryOrRegion** \ + * **customDomain** */ -export type DeploymentStatus = string; +export type LogMetricsGroupBy = string; -/** Known values of {@link EnabledState} that the service accepts. */ -export enum KnownEnabledState { - Enabled = "Enabled", - Disabled = "Disabled" +/** Known values of {@link MetricsResponseGranularity} that the service accepts. */ +export enum KnownMetricsResponseGranularity { + PT5M = "PT5M", + PT1H = "PT1H", + P1D = "P1D" } /** - * Defines values for EnabledState. \ - * {@link KnownEnabledState} can be used interchangeably with EnabledState, + * Defines values for MetricsResponseGranularity. \ + * {@link KnownMetricsResponseGranularity} can be used interchangeably with MetricsResponseGranularity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **PT5M** \ + * **PT1H** \ + * **P1D** */ -export type EnabledState = string; +export type MetricsResponseGranularity = string; -/** Known values of {@link AFDEndpointProtocols} that the service accepts. */ -export enum KnownAFDEndpointProtocols { - Http = "Http", - Https = "Https" +/** Known values of {@link MetricsResponseSeriesItemUnit} that the service accepts. */ +export enum KnownMetricsResponseSeriesItemUnit { + Count = "count", + Bytes = "bytes", + BitsPerSecond = "bitsPerSecond", + MilliSeconds = "milliSeconds" } /** - * Defines values for AFDEndpointProtocols. \ - * {@link KnownAFDEndpointProtocols} can be used interchangeably with AFDEndpointProtocols, + * Defines values for MetricsResponseSeriesItemUnit. \ + * {@link KnownMetricsResponseSeriesItemUnit} can be used interchangeably with MetricsResponseSeriesItemUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Http** \ - * **Https** + * **count** \ + * **bytes** \ + * **bitsPerSecond** \ + * **milliSeconds** */ -export type AFDEndpointProtocols = string; +export type MetricsResponseSeriesItemUnit = string; -/** Known values of {@link ForwardingProtocol} that the service accepts. */ -export enum KnownForwardingProtocol { - HttpOnly = "HttpOnly", - HttpsOnly = "HttpsOnly", - MatchRequest = "MatchRequest" +/** Known values of {@link LogRanking} that the service accepts. */ +export enum KnownLogRanking { + Url = "url", + Referrer = "referrer", + Browser = "browser", + UserAgent = "userAgent", + CountryOrRegion = "countryOrRegion" } /** - * Defines values for ForwardingProtocol. \ - * {@link KnownForwardingProtocol} can be used interchangeably with ForwardingProtocol, + * Defines values for LogRanking. \ + * {@link KnownLogRanking} can be used interchangeably with LogRanking, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **HttpOnly** \ - * **HttpsOnly** \ - * **MatchRequest** + * **url** \ + * **referrer** \ + * **browser** \ + * **userAgent** \ + * **countryOrRegion** */ -export type ForwardingProtocol = string; +export type LogRanking = string; -/** Known values of {@link LinkToDefaultDomain} that the service accepts. */ -export enum KnownLinkToDefaultDomain { - Enabled = "Enabled", - Disabled = "Disabled" +/** Known values of {@link LogRankingMetric} that the service accepts. */ +export enum KnownLogRankingMetric { + ClientRequestCount = "clientRequestCount", + ClientRequestTraffic = "clientRequestTraffic", + HitCount = "hitCount", + MissCount = "missCount", + UserErrorCount = "userErrorCount", + ErrorCount = "errorCount" } /** - * Defines values for LinkToDefaultDomain. \ - * {@link KnownLinkToDefaultDomain} can be used interchangeably with LinkToDefaultDomain, + * Defines values for LogRankingMetric. \ + * {@link KnownLogRankingMetric} can be used interchangeably with LogRankingMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **clientRequestCount** \ + * **clientRequestTraffic** \ + * **hitCount** \ + * **missCount** \ + * **userErrorCount** \ + * **errorCount** */ -export type LinkToDefaultDomain = string; +export type LogRankingMetric = string; -/** Known values of {@link HttpsRedirect} that the service accepts. */ -export enum KnownHttpsRedirect { - Enabled = "Enabled", - Disabled = "Disabled" +/** Known values of {@link WafMetric} that the service accepts. */ +export enum KnownWafMetric { + ClientRequestCount = "clientRequestCount" } /** - * Defines values for HttpsRedirect. \ - * {@link KnownHttpsRedirect} can be used interchangeably with HttpsRedirect, + * Defines values for WafMetric. \ + * {@link KnownWafMetric} can be used interchangeably with WafMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **clientRequestCount** */ -export type HttpsRedirect = string; +export type WafMetric = string; -/** Known values of {@link MatchProcessingBehavior} that the service accepts. */ -export enum KnownMatchProcessingBehavior { - Continue = "Continue", - Stop = "Stop" +/** Known values of {@link WafGranularity} that the service accepts. */ +export enum KnownWafGranularity { + PT5M = "PT5M", + PT1H = "PT1H", + P1D = "P1D" } /** - * Defines values for MatchProcessingBehavior. \ - * {@link KnownMatchProcessingBehavior} can be used interchangeably with MatchProcessingBehavior, + * Defines values for WafGranularity. \ + * {@link KnownWafGranularity} can be used interchangeably with WafGranularity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Continue** \ - * **Stop** + * **PT5M** \ + * **PT1H** \ + * **P1D** */ -export type MatchProcessingBehavior = string; +export type WafGranularity = string; -/** Known values of {@link SecurityPolicyType} that the service accepts. */ -export enum KnownSecurityPolicyType { - WebApplicationFirewall = "WebApplicationFirewall" +/** Known values of {@link WafAction} that the service accepts. */ +export enum KnownWafAction { + Allow = "allow", + Block = "block", + Log = "log", + Redirect = "redirect" } /** - * Defines values for SecurityPolicyType. \ - * {@link KnownSecurityPolicyType} can be used interchangeably with SecurityPolicyType, + * Defines values for WafAction. \ + * {@link KnownWafAction} can be used interchangeably with WafAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **WebApplicationFirewall** + * **allow** \ + * **block** \ + * **log** \ + * **redirect** */ -export type SecurityPolicyType = string; +export type WafAction = string; -/** Known values of {@link SecretType} that the service accepts. */ -export enum KnownSecretType { - UrlSigningKey = "UrlSigningKey", - CustomerCertificate = "CustomerCertificate", - ManagedCertificate = "ManagedCertificate" +/** Known values of {@link WafRankingGroupBy} that the service accepts. */ +export enum KnownWafRankingGroupBy { + HttpStatusCode = "httpStatusCode", + CustomDomain = "customDomain" } /** - * Defines values for SecretType. \ - * {@link KnownSecretType} can be used interchangeably with SecretType, + * Defines values for WafRankingGroupBy. \ + * {@link KnownWafRankingGroupBy} can be used interchangeably with WafRankingGroupBy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **UrlSigningKey** \ - * **CustomerCertificate** \ - * **ManagedCertificate** + * **httpStatusCode** \ + * **customDomain** */ -export type SecretType = string; +export type WafRankingGroupBy = string; -/** Known values of {@link ValidateSecretType} that the service accepts. */ -export enum KnownValidateSecretType { - UrlSigningKey = "UrlSigningKey", - ManagedCertificate = "ManagedCertificate", - CustomerCertificate = "CustomerCertificate" +/** Known values of {@link WafRuleType} that the service accepts. */ +export enum KnownWafRuleType { + Managed = "managed", + Custom = "custom", + Bot = "bot" } /** - * Defines values for ValidateSecretType. \ - * {@link KnownValidateSecretType} can be used interchangeably with ValidateSecretType, + * Defines values for WafRuleType. \ + * {@link KnownWafRuleType} can be used interchangeably with WafRuleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **UrlSigningKey** \ - * **ManagedCertificate** \ - * **CustomerCertificate** + * **managed** \ + * **custom** \ + * **bot** */ -export type ValidateSecretType = string; +export type WafRuleType = string; -/** Known values of {@link Status} that the service accepts. */ -export enum KnownStatus { - Valid = "Valid", - Invalid = "Invalid", - AccessDenied = "AccessDenied", - CertificateExpired = "CertificateExpired" +/** Known values of {@link WafMetricsResponseGranularity} that the service accepts. */ +export enum KnownWafMetricsResponseGranularity { + PT5M = "PT5M", + PT1H = "PT1H", + P1D = "P1D" } /** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, + * Defines values for WafMetricsResponseGranularity. \ + * {@link KnownWafMetricsResponseGranularity} can be used interchangeably with WafMetricsResponseGranularity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Valid** \ - * **Invalid** \ - * **AccessDenied** \ - * **CertificateExpired** + * **PT5M** \ + * **PT1H** \ + * **P1D** */ -export type Status = string; +export type WafMetricsResponseGranularity = string; -/** Known values of {@link LogMetric} that the service accepts. */ -export enum KnownLogMetric { - ClientRequestCount = "clientRequestCount", - ClientRequestTraffic = "clientRequestTraffic", - ClientRequestBandwidth = "clientRequestBandwidth", - OriginRequestTraffic = "originRequestTraffic", - OriginRequestBandwidth = "originRequestBandwidth", - TotalLatency = "totalLatency" +/** Known values of {@link WafRankingType} that the service accepts. */ +export enum KnownWafRankingType { + Action = "action", + RuleGroup = "ruleGroup", + RuleId = "ruleId", + UserAgent = "userAgent", + ClientIp = "clientIp", + Url = "url", + CountryOrRegion = "countryOrRegion", + RuleType = "ruleType" } /** - * Defines values for LogMetric. \ - * {@link KnownLogMetric} can be used interchangeably with LogMetric, + * Defines values for WafRankingType. \ + * {@link KnownWafRankingType} can be used interchangeably with WafRankingType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **clientRequestCount** \ - * **clientRequestTraffic** \ - * **clientRequestBandwidth** \ - * **originRequestTraffic** \ - * **originRequestBandwidth** \ - * **totalLatency** + * **action** \ + * **ruleGroup** \ + * **ruleId** \ + * **userAgent** \ + * **clientIp** \ + * **url** \ + * **countryOrRegion** \ + * **ruleType** */ -export type LogMetric = string; +export type WafRankingType = string; -/** Known values of {@link LogMetricsGranularity} that the service accepts. */ -export enum KnownLogMetricsGranularity { - PT5M = "PT5M", - PT1H = "PT1H", - P1D = "P1D" +/** Known values of {@link SkuName} that the service accepts. */ +export enum KnownSkuName { + StandardVerizon = "Standard_Verizon", + PremiumVerizon = "Premium_Verizon", + CustomVerizon = "Custom_Verizon", + StandardAkamai = "Standard_Akamai", + StandardChinaCdn = "Standard_ChinaCdn", + StandardMicrosoft = "Standard_Microsoft", + StandardAzureFrontDoor = "Standard_AzureFrontDoor", + PremiumAzureFrontDoor = "Premium_AzureFrontDoor", + Standard955BandWidthChinaCdn = "Standard_955BandWidth_ChinaCdn", + StandardAvgBandWidthChinaCdn = "Standard_AvgBandWidth_ChinaCdn", + StandardPlusChinaCdn = "StandardPlus_ChinaCdn", + StandardPlus955BandWidthChinaCdn = "StandardPlus_955BandWidth_ChinaCdn", + StandardPlusAvgBandWidthChinaCdn = "StandardPlus_AvgBandWidth_ChinaCdn" } /** - * Defines values for LogMetricsGranularity. \ - * {@link KnownLogMetricsGranularity} can be used interchangeably with LogMetricsGranularity, + * Defines values for SkuName. \ + * {@link KnownSkuName} can be used interchangeably with SkuName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PT5M** \ - * **PT1H** \ - * **P1D** + * **Standard_Verizon** \ + * **Premium_Verizon** \ + * **Custom_Verizon** \ + * **Standard_Akamai** \ + * **Standard_ChinaCdn** \ + * **Standard_Microsoft** \ + * **Standard_AzureFrontDoor** \ + * **Premium_AzureFrontDoor** \ + * **Standard_955BandWidth_ChinaCdn** \ + * **Standard_AvgBandWidth_ChinaCdn** \ + * **StandardPlus_ChinaCdn** \ + * **StandardPlus_955BandWidth_ChinaCdn** \ + * **StandardPlus_AvgBandWidth_ChinaCdn** */ -export type LogMetricsGranularity = string; +export type SkuName = string; -/** Known values of {@link LogMetricsGroupBy} that the service accepts. */ -export enum KnownLogMetricsGroupBy { - HttpStatusCode = "httpStatusCode", - Protocol = "protocol", - CacheStatus = "cacheStatus", - Country = "country", - CustomDomain = "customDomain" +/** Known values of {@link ProfileResourceState} that the service accepts. */ +export enum KnownProfileResourceState { + Creating = "Creating", + Active = "Active", + Deleting = "Deleting", + Disabled = "Disabled" } /** - * Defines values for LogMetricsGroupBy. \ - * {@link KnownLogMetricsGroupBy} can be used interchangeably with LogMetricsGroupBy, + * Defines values for ProfileResourceState. \ + * {@link KnownProfileResourceState} can be used interchangeably with ProfileResourceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **httpStatusCode** \ - * **protocol** \ - * **cacheStatus** \ - * **country** \ - * **customDomain** + * **Creating** \ + * **Active** \ + * **Deleting** \ + * **Disabled** */ -export type LogMetricsGroupBy = string; +export type ProfileResourceState = string; -/** Known values of {@link MetricsResponseGranularity} that the service accepts. */ -export enum KnownMetricsResponseGranularity { - PT5M = "PT5M", - PT1H = "PT1H", - P1D = "P1D" +/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ +export enum KnownManagedServiceIdentityType { + SystemAssigned = "SystemAssigned", + None = "None" } /** - * Defines values for MetricsResponseGranularity. \ - * {@link KnownMetricsResponseGranularity} can be used interchangeably with MetricsResponseGranularity, + * Defines values for ManagedServiceIdentityType. \ + * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PT5M** \ - * **PT1H** \ - * **P1D** + * **SystemAssigned** \ + * **None** */ -export type MetricsResponseGranularity = string; +export type ManagedServiceIdentityType = string; -/** Known values of {@link MetricsResponseSeriesItemUnit} that the service accepts. */ -export enum KnownMetricsResponseSeriesItemUnit { - Count = "count", - Bytes = "bytes", - BitsPerSecond = "bitsPerSecond" +/** Known values of {@link OptimizationType} that the service accepts. */ +export enum KnownOptimizationType { + GeneralWebDelivery = "GeneralWebDelivery", + GeneralMediaStreaming = "GeneralMediaStreaming", + VideoOnDemandMediaStreaming = "VideoOnDemandMediaStreaming", + LargeFileDownload = "LargeFileDownload", + DynamicSiteAcceleration = "DynamicSiteAcceleration" } /** - * Defines values for MetricsResponseSeriesItemUnit. \ - * {@link KnownMetricsResponseSeriesItemUnit} can be used interchangeably with MetricsResponseSeriesItemUnit, + * Defines values for OptimizationType. \ + * {@link KnownOptimizationType} can be used interchangeably with OptimizationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **count** \ - * **bytes** \ - * **bitsPerSecond** + * **GeneralWebDelivery** \ + * **GeneralMediaStreaming** \ + * **VideoOnDemandMediaStreaming** \ + * **LargeFileDownload** \ + * **DynamicSiteAcceleration** */ -export type MetricsResponseSeriesItemUnit = string; +export type OptimizationType = string; -/** Known values of {@link LogRanking} that the service accepts. */ -export enum KnownLogRanking { - Url = "url", - Referrer = "referrer", - Browser = "browser", - UserAgent = "userAgent", - CountryOrRegion = "countryOrRegion" +/** Known values of {@link PrivateEndpointStatus} that the service accepts. */ +export enum KnownPrivateEndpointStatus { + Pending = "Pending", + Approved = "Approved", + Rejected = "Rejected", + Disconnected = "Disconnected", + Timeout = "Timeout" } /** - * Defines values for LogRanking. \ - * {@link KnownLogRanking} can be used interchangeably with LogRanking, + * Defines values for PrivateEndpointStatus. \ + * {@link KnownPrivateEndpointStatus} can be used interchangeably with PrivateEndpointStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **url** \ - * **referrer** \ - * **browser** \ - * **userAgent** \ - * **countryOrRegion** + * **Pending** \ + * **Approved** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type LogRanking = string; +export type PrivateEndpointStatus = string; -/** Known values of {@link LogRankingMetric} that the service accepts. */ -export enum KnownLogRankingMetric { - ClientRequestCount = "clientRequestCount", - ClientRequestTraffic = "clientRequestTraffic", - HitCount = "hitCount", - MissCount = "missCount", - UserErrorCount = "userErrorCount", - ErrorCount = "errorCount" +/** Known values of {@link CustomDomainResourceState} that the service accepts. */ +export enum KnownCustomDomainResourceState { + Creating = "Creating", + Active = "Active", + Deleting = "Deleting" } /** - * Defines values for LogRankingMetric. \ - * {@link KnownLogRankingMetric} can be used interchangeably with LogRankingMetric, + * Defines values for CustomDomainResourceState. \ + * {@link KnownCustomDomainResourceState} can be used interchangeably with CustomDomainResourceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **clientRequestCount** \ - * **clientRequestTraffic** \ - * **hitCount** \ - * **missCount** \ - * **userErrorCount** \ - * **errorCount** + * **Creating** \ + * **Active** \ + * **Deleting** */ -export type LogRankingMetric = string; +export type CustomDomainResourceState = string; -/** Known values of {@link WafMetric} that the service accepts. */ -export enum KnownWafMetric { - ClientRequestCount = "clientRequestCount" +/** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */ +export enum KnownCustomHttpsProvisioningState { + Enabling = "Enabling", + Enabled = "Enabled", + Disabling = "Disabling", + Disabled = "Disabled", + Failed = "Failed" } /** - * Defines values for WafMetric. \ - * {@link KnownWafMetric} can be used interchangeably with WafMetric, + * Defines values for CustomHttpsProvisioningState. \ + * {@link KnownCustomHttpsProvisioningState} can be used interchangeably with CustomHttpsProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **clientRequestCount** + * **Enabling** \ + * **Enabled** \ + * **Disabling** \ + * **Disabled** \ + * **Failed** */ -export type WafMetric = string; +export type CustomHttpsProvisioningState = string; -/** Known values of {@link WafGranularity} that the service accepts. */ -export enum KnownWafGranularity { - PT5M = "PT5M", - PT1H = "PT1H", - P1D = "P1D" +/** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */ +export enum KnownCustomHttpsProvisioningSubstate { + SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest", + PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval", + DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved", + DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected", + DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut", + IssuingCertificate = "IssuingCertificate", + DeployingCertificate = "DeployingCertificate", + CertificateDeployed = "CertificateDeployed", + DeletingCertificate = "DeletingCertificate", + CertificateDeleted = "CertificateDeleted" } /** - * Defines values for WafGranularity. \ - * {@link KnownWafGranularity} can be used interchangeably with WafGranularity, + * Defines values for CustomHttpsProvisioningSubstate. \ + * {@link KnownCustomHttpsProvisioningSubstate} can be used interchangeably with CustomHttpsProvisioningSubstate, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PT5M** \ - * **PT1H** \ - * **P1D** + * **SubmittingDomainControlValidationRequest** \ + * **PendingDomainControlValidationREquestApproval** \ + * **DomainControlValidationRequestApproved** \ + * **DomainControlValidationRequestRejected** \ + * **DomainControlValidationRequestTimedOut** \ + * **IssuingCertificate** \ + * **DeployingCertificate** \ + * **CertificateDeployed** \ + * **DeletingCertificate** \ + * **CertificateDeleted** */ -export type WafGranularity = string; +export type CustomHttpsProvisioningSubstate = string; -/** Known values of {@link WafAction} that the service accepts. */ -export enum KnownWafAction { - Allow = "allow", - Block = "block", - Log = "log", - Redirect = "redirect" +/** Known values of {@link CertificateSource} that the service accepts. */ +export enum KnownCertificateSource { + AzureKeyVault = "AzureKeyVault", + Cdn = "Cdn" } /** - * Defines values for WafAction. \ - * {@link KnownWafAction} can be used interchangeably with WafAction, + * Defines values for CertificateSource. \ + * {@link KnownCertificateSource} can be used interchangeably with CertificateSource, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **allow** \ - * **block** \ - * **log** \ - * **redirect** + * **AzureKeyVault** \ + * **Cdn** */ -export type WafAction = string; +export type CertificateSource = string; -/** Known values of {@link WafRankingGroupBy} that the service accepts. */ -export enum KnownWafRankingGroupBy { - HttpStatusCode = "httpStatusCode", - CustomDomain = "customDomain" +/** Known values of {@link ProtocolType} that the service accepts. */ +export enum KnownProtocolType { + ServerNameIndication = "ServerNameIndication", + IPBased = "IPBased" } /** - * Defines values for WafRankingGroupBy. \ - * {@link KnownWafRankingGroupBy} can be used interchangeably with WafRankingGroupBy, + * Defines values for ProtocolType. \ + * {@link KnownProtocolType} can be used interchangeably with ProtocolType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **httpStatusCode** \ - * **customDomain** + * **ServerNameIndication** \ + * **IPBased** */ -export type WafRankingGroupBy = string; +export type ProtocolType = string; -/** Known values of {@link WafRuleType} that the service accepts. */ -export enum KnownWafRuleType { - Managed = "managed", - Custom = "custom", - Bot = "bot" +/** Known values of {@link EndpointResourceState} that the service accepts. */ +export enum KnownEndpointResourceState { + Creating = "Creating", + Deleting = "Deleting", + Running = "Running", + Starting = "Starting", + Stopped = "Stopped", + Stopping = "Stopping" } /** - * Defines values for WafRuleType. \ - * {@link KnownWafRuleType} can be used interchangeably with WafRuleType, + * Defines values for EndpointResourceState. \ + * {@link KnownEndpointResourceState} can be used interchangeably with EndpointResourceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **managed** \ - * **custom** \ - * **bot** + * **Creating** \ + * **Deleting** \ + * **Running** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** */ -export type WafRuleType = string; +export type EndpointResourceState = string; -/** Known values of {@link WafMetricsResponseGranularity} that the service accepts. */ -export enum KnownWafMetricsResponseGranularity { - PT5M = "PT5M", - PT1H = "PT1H", - P1D = "P1D" +/** Known values of {@link OriginResourceState} that the service accepts. */ +export enum KnownOriginResourceState { + Creating = "Creating", + Active = "Active", + Deleting = "Deleting" } /** - * Defines values for WafMetricsResponseGranularity. \ - * {@link KnownWafMetricsResponseGranularity} can be used interchangeably with WafMetricsResponseGranularity, + * Defines values for OriginResourceState. \ + * {@link KnownOriginResourceState} can be used interchangeably with OriginResourceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PT5M** \ - * **PT1H** \ - * **P1D** + * **Creating** \ + * **Active** \ + * **Deleting** */ -export type WafMetricsResponseGranularity = string; +export type OriginResourceState = string; -/** Known values of {@link WafRankingType} that the service accepts. */ -export enum KnownWafRankingType { - Action = "action", - RuleGroup = "ruleGroup", - RuleId = "ruleId", - UserAgent = "userAgent", - ClientIp = "clientIp", - Url = "url", - Country = "country", - RuleType = "ruleType" +/** Known values of {@link OriginGroupResourceState} that the service accepts. */ +export enum KnownOriginGroupResourceState { + Creating = "Creating", + Active = "Active", + Deleting = "Deleting" } /** - * Defines values for WafRankingType. \ - * {@link KnownWafRankingType} can be used interchangeably with WafRankingType, + * Defines values for OriginGroupResourceState. \ + * {@link KnownOriginGroupResourceState} can be used interchangeably with OriginGroupResourceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **action** \ - * **ruleGroup** \ - * **ruleId** \ - * **userAgent** \ - * **clientIp** \ - * **url** \ - * **country** \ - * **ruleType** + * **Creating** \ + * **Active** \ + * **Deleting** */ -export type WafRankingType = string; +export type OriginGroupResourceState = string; /** Known values of {@link PolicyEnabledState} that the service accepts. */ export enum KnownPolicyEnabledState { @@ -3480,8 +4039,8 @@ export enum KnownPolicyMode { */ export type PolicyMode = string; -/** Known values of {@link Enum46} that the service accepts. */ -export enum KnownEnum46 { +/** Known values of {@link Enum47} that the service accepts. */ +export enum KnownEnum47 { TwoHundred = 200, FourHundredThree = 403, FourHundredFive = 405, @@ -3490,8 +4049,8 @@ export enum KnownEnum46 { } /** - * Defines values for Enum46. \ - * {@link KnownEnum46} can be used interchangeably with Enum46, + * Defines values for Enum47. \ + * {@link KnownEnum47} can be used interchangeably with Enum47, * this enum contains the known values that the service supports. * ### Known values supported by the service * **200** \ @@ -3500,7 +4059,7 @@ export enum KnownEnum46 { * **406** \ * **429** */ -export type Enum46 = number; +export type Enum47 = number; /** Known values of {@link CustomRuleEnabledState} that the service accepts. */ export enum KnownCustomRuleEnabledState { @@ -3516,7 +4075,37 @@ export enum KnownCustomRuleEnabledState { * **Disabled** \ * **Enabled** */ -export type CustomRuleEnabledState = string; +export type CustomRuleEnabledState = string; + +/** Known values of {@link WafMatchVariable} that the service accepts. */ +export enum KnownWafMatchVariable { + RemoteAddr = "RemoteAddr", + SocketAddr = "SocketAddr", + RequestMethod = "RequestMethod", + RequestHeader = "RequestHeader", + RequestUri = "RequestUri", + QueryString = "QueryString", + RequestBody = "RequestBody", + Cookies = "Cookies", + PostArgs = "PostArgs" +} + +/** + * Defines values for WafMatchVariable. \ + * {@link KnownWafMatchVariable} can be used interchangeably with WafMatchVariable, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **RemoteAddr** \ + * **SocketAddr** \ + * **RequestMethod** \ + * **RequestHeader** \ + * **RequestUri** \ + * **QueryString** \ + * **RequestBody** \ + * **Cookies** \ + * **PostArgs** + */ +export type WafMatchVariable = string; /** Known values of {@link Operator} that the service accepts. */ export enum KnownOperator { @@ -3677,7 +4266,11 @@ export type RemoteAddressOperator = string; /** Known values of {@link Transform} that the service accepts. */ export enum KnownTransform { Lowercase = "Lowercase", - Uppercase = "Uppercase" + Uppercase = "Uppercase", + Trim = "Trim", + UrlDecode = "UrlDecode", + UrlEncode = "UrlEncode", + RemoveNulls = "RemoveNulls" } /** @@ -3686,7 +4279,11 @@ export enum KnownTransform { * this enum contains the known values that the service supports. * ### Known values supported by the service * **Lowercase** \ - * **Uppercase** + * **Uppercase** \ + * **Trim** \ + * **UrlDecode** \ + * **UrlEncode** \ + * **RemoveNulls** */ export type Transform = string; @@ -4080,6 +4677,150 @@ export enum KnownIsDeviceMatchConditionParametersMatchValuesItem { */ export type IsDeviceMatchConditionParametersMatchValuesItem = string; +/** Known values of {@link SocketAddrOperator} that the service accepts. */ +export enum KnownSocketAddrOperator { + Any = "Any", + IPMatch = "IPMatch" +} + +/** + * Defines values for SocketAddrOperator. \ + * {@link KnownSocketAddrOperator} can be used interchangeably with SocketAddrOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Any** \ + * **IPMatch** + */ +export type SocketAddrOperator = string; + +/** Known values of {@link ClientPortOperator} that the service accepts. */ +export enum KnownClientPortOperator { + Any = "Any", + Equal = "Equal", + Contains = "Contains", + BeginsWith = "BeginsWith", + EndsWith = "EndsWith", + LessThan = "LessThan", + LessThanOrEqual = "LessThanOrEqual", + GreaterThan = "GreaterThan", + GreaterThanOrEqual = "GreaterThanOrEqual", + RegEx = "RegEx" +} + +/** + * Defines values for ClientPortOperator. \ + * {@link KnownClientPortOperator} can be used interchangeably with ClientPortOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Any** \ + * **Equal** \ + * **Contains** \ + * **BeginsWith** \ + * **EndsWith** \ + * **LessThan** \ + * **LessThanOrEqual** \ + * **GreaterThan** \ + * **GreaterThanOrEqual** \ + * **RegEx** + */ +export type ClientPortOperator = string; + +/** Known values of {@link ServerPortOperator} that the service accepts. */ +export enum KnownServerPortOperator { + Any = "Any", + Equal = "Equal", + Contains = "Contains", + BeginsWith = "BeginsWith", + EndsWith = "EndsWith", + LessThan = "LessThan", + LessThanOrEqual = "LessThanOrEqual", + GreaterThan = "GreaterThan", + GreaterThanOrEqual = "GreaterThanOrEqual", + RegEx = "RegEx" +} + +/** + * Defines values for ServerPortOperator. \ + * {@link KnownServerPortOperator} can be used interchangeably with ServerPortOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Any** \ + * **Equal** \ + * **Contains** \ + * **BeginsWith** \ + * **EndsWith** \ + * **LessThan** \ + * **LessThanOrEqual** \ + * **GreaterThan** \ + * **GreaterThanOrEqual** \ + * **RegEx** + */ +export type ServerPortOperator = string; + +/** Known values of {@link HostNameOperator} that the service accepts. */ +export enum KnownHostNameOperator { + Any = "Any", + Equal = "Equal", + Contains = "Contains", + BeginsWith = "BeginsWith", + EndsWith = "EndsWith", + LessThan = "LessThan", + LessThanOrEqual = "LessThanOrEqual", + GreaterThan = "GreaterThan", + GreaterThanOrEqual = "GreaterThanOrEqual", + RegEx = "RegEx" +} + +/** + * Defines values for HostNameOperator. \ + * {@link KnownHostNameOperator} can be used interchangeably with HostNameOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Any** \ + * **Equal** \ + * **Contains** \ + * **BeginsWith** \ + * **EndsWith** \ + * **LessThan** \ + * **LessThanOrEqual** \ + * **GreaterThan** \ + * **GreaterThanOrEqual** \ + * **RegEx** + */ +export type HostNameOperator = string; + +/** Known values of {@link SslProtocolOperator} that the service accepts. */ +export enum KnownSslProtocolOperator { + Equal = "Equal" +} + +/** + * Defines values for SslProtocolOperator. \ + * {@link KnownSslProtocolOperator} can be used interchangeably with SslProtocolOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Equal** + */ +export type SslProtocolOperator = string; + +/** Known values of {@link SslProtocol} that the service accepts. */ +export enum KnownSslProtocol { + TLSv1 = "TLSv1", + TLSv11 = "TLSv1.1", + TLSv12 = "TLSv1.2" +} + +/** + * Defines values for SslProtocol. \ + * {@link KnownSslProtocol} can be used interchangeably with SslProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **TLSv1** \ + * **TLSv1.1** \ + * **TLSv1.2** + */ +export type SslProtocol = string; + /** Known values of {@link RedirectType} that the service accepts. */ export enum KnownRedirectType { Moved = "Moved", @@ -4220,6 +4961,60 @@ export enum KnownQueryStringBehavior { */ export type QueryStringBehavior = string; +/** Known values of {@link RuleQueryStringCachingBehavior} that the service accepts. */ +export enum KnownRuleQueryStringCachingBehavior { + IgnoreQueryString = "IgnoreQueryString", + UseQueryString = "UseQueryString", + IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings" +} + +/** + * Defines values for RuleQueryStringCachingBehavior. \ + * {@link KnownRuleQueryStringCachingBehavior} can be used interchangeably with RuleQueryStringCachingBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **IgnoreQueryString** \ + * **UseQueryString** \ + * **IgnoreSpecifiedQueryStrings** \ + * **IncludeSpecifiedQueryStrings** + */ +export type RuleQueryStringCachingBehavior = string; + +/** Known values of {@link RuleIsCompressionEnabled} that the service accepts. */ +export enum KnownRuleIsCompressionEnabled { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for RuleIsCompressionEnabled. \ + * {@link KnownRuleIsCompressionEnabled} can be used interchangeably with RuleIsCompressionEnabled, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type RuleIsCompressionEnabled = string; + +/** Known values of {@link RuleCacheBehavior} that the service accepts. */ +export enum KnownRuleCacheBehavior { + HonorOrigin = "HonorOrigin", + OverrideAlways = "OverrideAlways", + OverrideIfOriginMissing = "OverrideIfOriginMissing" +} + +/** + * Defines values for RuleCacheBehavior. \ + * {@link KnownRuleCacheBehavior} can be used interchangeably with RuleCacheBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **HonorOrigin** \ + * **OverrideAlways** \ + * **OverrideIfOriginMissing** + */ +export type RuleCacheBehavior = string; + /** Known values of {@link CertificateType} that the service accepts. */ export enum KnownCertificateType { Shared = "Shared", @@ -4263,6 +5058,8 @@ export enum KnownDeleteRule { * **NoAction** */ export type DeleteRule = string; +/** Defines values for AfdMinimumTlsVersion. */ +export type AfdMinimumTlsVersion = "TLS10" | "TLS12"; /** Defines values for HealthProbeRequestType. */ export type HealthProbeRequestType = "NotSet" | "GET" | "HEAD"; /** Defines values for ProbeProtocol. */ @@ -4272,6 +5069,8 @@ export type ResponseBasedDetectedErrorTypes = | "None" | "TcpErrorsOnly" | "TcpAndHttpErrors"; +/** Defines values for MinimumTlsVersion. */ +export type MinimumTlsVersion = "None" | "TLS10" | "TLS12"; /** Defines values for QueryStringCachingBehavior. */ export type QueryStringCachingBehavior = | "IgnoreQueryString" @@ -4280,15 +5079,6 @@ export type QueryStringCachingBehavior = | "NotSet"; /** Defines values for GeoFilterActions. */ export type GeoFilterActions = "Block" | "Allow"; -/** Defines values for MinimumTlsVersion. */ -export type MinimumTlsVersion = "None" | "TLS10" | "TLS12"; -/** Defines values for AfdMinimumTlsVersion. */ -export type AfdMinimumTlsVersion = "TLS10" | "TLS12"; -/** Defines values for AfdQueryStringCachingBehavior. */ -export type AfdQueryStringCachingBehavior = - | "IgnoreQueryString" - | "UseQueryString" - | "NotSet"; /** Defines values for SharedPrivateLinkResourceStatus. */ export type SharedPrivateLinkResourceStatus = | "Pending" @@ -4298,117 +5088,42 @@ export type SharedPrivateLinkResourceStatus = | "Timeout"; /** Optional parameters. */ -export interface ProfilesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ProfilesListResponse = ProfileListResult; - -/** Optional parameters. */ -export interface ProfilesListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type ProfilesListByResourceGroupResponse = ProfileListResult; - -/** Optional parameters. */ -export interface ProfilesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ProfilesGetResponse = Profile; - -/** Optional parameters. */ -export interface ProfilesCreateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the create operation. */ -export type ProfilesCreateResponse = Profile; - -/** Optional parameters. */ -export interface ProfilesUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the update operation. */ -export type ProfilesUpdateResponse = Profile; - -/** Optional parameters. */ -export interface ProfilesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ProfilesGenerateSsoUriOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the generateSsoUri operation. */ -export type ProfilesGenerateSsoUriResponse = SsoUri; - -/** Optional parameters. */ -export interface ProfilesListSupportedOptimizationTypesOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSupportedOptimizationTypes operation. */ -export type ProfilesListSupportedOptimizationTypesResponse = SupportedOptimizationTypesListResult; - -/** Optional parameters. */ -export interface ProfilesListResourceUsageOptionalParams +export interface AFDProfilesListResourceUsageOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsage operation. */ -export type ProfilesListResourceUsageResponse = ResourceUsageListResult; - -/** Optional parameters. */ -export interface ProfilesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ProfilesListNextResponse = ProfileListResult; +export type AFDProfilesListResourceUsageResponse = UsagesListResult; /** Optional parameters. */ -export interface ProfilesListByResourceGroupNextOptionalParams +export interface AFDProfilesCheckHostNameAvailabilityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type ProfilesListByResourceGroupNextResponse = ProfileListResult; +/** Contains response data for the checkHostNameAvailability operation. */ +export type AFDProfilesCheckHostNameAvailabilityResponse = CheckNameAvailabilityOutput; /** Optional parameters. */ -export interface ProfilesListResourceUsageNextOptionalParams +export interface AFDProfilesListResourceUsageNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsageNext operation. */ -export type ProfilesListResourceUsageNextResponse = ResourceUsageListResult; +export type AFDProfilesListResourceUsageNextResponse = UsagesListResult; /** Optional parameters. */ -export interface EndpointsListByProfileOptionalParams +export interface AFDCustomDomainsListByProfileOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfile operation. */ -export type EndpointsListByProfileResponse = EndpointListResult; +export type AFDCustomDomainsListByProfileResponse = AFDDomainListResult; /** Optional parameters. */ -export interface EndpointsGetOptionalParams +export interface AFDCustomDomainsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EndpointsGetResponse = Endpoint; +export type AFDCustomDomainsGetResponse = AFDDomain; /** Optional parameters. */ -export interface EndpointsCreateOptionalParams +export interface AFDCustomDomainsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4417,10 +5132,10 @@ export interface EndpointsCreateOptionalParams } /** Contains response data for the create operation. */ -export type EndpointsCreateResponse = Endpoint; +export type AFDCustomDomainsCreateResponse = AFDDomain; /** Optional parameters. */ -export interface EndpointsUpdateOptionalParams +export interface AFDCustomDomainsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4429,10 +5144,10 @@ export interface EndpointsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type EndpointsUpdateResponse = Endpoint; +export type AFDCustomDomainsUpdateResponse = AFDDomain; /** Optional parameters. */ -export interface EndpointsDeleteOptionalParams +export interface AFDCustomDomainsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4441,7 +5156,7 @@ export interface EndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface EndpointsStartOptionalParams +export interface AFDCustomDomainsRefreshValidationTokenOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4449,11 +5164,29 @@ export interface EndpointsStartOptionalParams resumeFrom?: string; } -/** Contains response data for the start operation. */ -export type EndpointsStartResponse = Endpoint; +/** Optional parameters. */ +export interface AFDCustomDomainsListByProfileNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByProfileNext operation. */ +export type AFDCustomDomainsListByProfileNextResponse = AFDDomainListResult; /** Optional parameters. */ -export interface EndpointsStopOptionalParams +export interface AFDEndpointsListByProfileOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByProfile operation. */ +export type AFDEndpointsListByProfileResponse = AFDEndpointListResult; + +/** Optional parameters. */ +export interface AFDEndpointsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type AFDEndpointsGetResponse = AFDEndpoint; + +/** Optional parameters. */ +export interface AFDEndpointsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4461,11 +5194,11 @@ export interface EndpointsStopOptionalParams resumeFrom?: string; } -/** Contains response data for the stop operation. */ -export type EndpointsStopResponse = Endpoint; +/** Contains response data for the create operation. */ +export type AFDEndpointsCreateResponse = AFDEndpoint; /** Optional parameters. */ -export interface EndpointsPurgeContentOptionalParams +export interface AFDEndpointsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4473,8 +5206,11 @@ export interface EndpointsPurgeContentOptionalParams resumeFrom?: string; } +/** Contains response data for the update operation. */ +export type AFDEndpointsUpdateResponse = AFDEndpoint; + /** Optional parameters. */ -export interface EndpointsLoadContentOptionalParams +export interface AFDEndpointsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4483,48 +5219,58 @@ export interface EndpointsLoadContentOptionalParams } /** Optional parameters. */ -export interface EndpointsValidateCustomDomainOptionalParams +export interface AFDEndpointsPurgeContentOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface AFDEndpointsListResourceUsageOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the validateCustomDomain operation. */ -export type EndpointsValidateCustomDomainResponse = ValidateCustomDomainOutput; +/** Contains response data for the listResourceUsage operation. */ +export type AFDEndpointsListResourceUsageResponse = UsagesListResult; /** Optional parameters. */ -export interface EndpointsListResourceUsageOptionalParams +export interface AFDEndpointsValidateCustomDomainOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listResourceUsage operation. */ -export type EndpointsListResourceUsageResponse = ResourceUsageListResult; +/** Contains response data for the validateCustomDomain operation. */ +export type AFDEndpointsValidateCustomDomainResponse = ValidateCustomDomainOutput; /** Optional parameters. */ -export interface EndpointsListByProfileNextOptionalParams +export interface AFDEndpointsListByProfileNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfileNext operation. */ -export type EndpointsListByProfileNextResponse = EndpointListResult; +export type AFDEndpointsListByProfileNextResponse = AFDEndpointListResult; /** Optional parameters. */ -export interface EndpointsListResourceUsageNextOptionalParams +export interface AFDEndpointsListResourceUsageNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsageNext operation. */ -export type EndpointsListResourceUsageNextResponse = ResourceUsageListResult; +export type AFDEndpointsListResourceUsageNextResponse = UsagesListResult; /** Optional parameters. */ -export interface OriginsListByEndpointOptionalParams +export interface AFDOriginGroupsListByProfileOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByEndpoint operation. */ -export type OriginsListByEndpointResponse = OriginListResult; +/** Contains response data for the listByProfile operation. */ +export type AFDOriginGroupsListByProfileResponse = AFDOriginGroupListResult; /** Optional parameters. */ -export interface OriginsGetOptionalParams extends coreClient.OperationOptions {} +export interface AFDOriginGroupsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type OriginsGetResponse = Origin; +export type AFDOriginGroupsGetResponse = AFDOriginGroup; /** Optional parameters. */ -export interface OriginsCreateOptionalParams +export interface AFDOriginGroupsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4533,10 +5279,10 @@ export interface OriginsCreateOptionalParams } /** Contains response data for the create operation. */ -export type OriginsCreateResponse = Origin; +export type AFDOriginGroupsCreateResponse = AFDOriginGroup; /** Optional parameters. */ -export interface OriginsUpdateOptionalParams +export interface AFDOriginGroupsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4545,10 +5291,10 @@ export interface OriginsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type OriginsUpdateResponse = Origin; +export type AFDOriginGroupsUpdateResponse = AFDOriginGroup; /** Optional parameters. */ -export interface OriginsDeleteOptionalParams +export interface AFDOriginGroupsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4557,28 +5303,42 @@ export interface OriginsDeleteOptionalParams } /** Optional parameters. */ -export interface OriginsListByEndpointNextOptionalParams +export interface AFDOriginGroupsListResourceUsageOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByEndpointNext operation. */ -export type OriginsListByEndpointNextResponse = OriginListResult; +/** Contains response data for the listResourceUsage operation. */ +export type AFDOriginGroupsListResourceUsageResponse = UsagesListResult; /** Optional parameters. */ -export interface OriginGroupsListByEndpointOptionalParams +export interface AFDOriginGroupsListByProfileNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByEndpoint operation. */ -export type OriginGroupsListByEndpointResponse = OriginGroupListResult; +/** Contains response data for the listByProfileNext operation. */ +export type AFDOriginGroupsListByProfileNextResponse = AFDOriginGroupListResult; /** Optional parameters. */ -export interface OriginGroupsGetOptionalParams +export interface AFDOriginGroupsListResourceUsageNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listResourceUsageNext operation. */ +export type AFDOriginGroupsListResourceUsageNextResponse = UsagesListResult; + +/** Optional parameters. */ +export interface AFDOriginsListByOriginGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByOriginGroup operation. */ +export type AFDOriginsListByOriginGroupResponse = AFDOriginListResult; + +/** Optional parameters. */ +export interface AFDOriginsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type OriginGroupsGetResponse = OriginGroup; +export type AFDOriginsGetResponse = AFDOrigin; /** Optional parameters. */ -export interface OriginGroupsCreateOptionalParams +export interface AFDOriginsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4587,10 +5347,10 @@ export interface OriginGroupsCreateOptionalParams } /** Contains response data for the create operation. */ -export type OriginGroupsCreateResponse = OriginGroup; +export type AFDOriginsCreateResponse = AFDOrigin; /** Optional parameters. */ -export interface OriginGroupsUpdateOptionalParams +export interface AFDOriginsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4599,10 +5359,10 @@ export interface OriginGroupsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type OriginGroupsUpdateResponse = OriginGroup; +export type AFDOriginsUpdateResponse = AFDOrigin; /** Optional parameters. */ -export interface OriginGroupsDeleteOptionalParams +export interface AFDOriginsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4611,28 +5371,27 @@ export interface OriginGroupsDeleteOptionalParams } /** Optional parameters. */ -export interface OriginGroupsListByEndpointNextOptionalParams +export interface AFDOriginsListByOriginGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByEndpointNext operation. */ -export type OriginGroupsListByEndpointNextResponse = OriginGroupListResult; +/** Contains response data for the listByOriginGroupNext operation. */ +export type AFDOriginsListByOriginGroupNextResponse = AFDOriginListResult; /** Optional parameters. */ -export interface CustomDomainsListByEndpointOptionalParams +export interface RoutesListByEndpointOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByEndpoint operation. */ -export type CustomDomainsListByEndpointResponse = CustomDomainListResult; +export type RoutesListByEndpointResponse = RouteListResult; /** Optional parameters. */ -export interface CustomDomainsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RoutesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CustomDomainsGetResponse = CustomDomain; +export type RoutesGetResponse = Route; /** Optional parameters. */ -export interface CustomDomainsCreateOptionalParams +export interface RoutesCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4641,10 +5400,10 @@ export interface CustomDomainsCreateOptionalParams } /** Contains response data for the create operation. */ -export type CustomDomainsCreateResponse = CustomDomain; +export type RoutesCreateResponse = Route; /** Optional parameters. */ -export interface CustomDomainsDeleteOptionalParams +export interface RoutesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4652,20 +5411,12 @@ export interface CustomDomainsDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface CustomDomainsDisableCustomHttpsOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +/** Contains response data for the update operation. */ +export type RoutesUpdateResponse = Route; /** Optional parameters. */ -export interface CustomDomainsEnableCustomHttpsOptionalParams +export interface RoutesDeleteOptionalParams extends coreClient.OperationOptions { - /** The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default. */ - customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -4673,113 +5424,78 @@ export interface CustomDomainsEnableCustomHttpsOptionalParams } /** Optional parameters. */ -export interface CustomDomainsListByEndpointNextOptionalParams +export interface RoutesListByEndpointNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByEndpointNext operation. */ -export type CustomDomainsListByEndpointNextResponse = CustomDomainListResult; - -/** Optional parameters. */ -export interface CheckNameAvailabilityOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the checkNameAvailability operation. */ -export type CheckNameAvailabilityResponse = CheckNameAvailabilityOutput; - -/** Optional parameters. */ -export interface CheckNameAvailabilityWithSubscriptionOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the checkNameAvailabilityWithSubscription operation. */ -export type CheckNameAvailabilityWithSubscriptionResponse = CheckNameAvailabilityOutput; - -/** Optional parameters. */ -export interface ValidateProbeOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the validateProbe operation. */ -export type ValidateProbeResponse = ValidateProbeOutput; - -/** Optional parameters. */ -export interface ResourceUsageListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ResourceUsageListResponse = ResourceUsageListResult; - -/** Optional parameters. */ -export interface ResourceUsageListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ResourceUsageListNextResponse = ResourceUsageListResult; +export type RoutesListByEndpointNextResponse = RouteListResult; /** Optional parameters. */ -export interface OperationsListOptionalParams +export interface RuleSetsListByProfileOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type OperationsListResponse = OperationsListResult; +/** Contains response data for the listByProfile operation. */ +export type RuleSetsListByProfileResponse = RuleSetListResult; /** Optional parameters. */ -export interface OperationsListNextOptionalParams +export interface RuleSetsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OperationsListNextResponse = OperationsListResult; +/** Contains response data for the get operation. */ +export type RuleSetsGetResponse = RuleSet; /** Optional parameters. */ -export interface EdgeNodesListOptionalParams +export interface RuleSetsCreateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type EdgeNodesListResponse = EdgenodeResult; +/** Contains response data for the create operation. */ +export type RuleSetsCreateResponse = RuleSet; /** Optional parameters. */ -export interface EdgeNodesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type EdgeNodesListNextResponse = EdgenodeResult; +export interface RuleSetsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface AFDProfilesListResourceUsageOptionalParams +export interface RuleSetsListResourceUsageOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsage operation. */ -export type AFDProfilesListResourceUsageResponse = UsagesListResult; +export type RuleSetsListResourceUsageResponse = UsagesListResult; /** Optional parameters. */ -export interface AFDProfilesCheckHostNameAvailabilityOptionalParams +export interface RuleSetsListByProfileNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the checkHostNameAvailability operation. */ -export type AFDProfilesCheckHostNameAvailabilityResponse = ValidateCustomDomainOutput; +/** Contains response data for the listByProfileNext operation. */ +export type RuleSetsListByProfileNextResponse = RuleSetListResult; /** Optional parameters. */ -export interface AFDProfilesListResourceUsageNextOptionalParams +export interface RuleSetsListResourceUsageNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsageNext operation. */ -export type AFDProfilesListResourceUsageNextResponse = UsagesListResult; +export type RuleSetsListResourceUsageNextResponse = UsagesListResult; /** Optional parameters. */ -export interface AFDCustomDomainsListByProfileOptionalParams +export interface RulesListByRuleSetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfile operation. */ -export type AFDCustomDomainsListByProfileResponse = AFDDomainListResult; +/** Contains response data for the listByRuleSet operation. */ +export type RulesListByRuleSetResponse = RuleListResult; /** Optional parameters. */ -export interface AFDCustomDomainsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RulesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type AFDCustomDomainsGetResponse = AFDDomain; +export type RulesGetResponse = Rule; /** Optional parameters. */ -export interface AFDCustomDomainsCreateOptionalParams - extends coreClient.OperationOptions { +export interface RulesCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -4787,11 +5503,10 @@ export interface AFDCustomDomainsCreateOptionalParams } /** Contains response data for the create operation. */ -export type AFDCustomDomainsCreateResponse = AFDDomain; +export type RulesCreateResponse = Rule; /** Optional parameters. */ -export interface AFDCustomDomainsUpdateOptionalParams - extends coreClient.OperationOptions { +export interface RulesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -4799,52 +5514,39 @@ export interface AFDCustomDomainsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type AFDCustomDomainsUpdateResponse = AFDDomain; - -/** Optional parameters. */ -export interface AFDCustomDomainsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type RulesUpdateResponse = Rule; /** Optional parameters. */ -export interface AFDCustomDomainsRefreshValidationTokenOptionalParams - extends coreClient.OperationOptions { +export interface RulesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the refreshValidationToken operation. */ -export type AFDCustomDomainsRefreshValidationTokenResponse = ValidationToken; - /** Optional parameters. */ -export interface AFDCustomDomainsListByProfileNextOptionalParams +export interface RulesListByRuleSetNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfileNext operation. */ -export type AFDCustomDomainsListByProfileNextResponse = AFDDomainListResult; +/** Contains response data for the listByRuleSetNext operation. */ +export type RulesListByRuleSetNextResponse = RuleListResult; /** Optional parameters. */ -export interface AFDEndpointsListByProfileOptionalParams +export interface SecurityPoliciesListByProfileOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfile operation. */ -export type AFDEndpointsListByProfileResponse = AFDEndpointListResult; +export type SecurityPoliciesListByProfileResponse = SecurityPolicyListResult; /** Optional parameters. */ -export interface AFDEndpointsGetOptionalParams +export interface SecurityPoliciesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type AFDEndpointsGetResponse = AFDEndpoint; +export type SecurityPoliciesGetResponse = SecurityPolicy; /** Optional parameters. */ -export interface AFDEndpointsCreateOptionalParams +export interface SecurityPoliciesCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4853,10 +5555,10 @@ export interface AFDEndpointsCreateOptionalParams } /** Contains response data for the create operation. */ -export type AFDEndpointsCreateResponse = AFDEndpoint; +export type SecurityPoliciesCreateResponse = SecurityPolicy; /** Optional parameters. */ -export interface AFDEndpointsUpdateOptionalParams +export interface SecurityPoliciesPatchOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4864,20 +5566,11 @@ export interface AFDEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type AFDEndpointsUpdateResponse = AFDEndpoint; - -/** Optional parameters. */ -export interface AFDEndpointsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +/** Contains response data for the patch operation. */ +export type SecurityPoliciesPatchResponse = SecurityPolicy; /** Optional parameters. */ -export interface AFDEndpointsPurgeContentOptionalParams +export interface SecurityPoliciesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4886,49 +5579,27 @@ export interface AFDEndpointsPurgeContentOptionalParams } /** Optional parameters. */ -export interface AFDEndpointsListResourceUsageOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listResourceUsage operation. */ -export type AFDEndpointsListResourceUsageResponse = UsagesListResult; - -/** Optional parameters. */ -export interface AFDEndpointsValidateCustomDomainOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the validateCustomDomain operation. */ -export type AFDEndpointsValidateCustomDomainResponse = ValidateCustomDomainOutput; - -/** Optional parameters. */ -export interface AFDEndpointsListByProfileNextOptionalParams +export interface SecurityPoliciesListByProfileNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfileNext operation. */ -export type AFDEndpointsListByProfileNextResponse = AFDEndpointListResult; - -/** Optional parameters. */ -export interface AFDEndpointsListResourceUsageNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listResourceUsageNext operation. */ -export type AFDEndpointsListResourceUsageNextResponse = UsagesListResult; +export type SecurityPoliciesListByProfileNextResponse = SecurityPolicyListResult; /** Optional parameters. */ -export interface AFDOriginGroupsListByProfileOptionalParams +export interface SecretsListByProfileOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfile operation. */ -export type AFDOriginGroupsListByProfileResponse = AFDOriginGroupListResult; +export type SecretsListByProfileResponse = SecretListResult; /** Optional parameters. */ -export interface AFDOriginGroupsGetOptionalParams - extends coreClient.OperationOptions {} +export interface SecretsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type AFDOriginGroupsGetResponse = AFDOriginGroup; +export type SecretsGetResponse = Secret; /** Optional parameters. */ -export interface AFDOriginGroupsCreateOptionalParams +export interface SecretsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4937,10 +5608,10 @@ export interface AFDOriginGroupsCreateOptionalParams } /** Contains response data for the create operation. */ -export type AFDOriginGroupsCreateResponse = AFDOriginGroup; +export type SecretsCreateResponse = Secret; /** Optional parameters. */ -export interface AFDOriginGroupsUpdateOptionalParams +export interface SecretsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -4948,55 +5619,107 @@ export interface AFDOriginGroupsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type AFDOriginGroupsUpdateResponse = AFDOriginGroup; +/** Optional parameters. */ +export interface SecretsListByProfileNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByProfileNext operation. */ +export type SecretsListByProfileNextResponse = SecretListResult; /** Optional parameters. */ -export interface AFDOriginGroupsDeleteOptionalParams +export interface ValidateSecretOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the secret operation. */ +export type ValidateSecretResponse = ValidateSecretOutput; + +/** Optional parameters. */ +export interface LogAnalyticsGetLogAnalyticsMetricsOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Array of LogMetricsGroupBy */ + groupBy?: LogMetricsGroupBy[]; + /** Array of Get9ItemsItem */ + continents?: string[]; + /** Array of Get10ItemsItem */ + countryOrRegions?: string[]; } +/** Contains response data for the getLogAnalyticsMetrics operation. */ +export type LogAnalyticsGetLogAnalyticsMetricsResponse = MetricsResponse; + /** Optional parameters. */ -export interface AFDOriginGroupsListResourceUsageOptionalParams +export interface LogAnalyticsGetLogAnalyticsRankingsOptionalParams + extends coreClient.OperationOptions { + /** Array of String */ + customDomains?: string[]; +} + +/** Contains response data for the getLogAnalyticsRankings operation. */ +export type LogAnalyticsGetLogAnalyticsRankingsResponse = RankingsResponse; + +/** Optional parameters. */ +export interface LogAnalyticsGetLogAnalyticsLocationsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listResourceUsage operation. */ -export type AFDOriginGroupsListResourceUsageResponse = UsagesListResult; +/** Contains response data for the getLogAnalyticsLocations operation. */ +export type LogAnalyticsGetLogAnalyticsLocationsResponse = ContinentsResponse; /** Optional parameters. */ -export interface AFDOriginGroupsListByProfileNextOptionalParams +export interface LogAnalyticsGetLogAnalyticsResourcesOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfileNext operation. */ -export type AFDOriginGroupsListByProfileNextResponse = AFDOriginGroupListResult; +/** Contains response data for the getLogAnalyticsResources operation. */ +export type LogAnalyticsGetLogAnalyticsResourcesResponse = ResourcesResponse; /** Optional parameters. */ -export interface AFDOriginGroupsListResourceUsageNextOptionalParams +export interface LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams + extends coreClient.OperationOptions { + /** Array of WafAction */ + actions?: WafAction[]; + /** Array of WafRankingGroupBy */ + groupBy?: WafRankingGroupBy[]; + /** Array of WafRuleType */ + ruleTypes?: WafRuleType[]; +} + +/** Contains response data for the getWafLogAnalyticsMetrics operation. */ +export type LogAnalyticsGetWafLogAnalyticsMetricsResponse = WafMetricsResponse; + +/** Optional parameters. */ +export interface LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams + extends coreClient.OperationOptions { + /** Array of WafAction */ + actions?: WafAction[]; + /** Array of WafRuleType */ + ruleTypes?: WafRuleType[]; +} + +/** Contains response data for the getWafLogAnalyticsRankings operation. */ +export type LogAnalyticsGetWafLogAnalyticsRankingsResponse = WafRankingsResponse; + +/** Optional parameters. */ +export interface ProfilesListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listResourceUsageNext operation. */ -export type AFDOriginGroupsListResourceUsageNextResponse = UsagesListResult; +/** Contains response data for the list operation. */ +export type ProfilesListResponse = ProfileListResult; /** Optional parameters. */ -export interface AFDOriginsListByOriginGroupOptionalParams +export interface ProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByOriginGroup operation. */ -export type AFDOriginsListByOriginGroupResponse = AFDOriginListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type ProfilesListByResourceGroupResponse = ProfileListResult; /** Optional parameters. */ -export interface AFDOriginsGetOptionalParams +export interface ProfilesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type AFDOriginsGetResponse = AFDOrigin; +export type ProfilesGetResponse = Profile; /** Optional parameters. */ -export interface AFDOriginsCreateOptionalParams +export interface ProfilesCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5005,10 +5728,10 @@ export interface AFDOriginsCreateOptionalParams } /** Contains response data for the create operation. */ -export type AFDOriginsCreateResponse = AFDOrigin; +export type ProfilesCreateResponse = Profile; /** Optional parameters. */ -export interface AFDOriginsUpdateOptionalParams +export interface ProfilesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5017,10 +5740,10 @@ export interface AFDOriginsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type AFDOriginsUpdateResponse = AFDOrigin; +export type ProfilesUpdateResponse = Profile; /** Optional parameters. */ -export interface AFDOriginsDeleteOptionalParams +export interface ProfilesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5029,27 +5752,63 @@ export interface AFDOriginsDeleteOptionalParams } /** Optional parameters. */ -export interface AFDOriginsListByOriginGroupNextOptionalParams +export interface ProfilesGenerateSsoUriOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByOriginGroupNext operation. */ -export type AFDOriginsListByOriginGroupNextResponse = AFDOriginListResult; +/** Contains response data for the generateSsoUri operation. */ +export type ProfilesGenerateSsoUriResponse = SsoUri; /** Optional parameters. */ -export interface RoutesListByEndpointOptionalParams +export interface ProfilesListSupportedOptimizationTypesOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByEndpoint operation. */ -export type RoutesListByEndpointResponse = RouteListResult; +/** Contains response data for the listSupportedOptimizationTypes operation. */ +export type ProfilesListSupportedOptimizationTypesResponse = SupportedOptimizationTypesListResult; + +/** Optional parameters. */ +export interface ProfilesListResourceUsageOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listResourceUsage operation. */ +export type ProfilesListResourceUsageResponse = ResourceUsageListResult; + +/** Optional parameters. */ +export interface ProfilesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ProfilesListNextResponse = ProfileListResult; + +/** Optional parameters. */ +export interface ProfilesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ProfilesListByResourceGroupNextResponse = ProfileListResult; + +/** Optional parameters. */ +export interface ProfilesListResourceUsageNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listResourceUsageNext operation. */ +export type ProfilesListResourceUsageNextResponse = ResourceUsageListResult; + +/** Optional parameters. */ +export interface EndpointsListByProfileOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByProfile operation. */ +export type EndpointsListByProfileResponse = EndpointListResult; /** Optional parameters. */ -export interface RoutesGetOptionalParams extends coreClient.OperationOptions {} +export interface EndpointsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RoutesGetResponse = Route; +export type EndpointsGetResponse = Endpoint; /** Optional parameters. */ -export interface RoutesCreateOptionalParams +export interface EndpointsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5058,10 +5817,10 @@ export interface RoutesCreateOptionalParams } /** Contains response data for the create operation. */ -export type RoutesCreateResponse = Route; +export type EndpointsCreateResponse = Endpoint; /** Optional parameters. */ -export interface RoutesUpdateOptionalParams +export interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5070,10 +5829,10 @@ export interface RoutesUpdateOptionalParams } /** Contains response data for the update operation. */ -export type RoutesUpdateResponse = Route; +export type EndpointsUpdateResponse = Endpoint; /** Optional parameters. */ -export interface RoutesDeleteOptionalParams +export interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5082,28 +5841,31 @@ export interface RoutesDeleteOptionalParams } /** Optional parameters. */ -export interface RoutesListByEndpointNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByEndpointNext operation. */ -export type RoutesListByEndpointNextResponse = RouteListResult; - -/** Optional parameters. */ -export interface RuleSetsListByProfileOptionalParams - extends coreClient.OperationOptions {} +export interface EndpointsStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listByProfile operation. */ -export type RuleSetsListByProfileResponse = RuleSetListResult; +/** Contains response data for the start operation. */ +export type EndpointsStartResponse = Endpoint; /** Optional parameters. */ -export interface RuleSetsGetOptionalParams - extends coreClient.OperationOptions {} +export interface EndpointsStopOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the get operation. */ -export type RuleSetsGetResponse = RuleSet; +/** Contains response data for the stop operation. */ +export type EndpointsStopResponse = Endpoint; /** Optional parameters. */ -export interface RuleSetsCreateOptionalParams +export interface EndpointsPurgeContentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5111,11 +5873,8 @@ export interface RuleSetsCreateOptionalParams resumeFrom?: string; } -/** Contains response data for the create operation. */ -export type RuleSetsCreateResponse = RuleSet; - /** Optional parameters. */ -export interface RuleSetsDeleteOptionalParams +export interface EndpointsLoadContentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5124,41 +5883,49 @@ export interface RuleSetsDeleteOptionalParams } /** Optional parameters. */ -export interface RuleSetsListResourceUsageOptionalParams +export interface EndpointsValidateCustomDomainOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the validateCustomDomain operation. */ +export type EndpointsValidateCustomDomainResponse = ValidateCustomDomainOutput; + +/** Optional parameters. */ +export interface EndpointsListResourceUsageOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsage operation. */ -export type RuleSetsListResourceUsageResponse = UsagesListResult; +export type EndpointsListResourceUsageResponse = ResourceUsageListResult; /** Optional parameters. */ -export interface RuleSetsListByProfileNextOptionalParams +export interface EndpointsListByProfileNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByProfileNext operation. */ -export type RuleSetsListByProfileNextResponse = RuleSetListResult; +export type EndpointsListByProfileNextResponse = EndpointListResult; /** Optional parameters. */ -export interface RuleSetsListResourceUsageNextOptionalParams +export interface EndpointsListResourceUsageNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listResourceUsageNext operation. */ -export type RuleSetsListResourceUsageNextResponse = UsagesListResult; +export type EndpointsListResourceUsageNextResponse = ResourceUsageListResult; /** Optional parameters. */ -export interface RulesListByRuleSetOptionalParams +export interface OriginsListByEndpointOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByRuleSet operation. */ -export type RulesListByRuleSetResponse = RuleListResult; +/** Contains response data for the listByEndpoint operation. */ +export type OriginsListByEndpointResponse = OriginListResult; /** Optional parameters. */ -export interface RulesGetOptionalParams extends coreClient.OperationOptions {} +export interface OriginsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RulesGetResponse = Rule; +export type OriginsGetResponse = Origin; /** Optional parameters. */ -export interface RulesCreateOptionalParams extends coreClient.OperationOptions { +export interface OriginsCreateOptionalParams + extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -5166,10 +5933,11 @@ export interface RulesCreateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the create operation. */ -export type RulesCreateResponse = Rule; +export type OriginsCreateResponse = Origin; /** Optional parameters. */ -export interface RulesUpdateOptionalParams extends coreClient.OperationOptions { +export interface OriginsUpdateOptionalParams + extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -5177,10 +5945,11 @@ export interface RulesUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the update operation. */ -export type RulesUpdateResponse = Rule; +export type OriginsUpdateResponse = Origin; /** Optional parameters. */ -export interface RulesDeleteOptionalParams extends coreClient.OperationOptions { +export interface OriginsDeleteOptionalParams + extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -5188,28 +5957,28 @@ export interface RulesDeleteOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ -export interface RulesListByRuleSetNextOptionalParams +export interface OriginsListByEndpointNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByRuleSetNext operation. */ -export type RulesListByRuleSetNextResponse = RuleListResult; +/** Contains response data for the listByEndpointNext operation. */ +export type OriginsListByEndpointNextResponse = OriginListResult; /** Optional parameters. */ -export interface SecurityPoliciesListByProfileOptionalParams +export interface OriginGroupsListByEndpointOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfile operation. */ -export type SecurityPoliciesListByProfileResponse = SecurityPolicyListResult; +/** Contains response data for the listByEndpoint operation. */ +export type OriginGroupsListByEndpointResponse = OriginGroupListResult; /** Optional parameters. */ -export interface SecurityPoliciesGetOptionalParams +export interface OriginGroupsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SecurityPoliciesGetResponse = SecurityPolicy; +export type OriginGroupsGetResponse = OriginGroup; /** Optional parameters. */ -export interface SecurityPoliciesCreateOptionalParams +export interface OriginGroupsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5218,10 +5987,10 @@ export interface SecurityPoliciesCreateOptionalParams } /** Contains response data for the create operation. */ -export type SecurityPoliciesCreateResponse = SecurityPolicy; +export type OriginGroupsCreateResponse = OriginGroup; /** Optional parameters. */ -export interface SecurityPoliciesPatchOptionalParams +export interface OriginGroupsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5229,11 +5998,11 @@ export interface SecurityPoliciesPatchOptionalParams resumeFrom?: string; } -/** Contains response data for the patch operation. */ -export type SecurityPoliciesPatchResponse = SecurityPolicy; +/** Contains response data for the update operation. */ +export type OriginGroupsUpdateResponse = OriginGroup; /** Optional parameters. */ -export interface SecurityPoliciesDeleteOptionalParams +export interface OriginGroupsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5242,27 +6011,28 @@ export interface SecurityPoliciesDeleteOptionalParams } /** Optional parameters. */ -export interface SecurityPoliciesListByProfileNextOptionalParams +export interface OriginGroupsListByEndpointNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfileNext operation. */ -export type SecurityPoliciesListByProfileNextResponse = SecurityPolicyListResult; +/** Contains response data for the listByEndpointNext operation. */ +export type OriginGroupsListByEndpointNextResponse = OriginGroupListResult; /** Optional parameters. */ -export interface SecretsListByProfileOptionalParams +export interface CustomDomainsListByEndpointOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfile operation. */ -export type SecretsListByProfileResponse = SecretListResult; +/** Contains response data for the listByEndpoint operation. */ +export type CustomDomainsListByEndpointResponse = CustomDomainListResult; /** Optional parameters. */ -export interface SecretsGetOptionalParams extends coreClient.OperationOptions {} +export interface CustomDomainsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SecretsGetResponse = Secret; +export type CustomDomainsGetResponse = CustomDomain; /** Optional parameters. */ -export interface SecretsCreateOptionalParams +export interface CustomDomainsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5271,10 +6041,10 @@ export interface SecretsCreateOptionalParams } /** Contains response data for the create operation. */ -export type SecretsCreateResponse = Secret; +export type CustomDomainsCreateResponse = CustomDomain; /** Optional parameters. */ -export interface SecretsUpdateOptionalParams +export interface CustomDomainsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -5282,95 +6052,92 @@ export interface SecretsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type SecretsUpdateResponse = Secret; +/** Optional parameters. */ +export interface CustomDomainsDisableCustomHttpsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the disableCustomHttps operation. */ +export type CustomDomainsDisableCustomHttpsResponse = CustomDomain; /** Optional parameters. */ -export interface SecretsDeleteOptionalParams +export interface CustomDomainsEnableCustomHttpsOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default. */ + customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; } +/** Contains response data for the enableCustomHttps operation. */ +export type CustomDomainsEnableCustomHttpsResponse = CustomDomain; + /** Optional parameters. */ -export interface SecretsListByProfileNextOptionalParams +export interface CustomDomainsListByEndpointNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByProfileNext operation. */ -export type SecretsListByProfileNextResponse = SecretListResult; +/** Contains response data for the listByEndpointNext operation. */ +export type CustomDomainsListByEndpointNextResponse = CustomDomainListResult; /** Optional parameters. */ -export interface ValidateSecretOptionalParams +export interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the secret operation. */ -export type ValidateSecretResponse = ValidateSecretOutput; +/** Contains response data for the checkNameAvailability operation. */ +export type CheckNameAvailabilityResponse = CheckNameAvailabilityOutput; /** Optional parameters. */ -export interface LogAnalyticsGetLogAnalyticsMetricsOptionalParams - extends coreClient.OperationOptions { - /** Array of LogMetricsGroupBy */ - groupBy?: LogMetricsGroupBy[]; - /** Array of Get9ItemsItem */ - continents?: string[]; - /** Array of Get10ItemsItem */ - countryOrRegions?: string[]; -} +export interface CheckNameAvailabilityWithSubscriptionOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getLogAnalyticsMetrics operation. */ -export type LogAnalyticsGetLogAnalyticsMetricsResponse = MetricsResponse; +/** Contains response data for the checkNameAvailabilityWithSubscription operation. */ +export type CheckNameAvailabilityWithSubscriptionResponse = CheckNameAvailabilityOutput; /** Optional parameters. */ -export interface LogAnalyticsGetLogAnalyticsRankingsOptionalParams - extends coreClient.OperationOptions { - /** Array of String */ - customDomains?: string[]; -} +export interface ValidateProbeOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getLogAnalyticsRankings operation. */ -export type LogAnalyticsGetLogAnalyticsRankingsResponse = RankingsResponse; +/** Contains response data for the validateProbe operation. */ +export type ValidateProbeResponse = ValidateProbeOutput; /** Optional parameters. */ -export interface LogAnalyticsGetLogAnalyticsLocationsOptionalParams +export interface ResourceUsageListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogAnalyticsLocations operation. */ -export type LogAnalyticsGetLogAnalyticsLocationsResponse = ContinentsResponse; +/** Contains response data for the list operation. */ +export type ResourceUsageListResponse = ResourceUsageListResult; /** Optional parameters. */ -export interface LogAnalyticsGetLogAnalyticsResourcesOptionalParams +export interface ResourceUsageListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogAnalyticsResources operation. */ -export type LogAnalyticsGetLogAnalyticsResourcesResponse = ResourcesResponse; +/** Contains response data for the listNext operation. */ +export type ResourceUsageListNextResponse = ResourceUsageListResult; /** Optional parameters. */ -export interface LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams - extends coreClient.OperationOptions { - /** Array of WafAction */ - actions?: WafAction[]; - /** Array of WafRankingGroupBy */ - groupBy?: WafRankingGroupBy[]; - /** Array of WafRuleType */ - ruleTypes?: WafRuleType[]; -} +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getWafLogAnalyticsMetrics operation. */ -export type LogAnalyticsGetWafLogAnalyticsMetricsResponse = WafMetricsResponse; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationsListResult; /** Optional parameters. */ -export interface LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams - extends coreClient.OperationOptions { - /** Array of WafAction */ - actions?: WafAction[]; - /** Array of WafRuleType */ - ruleTypes?: WafRuleType[]; -} +export interface OperationsListNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getWafLogAnalyticsRankings operation. */ -export type LogAnalyticsGetWafLogAnalyticsRankingsResponse = WafRankingsResponse; +/** Contains response data for the listNext operation. */ +export type OperationsListNextResponse = OperationsListResult; + +/** Optional parameters. */ +export interface EdgeNodesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type EdgeNodesListResponse = EdgenodeResult; + +/** Optional parameters. */ +export interface EdgeNodesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EdgeNodesListNextResponse = EdgenodeResult; /** Optional parameters. */ export interface PoliciesListOptionalParams diff --git a/sdk/cdn/arm-cdn/src/models/mappers.ts b/sdk/cdn/arm-cdn/src/models/mappers.ts index 9bac922dff64..17f4ee384419 100644 --- a/sdk/cdn/arm-cdn/src/models/mappers.ts +++ b/sdk/cdn/arm-cdn/src/models/mappers.ts @@ -8,20 +8,19 @@ import * as coreClient from "@azure/core-client"; -export const ProfileListResult: coreClient.CompositeMapper = { +export const UsagesListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProfileListResult", + className: "UsagesListResult", modelProperties: { value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Profile" + className: "Usage" } } } @@ -36,25 +35,10 @@ export const ProfileListResult: coreClient.CompositeMapper = { } }; -export const Sku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Sku", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - -export const Resource: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "Usage", modelProperties: { id: { serializedName: "id", @@ -63,80 +47,79 @@ export const Resource: coreClient.CompositeMapper = { name: "String" } }, - name: { - serializedName: "name", - readOnly: true, + unit: { + serializedName: "unit", + required: true, type: { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + currentValue: { + serializedName: "currentValue", + required: true, type: { - name: "String" + name: "Number" } }, - systemData: { - serializedName: "systemData", + limit: { + serializedName: "limit", + required: true, + type: { + name: "Number" + } + }, + name: { + serializedName: "name", type: { name: "Composite", - className: "SystemData" + className: "UsageName" } } } } }; -export const SystemData: coreClient.CompositeMapper = { +export const UsageName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UsageName", modelProperties: { - createdBy: { - serializedName: "createdBy", - type: { - name: "String" - } - }, - createdByType: { - serializedName: "createdByType", - type: { - name: "String" - } - }, - createdAt: { - serializedName: "createdAt", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + value: { + serializedName: "value", type: { name: "String" } }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } - }, - lastModifiedAt: { - serializedName: "lastModifiedAt", + } + } + } +}; + +export const AfdErrorResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AfdErrorResponse", + modelProperties: { + error: { + serializedName: "error", type: { - name: "DateTime" + name: "Composite", + className: "ErrorDetail" } } } } }; -export const ErrorResponse: coreClient.CompositeMapper = { +export const ErrorDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ErrorResponse", + className: "ErrorDetail", modelProperties: { code: { serializedName: "code", @@ -151,35 +134,76 @@ export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "String" } + }, + target: { + serializedName: "target", + readOnly: true, + type: { + name: "String" + } + }, + details: { + serializedName: "details", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail" + } + } + } + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } + } + } } } } }; -export const ProfileUpdateParameters: coreClient.CompositeMapper = { +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProfileUpdateParameters", + className: "ErrorAdditionalInfo", modelProperties: { - tags: { - serializedName: "tags", + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + info: { + serializedName: "info", + readOnly: true, type: { name: "Dictionary", - value: { type: { name: "String" } } + value: { type: { name: "any" } } } } } } }; -export const SsoUri: coreClient.CompositeMapper = { +export const CheckHostNameAvailabilityInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SsoUri", + className: "CheckHostNameAvailabilityInput", modelProperties: { - ssoUriValue: { - serializedName: "ssoUriValue", - readOnly: true, + hostName: { + serializedName: "hostName", + required: true, type: { name: "String" } @@ -188,31 +212,40 @@ export const SsoUri: coreClient.CompositeMapper = { } }; -export const SupportedOptimizationTypesListResult: coreClient.CompositeMapper = { +export const CheckNameAvailabilityOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SupportedOptimizationTypesListResult", + className: "CheckNameAvailabilityOutput", modelProperties: { - supportedOptimizationTypes: { - serializedName: "supportedOptimizationTypes", + nameAvailable: { + serializedName: "nameAvailable", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" + } + }, + reason: { + serializedName: "reason", + readOnly: true, + type: { + name: "String" + } + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String" } } } } }; -export const ResourceUsageListResult: coreClient.CompositeMapper = { +export const AFDDomainListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceUsageListResult", + className: "AFDDomainListResult", modelProperties: { value: { serializedName: "value", @@ -222,7 +255,7 @@ export const ResourceUsageListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ResourceUsage" + className: "AFDDomain" } } } @@ -237,268 +270,273 @@ export const ResourceUsageListResult: coreClient.CompositeMapper = { } }; -export const ResourceUsage: coreClient.CompositeMapper = { +export const DomainValidationProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceUsage", + className: "DomainValidationProperties", modelProperties: { - resourceType: { - serializedName: "resourceType", + validationToken: { + serializedName: "validationToken", readOnly: true, type: { name: "String" } }, - unit: { - serializedName: "unit", + expirationDate: { + serializedName: "expirationDate", readOnly: true, type: { name: "String" } - }, - currentValue: { - serializedName: "currentValue", - readOnly: true, - type: { - name: "Number" - } - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number" - } } } } }; -export const EndpointListResult: coreClient.CompositeMapper = { +export const AFDDomainUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointListResult", + className: "AFDDomainUpdatePropertiesParameters", modelProperties: { - value: { - serializedName: "value", + profileName: { + serializedName: "profileName", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Endpoint" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + tlsSettings: { + serializedName: "tlsSettings", type: { - name: "String" + name: "Composite", + className: "AFDDomainHttpsParameters" + } + }, + azureDnsZone: { + serializedName: "azureDnsZone", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + preValidatedCustomDomainResourceId: { + serializedName: "preValidatedCustomDomainResourceId", + type: { + name: "Composite", + className: "ResourceReference" } } } } }; -export const DeepCreatedOrigin: coreClient.CompositeMapper = { +export const AFDDomainHttpsParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeepCreatedOrigin", + className: "AFDDomainHttpsParameters", modelProperties: { - name: { - serializedName: "name", + certificateType: { + serializedName: "certificateType", required: true, type: { name: "String" } }, - hostName: { - serializedName: "properties.hostName", + minimumTlsVersion: { + serializedName: "minimumTlsVersion", type: { - name: "String" - } - }, - httpPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpPort", - type: { - name: "Number" + name: "Enum", + allowedValues: ["TLS10", "TLS12"] } }, - httpsPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpsPort", + secret: { + serializedName: "secret", type: { - name: "Number" + name: "Composite", + className: "ResourceReference" } - }, - originHostHeader: { - serializedName: "properties.originHostHeader", + } + } + } +}; + +export const ResourceReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceReference", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } - }, - priority: { - constraints: { - InclusiveMaximum: 5, - InclusiveMinimum: 1 - }, - serializedName: "properties.priority", - type: { - name: "Number" - } - }, - weight: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 - }, - serializedName: "properties.weight", + } + } + } +}; + +export const AFDStateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AFDStateProperties", + modelProperties: { + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } }, - enabled: { - serializedName: "properties.enabled", + deploymentStatus: { + serializedName: "deploymentStatus", + readOnly: true, type: { - name: "Boolean" + name: "String" } - }, - privateLinkAlias: { - serializedName: "properties.privateLinkAlias", + } + } + } +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - privateLinkLocation: { - serializedName: "properties.privateLinkLocation", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - privateLinkApprovalMessage: { - serializedName: "properties.privateLinkApprovalMessage", + systemData: { + serializedName: "systemData", type: { - name: "String" + name: "Composite", + className: "SystemData" } } } } }; -export const DeepCreatedOriginGroup: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeepCreatedOriginGroup", + className: "SystemData", modelProperties: { - name: { - serializedName: "name", - required: true, + createdBy: { + serializedName: "createdBy", type: { name: "String" } }, - healthProbeSettings: { - serializedName: "properties.healthProbeSettings", + createdByType: { + serializedName: "createdByType", type: { - name: "Composite", - className: "HealthProbeParameters" + name: "String" } }, - origins: { - serializedName: "properties.origins", + createdAt: { + serializedName: "createdAt", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } + name: "DateTime" } }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: - "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { - name: "Number" + name: "String" } }, - responseBasedOriginErrorDetectionSettings: { - serializedName: "properties.responseBasedOriginErrorDetectionSettings", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { - name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" } } } } }; -export const HealthProbeParameters: coreClient.CompositeMapper = { +export const AFDDomainUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HealthProbeParameters", + className: "AFDDomainUpdateParameters", modelProperties: { - probePath: { - serializedName: "probePath", + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { name: "String" } }, - probeRequestType: { - serializedName: "probeRequestType", + tlsSettings: { + serializedName: "properties.tlsSettings", type: { - name: "Enum", - allowedValues: ["NotSet", "GET", "HEAD"] + name: "Composite", + className: "AFDDomainHttpsParameters" } }, - probeProtocol: { - serializedName: "probeProtocol", + azureDnsZone: { + serializedName: "properties.azureDnsZone", type: { - name: "Enum", - allowedValues: ["NotSet", "Http", "Https"] + name: "Composite", + className: "ResourceReference" } }, - probeIntervalInSeconds: { - constraints: { - InclusiveMaximum: 255, - InclusiveMinimum: 1 - }, - serializedName: "probeIntervalInSeconds", + preValidatedCustomDomainResourceId: { + serializedName: "properties.preValidatedCustomDomainResourceId", type: { - name: "Number" + name: "Composite", + className: "ResourceReference" } } } } }; -export const ResourceReference: coreClient.CompositeMapper = { +export const AFDEndpointListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceReference", + className: "AFDEndpointListResult", modelProperties: { - id: { - serializedName: "id", + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AFDEndpoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -507,65 +545,69 @@ export const ResourceReference: coreClient.CompositeMapper = { } }; -export const ResponseBasedOriginErrorDetectionParameters: coreClient.CompositeMapper = { +export const AFDEndpointPropertiesUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters", + className: "AFDEndpointPropertiesUpdateParameters", modelProperties: { - responseBasedDetectedErrorTypes: { - serializedName: "responseBasedDetectedErrorTypes", + profileName: { + serializedName: "profileName", + readOnly: true, type: { - name: "Enum", - allowedValues: ["None", "TcpErrorsOnly", "TcpAndHttpErrors"] + name: "String" } }, - responseBasedFailoverThresholdPercentage: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 0 - }, - serializedName: "responseBasedFailoverThresholdPercentage", + enabledState: { + serializedName: "enabledState", type: { - name: "Number" + name: "String" } }, - httpErrorRanges: { - serializedName: "httpErrorRanges", + originResponseTimeoutSeconds: { + constraints: { + InclusiveMaximum: 240, + InclusiveMinimum: 16 + }, + serializedName: "originResponseTimeoutSeconds", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HttpErrorRangeParameters" - } - } + name: "Number" } } } } }; -export const HttpErrorRangeParameters: coreClient.CompositeMapper = { +export const AFDEndpointUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HttpErrorRangeParameters", + className: "AFDEndpointUpdateParameters", modelProperties: { - begin: { - constraints: { - InclusiveMaximum: 999, - InclusiveMinimum: 100 - }, - serializedName: "begin", + tags: { + serializedName: "tags", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "String" } } } }, - end: { + profileName: { + serializedName: "properties.profileName", + readOnly: true, + type: { + name: "String" + } + }, + enabledState: { + serializedName: "properties.enabledState", + type: { + name: "String" + } + }, + originResponseTimeoutSeconds: { constraints: { - InclusiveMaximum: 999, - InclusiveMinimum: 100 + InclusiveMaximum: 240, + InclusiveMinimum: 16 }, - serializedName: "end", + serializedName: "properties.originResponseTimeoutSeconds", type: { name: "Number" } @@ -574,19 +616,25 @@ export const HttpErrorRangeParameters: coreClient.CompositeMapper = { } }; -export const EndpointPropertiesUpdateParameters: coreClient.CompositeMapper = { +export const AfdPurgeParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesUpdateParameters", + className: "AfdPurgeParameters", modelProperties: { - originPath: { - serializedName: "originPath", + contentPaths: { + serializedName: "contentPaths", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - contentTypesToCompress: { - serializedName: "contentTypesToCompress", + domains: { + serializedName: "domains", type: { name: "Sequence", element: { @@ -595,326 +643,318 @@ export const EndpointPropertiesUpdateParameters: coreClient.CompositeMapper = { } } } - }, - originHostHeader: { - serializedName: "originHostHeader", + } + } + } +}; + +export const ValidateCustomDomainInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidateCustomDomainInput", + modelProperties: { + hostName: { + serializedName: "hostName", + required: true, type: { name: "String" } - }, - isCompressionEnabled: { - serializedName: "isCompressionEnabled", + } + } + } +}; + +export const ValidateCustomDomainOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidateCustomDomainOutput", + modelProperties: { + customDomainValidated: { + serializedName: "customDomainValidated", + readOnly: true, type: { name: "Boolean" } }, - isHttpAllowed: { - serializedName: "isHttpAllowed", + reason: { + serializedName: "reason", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - isHttpsAllowed: { - serializedName: "isHttpsAllowed", + message: { + serializedName: "message", + readOnly: true, type: { - name: "Boolean" + name: "String" } - }, - queryStringCachingBehavior: { - serializedName: "queryStringCachingBehavior", + } + } + } +}; + +export const AFDOriginGroupListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AFDOriginGroupListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { - name: "Enum", - allowedValues: [ - "IgnoreQueryString", - "BypassCaching", - "UseQueryString", - "NotSet" - ] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AFDOriginGroup" + } + } } }, - optimizationType: { - serializedName: "optimizationType", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - probePath: { - serializedName: "probePath", + } + } + } +}; + +export const AFDOriginGroupUpdatePropertiesParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AFDOriginGroupUpdatePropertiesParameters", + modelProperties: { + profileName: { + serializedName: "profileName", + readOnly: true, type: { name: "String" } }, - geoFilters: { - serializedName: "geoFilters", + loadBalancingSettings: { + serializedName: "loadBalancingSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoFilter" - } - } + name: "Composite", + className: "LoadBalancingSettingsParameters" } }, - defaultOriginGroup: { - serializedName: "defaultOriginGroup", + healthProbeSettings: { + serializedName: "healthProbeSettings", type: { name: "Composite", - className: "ResourceReference" + className: "HealthProbeParameters" } }, - urlSigningKeys: { - serializedName: "urlSigningKeys", + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: "trafficRestorationTimeToHealedOrNewEndpointsInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UrlSigningKey" - } - } + name: "Number" } }, - deliveryPolicy: { - serializedName: "deliveryPolicy", + responseBasedAfdOriginErrorDetectionSettings: { + serializedName: "responseBasedAfdOriginErrorDetectionSettings", type: { name: "Composite", - className: "EndpointPropertiesUpdateParametersDeliveryPolicy" + className: "ResponseBasedOriginErrorDetectionParameters" } }, - webApplicationFirewallPolicyLink: { - serializedName: "webApplicationFirewallPolicyLink", + sessionAffinityState: { + serializedName: "sessionAffinityState", type: { - name: "Composite", - className: - "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" + name: "String" } } } } }; -export const GeoFilter: coreClient.CompositeMapper = { +export const LoadBalancingSettingsParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GeoFilter", + className: "LoadBalancingSettingsParameters", modelProperties: { - relativePath: { - serializedName: "relativePath", - required: true, + sampleSize: { + serializedName: "sampleSize", type: { - name: "String" + name: "Number" } }, - action: { - serializedName: "action", - required: true, + successfulSamplesRequired: { + serializedName: "successfulSamplesRequired", type: { - name: "Enum", - allowedValues: ["Block", "Allow"] + name: "Number" } }, - countryCodes: { - serializedName: "countryCodes", - required: true, + additionalLatencyInMilliseconds: { + serializedName: "additionalLatencyInMilliseconds", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const UrlSigningKey: coreClient.CompositeMapper = { +export const HealthProbeParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlSigningKey", + className: "HealthProbeParameters", modelProperties: { - keyId: { - serializedName: "keyId", - required: true, + probePath: { + serializedName: "probePath", type: { name: "String" } }, - keySourceParameters: { - serializedName: "keySourceParameters", + probeRequestType: { + serializedName: "probeRequestType", type: { - name: "Composite", - className: "KeyVaultSigningKeyParameters" + name: "Enum", + allowedValues: ["NotSet", "GET", "HEAD"] + } + }, + probeProtocol: { + serializedName: "probeProtocol", + type: { + name: "Enum", + allowedValues: ["NotSet", "Http", "Https"] + } + }, + probeIntervalInSeconds: { + constraints: { + InclusiveMaximum: 255, + InclusiveMinimum: 1 + }, + serializedName: "probeIntervalInSeconds", + type: { + name: "Number" } } } } }; -export const KeyVaultSigningKeyParameters: coreClient.CompositeMapper = { +export const ResponseBasedOriginErrorDetectionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyVaultSigningKeyParameters", + className: "ResponseBasedOriginErrorDetectionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.KeyVaultSigningKeyParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - subscriptionId: { - serializedName: "subscriptionId", - required: true, - type: { - name: "String" - } - }, - resourceGroupName: { - serializedName: "resourceGroupName", - required: true, - type: { - name: "String" - } - }, - vaultName: { - serializedName: "vaultName", - required: true, + responseBasedDetectedErrorTypes: { + serializedName: "responseBasedDetectedErrorTypes", type: { - name: "String" + name: "Enum", + allowedValues: ["None", "TcpErrorsOnly", "TcpAndHttpErrors"] } }, - secretName: { - serializedName: "secretName", - required: true, + responseBasedFailoverThresholdPercentage: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0 + }, + serializedName: "responseBasedFailoverThresholdPercentage", type: { - name: "String" + name: "Number" } }, - secretVersion: { - serializedName: "secretVersion", - required: true, + httpErrorRanges: { + serializedName: "httpErrorRanges", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpErrorRangeParameters" + } + } } } } } }; -export const EndpointPropertiesUpdateParametersDeliveryPolicy: coreClient.CompositeMapper = { +export const HttpErrorRangeParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesUpdateParametersDeliveryPolicy", + className: "HttpErrorRangeParameters", modelProperties: { - description: { - serializedName: "description", + begin: { + constraints: { + InclusiveMaximum: 999, + InclusiveMinimum: 100 + }, + serializedName: "begin", type: { - name: "String" + name: "Number" } }, - rules: { - serializedName: "rules", - required: true, + end: { + constraints: { + InclusiveMaximum: 999, + InclusiveMinimum: 100 + }, + serializedName: "end", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRule" - } - } + name: "Number" } } } } }; -export const DeliveryRule: coreClient.CompositeMapper = { +export const AFDOriginGroupUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRule", + className: "AFDOriginGroupUpdateParameters", modelProperties: { - name: { - serializedName: "name", + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { name: "String" } }, - order: { - serializedName: "order", - required: true, + loadBalancingSettings: { + serializedName: "properties.loadBalancingSettings", type: { - name: "Number" + name: "Composite", + className: "LoadBalancingSettingsParameters" } }, - conditions: { - serializedName: "conditions", + healthProbeSettings: { + serializedName: "properties.healthProbeSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRuleCondition" - } - } + name: "Composite", + className: "HealthProbeParameters" } }, - actions: { - serializedName: "actions", - required: true, + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: + "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRuleActionAutoGenerated" - } - } + name: "Number" } - } - } - } -}; - -export const DeliveryRuleCondition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeliveryRuleCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: { - serializedName: "name", - clientName: "name" - }, - modelProperties: { - name: { - serializedName: "name", - required: true, + }, + responseBasedAfdOriginErrorDetectionSettings: { + serializedName: + "properties.responseBasedAfdOriginErrorDetectionSettings", type: { - name: "String" + name: "Composite", + className: "ResponseBasedOriginErrorDetectionParameters" } - } - } - } -}; - -export const DeliveryRuleActionAutoGenerated: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeliveryRuleActionAutoGenerated", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: { - serializedName: "name", - clientName: "name" - }, - modelProperties: { - name: { - serializedName: "name", - required: true, + }, + sessionAffinityState: { + serializedName: "properties.sessionAffinityState", type: { name: "String" } @@ -923,14 +963,26 @@ export const DeliveryRuleActionAutoGenerated: coreClient.CompositeMapper = { } }; -export const EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink: coreClient.CompositeMapper = { +export const AFDOriginListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink", + className: "AFDOriginListResult", modelProperties: { - id: { - serializedName: "id", + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AFDOrigin" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -939,256 +991,121 @@ export const EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink: } }; -export const EndpointUpdateParameters: coreClient.CompositeMapper = { +export const AFDOriginUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointUpdateParameters", + className: "AFDOriginUpdatePropertiesParameters", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - originPath: { - serializedName: "properties.originPath", + originGroupName: { + serializedName: "originGroupName", + readOnly: true, type: { name: "String" } }, - contentTypesToCompress: { - serializedName: "properties.contentTypesToCompress", + azureOrigin: { + serializedName: "azureOrigin", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ResourceReference" } }, - originHostHeader: { - serializedName: "properties.originHostHeader", + hostName: { + serializedName: "hostName", type: { name: "String" } }, - isCompressionEnabled: { - serializedName: "properties.isCompressionEnabled", + httpPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "httpPort", type: { - name: "Boolean" + name: "Number" } }, - isHttpAllowed: { - serializedName: "properties.isHttpAllowed", + httpsPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "httpsPort", type: { - name: "Boolean" + name: "Number" } }, - isHttpsAllowed: { - serializedName: "properties.isHttpsAllowed", + originHostHeader: { + serializedName: "originHostHeader", type: { - name: "Boolean" + name: "String" } }, - queryStringCachingBehavior: { - serializedName: "properties.queryStringCachingBehavior", - type: { - name: "Enum", - allowedValues: [ - "IgnoreQueryString", - "BypassCaching", - "UseQueryString", - "NotSet" - ] - } - }, - optimizationType: { - serializedName: "properties.optimizationType", - type: { - name: "String" - } - }, - probePath: { - serializedName: "properties.probePath", - type: { - name: "String" - } - }, - geoFilters: { - serializedName: "properties.geoFilters", + priority: { + constraints: { + InclusiveMaximum: 5, + InclusiveMinimum: 1 + }, + serializedName: "priority", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoFilter" - } - } + name: "Number" } }, - defaultOriginGroup: { - serializedName: "properties.defaultOriginGroup", + weight: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 1 + }, + serializedName: "weight", type: { - name: "Composite", - className: "ResourceReference" + name: "Number" } }, - urlSigningKeys: { - serializedName: "properties.urlSigningKeys", + sharedPrivateLinkResource: { + serializedName: "sharedPrivateLinkResource", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UrlSigningKey" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - deliveryPolicy: { - serializedName: "properties.deliveryPolicy", + enabledState: { + serializedName: "enabledState", type: { - name: "Composite", - className: "EndpointPropertiesUpdateParametersDeliveryPolicy" + name: "String" } }, - webApplicationFirewallPolicyLink: { - serializedName: "properties.webApplicationFirewallPolicyLink", - type: { - name: "Composite", - className: - "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" - } - } - } - } -}; - -export const PurgeParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PurgeParameters", - modelProperties: { - contentPaths: { - serializedName: "contentPaths", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const LoadParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LoadParameters", - modelProperties: { - contentPaths: { - serializedName: "contentPaths", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ValidateCustomDomainInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ValidateCustomDomainInput", - modelProperties: { - hostName: { - serializedName: "hostName", - required: true, + enforceCertificateNameCheck: { + serializedName: "enforceCertificateNameCheck", type: { - name: "String" + name: "Boolean" } } } } }; -export const ValidateCustomDomainOutput: coreClient.CompositeMapper = { +export const AFDOriginUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ValidateCustomDomainOutput", + className: "AFDOriginUpdateParameters", modelProperties: { - customDomainValidated: { - serializedName: "customDomainValidated", - readOnly: true, - type: { - name: "Boolean" - } - }, - reason: { - serializedName: "reason", + originGroupName: { + serializedName: "properties.originGroupName", readOnly: true, type: { name: "String" } }, - message: { - serializedName: "message", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const OriginListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OriginListResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, + azureOrigin: { + serializedName: "properties.azureOrigin", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Origin" - } - } + name: "Composite", + className: "ResourceReference" } }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OriginUpdatePropertiesParameters", - modelProperties: { hostName: { - serializedName: "hostName", + serializedName: "properties.hostName", type: { name: "String" } @@ -1198,7 +1115,7 @@ export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, - serializedName: "httpPort", + serializedName: "properties.httpPort", type: { name: "Number" } @@ -1208,13 +1125,13 @@ export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, - serializedName: "httpsPort", + serializedName: "properties.httpsPort", type: { name: "Number" } }, originHostHeader: { - serializedName: "originHostHeader", + serializedName: "properties.originHostHeader", type: { name: "String" } @@ -1224,7 +1141,7 @@ export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { InclusiveMaximum: 5, InclusiveMinimum: 1 }, - serializedName: "priority", + serializedName: "properties.priority", type: { name: "Number" } @@ -1234,37 +1151,54 @@ export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { InclusiveMaximum: 1000, InclusiveMinimum: 1 }, - serializedName: "weight", + serializedName: "properties.weight", type: { name: "Number" } }, - enabled: { - serializedName: "enabled", + sharedPrivateLinkResource: { + serializedName: "properties.sharedPrivateLinkResource", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - privateLinkAlias: { - serializedName: "privateLinkAlias", + enabledState: { + serializedName: "properties.enabledState", type: { name: "String" } }, - privateLinkResourceId: { - serializedName: "privateLinkResourceId", + enforceCertificateNameCheck: { + serializedName: "properties.enforceCertificateNameCheck", type: { - name: "String" + name: "Boolean" } - }, - privateLinkLocation: { - serializedName: "privateLinkLocation", + } + } + } +}; + +export const RouteListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RouteListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Route" + } + } } }, - privateLinkApprovalMessage: { - serializedName: "privateLinkApprovalMessage", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1273,89 +1207,104 @@ export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { } }; -export const OriginUpdateParameters: coreClient.CompositeMapper = { +export const RouteUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginUpdateParameters", + className: "RouteUpdatePropertiesParameters", modelProperties: { - hostName: { - serializedName: "properties.hostName", + endpointName: { + serializedName: "endpointName", + readOnly: true, type: { name: "String" } }, - httpPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpPort", + customDomains: { + serializedName: "customDomains", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivatedResourceReference" + } + } } }, - httpsPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpsPort", + originGroup: { + serializedName: "originGroup", type: { - name: "Number" + name: "Composite", + className: "ResourceReference" } }, - originHostHeader: { - serializedName: "properties.originHostHeader", + originPath: { + serializedName: "originPath", type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 5, - InclusiveMinimum: 1 - }, - serializedName: "properties.priority", + ruleSets: { + serializedName: "ruleSets", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceReference" + } + } } }, - weight: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 - }, - serializedName: "properties.weight", + supportedProtocols: { + serializedName: "supportedProtocols", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - enabled: { - serializedName: "properties.enabled", + patternsToMatch: { + serializedName: "patternsToMatch", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - privateLinkAlias: { - serializedName: "properties.privateLinkAlias", + cacheConfiguration: { + serializedName: "cacheConfiguration", + type: { + name: "Composite", + className: "AfdRouteCacheConfiguration" + } + }, + forwardingProtocol: { + serializedName: "forwardingProtocol", type: { name: "String" } }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + linkToDefaultDomain: { + serializedName: "linkToDefaultDomain", type: { name: "String" } }, - privateLinkLocation: { - serializedName: "properties.privateLinkLocation", + httpsRedirect: { + serializedName: "httpsRedirect", type: { name: "String" } }, - privateLinkApprovalMessage: { - serializedName: "properties.privateLinkApprovalMessage", + enabledState: { + serializedName: "enabledState", type: { name: "String" } @@ -1364,93 +1313,95 @@ export const OriginUpdateParameters: coreClient.CompositeMapper = { } }; -export const OriginGroupListResult: coreClient.CompositeMapper = { +export const ActivatedResourceReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginGroupListResult", + className: "ActivatedResourceReference", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + id: { + serializedName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OriginGroup" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + isActive: { + serializedName: "isActive", + readOnly: true, type: { - name: "String" + name: "Boolean" } } } } }; -export const OriginGroupUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const AfdRouteCacheConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginGroupUpdatePropertiesParameters", + className: "AfdRouteCacheConfiguration", modelProperties: { - healthProbeSettings: { - serializedName: "healthProbeSettings", - type: { - name: "Composite", - className: "HealthProbeParameters" - } - }, - origins: { - serializedName: "origins", + queryStringCachingBehavior: { + serializedName: "queryStringCachingBehavior", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } + name: "String" } }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: "trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + queryParameters: { + serializedName: "queryParameters", type: { - name: "Number" + name: "String" } }, - responseBasedOriginErrorDetectionSettings: { - serializedName: "responseBasedOriginErrorDetectionSettings", + compressionSettings: { + serializedName: "compressionSettings", type: { - name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const OriginGroupUpdateParameters: coreClient.CompositeMapper = { +export const RouteUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginGroupUpdateParameters", + className: "RouteUpdateParameters", modelProperties: { - healthProbeSettings: { - serializedName: "properties.healthProbeSettings", + endpointName: { + serializedName: "properties.endpointName", + readOnly: true, + type: { + name: "String" + } + }, + customDomains: { + serializedName: "properties.customDomains", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivatedResourceReference" + } + } + } + }, + originGroup: { + serializedName: "properties.originGroup", type: { name: "Composite", - className: "HealthProbeParameters" + className: "ResourceReference" } }, - origins: { - serializedName: "properties.origins", + originPath: { + serializedName: "properties.originPath", + type: { + name: "String" + } + }, + ruleSets: { + serializedName: "properties.ruleSets", type: { name: "Sequence", element: { @@ -1461,32 +1412,67 @@ export const OriginGroupUpdateParameters: coreClient.CompositeMapper = { } } }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: - "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + supportedProtocols: { + serializedName: "properties.supportedProtocols", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - responseBasedOriginErrorDetectionSettings: { - serializedName: "properties.responseBasedOriginErrorDetectionSettings", + patternsToMatch: { + serializedName: "properties.patternsToMatch", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + cacheConfiguration: { + serializedName: "properties.cacheConfiguration", type: { name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" + className: "AfdRouteCacheConfiguration" + } + }, + forwardingProtocol: { + serializedName: "properties.forwardingProtocol", + type: { + name: "String" + } + }, + linkToDefaultDomain: { + serializedName: "properties.linkToDefaultDomain", + type: { + name: "String" + } + }, + httpsRedirect: { + serializedName: "properties.httpsRedirect", + type: { + name: "String" + } + }, + enabledState: { + serializedName: "properties.enabledState", + type: { + name: "String" } } } } }; -export const CustomDomainListResult: coreClient.CompositeMapper = { +export const RuleSetListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomainListResult", + className: "RuleSetListResult", modelProperties: { value: { serializedName: "value", @@ -1496,7 +1482,7 @@ export const CustomDomainListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CustomDomain" + className: "RuleSet" } } } @@ -1511,48 +1497,78 @@ export const CustomDomainListResult: coreClient.CompositeMapper = { } }; -export const CustomDomainHttpsParameters: coreClient.CompositeMapper = { +export const RuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomainHttpsParameters", - uberParent: "CustomDomainHttpsParameters", - polymorphicDiscriminator: { - serializedName: "certificateSource", - clientName: "certificateSource" - }, + className: "RuleListResult", modelProperties: { - certificateSource: { - serializedName: "certificateSource", - required: true, + value: { + serializedName: "value", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Rule" + } + } } }, - protocolType: { - serializedName: "protocolType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - minimumTlsVersion: { - serializedName: "minimumTlsVersion", - type: { - name: "Enum", - allowedValues: ["None", "TLS10", "TLS12"] - } } } } }; -export const CustomDomainParameters: coreClient.CompositeMapper = { +export const RuleUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomainParameters", + className: "RuleUpdatePropertiesParameters", modelProperties: { - hostName: { - serializedName: "properties.hostName", + ruleSetName: { + serializedName: "ruleSetName", + readOnly: true, + type: { + name: "String" + } + }, + order: { + serializedName: "order", + type: { + name: "Number" + } + }, + conditions: { + serializedName: "conditions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeliveryRuleCondition" + } + } + } + }, + actions: { + serializedName: "actions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeliveryRuleActionAutoGenerated" + } + } + } + }, + matchProcessingBehavior: { + serializedName: "matchProcessingBehavior", type: { name: "String" } @@ -1561,10 +1577,15 @@ export const CustomDomainParameters: coreClient.CompositeMapper = { } }; -export const CheckNameAvailabilityInput: coreClient.CompositeMapper = { +export const DeliveryRuleCondition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CheckNameAvailabilityInput", + className: "DeliveryRuleCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: { + serializedName: "name", + clientName: "name" + }, modelProperties: { name: { serializedName: "name", @@ -1572,11 +1593,24 @@ export const CheckNameAvailabilityInput: coreClient.CompositeMapper = { type: { name: "String" } - }, - type: { - defaultValue: "Microsoft.Cdn/Profiles/Endpoints", - isConstant: true, - serializedName: "type", + } + } + } +}; + +export const DeliveryRuleActionAutoGenerated: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeliveryRuleActionAutoGenerated", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: { + serializedName: "name", + clientName: "name" + }, + modelProperties: { + name: { + serializedName: "name", + required: true, type: { name: "String" } @@ -1585,28 +1619,50 @@ export const CheckNameAvailabilityInput: coreClient.CompositeMapper = { } }; -export const CheckNameAvailabilityOutput: coreClient.CompositeMapper = { +export const RuleUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CheckNameAvailabilityOutput", + className: "RuleUpdateParameters", modelProperties: { - nameAvailable: { - serializedName: "nameAvailable", + ruleSetName: { + serializedName: "properties.ruleSetName", readOnly: true, type: { - name: "Boolean" + name: "String" } }, - reason: { - serializedName: "reason", - readOnly: true, + order: { + serializedName: "properties.order", type: { - name: "String" + name: "Number" } }, - message: { - serializedName: "message", - readOnly: true, + conditions: { + serializedName: "properties.conditions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeliveryRuleCondition" + } + } + } + }, + actions: { + serializedName: "properties.actions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeliveryRuleActionAutoGenerated" + } + } + } + }, + matchProcessingBehavior: { + serializedName: "properties.matchProcessingBehavior", type: { name: "String" } @@ -1615,14 +1671,26 @@ export const CheckNameAvailabilityOutput: coreClient.CompositeMapper = { } }; -export const ValidateProbeInput: coreClient.CompositeMapper = { +export const SecurityPolicyListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ValidateProbeInput", + className: "SecurityPolicyListResult", modelProperties: { - probeURL: { - serializedName: "probeURL", - required: true, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecurityPolicy" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1631,28 +1699,19 @@ export const ValidateProbeInput: coreClient.CompositeMapper = { } }; -export const ValidateProbeOutput: coreClient.CompositeMapper = { +export const SecurityPolicyParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ValidateProbeOutput", + className: "SecurityPolicyParameters", + uberParent: "SecurityPolicyParameters", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - isValid: { - serializedName: "isValid", - readOnly: true, - type: { - name: "Boolean" - } - }, - errorCode: { - serializedName: "errorCode", - readOnly: true, - type: { - name: "String" - } - }, - message: { - serializedName: "message", - readOnly: true, + type: { + serializedName: "type", + required: true, type: { name: "String" } @@ -1661,10 +1720,10 @@ export const ValidateProbeOutput: coreClient.CompositeMapper = { } }; -export const OperationsListResult: coreClient.CompositeMapper = { +export const SecretListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationsListResult", + className: "SecretListResult", modelProperties: { value: { serializedName: "value", @@ -1674,7 +1733,7 @@ export const OperationsListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "Secret" } } } @@ -1689,51 +1748,48 @@ export const OperationsListResult: coreClient.CompositeMapper = { } }; -export const Operation: coreClient.CompositeMapper = { +export const SecretParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "SecretParameters", + uberParent: "SecretParameters", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - name: { - serializedName: "name", - readOnly: true, + type: { + serializedName: "type", + required: true, type: { name: "String" } - }, - display: { - serializedName: "display", - type: { - name: "Composite", - className: "OperationDisplay" - } } } } }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const ValidateSecretInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "ValidateSecretInput", modelProperties: { - provider: { - serializedName: "provider", - readOnly: true, + secretType: { + serializedName: "secretType", + required: true, type: { name: "String" } }, - resource: { - serializedName: "resource", - readOnly: true, + secretSource: { + serializedName: "secretSource", type: { - name: "String" + name: "Composite", + className: "ResourceReference" } }, - operation: { - serializedName: "operation", - readOnly: true, + secretVersion: { + serializedName: "secretVersion", type: { name: "String" } @@ -1742,26 +1798,19 @@ export const OperationDisplay: coreClient.CompositeMapper = { } }; -export const EdgenodeResult: coreClient.CompositeMapper = { +export const ValidateSecretOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EdgenodeResult", + className: "ValidateSecretOutput", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + status: { + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EdgeNode" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + message: { + serializedName: "message", type: { name: "String" } @@ -1770,37 +1819,37 @@ export const EdgenodeResult: coreClient.CompositeMapper = { } }; -export const IpAddressGroup: coreClient.CompositeMapper = { +export const MetricsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IpAddressGroup", + className: "MetricsResponse", modelProperties: { - deliveryRegion: { - serializedName: "deliveryRegion", + dateTimeBegin: { + serializedName: "dateTimeBegin", type: { - name: "String" + name: "DateTime" } }, - ipv4Addresses: { - serializedName: "ipv4Addresses", + dateTimeEnd: { + serializedName: "dateTimeEnd", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CidrIpAddress" - } - } + name: "DateTime" } }, - ipv6Addresses: { - serializedName: "ipv6Addresses", + granularity: { + serializedName: "granularity", + type: { + name: "String" + } + }, + series: { + serializedName: "series", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CidrIpAddress" + className: "MetricsResponseSeriesItem" } } } @@ -1809,293 +1858,270 @@ export const IpAddressGroup: coreClient.CompositeMapper = { } }; -export const CidrIpAddress: coreClient.CompositeMapper = { +export const MetricsResponseSeriesItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CidrIpAddress", + className: "MetricsResponseSeriesItem", modelProperties: { - baseIpAddress: { - serializedName: "baseIpAddress", + metric: { + serializedName: "metric", type: { name: "String" } }, - prefixLength: { - serializedName: "prefixLength", + unit: { + serializedName: "unit", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const UsagesListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UsagesListResult", - modelProperties: { - value: { - serializedName: "value", + }, + groups: { + serializedName: "groups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Usage" + className: "MetricsResponseSeriesPropertiesItemsItem" } } } }, - nextLink: { - serializedName: "nextLink", + data: { + serializedName: "data", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems" + } + } } } } } }; -export const Usage: coreClient.CompositeMapper = { +export const MetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "MetricsResponseSeriesPropertiesItemsItem", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - unit: { - serializedName: "unit", - required: true, + value: { + serializedName: "value", type: { name: "String" } - }, - currentValue: { - serializedName: "currentValue", - required: true, - type: { - name: "Number" - } - }, - limit: { - serializedName: "limit", - required: true, - type: { - name: "Number" - } - }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "UsageName" - } } } } }; -export const UsageName: coreClient.CompositeMapper = { +export const Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UsageName", + className: + "Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems", modelProperties: { - value: { - serializedName: "value", + dateTime: { + serializedName: "dateTime", type: { - name: "String" + name: "DateTime" } }, - localizedValue: { - serializedName: "localizedValue", + value: { + serializedName: "value", type: { - name: "String" + name: "Number" } } } } }; -export const AfdErrorResponse: coreClient.CompositeMapper = { +export const RankingsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AfdErrorResponse", + className: "RankingsResponse", modelProperties: { - error: { - serializedName: "error", + dateTimeBegin: { + serializedName: "dateTimeBegin", type: { - name: "Composite", - className: "ErrorResponse" + name: "DateTime" } - } - } - } -}; - -export const AFDDomainListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AFDDomainListResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, + }, + dateTimeEnd: { + serializedName: "dateTimeEnd", + type: { + name: "DateTime" + } + }, + tables: { + serializedName: "tables", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AFDDomain" + className: "RankingsResponseTablesItem" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const DomainValidationProperties: coreClient.CompositeMapper = { +export const RankingsResponseTablesItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DomainValidationProperties", + className: "RankingsResponseTablesItem", modelProperties: { - validationToken: { - serializedName: "validationToken", - readOnly: true, + ranking: { + serializedName: "ranking", type: { name: "String" } }, - expirationDate: { - serializedName: "expirationDate", - readOnly: true, + data: { + serializedName: "data", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RankingsResponseTablesPropertiesItemsItem" + } + } } } } } }; -export const AFDDomainUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const RankingsResponseTablesPropertiesItemsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDDomainUpdatePropertiesParameters", + className: "RankingsResponseTablesPropertiesItemsItem", modelProperties: { - tlsSettings: { - serializedName: "tlsSettings", + name: { + serializedName: "name", type: { - name: "Composite", - className: "AFDDomainHttpsParameters" + name: "String" } }, - azureDnsZone: { - serializedName: "azureDnsZone", + metrics: { + serializedName: "metrics", type: { - name: "Composite", - className: "ResourceReference" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RankingsResponseTablesPropertiesItemsMetricsItem" + } + } } } } } }; -export const AFDDomainHttpsParameters: coreClient.CompositeMapper = { +export const RankingsResponseTablesPropertiesItemsMetricsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDDomainHttpsParameters", + className: "RankingsResponseTablesPropertiesItemsMetricsItem", modelProperties: { - certificateType: { - serializedName: "certificateType", - required: true, + metric: { + serializedName: "metric", type: { name: "String" } }, - minimumTlsVersion: { - serializedName: "minimumTlsVersion", + value: { + serializedName: "value", type: { - name: "Enum", - allowedValues: ["TLS10", "TLS12"] + name: "Number" } }, - secret: { - serializedName: "secret", + percentage: { + serializedName: "percentage", type: { - name: "Composite", - className: "ResourceReference" + name: "Number" } } } } }; -export const AFDStateProperties: coreClient.CompositeMapper = { +export const ContinentsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDStateProperties", + className: "ContinentsResponse", modelProperties: { - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + continents: { + serializedName: "continents", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContinentsResponseContinentsItem" + } + } } }, - deploymentStatus: { - serializedName: "deploymentStatus", - readOnly: true, + countryOrRegions: { + serializedName: "countryOrRegions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContinentsResponseCountryOrRegionsItem" + } + } } } } } }; -export const AFDDomainUpdateParameters: coreClient.CompositeMapper = { +export const ContinentsResponseContinentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDDomainUpdateParameters", + className: "ContinentsResponseContinentsItem", modelProperties: { - tlsSettings: { - serializedName: "properties.tlsSettings", - type: { - name: "Composite", - className: "AFDDomainHttpsParameters" - } - }, - azureDnsZone: { - serializedName: "properties.azureDnsZone", + id: { + serializedName: "id", type: { - name: "Composite", - className: "ResourceReference" + name: "String" } } } } }; -export const ValidationToken: coreClient.CompositeMapper = { +export const ContinentsResponseCountryOrRegionsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ValidationToken", + className: "ContinentsResponseCountryOrRegionsItem", modelProperties: { - token: { - serializedName: "token", - readOnly: true, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + continentId: { + serializedName: "continentId", type: { name: "String" } @@ -2104,113 +2130,175 @@ export const ValidationToken: coreClient.CompositeMapper = { } }; -export const AFDEndpointListResult: coreClient.CompositeMapper = { +export const ResourcesResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDEndpointListResult", + className: "ResourcesResponse", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + endpoints: { + serializedName: "endpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AFDEndpoint" + className: "ResourcesResponseEndpointsItem" } } } }, - nextLink: { - serializedName: "nextLink", + customDomains: { + serializedName: "customDomains", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourcesResponseCustomDomainsItem" + } + } + } + } + } + } +}; + +export const ResourcesResponseEndpointsItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourcesResponseEndpointsItem", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", type: { name: "String" } + }, + history: { + serializedName: "history", + type: { + name: "Boolean" + } + }, + customDomains: { + serializedName: "customDomains", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourcesResponseEndpointsPropertiesItemsItem" + } + } + } } } } }; -export const AFDEndpointPropertiesUpdateParameters: coreClient.CompositeMapper = { +export const ResourcesResponseEndpointsPropertiesItemsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDEndpointPropertiesUpdateParameters", + className: "ResourcesResponseEndpointsPropertiesItemsItem", modelProperties: { - originResponseTimeoutSeconds: { - constraints: { - InclusiveMinimum: 16 - }, - serializedName: "originResponseTimeoutSeconds", + id: { + serializedName: "id", type: { - name: "Number" + name: "String" } }, - enabledState: { - serializedName: "enabledState", + name: { + serializedName: "name", + type: { + name: "String" + } + }, + endpointId: { + serializedName: "endpointId", type: { name: "String" } + }, + history: { + serializedName: "history", + type: { + name: "Boolean" + } } } } }; -export const AFDEndpointUpdateParameters: coreClient.CompositeMapper = { +export const ResourcesResponseCustomDomainsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDEndpointUpdateParameters", + className: "ResourcesResponseCustomDomainsItem", modelProperties: { - tags: { - serializedName: "tags", + id: { + serializedName: "id", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - originResponseTimeoutSeconds: { - constraints: { - InclusiveMinimum: 16 - }, - serializedName: "properties.originResponseTimeoutSeconds", + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - enabledState: { - serializedName: "properties.enabledState", + endpointId: { + serializedName: "endpointId", type: { name: "String" } + }, + history: { + serializedName: "history", + type: { + name: "Boolean" + } } } } }; -export const AfdPurgeParameters: coreClient.CompositeMapper = { +export const WafMetricsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AfdPurgeParameters", + className: "WafMetricsResponse", modelProperties: { - contentPaths: { - serializedName: "contentPaths", - required: true, + dateTimeBegin: { + serializedName: "dateTimeBegin", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - domains: { - serializedName: "domains", + dateTimeEnd: { + serializedName: "dateTimeEnd", + type: { + name: "DateTime" + } + }, + granularity: { + serializedName: "granularity", + type: { + name: "String" + } + }, + series: { + serializedName: "series", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "WafMetricsResponseSeriesItem" } } } @@ -2219,159 +2307,206 @@ export const AfdPurgeParameters: coreClient.CompositeMapper = { } }; -export const AFDOriginGroupListResult: coreClient.CompositeMapper = { +export const WafMetricsResponseSeriesItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginGroupListResult", + className: "WafMetricsResponseSeriesItem", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + metric: { + serializedName: "metric", + type: { + name: "String" + } + }, + unit: { + defaultValue: "count", + isConstant: true, + serializedName: "unit", + type: { + name: "String" + } + }, + groups: { + serializedName: "groups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AFDOriginGroup" + className: "WafMetricsResponseSeriesPropertiesItemsItem" } } } }, - nextLink: { - serializedName: "nextLink", + data: { + serializedName: "data", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems" + } + } } } } } }; -export const AFDOriginGroupUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const WafMetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginGroupUpdatePropertiesParameters", + className: "WafMetricsResponseSeriesPropertiesItemsItem", modelProperties: { - loadBalancingSettings: { - serializedName: "loadBalancingSettings", + name: { + serializedName: "name", type: { - name: "Composite", - className: "LoadBalancingSettingsParameters" - } - }, - healthProbeSettings: { - serializedName: "healthProbeSettings", - type: { - name: "Composite", - className: "HealthProbeParameters" + name: "String" } }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: "trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + value: { + serializedName: "value", type: { - name: "Number" + name: "String" } - }, - responseBasedAfdOriginErrorDetectionSettings: { - serializedName: "responseBasedAfdOriginErrorDetectionSettings", + } + } + } +}; + +export const Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: + "Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems", + modelProperties: { + dateTime: { + serializedName: "dateTime", type: { - name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" + name: "DateTime" } }, - sessionAffinityState: { - serializedName: "sessionAffinityState", + value: { + serializedName: "value", type: { - name: "String" + name: "Number" } } } } }; -export const LoadBalancingSettingsParameters: coreClient.CompositeMapper = { +export const WafRankingsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LoadBalancingSettingsParameters", + className: "WafRankingsResponse", modelProperties: { - sampleSize: { - serializedName: "sampleSize", + dateTimeBegin: { + serializedName: "dateTimeBegin", type: { - name: "Number" + name: "DateTime" } }, - successfulSamplesRequired: { - serializedName: "successfulSamplesRequired", + dateTimeEnd: { + serializedName: "dateTimeEnd", type: { - name: "Number" + name: "DateTime" } }, - additionalLatencyInMilliseconds: { - serializedName: "additionalLatencyInMilliseconds", + groups: { + serializedName: "groups", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + data: { + serializedName: "data", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WafRankingsResponseDataItem" + } + } } } } } }; -export const AFDOriginGroupUpdateParameters: coreClient.CompositeMapper = { +export const WafRankingsResponseDataItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginGroupUpdateParameters", + className: "WafRankingsResponseDataItem", modelProperties: { - loadBalancingSettings: { - serializedName: "properties.loadBalancingSettings", + groupValues: { + serializedName: "groupValues", type: { - name: "Composite", - className: "LoadBalancingSettingsParameters" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - healthProbeSettings: { - serializedName: "properties.healthProbeSettings", + metrics: { + serializedName: "metrics", type: { - name: "Composite", - className: "HealthProbeParameters" + name: "Sequence", + element: { + type: { + name: "Composite", + className: + "ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems" + } + } } - }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: - "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + } + } + } +}; + +export const ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: + "ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems", + modelProperties: { + metric: { + serializedName: "metric", type: { - name: "Number" + name: "String" } }, - responseBasedAfdOriginErrorDetectionSettings: { - serializedName: - "properties.responseBasedAfdOriginErrorDetectionSettings", + value: { + serializedName: "value", type: { - name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" + name: "Number" } }, - sessionAffinityState: { - serializedName: "properties.sessionAffinityState", + percentage: { + serializedName: "percentage", type: { - name: "String" + name: "Number" } } } } }; -export const AFDOriginListResult: coreClient.CompositeMapper = { +export const ProfileListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginListResult", + className: "ProfileListResult", modelProperties: { value: { serializedName: "value", @@ -2381,7 +2516,7 @@ export const AFDOriginListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AFDOrigin" + className: "Profile" } } } @@ -2396,79 +2531,42 @@ export const AFDOriginListResult: coreClient.CompositeMapper = { } }; -export const AFDOriginUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginUpdatePropertiesParameters", + className: "Sku", modelProperties: { - azureOrigin: { - serializedName: "azureOrigin", - type: { - name: "Composite", - className: "ResourceReference" - } - }, - hostName: { - serializedName: "hostName", + name: { + serializedName: "name", type: { name: "String" } - }, - httpPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "httpPort", - type: { - name: "Number" - } - }, - httpsPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "httpsPort", - type: { - name: "Number" - } - }, - originHostHeader: { - serializedName: "originHostHeader", + } + } + } +}; + +export const ManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedServiceIdentity", + modelProperties: { + type: { + serializedName: "type", type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 5, - InclusiveMinimum: 1 - }, - serializedName: "priority", - type: { - name: "Number" - } - }, - weight: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 - }, - serializedName: "weight", - type: { - name: "Number" - } - }, - sharedPrivateLinkResource: { - serializedName: "sharedPrivateLinkResource", + tenantId: { + serializedName: "tenantId", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - enabledState: { - serializedName: "enabledState", + principalId: { + serializedName: "principalId", + readOnly: true, type: { name: "String" } @@ -2477,91 +2575,144 @@ export const AFDOriginUpdatePropertiesParameters: coreClient.CompositeMapper = { } }; -export const AFDOriginUpdateParameters: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginUpdateParameters", + className: "ErrorResponse", modelProperties: { - azureOrigin: { - serializedName: "properties.azureOrigin", + error: { + serializedName: "error", type: { name: "Composite", - className: "ResourceReference" - } - }, - hostName: { - serializedName: "properties.hostName", - type: { - name: "String" + className: "ErrorDetail" } - }, - httpPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpPort", + } + } + } +}; + +export const ProfileUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProfileUpdateParameters", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "String" } } } - }, - httpsPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpsPort", + } + } + } +}; + +export const SsoUri: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsoUri", + modelProperties: { + ssoUriValue: { + serializedName: "ssoUriValue", + readOnly: true, type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const SupportedOptimizationTypesListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SupportedOptimizationTypesListResult", + modelProperties: { + supportedOptimizationTypes: { + serializedName: "supportedOptimizationTypes", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ResourceUsageListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceUsageListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceUsage" + } + } } }, - originHostHeader: { - serializedName: "properties.originHostHeader", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - priority: { - constraints: { - InclusiveMaximum: 5, - InclusiveMinimum: 1 - }, - serializedName: "properties.priority", + } + } + } +}; + +export const ResourceUsage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceUsage", + modelProperties: { + resourceType: { + serializedName: "resourceType", + readOnly: true, type: { - name: "Number" + name: "String" } }, - weight: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 - }, - serializedName: "properties.weight", + unit: { + serializedName: "unit", + readOnly: true, type: { - name: "Number" + name: "String" } }, - sharedPrivateLinkResource: { - serializedName: "properties.sharedPrivateLinkResource", + currentValue: { + serializedName: "currentValue", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Number" } }, - enabledState: { - serializedName: "properties.enabledState", + limit: { + serializedName: "limit", + readOnly: true, type: { - name: "String" + name: "Number" } } } } }; -export const RouteListResult: coreClient.CompositeMapper = { +export const EndpointListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RouteListResult", + className: "EndpointListResult", modelProperties: { value: { serializedName: "value", @@ -2571,7 +2722,7 @@ export const RouteListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Route" + className: "Endpoint" } } } @@ -2586,104 +2737,103 @@ export const RouteListResult: coreClient.CompositeMapper = { } }; -export const RouteUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const DeepCreatedOrigin: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RouteUpdatePropertiesParameters", + className: "DeepCreatedOrigin", modelProperties: { - customDomains: { - serializedName: "customDomains", + name: { + serializedName: "name", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } + name: "String" } }, - originGroup: { - serializedName: "originGroup", + hostName: { + serializedName: "properties.hostName", type: { - name: "Composite", - className: "ResourceReference" + name: "String" } }, - originPath: { - serializedName: "originPath", + httpPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpPort", type: { - name: "String" + name: "Number" } }, - ruleSets: { - serializedName: "ruleSets", + httpsPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpsPort", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } + name: "Number" } }, - supportedProtocols: { - serializedName: "supportedProtocols", + originHostHeader: { + serializedName: "properties.originHostHeader", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - patternsToMatch: { - serializedName: "patternsToMatch", + priority: { + constraints: { + InclusiveMaximum: 5, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - compressionSettings: { - serializedName: "compressionSettings", + weight: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 1 + }, + serializedName: "properties.weight", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Number" } }, - queryStringCachingBehavior: { - serializedName: "queryStringCachingBehavior", + enabled: { + serializedName: "properties.enabled", type: { - name: "Enum", - allowedValues: ["IgnoreQueryString", "UseQueryString", "NotSet"] + name: "Boolean" } }, - forwardingProtocol: { - serializedName: "forwardingProtocol", + privateLinkAlias: { + serializedName: "properties.privateLinkAlias", type: { name: "String" } }, - linkToDefaultDomain: { - serializedName: "linkToDefaultDomain", + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { name: "String" } }, - httpsRedirect: { - serializedName: "httpsRedirect", + privateLinkLocation: { + serializedName: "properties.privateLinkLocation", type: { name: "String" } }, - enabledState: { - serializedName: "enabledState", + privateLinkApprovalMessage: { + serializedName: "properties.privateLinkApprovalMessage", + type: { + name: "String" + } + }, + privateEndpointStatus: { + serializedName: "properties.privateEndpointStatus", + readOnly: true, type: { name: "String" } @@ -2692,13 +2842,27 @@ export const RouteUpdatePropertiesParameters: coreClient.CompositeMapper = { } }; -export const RouteUpdateParameters: coreClient.CompositeMapper = { +export const DeepCreatedOriginGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RouteUpdateParameters", + className: "DeepCreatedOriginGroup", modelProperties: { - customDomains: { - serializedName: "properties.customDomains", + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + healthProbeSettings: { + serializedName: "properties.healthProbeSettings", + type: { + name: "Composite", + className: "HealthProbeParameters" + } + }, + origins: { + serializedName: "properties.origins", type: { name: "Sequence", element: { @@ -2709,33 +2873,76 @@ export const RouteUpdateParameters: coreClient.CompositeMapper = { } } }, - originGroup: { - serializedName: "properties.originGroup", + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: + "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + type: { + name: "Number" + } + }, + responseBasedOriginErrorDetectionSettings: { + serializedName: "properties.responseBasedOriginErrorDetectionSettings", type: { name: "Composite", - className: "ResourceReference" + className: "ResponseBasedOriginErrorDetectionParameters" + } + } + } + } +}; + +export const CustomDomainHttpsParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomDomainHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: { + serializedName: "certificateSource", + clientName: "certificateSource" + }, + modelProperties: { + certificateSource: { + serializedName: "certificateSource", + required: true, + type: { + name: "String" } }, - originPath: { - serializedName: "properties.originPath", + protocolType: { + serializedName: "protocolType", + required: true, type: { name: "String" } }, - ruleSets: { - serializedName: "properties.ruleSets", + minimumTlsVersion: { + serializedName: "minimumTlsVersion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } + name: "Enum", + allowedValues: ["None", "TLS10", "TLS12"] + } + } + } + } +}; + +export const EndpointPropertiesUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointPropertiesUpdateParameters", + modelProperties: { + originPath: { + serializedName: "originPath", + type: { + name: "String" } }, - supportedProtocols: { - serializedName: "properties.supportedProtocols", + contentTypesToCompress: { + serializedName: "contentTypesToCompress", type: { name: "Sequence", element: { @@ -2745,339 +2952,207 @@ export const RouteUpdateParameters: coreClient.CompositeMapper = { } } }, - patternsToMatch: { - serializedName: "properties.patternsToMatch", + originHostHeader: { + serializedName: "originHostHeader", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - compressionSettings: { - serializedName: "properties.compressionSettings", + isCompressionEnabled: { + serializedName: "isCompressionEnabled", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Boolean" } }, - queryStringCachingBehavior: { - serializedName: "properties.queryStringCachingBehavior", + isHttpAllowed: { + serializedName: "isHttpAllowed", type: { - name: "Enum", - allowedValues: ["IgnoreQueryString", "UseQueryString", "NotSet"] + name: "Boolean" } }, - forwardingProtocol: { - serializedName: "properties.forwardingProtocol", + isHttpsAllowed: { + serializedName: "isHttpsAllowed", type: { - name: "String" + name: "Boolean" } }, - linkToDefaultDomain: { - serializedName: "properties.linkToDefaultDomain", + queryStringCachingBehavior: { + serializedName: "queryStringCachingBehavior", type: { - name: "String" + name: "Enum", + allowedValues: [ + "IgnoreQueryString", + "BypassCaching", + "UseQueryString", + "NotSet" + ] } }, - httpsRedirect: { - serializedName: "properties.httpsRedirect", + optimizationType: { + serializedName: "optimizationType", type: { name: "String" } }, - enabledState: { - serializedName: "properties.enabledState", + probePath: { + serializedName: "probePath", type: { name: "String" } - } - } - } -}; - -export const RuleSetListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RuleSetListResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, + }, + geoFilters: { + serializedName: "geoFilters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RuleSet" + className: "GeoFilter" } } } }, - nextLink: { - serializedName: "nextLink", + defaultOriginGroup: { + serializedName: "defaultOriginGroup", type: { - name: "String" + name: "Composite", + className: "ResourceReference" } - } - } - } -}; - -export const RuleListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RuleListResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, + }, + urlSigningKeys: { + serializedName: "urlSigningKeys", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Rule" + className: "UrlSigningKey" } } } }, - nextLink: { - serializedName: "nextLink", + deliveryPolicy: { + serializedName: "deliveryPolicy", type: { - name: "String" + name: "Composite", + className: "EndpointPropertiesUpdateParametersDeliveryPolicy" + } + }, + webApplicationFirewallPolicyLink: { + serializedName: "webApplicationFirewallPolicyLink", + type: { + name: "Composite", + className: + "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" } } } } }; -export const RuleUpdatePropertiesParameters: coreClient.CompositeMapper = { +export const GeoFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RuleUpdatePropertiesParameters", + className: "GeoFilter", modelProperties: { - order: { - serializedName: "order", + relativePath: { + serializedName: "relativePath", + required: true, type: { - name: "Number" + name: "String" } }, - conditions: { - serializedName: "conditions", + action: { + serializedName: "action", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRuleCondition" - } - } + name: "Enum", + allowedValues: ["Block", "Allow"] } }, - actions: { - serializedName: "actions", + countryCodes: { + serializedName: "countryCodes", + required: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DeliveryRuleActionAutoGenerated" + name: "String" } } } - }, - matchProcessingBehavior: { - serializedName: "matchProcessingBehavior", - type: { - name: "String" - } } } } }; -export const RuleUpdateParameters: coreClient.CompositeMapper = { +export const UrlSigningKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RuleUpdateParameters", + className: "UrlSigningKey", modelProperties: { - order: { - serializedName: "properties.order", + keyId: { + serializedName: "keyId", + required: true, type: { - name: "Number" + name: "String" } }, - conditions: { - serializedName: "properties.conditions", + keySourceParameters: { + serializedName: "keySourceParameters", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRuleCondition" - } - } - } - }, - actions: { - serializedName: "properties.actions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeliveryRuleActionAutoGenerated" - } - } - } - }, - matchProcessingBehavior: { - serializedName: "properties.matchProcessingBehavior", - type: { - name: "String" + name: "Composite", + className: "KeyVaultSigningKeyParameters" } } } } }; -export const SecurityPolicyListResult: coreClient.CompositeMapper = { +export const KeyVaultSigningKeyParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityPolicyListResult", + className: "KeyVaultSigningKeyParameters", modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SecurityPolicy" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + typeName: { + defaultValue: "KeyVaultSigningKeyParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } - } - } - } -}; - -export const SecurityPolicyParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityPolicyParameters", - uberParent: "SecurityPolicyParameters", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - modelProperties: { - type: { - serializedName: "type", + }, + subscriptionId: { + serializedName: "subscriptionId", required: true, type: { name: "String" } - } - } - } -}; - -export const SecretListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecretListResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Secret" - } - } - } }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SecretParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecretParameters", - uberParent: "SecretParameters", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - modelProperties: { - type: { - serializedName: "type", + resourceGroupName: { + serializedName: "resourceGroupName", required: true, type: { name: "String" } - } - } - } -}; - -export const ValidateSecretInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ValidateSecretInput", - modelProperties: { - secretSource: { - serializedName: "secretSource", - type: { - name: "Composite", - className: "ResourceReference" - } }, - secretType: { - serializedName: "secretType", + vaultName: { + serializedName: "vaultName", required: true, type: { name: "String" } - } - } - } -}; - -export const ValidateSecretOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ValidateSecretOutput", - modelProperties: { - status: { - serializedName: "status", + }, + secretName: { + serializedName: "secretName", + required: true, type: { name: "String" } }, - message: { - serializedName: "message", + secretVersion: { + serializedName: "secretVersion", + required: true, type: { name: "String" } @@ -3086,37 +3161,26 @@ export const ValidateSecretOutput: coreClient.CompositeMapper = { } }; -export const MetricsResponse: coreClient.CompositeMapper = { +export const EndpointPropertiesUpdateParametersDeliveryPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetricsResponse", + className: "EndpointPropertiesUpdateParametersDeliveryPolicy", modelProperties: { - dateTimeBegin: { - serializedName: "dateTimeBegin", - type: { - name: "DateTime" - } - }, - dateTimeEnd: { - serializedName: "dateTimeEnd", - type: { - name: "DateTime" - } - }, - granularity: { - serializedName: "granularity", + description: { + serializedName: "description", type: { name: "String" } }, - series: { - serializedName: "series", + rules: { + serializedName: "rules", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "MetricsResponseSeriesItem" + className: "DeliveryRule" } } } @@ -3125,44 +3189,45 @@ export const MetricsResponse: coreClient.CompositeMapper = { } }; -export const MetricsResponseSeriesItem: coreClient.CompositeMapper = { +export const DeliveryRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetricsResponseSeriesItem", + className: "DeliveryRule", modelProperties: { - metric: { - serializedName: "metric", + name: { + serializedName: "name", type: { name: "String" } }, - unit: { - serializedName: "unit", + order: { + serializedName: "order", + required: true, type: { - name: "String" + name: "Number" } }, - groups: { - serializedName: "groups", + conditions: { + serializedName: "conditions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MetricsResponseSeriesPropertiesItemsItem" + className: "DeliveryRuleCondition" } } } }, - data: { - serializedName: "data", + actions: { + serializedName: "actions", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: - "Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems" + className: "DeliveryRuleActionAutoGenerated" } } } @@ -3171,19 +3236,14 @@ export const MetricsResponseSeriesItem: coreClient.CompositeMapper = { } }; -export const MetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMapper = { +export const EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetricsResponseSeriesPropertiesItemsItem", + className: + "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "value", + id: { + serializedName: "id", type: { name: "String" } @@ -3192,449 +3252,405 @@ export const MetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMappe } }; -export const Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems: coreClient.CompositeMapper = { +export const EndpointUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems", + className: "EndpointUpdateParameters", modelProperties: { - dateTime: { - serializedName: "dateTime", + tags: { + serializedName: "tags", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "String" } } } }, - value: { - serializedName: "value", + originPath: { + serializedName: "properties.originPath", type: { - name: "Number" - } - } - } - } -}; - -export const RankingsResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RankingsResponse", - modelProperties: { - dateTimeBegin: { - serializedName: "dateTimeBegin", - type: { - name: "DateTime" - } - }, - dateTimeEnd: { - serializedName: "dateTimeEnd", - type: { - name: "DateTime" + name: "String" } }, - tables: { - serializedName: "tables", + contentTypesToCompress: { + serializedName: "properties.contentTypesToCompress", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RankingsResponseTablesItem" + name: "String" } } } - } - } - } -}; - -export const RankingsResponseTablesItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RankingsResponseTablesItem", - modelProperties: { - ranking: { - serializedName: "ranking", + }, + originHostHeader: { + serializedName: "properties.originHostHeader", type: { name: "String" } }, - data: { - serializedName: "data", + isCompressionEnabled: { + serializedName: "properties.isCompressionEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RankingsResponseTablesPropertiesItemsItem" - } - } + name: "Boolean" } - } - } - } -}; - -export const RankingsResponseTablesPropertiesItemsItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RankingsResponseTablesPropertiesItemsItem", - modelProperties: { - name: { - serializedName: "name", + }, + isHttpAllowed: { + serializedName: "properties.isHttpAllowed", type: { - name: "String" + name: "Boolean" } }, - metrics: { - serializedName: "metrics", + isHttpsAllowed: { + serializedName: "properties.isHttpsAllowed", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RankingsResponseTablesPropertiesItemsMetricsItem" - } - } + name: "Boolean" } - } - } - } -}; - -export const RankingsResponseTablesPropertiesItemsMetricsItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RankingsResponseTablesPropertiesItemsMetricsItem", - modelProperties: { - metric: { - serializedName: "metric", + }, + queryStringCachingBehavior: { + serializedName: "properties.queryStringCachingBehavior", type: { - name: "String" + name: "Enum", + allowedValues: [ + "IgnoreQueryString", + "BypassCaching", + "UseQueryString", + "NotSet" + ] } }, - value: { - serializedName: "value", + optimizationType: { + serializedName: "properties.optimizationType", type: { - name: "Number" + name: "String" } }, - percentage: { - serializedName: "percentage", + probePath: { + serializedName: "properties.probePath", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const ContinentsResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContinentsResponse", - modelProperties: { - continents: { - serializedName: "continents", + }, + geoFilters: { + serializedName: "properties.geoFilters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContinentsResponseContinentsItem" + className: "GeoFilter" } } } }, - countryOrRegions: { - serializedName: "countryOrRegions", + defaultOriginGroup: { + serializedName: "properties.defaultOriginGroup", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + urlSigningKeys: { + serializedName: "properties.urlSigningKeys", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContinentsResponseCountryOrRegionsItem" + className: "UrlSigningKey" } } } + }, + deliveryPolicy: { + serializedName: "properties.deliveryPolicy", + type: { + name: "Composite", + className: "EndpointPropertiesUpdateParametersDeliveryPolicy" + } + }, + webApplicationFirewallPolicyLink: { + serializedName: "properties.webApplicationFirewallPolicyLink", + type: { + name: "Composite", + className: + "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" + } } } } }; -export const ContinentsResponseContinentsItem: coreClient.CompositeMapper = { +export const PurgeParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContinentsResponseContinentsItem", + className: "PurgeParameters", modelProperties: { - id: { - serializedName: "id", + contentPaths: { + serializedName: "contentPaths", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ContinentsResponseCountryOrRegionsItem: coreClient.CompositeMapper = { +export const LoadParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContinentsResponseCountryOrRegionsItem", + className: "LoadParameters", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - continentId: { - serializedName: "continentId", + contentPaths: { + serializedName: "contentPaths", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ResourcesResponse: coreClient.CompositeMapper = { +export const OriginListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourcesResponse", + className: "OriginListResult", modelProperties: { - endpoints: { - serializedName: "endpoints", + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourcesResponseEndpointsItem" + className: "Origin" } } } }, - customDomains: { - serializedName: "customDomains", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourcesResponseCustomDomainsItem" - } - } + name: "String" } } } } }; -export const ResourcesResponseEndpointsItem: coreClient.CompositeMapper = { +export const OriginUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourcesResponseEndpointsItem", + className: "OriginUpdatePropertiesParameters", modelProperties: { - id: { - serializedName: "id", + hostName: { + serializedName: "hostName", type: { name: "String" } }, - name: { - serializedName: "name", + httpPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "httpPort", type: { - name: "String" + name: "Number" } }, - history: { - serializedName: "history", + httpsPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "httpsPort", type: { - name: "Boolean" + name: "Number" } }, - customDomains: { - serializedName: "customDomains", + originHostHeader: { + serializedName: "originHostHeader", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourcesResponseEndpointsPropertiesItemsItem" - } - } - } - } - } - } -}; - -export const ResourcesResponseEndpointsPropertiesItemsItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourcesResponseEndpointsPropertiesItemsItem", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" + name: "String" } }, - name: { - serializedName: "name", + priority: { + constraints: { + InclusiveMaximum: 5, + InclusiveMinimum: 1 + }, + serializedName: "priority", type: { - name: "String" + name: "Number" } }, - endpointId: { - serializedName: "endpointId", + weight: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 1 + }, + serializedName: "weight", type: { - name: "String" + name: "Number" } }, - history: { - serializedName: "history", + enabled: { + serializedName: "enabled", type: { name: "Boolean" } - } - } - } -}; - -export const ResourcesResponseCustomDomainsItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourcesResponseCustomDomainsItem", - modelProperties: { - id: { - serializedName: "id", + }, + privateLinkAlias: { + serializedName: "privateLinkAlias", type: { name: "String" } }, - name: { - serializedName: "name", + privateLinkResourceId: { + serializedName: "privateLinkResourceId", type: { name: "String" } }, - endpointId: { - serializedName: "endpointId", + privateLinkLocation: { + serializedName: "privateLinkLocation", type: { name: "String" } }, - history: { - serializedName: "history", + privateLinkApprovalMessage: { + serializedName: "privateLinkApprovalMessage", type: { - name: "Boolean" + name: "String" } } } } }; -export const WafMetricsResponse: coreClient.CompositeMapper = { +export const OriginUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WafMetricsResponse", + className: "OriginUpdateParameters", modelProperties: { - dateTimeBegin: { - serializedName: "dateTimeBegin", + hostName: { + serializedName: "properties.hostName", type: { - name: "DateTime" + name: "String" } }, - dateTimeEnd: { - serializedName: "dateTimeEnd", + httpPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpPort", type: { - name: "DateTime" + name: "Number" } }, - granularity: { - serializedName: "granularity", + httpsPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpsPort", + type: { + name: "Number" + } + }, + originHostHeader: { + serializedName: "properties.originHostHeader", type: { name: "String" } }, - series: { - serializedName: "series", + priority: { + constraints: { + InclusiveMaximum: 5, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WafMetricsResponseSeriesItem" - } - } + name: "Number" } - } - } - } -}; - -export const WafMetricsResponseSeriesItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WafMetricsResponseSeriesItem", - modelProperties: { - metric: { - serializedName: "metric", + }, + weight: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 1 + }, + serializedName: "properties.weight", + type: { + name: "Number" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + privateLinkAlias: { + serializedName: "properties.privateLinkAlias", type: { name: "String" } }, - unit: { - defaultValue: "count", - isConstant: true, - serializedName: "unit", + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { name: "String" } }, - groups: { - serializedName: "groups", + privateLinkLocation: { + serializedName: "properties.privateLinkLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WafMetricsResponseSeriesPropertiesItemsItem" - } - } + name: "String" } }, - data: { - serializedName: "data", + privateLinkApprovalMessage: { + serializedName: "properties.privateLinkApprovalMessage", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: - "Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems" - } - } + name: "String" } } } } }; -export const WafMetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMapper = { +export const OriginGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WafMetricsResponseSeriesPropertiesItemsItem", + className: "OriginGroupListResult", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OriginGroup" + } + } } }, - value: { - serializedName: "value", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3643,153 +3659,156 @@ export const WafMetricsResponseSeriesPropertiesItemsItem: coreClient.CompositeMa } }; -export const Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems: coreClient.CompositeMapper = { +export const OriginGroupUpdatePropertiesParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems", + className: "OriginGroupUpdatePropertiesParameters", modelProperties: { - dateTime: { - serializedName: "dateTime", + healthProbeSettings: { + serializedName: "healthProbeSettings", type: { - name: "DateTime" + name: "Composite", + className: "HealthProbeParameters" } }, - value: { - serializedName: "value", + origins: { + serializedName: "origins", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceReference" + } + } + } + }, + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: "trafficRestorationTimeToHealedOrNewEndpointsInMinutes", type: { name: "Number" } + }, + responseBasedOriginErrorDetectionSettings: { + serializedName: "responseBasedOriginErrorDetectionSettings", + type: { + name: "Composite", + className: "ResponseBasedOriginErrorDetectionParameters" + } } } } }; -export const WafRankingsResponse: coreClient.CompositeMapper = { +export const OriginGroupUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WafRankingsResponse", + className: "OriginGroupUpdateParameters", modelProperties: { - dateTimeBegin: { - serializedName: "dateTimeBegin", + healthProbeSettings: { + serializedName: "properties.healthProbeSettings", type: { - name: "DateTime" + name: "Composite", + className: "HealthProbeParameters" } }, - dateTimeEnd: { - serializedName: "dateTimeEnd", - type: { - name: "DateTime" - } - }, - groups: { - serializedName: "groups", + origins: { + serializedName: "properties.origins", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ResourceReference" } } } }, - data: { - serializedName: "data", + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: + "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WafRankingsResponseDataItem" - } - } + name: "Number" + } + }, + responseBasedOriginErrorDetectionSettings: { + serializedName: "properties.responseBasedOriginErrorDetectionSettings", + type: { + name: "Composite", + className: "ResponseBasedOriginErrorDetectionParameters" } } } } }; -export const WafRankingsResponseDataItem: coreClient.CompositeMapper = { +export const CustomDomainListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WafRankingsResponseDataItem", + className: "CustomDomainListResult", modelProperties: { - groupValues: { - serializedName: "groupValues", + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "CustomDomain" } } } }, - metrics: { - serializedName: "metrics", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: - "ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems" - } - } + name: "String" } } } } }; -export const ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems: coreClient.CompositeMapper = { +export const CustomDomainParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems", + className: "CustomDomainParameters", modelProperties: { - metric: { - serializedName: "metric", + hostName: { + serializedName: "properties.hostName", type: { name: "String" } - }, - value: { - serializedName: "value", - type: { - name: "Number" - } - }, - percentage: { - serializedName: "percentage", - type: { - name: "Number" - } } } } }; -export const CdnWebApplicationFirewallPolicyList: coreClient.CompositeMapper = { +export const CheckNameAvailabilityInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CdnWebApplicationFirewallPolicyList", + className: "CheckNameAvailabilityInput", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + name: { + serializedName: "name", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CdnWebApplicationFirewallPolicy" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + type: { + defaultValue: "Microsoft.Cdn/Profiles/Endpoints", + isConstant: true, + serializedName: "type", type: { name: "String" } @@ -3798,42 +3817,44 @@ export const CdnWebApplicationFirewallPolicyList: coreClient.CompositeMapper = { } }; -export const PolicySettings: coreClient.CompositeMapper = { +export const ValidateProbeInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PolicySettings", + className: "ValidateProbeInput", modelProperties: { - enabledState: { - serializedName: "enabledState", + probeURL: { + serializedName: "probeURL", + required: true, type: { name: "String" } - }, - mode: { - serializedName: "mode", + } + } + } +}; + +export const ValidateProbeOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidateProbeOutput", + modelProperties: { + isValid: { + serializedName: "isValid", + readOnly: true, type: { - name: "String" + name: "Boolean" } }, - defaultRedirectUrl: { - serializedName: "defaultRedirectUrl", + errorCode: { + serializedName: "errorCode", + readOnly: true, type: { name: "String" } }, - defaultCustomBlockResponseStatusCode: { - serializedName: "defaultCustomBlockResponseStatusCode", - type: { - name: "Number" - } - }, - defaultCustomBlockResponseBody: { - constraints: { - Pattern: new RegExp( - "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" - ) - }, - serializedName: "defaultCustomBlockResponseBody", + message: { + serializedName: "message", + readOnly: true, type: { name: "String" } @@ -3842,130 +3863,138 @@ export const PolicySettings: coreClient.CompositeMapper = { } }; -export const RateLimitRuleList: coreClient.CompositeMapper = { +export const OperationsListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RateLimitRuleList", + className: "OperationsListResult", modelProperties: { - rules: { - serializedName: "rules", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RateLimitRule" + className: "Operation" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const CustomRule: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomRule", + className: "Operation", modelProperties: { name: { serializedName: "name", - required: true, + readOnly: true, type: { name: "String" } }, - enabledState: { - serializedName: "enabledState", + isDataAction: { + serializedName: "isDataAction", type: { - name: "String" + name: "Boolean" } }, - priority: { - constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 0 - }, - serializedName: "priority", - required: true, + display: { + serializedName: "display", type: { - name: "Number" + name: "Composite", + className: "OperationDisplay" } }, - matchConditions: { - serializedName: "matchConditions", - required: true, + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MatchCondition" - } - } + name: "String" } }, - action: { - serializedName: "action", - required: true, + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { - name: "String" + name: "Composite", + className: "ServiceSpecification" } } } } }; -export const MatchCondition: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MatchCondition", + className: "OperationDisplay", modelProperties: { - matchVariable: { - serializedName: "matchVariable", - required: true, + provider: { + serializedName: "provider", + readOnly: true, type: { name: "String" } }, - selector: { - serializedName: "selector", + resource: { + serializedName: "resource", + readOnly: true, type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + operation: { + serializedName: "operation", + readOnly: true, type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", + description: { + serializedName: "description", + readOnly: true, type: { - name: "Boolean" + name: "String" } - }, - matchValue: { - serializedName: "matchValue", - required: true, + } + } + } +}; + +export const ServiceSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceSpecification", + modelProperties: { + logSpecifications: { + serializedName: "logSpecifications", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "LogSpecification" } } } }, - transforms: { - serializedName: "transforms", + metricSpecifications: { + serializedName: "metricSpecifications", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MetricSpecification" } } } @@ -3974,156 +4003,144 @@ export const MatchCondition: coreClient.CompositeMapper = { } }; -export const CustomRuleList: coreClient.CompositeMapper = { +export const LogSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomRuleList", + className: "LogSpecification", modelProperties: { - rules: { - serializedName: "rules", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomRule" - } - } + name: "String" } - } - } - } -}; - -export const ManagedRuleSetList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedRuleSetList", - modelProperties: { - managedRuleSets: { - serializedName: "managedRuleSets", + }, + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedRuleSet" - } - } + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + }, + logFilterPattern: { + serializedName: "logFilterPattern", + type: { + name: "String" } } } } }; -export const ManagedRuleSet: coreClient.CompositeMapper = { +export const MetricSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleSet", + className: "MetricSpecification", modelProperties: { - ruleSetType: { - serializedName: "ruleSetType", - required: true, + name: { + serializedName: "name", type: { name: "String" } }, - ruleSetVersion: { - serializedName: "ruleSetVersion", - required: true, + displayName: { + serializedName: "displayName", type: { name: "String" } }, - anomalyScore: { - constraints: { - InclusiveMaximum: 20, - InclusiveMinimum: 0 - }, - serializedName: "anomalyScore", + displayDescription: { + serializedName: "displayDescription", type: { - name: "Number" + name: "String" } }, - ruleGroupOverrides: { - serializedName: "ruleGroupOverrides", + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + availabilities: { + serializedName: "availabilities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedRuleGroupOverride" + className: "MetricAvailability" } } } - } - } - } -}; - -export const ManagedRuleGroupOverride: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedRuleGroupOverride", - modelProperties: { - ruleGroupName: { - serializedName: "ruleGroupName", - required: true, + }, + supportedTimeGrainTypes: { + serializedName: "supportedTimeGrainTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rules: { - serializedName: "rules", + dimensions: { + serializedName: "dimensions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedRuleOverride" + className: "DimensionProperties" } } } - } - } - } -}; - -export const ManagedRuleOverride: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedRuleOverride", - modelProperties: { - ruleId: { - serializedName: "ruleId", - required: true, + }, + fillGapWithZero: { + serializedName: "fillGapWithZero", type: { - name: "String" + name: "Boolean" } }, - enabledState: { - serializedName: "enabledState", + metricFilterPattern: { + serializedName: "metricFilterPattern", type: { name: "String" } }, - action: { - serializedName: "action", + isInternal: { + serializedName: "isInternal", type: { - name: "String" + name: "Boolean" } } } } }; -export const CdnEndpoint: coreClient.CompositeMapper = { +export const MetricAvailability: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CdnEndpoint", + className: "MetricAvailability", modelProperties: { - id: { - serializedName: "id", + timeGrain: { + serializedName: "timeGrain", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", type: { name: "String" } @@ -4132,26 +4149,37 @@ export const CdnEndpoint: coreClient.CompositeMapper = { } }; -export const CdnWebApplicationFirewallPolicyPatchParameters: coreClient.CompositeMapper = { +export const DimensionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CdnWebApplicationFirewallPolicyPatchParameters", + className: "DimensionProperties", modelProperties: { - tags: { - serializedName: "tags", + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + internalName: { + serializedName: "internalName", + type: { + name: "String" } } } } }; -export const ManagedRuleSetDefinitionList: coreClient.CompositeMapper = { +export const EdgenodeResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleSetDefinitionList", + className: "EdgenodeResult", modelProperties: { value: { serializedName: "value", @@ -4161,7 +4189,7 @@ export const ManagedRuleSetDefinitionList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedRuleSetDefinition" + className: "EdgeNode" } } } @@ -4176,34 +4204,37 @@ export const ManagedRuleSetDefinitionList: coreClient.CompositeMapper = { } }; -export const ManagedRuleGroupDefinition: coreClient.CompositeMapper = { +export const IpAddressGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleGroupDefinition", + className: "IpAddressGroup", modelProperties: { - ruleGroupName: { - serializedName: "ruleGroupName", - readOnly: true, + deliveryRegion: { + serializedName: "deliveryRegion", type: { name: "String" } }, - description: { - serializedName: "description", - readOnly: true, + ipv4Addresses: { + serializedName: "ipv4Addresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CidrIpAddress" + } + } } }, - rules: { - serializedName: "rules", - readOnly: true, + ipv6Addresses: { + serializedName: "ipv6Addresses", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedRuleDefinition" + className: "CidrIpAddress" } } } @@ -4212,187 +4243,181 @@ export const ManagedRuleGroupDefinition: coreClient.CompositeMapper = { } }; -export const ManagedRuleDefinition: coreClient.CompositeMapper = { +export const CidrIpAddress: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleDefinition", + className: "CidrIpAddress", modelProperties: { - ruleId: { - serializedName: "ruleId", - readOnly: true, + baseIpAddress: { + serializedName: "baseIpAddress", type: { name: "String" } }, - description: { - serializedName: "description", - readOnly: true, + prefixLength: { + serializedName: "prefixLength", type: { - name: "String" + name: "Number" } } } } }; -export const RemoteAddressMatchConditionParameters: coreClient.CompositeMapper = { +export const CdnWebApplicationFirewallPolicyList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RemoteAddressMatchConditionParameters", + className: "CdnWebApplicationFirewallPolicyList", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - operator: { - serializedName: "operator", - required: true, - type: { - name: "String" - } - }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "CdnWebApplicationFirewallPolicy" } } } }, - transforms: { - serializedName: "transforms", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const RequestMethodMatchConditionParameters: coreClient.CompositeMapper = { +export const PolicySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestMethodMatchConditionParameters", + className: "PolicySettings", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + enabledState: { + serializedName: "enabledState", type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + mode: { + serializedName: "mode", type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", + defaultRedirectUrl: { + serializedName: "defaultRedirectUrl", type: { - name: "Boolean" + name: "String" } }, - matchValues: { - serializedName: "matchValues", + defaultCustomBlockResponseStatusCode: { + serializedName: "defaultCustomBlockResponseStatusCode", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" + } + }, + defaultCustomBlockResponseBody: { + constraints: { + Pattern: new RegExp( + "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + ) + }, + serializedName: "defaultCustomBlockResponseBody", + type: { + name: "String" } } } } }; -export const QueryStringMatchConditionParameters: coreClient.CompositeMapper = { +export const RateLimitRuleList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueryStringMatchConditionParameters", + className: "RateLimitRuleList", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RateLimitRule" + } + } + } + } + } + } +}; + +export const CustomRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomRule", + modelProperties: { + name: { + serializedName: "name", + required: true, type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + enabledState: { + serializedName: "enabledState", type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", + priority: { + constraints: { + InclusiveMaximum: 1000, + InclusiveMinimum: 0 + }, + serializedName: "priority", + required: true, type: { - name: "Boolean" + name: "Number" } }, - matchValues: { - serializedName: "matchValues", + matchConditions: { + serializedName: "matchConditions", + required: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MatchCondition" } } } }, - transforms: { - serializedName: "transforms", + action: { + serializedName: "action", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const PostArgsMatchConditionParameters: coreClient.CompositeMapper = { +export const MatchCondition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PostArgsMatchConditionParameters", + className: "MatchCondition", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + matchVariable: { + serializedName: "matchVariable", + required: true, type: { name: "String" } @@ -4416,8 +4441,9 @@ export const PostArgsMatchConditionParameters: coreClient.CompositeMapper = { name: "Boolean" } }, - matchValues: { - serializedName: "matchValues", + matchValue: { + serializedName: "matchValue", + required: true, type: { name: "Sequence", element: { @@ -4442,51 +4468,40 @@ export const PostArgsMatchConditionParameters: coreClient.CompositeMapper = { } }; -export const RequestUriMatchConditionParameters: coreClient.CompositeMapper = { +export const CustomRuleList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestUriMatchConditionParameters", + className: "CustomRuleList", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - operator: { - serializedName: "operator", - required: true, - type: { - name: "String" - } - }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "CustomRule" } } } - }, - transforms: { - serializedName: "transforms", + } + } + } +}; + +export const ManagedRuleSetList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRuleSetList", + modelProperties: { + managedRuleSets: { + serializedName: "managedRuleSets", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleSet" } } } @@ -4495,57 +4510,43 @@ export const RequestUriMatchConditionParameters: coreClient.CompositeMapper = { } }; -export const RequestHeaderMatchConditionParameters: coreClient.CompositeMapper = { +export const ManagedRuleSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestHeaderMatchConditionParameters", + className: "ManagedRuleSet", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - selector: { - serializedName: "selector", + ruleSetType: { + serializedName: "ruleSetType", + required: true, type: { name: "String" } }, - operator: { - serializedName: "operator", + ruleSetVersion: { + serializedName: "ruleSetVersion", required: true, type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", + anomalyScore: { + constraints: { + InclusiveMaximum: 20, + InclusiveMinimum: 0 + }, + serializedName: "anomalyScore", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - transforms: { - serializedName: "transforms", + ruleGroupOverrides: { + serializedName: "ruleGroupOverrides", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleGroupOverride" } } } @@ -4554,51 +4555,26 @@ export const RequestHeaderMatchConditionParameters: coreClient.CompositeMapper = } }; -export const RequestBodyMatchConditionParameters: coreClient.CompositeMapper = { +export const ManagedRuleGroupOverride: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestBodyMatchConditionParameters", + className: "ManagedRuleGroupOverride", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - operator: { - serializedName: "operator", + ruleGroupName: { + serializedName: "ruleGroupName", required: true, type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - transforms: { - serializedName: "transforms", + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleOverride" } } } @@ -4607,184 +4583,200 @@ export const RequestBodyMatchConditionParameters: coreClient.CompositeMapper = { } }; -export const RequestSchemeMatchConditionParameters: coreClient.CompositeMapper = { +export const ManagedRuleOverride: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestSchemeMatchConditionParameters", + className: "ManagedRuleOverride", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + ruleId: { + serializedName: "ruleId", + required: true, type: { name: "String" } }, - operator: { - defaultValue: "Equal", - isConstant: true, - serializedName: "operator", + enabledState: { + serializedName: "enabledState", type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", + action: { + serializedName: "action", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const UrlPathMatchConditionParameters: coreClient.CompositeMapper = { +export const CdnEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlPathMatchConditionParameters", + className: "CdnEndpoint", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", - type: { - name: "String" - } - }, - operator: { - serializedName: "operator", - required: true, + id: { + serializedName: "id", type: { name: "String" } - }, - negateCondition: { - serializedName: "negateCondition", + } + } + } +}; + +export const CdnWebApplicationFirewallPolicyPatchParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CdnWebApplicationFirewallPolicyPatchParameters", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "String" } } } - }, - matchValues: { - serializedName: "matchValues", + } + } + } +}; + +export const ManagedRuleSetDefinitionList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRuleSetDefinitionList", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleSetDefinition" } } } }, - transforms: { - serializedName: "transforms", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const UrlFileExtensionMatchConditionParameters: coreClient.CompositeMapper = { +export const ManagedRuleGroupDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlFileExtensionMatchConditionParameters", + className: "ManagedRuleGroupDefinition", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + ruleGroupName: { + serializedName: "ruleGroupName", + readOnly: true, type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + description: { + serializedName: "description", + readOnly: true, type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", - type: { - name: "Boolean" - } - }, - matchValues: { - serializedName: "matchValues", + rules: { + serializedName: "rules", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleDefinition" } } } + } + } + } +}; + +export const ManagedRuleDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRuleDefinition", + modelProperties: { + ruleId: { + serializedName: "ruleId", + readOnly: true, + type: { + name: "String" + } }, - transforms: { - serializedName: "transforms", + description: { + serializedName: "description", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const UrlFileNameMatchConditionParameters: coreClient.CompositeMapper = { +export const Certificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlFileNameMatchConditionParameters", + className: "Certificate", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + type: { + serializedName: "type", type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + subject: { + serializedName: "subject", + readOnly: true, type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", + expirationDate: { + serializedName: "expirationDate", + readOnly: true, type: { - name: "Boolean" + name: "String" + } + } + } + } +}; + +export const SecurityPolicyWebApplicationFirewallAssociation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityPolicyWebApplicationFirewallAssociation", + modelProperties: { + domains: { + serializedName: "domains", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivatedResourceReference" + } + } } }, - matchValues: { - serializedName: "matchValues", + patternsToMatch: { + serializedName: "patternsToMatch", type: { name: "Sequence", element: { @@ -4793,9 +4785,18 @@ export const UrlFileNameMatchConditionParameters: coreClient.CompositeMapper = { } } } - }, - transforms: { - serializedName: "transforms", + } + } + } +}; + +export const CompressionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CompressionSettings", + modelProperties: { + contentTypesToCompress: { + serializedName: "contentTypesToCompress", type: { name: "Sequence", element: { @@ -4804,69 +4805,89 @@ export const UrlFileNameMatchConditionParameters: coreClient.CompositeMapper = { } } } + }, + isCompressionEnabled: { + serializedName: "isCompressionEnabled", + type: { + name: "Boolean" + } } } } }; -export const HttpVersionMatchConditionParameters: coreClient.CompositeMapper = { +export const SharedPrivateLinkResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HttpVersionMatchConditionParameters", + className: "SharedPrivateLinkResourceProperties", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + privateLink: { + serializedName: "privateLink", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + privateLinkLocation: { + serializedName: "privateLinkLocation", type: { name: "String" } }, - operator: { - serializedName: "operator", - required: true, + groupId: { + serializedName: "groupId", type: { name: "String" } }, - negateCondition: { - serializedName: "negateCondition", + requestMessage: { + serializedName: "requestMessage", type: { - name: "Boolean" + name: "String" } }, - matchValues: { - serializedName: "matchValues", + status: { + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Enum", + allowedValues: [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] } } } } }; -export const CookiesMatchConditionParameters: coreClient.CompositeMapper = { +export const ValidationToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CookiesMatchConditionParameters", + className: "ValidationToken", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters", - isConstant: true, - serializedName: "@odata\\.type", + token: { + serializedName: "token", + readOnly: true, type: { name: "String" } - }, - selector: { - serializedName: "selector", + } + } + } +}; + +export const RemoteAddressMatchConditionParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RemoteAddressMatchConditionParameters", + modelProperties: { + typeName: { + defaultValue: "DeliveryRuleRemoteAddressConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } @@ -4910,16 +4931,15 @@ export const CookiesMatchConditionParameters: coreClient.CompositeMapper = { } }; -export const IsDeviceMatchConditionParameters: coreClient.CompositeMapper = { +export const RequestMethodMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IsDeviceMatchConditionParameters", + className: "RequestMethodMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters", + typeName: { + defaultValue: "DeliveryRuleRequestMethodConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } @@ -4937,8 +4957,8 @@ export const IsDeviceMatchConditionParameters: coreClient.CompositeMapper = { name: "Boolean" } }, - matchValues: { - serializedName: "matchValues", + transforms: { + serializedName: "transforms", type: { name: "Sequence", element: { @@ -4948,8 +4968,8 @@ export const IsDeviceMatchConditionParameters: coreClient.CompositeMapper = { } } }, - transforms: { - serializedName: "transforms", + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { @@ -4963,89 +4983,108 @@ export const IsDeviceMatchConditionParameters: coreClient.CompositeMapper = { } }; -export const UrlRedirectActionParameters: coreClient.CompositeMapper = { +export const QueryStringMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlRedirectActionParameters", + className: "QueryStringMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters", + typeName: { + defaultValue: "DeliveryRuleQueryStringConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - redirectType: { - serializedName: "redirectType", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - destinationProtocol: { - serializedName: "destinationProtocol", - type: { - name: "String" - } - }, - customPath: { - serializedName: "customPath", - type: { - name: "String" - } - }, - customHostname: { - serializedName: "customHostname", + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - customQueryString: { - serializedName: "customQueryString", + matchValues: { + serializedName: "matchValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - customFragment: { - serializedName: "customFragment", + transforms: { + serializedName: "transforms", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const UrlSigningActionParameters: coreClient.CompositeMapper = { +export const PostArgsMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlSigningActionParameters", + className: "PostArgsMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlSigningActionParameters", + typeName: { + defaultValue: "DeliveryRulePostArgsConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - algorithm: { - serializedName: "algorithm", + selector: { + serializedName: "selector", type: { name: "String" } }, - parameterNameOverride: { - serializedName: "parameterNameOverride", + operator: { + serializedName: "operator", + required: true, + type: { + name: "String" + } + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "UrlSigningParamIdentifier" + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" } } } @@ -5054,338 +5093,474 @@ export const UrlSigningActionParameters: coreClient.CompositeMapper = { } }; -export const UrlSigningParamIdentifier: coreClient.CompositeMapper = { +export const RequestUriMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlSigningParamIdentifier", + className: "RequestUriMatchConditionParameters", modelProperties: { - paramIndicator: { - serializedName: "paramIndicator", - required: true, + typeName: { + defaultValue: "DeliveryRuleRequestUriConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - paramName: { - serializedName: "paramName", + operator: { + serializedName: "operator", required: true, type: { name: "String" } - } - } - } -}; - -export const OriginGroupOverrideActionParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OriginGroupOverrideActionParameters", - modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleOriginGroupOverrideActionParameters", - isConstant: true, - serializedName: "@odata\\.type", + }, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - originGroup: { - serializedName: "originGroup", + matchValues: { + serializedName: "matchValues", type: { - name: "Composite", - className: "ResourceReference" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const UrlRewriteActionParameters: coreClient.CompositeMapper = { +export const RequestHeaderMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlRewriteActionParameters", + className: "RequestHeaderMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters", + typeName: { + defaultValue: "DeliveryRuleRequestHeaderConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - sourcePattern: { - serializedName: "sourcePattern", - required: true, + selector: { + serializedName: "selector", type: { name: "String" } }, - destination: { - serializedName: "destination", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - preserveUnmatchedPath: { - serializedName: "preserveUnmatchedPath", + negateCondition: { + serializedName: "negateCondition", type: { name: "Boolean" } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const HeaderActionParameters: coreClient.CompositeMapper = { +export const RequestBodyMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HeaderActionParameters", + className: "RequestBodyMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters", + typeName: { + defaultValue: "DeliveryRuleRequestBodyConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - headerAction: { - serializedName: "headerAction", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - headerName: { - serializedName: "headerName", - required: true, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - value: { - serializedName: "value", + matchValues: { + serializedName: "matchValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const CacheExpirationActionParameters: coreClient.CompositeMapper = { +export const RequestSchemeMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CacheExpirationActionParameters", + className: "RequestSchemeMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters", + typeName: { + defaultValue: "DeliveryRuleRequestSchemeConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - cacheBehavior: { - serializedName: "cacheBehavior", - required: true, + operator: { + defaultValue: "Equal", + isConstant: true, + serializedName: "operator", type: { name: "String" } }, - cacheType: { - serializedName: "cacheType", - required: true, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - cacheDuration: { - serializedName: "cacheDuration", - nullable: true, + transforms: { + serializedName: "transforms", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const CacheKeyQueryStringActionParameters: coreClient.CompositeMapper = { +export const UrlPathMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CacheKeyQueryStringActionParameters", + className: "UrlPathMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters", + typeName: { + defaultValue: "DeliveryRuleUrlPathMatchConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - queryStringBehavior: { - serializedName: "queryStringBehavior", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - queryParameters: { - serializedName: "queryParameters", - nullable: true, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const CdnCertificateSourceParameters: coreClient.CompositeMapper = { +export const UrlFileExtensionMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CdnCertificateSourceParameters", + className: "UrlFileExtensionMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", + typeName: { + defaultValue: "DeliveryRuleUrlFileExtensionMatchConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - certificateType: { - serializedName: "certificateType", + operator: { + serializedName: "operator", required: true, type: { name: "String" } + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const KeyVaultCertificateSourceParameters: coreClient.CompositeMapper = { +export const UrlFileNameMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyVaultCertificateSourceParameters", + className: "UrlFileNameMatchConditionParameters", modelProperties: { - odataType: { - defaultValue: - "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", + typeName: { + defaultValue: "DeliveryRuleUrlFilenameConditionParameters", isConstant: true, - serializedName: "@odata\\.type", + serializedName: "typeName", type: { name: "String" } }, - subscriptionId: { - serializedName: "subscriptionId", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - resourceGroupName: { - serializedName: "resourceGroupName", - required: true, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - vaultName: { - serializedName: "vaultName", - required: true, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const HttpVersionMatchConditionParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HttpVersionMatchConditionParameters", + modelProperties: { + typeName: { + defaultValue: "DeliveryRuleHttpVersionConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - secretName: { - serializedName: "secretName", + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - secretVersion: { - serializedName: "secretVersion", + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - updateRule: { - serializedName: "updateRule", - required: true, + matchValues: { + serializedName: "matchValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - deleteRule: { - serializedName: "deleteRule", - required: true, + transforms: { + serializedName: "transforms", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const Certificate: coreClient.CompositeMapper = { +export const CookiesMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Certificate", + className: "CookiesMatchConditionParameters", modelProperties: { - subject: { - serializedName: "subject", + typeName: { + defaultValue: "DeliveryRuleCookiesConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - expirationDate: { - serializedName: "expirationDate", + selector: { + serializedName: "selector", type: { name: "String" } }, - thumbprint: { - serializedName: "thumbprint", + operator: { + serializedName: "operator", + required: true, type: { name: "String" } - } - } - } -}; - -export const SecurityPolicyWebApplicationFirewallAssociation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityPolicyWebApplicationFirewallAssociation", - modelProperties: { - domains: { - serializedName: "domains", + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ResourceReference" + name: "String" } } } }, - patternsToMatch: { - serializedName: "patternsToMatch", + transforms: { + serializedName: "transforms", type: { name: "Sequence", element: { @@ -5399,13 +5574,34 @@ export const SecurityPolicyWebApplicationFirewallAssociation: coreClient.Composi } }; -export const CompressionSettings: coreClient.CompositeMapper = { +export const IsDeviceMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CompressionSettings", + className: "IsDeviceMatchConditionParameters", modelProperties: { - contentTypesToCompress: { - serializedName: "contentTypesToCompress", + typeName: { + defaultValue: "DeliveryRuleIsDeviceConditionParameters", + isConstant: true, + serializedName: "typeName", + type: { + name: "String" + } + }, + operator: { + serializedName: "operator", + required: true, + type: { + name: "String" + } + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { @@ -5414,141 +5610,126 @@ export const CompressionSettings: coreClient.CompositeMapper = { } } } - }, - isCompressionEnabled: { - serializedName: "isCompressionEnabled", - type: { - name: "Boolean" - } } } } }; -export const SharedPrivateLinkResourceProperties: coreClient.CompositeMapper = { +export const SocketAddrMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharedPrivateLinkResourceProperties", + className: "SocketAddrMatchConditionParameters", modelProperties: { - privateLink: { - serializedName: "privateLink", - type: { - name: "Composite", - className: "ResourceReference" - } - }, - privateLinkLocation: { - serializedName: "privateLinkLocation", + typeName: { + defaultValue: "DeliveryRuleSocketAddrConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - groupId: { - serializedName: "groupId", + operator: { + serializedName: "operator", + required: true, type: { name: "String" } }, - requestMessage: { - serializedName: "requestMessage", + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - status: { - serializedName: "status", + matchValues: { + serializedName: "matchValues", type: { - name: "Enum", - allowedValues: [ - "Pending", - "Approved", - "Rejected", - "Disconnected", - "Timeout" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const TrackedResource: coreClient.CompositeMapper = { +export const ClientPortMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrackedResource", + className: "ClientPortMatchConditionParameters", modelProperties: { - ...Resource.type.modelProperties, - location: { - serializedName: "location", + typeName: { + defaultValue: "DeliveryRuleClientPortConditionParameters", + isConstant: true, + serializedName: "typeName", + type: { + name: "String" + } + }, + operator: { + serializedName: "operator", required: true, type: { name: "String" } }, - tags: { - serializedName: "tags", + negateCondition: { + serializedName: "negateCondition", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const ManagedRuleSetDefinition: coreClient.CompositeMapper = { +export const ServerPortMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleSetDefinition", + className: "ServerPortMatchConditionParameters", modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + typeName: { + defaultValue: "DeliveryRuleServerPortConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - ruleSetType: { - serializedName: "properties.ruleSetType", - readOnly: true, + operator: { + serializedName: "operator", + required: true, type: { name: "String" } }, - ruleSetVersion: { - serializedName: "properties.ruleSetVersion", - readOnly: true, + negateCondition: { + serializedName: "negateCondition", type: { - name: "String" + name: "Boolean" } }, - ruleGroups: { - serializedName: "properties.ruleGroups", - readOnly: true, + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ManagedRuleGroupDefinition" + name: "String" } } } @@ -5557,1163 +5738,2287 @@ export const ManagedRuleSetDefinition: coreClient.CompositeMapper = { } }; -export const EndpointProperties: coreClient.CompositeMapper = { +export const HostNameMatchConditionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointProperties", + className: "HostNameMatchConditionParameters", modelProperties: { - ...EndpointPropertiesUpdateParameters.type.modelProperties, - hostName: { - serializedName: "hostName", - readOnly: true, + typeName: { + defaultValue: "DeliveryRuleHostNameConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - origins: { - serializedName: "origins", + operator: { + serializedName: "operator", required: true, + type: { + name: "String" + } + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DeepCreatedOrigin" + name: "String" } } } }, - originGroups: { - serializedName: "originGroups", + transforms: { + serializedName: "transforms", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DeepCreatedOriginGroup" + name: "String" } } } - }, - resourceState: { - serializedName: "resourceState", - readOnly: true, + } + } + } +}; + +export const SslProtocolMatchConditionParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SslProtocolMatchConditionParameters", + modelProperties: { + typeName: { + defaultValue: "DeliveryRuleSslProtocolConditionParameters", + isConstant: true, + serializedName: "typeName", type: { name: "String" } }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + operator: { + serializedName: "operator", + required: true, type: { name: "String" } + }, + negateCondition: { + serializedName: "negateCondition", + type: { + name: "Boolean" + } + }, + matchValues: { + serializedName: "matchValues", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const DeliveryRuleRemoteAddressCondition: coreClient.CompositeMapper = { - serializedName: "RemoteAddress", +export const UrlRedirectActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRemoteAddressCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "UrlRedirectActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleUrlRedirectActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RemoteAddressMatchConditionParameters" + name: "String" + } + }, + redirectType: { + serializedName: "redirectType", + required: true, + type: { + name: "String" + } + }, + destinationProtocol: { + serializedName: "destinationProtocol", + type: { + name: "String" + } + }, + customPath: { + serializedName: "customPath", + type: { + name: "String" + } + }, + customHostname: { + serializedName: "customHostname", + type: { + name: "String" + } + }, + customQueryString: { + serializedName: "customQueryString", + type: { + name: "String" + } + }, + customFragment: { + serializedName: "customFragment", + type: { + name: "String" } } } } }; -export const DeliveryRuleRequestMethodCondition: coreClient.CompositeMapper = { - serializedName: "RequestMethod", +export const UrlSigningActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestMethodCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "UrlSigningActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleUrlSigningActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RequestMethodMatchConditionParameters" + name: "String" + } + }, + algorithm: { + serializedName: "algorithm", + type: { + name: "String" + } + }, + parameterNameOverride: { + serializedName: "parameterNameOverride", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UrlSigningParamIdentifier" + } + } } } } } }; -export const DeliveryRuleQueryStringCondition: coreClient.CompositeMapper = { - serializedName: "QueryString", +export const UrlSigningParamIdentifier: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleQueryStringCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "UrlSigningParamIdentifier", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + paramIndicator: { + serializedName: "paramIndicator", + required: true, type: { - name: "Composite", - className: "QueryStringMatchConditionParameters" + name: "String" + } + }, + paramName: { + serializedName: "paramName", + required: true, + type: { + name: "String" } } } } }; -export const DeliveryRulePostArgsCondition: coreClient.CompositeMapper = { - serializedName: "PostArgs", +export const OriginGroupOverrideActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRulePostArgsCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "OriginGroupOverrideActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleOriginGroupOverrideActionParameters", + isConstant: true, + serializedName: "typeName", + type: { + name: "String" + } + }, + originGroup: { + serializedName: "originGroup", type: { name: "Composite", - className: "PostArgsMatchConditionParameters" + className: "ResourceReference" } } } } }; -export const DeliveryRuleRequestUriCondition: coreClient.CompositeMapper = { - serializedName: "RequestUri", +export const UrlRewriteActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestUriCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "UrlRewriteActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleUrlRewriteActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RequestUriMatchConditionParameters" + name: "String" + } + }, + sourcePattern: { + serializedName: "sourcePattern", + required: true, + type: { + name: "String" + } + }, + destination: { + serializedName: "destination", + required: true, + type: { + name: "String" + } + }, + preserveUnmatchedPath: { + serializedName: "preserveUnmatchedPath", + type: { + name: "Boolean" } } } } }; -export const DeliveryRuleRequestHeaderCondition: coreClient.CompositeMapper = { - serializedName: "RequestHeader", +export const HeaderActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestHeaderCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "HeaderActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleHeaderActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RequestHeaderMatchConditionParameters" + name: "String" + } + }, + headerAction: { + serializedName: "headerAction", + required: true, + type: { + name: "String" + } + }, + headerName: { + serializedName: "headerName", + required: true, + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" } } } } }; -export const DeliveryRuleRequestBodyCondition: coreClient.CompositeMapper = { - serializedName: "RequestBody", +export const CacheExpirationActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestBodyCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "CacheExpirationActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleCacheExpirationActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RequestBodyMatchConditionParameters" + name: "String" + } + }, + cacheBehavior: { + serializedName: "cacheBehavior", + required: true, + type: { + name: "String" + } + }, + cacheType: { + serializedName: "cacheType", + required: true, + type: { + name: "String" + } + }, + cacheDuration: { + serializedName: "cacheDuration", + nullable: true, + type: { + name: "String" } } } } }; -export const DeliveryRuleRequestSchemeCondition: coreClient.CompositeMapper = { - serializedName: "RequestScheme", +export const CacheKeyQueryStringActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestSchemeCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "CacheKeyQueryStringActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleCacheKeyQueryStringBehaviorActionParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "RequestSchemeMatchConditionParameters" + name: "String" + } + }, + queryStringBehavior: { + serializedName: "queryStringBehavior", + required: true, + type: { + name: "String" + } + }, + queryParameters: { + serializedName: "queryParameters", + nullable: true, + type: { + name: "String" } } } } }; -export const DeliveryRuleUrlPathCondition: coreClient.CompositeMapper = { - serializedName: "UrlPath", +export const RouteConfigurationOverrideActionParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleUrlPathCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "RouteConfigurationOverrideActionParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "DeliveryRuleRouteConfigurationOverrideActionParameters", + isConstant: true, + serializedName: "typeName", + type: { + name: "String" + } + }, + originGroupOverride: { + serializedName: "originGroupOverride", type: { name: "Composite", - className: "UrlPathMatchConditionParameters" + className: "OriginGroupOverride" + } + }, + cacheConfiguration: { + serializedName: "cacheConfiguration", + type: { + name: "Composite", + className: "CacheConfiguration" } } } } }; -export const DeliveryRuleUrlFileExtensionCondition: coreClient.CompositeMapper = { - serializedName: "UrlFileExtension", +export const OriginGroupOverride: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleUrlFileExtensionCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "OriginGroupOverride", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + originGroup: { + serializedName: "originGroup", type: { name: "Composite", - className: "UrlFileExtensionMatchConditionParameters" + className: "ResourceReference" + } + }, + forwardingProtocol: { + serializedName: "forwardingProtocol", + type: { + name: "String" } } } } }; -export const DeliveryRuleUrlFileNameCondition: coreClient.CompositeMapper = { - serializedName: "UrlFileName", +export const CacheConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleUrlFileNameCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "CacheConfiguration", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + queryStringCachingBehavior: { + serializedName: "queryStringCachingBehavior", type: { - name: "Composite", - className: "UrlFileNameMatchConditionParameters" + name: "String" + } + }, + queryParameters: { + serializedName: "queryParameters", + type: { + name: "String" + } + }, + isCompressionEnabled: { + serializedName: "isCompressionEnabled", + type: { + name: "String" + } + }, + cacheBehavior: { + serializedName: "cacheBehavior", + type: { + name: "String" + } + }, + cacheDuration: { + serializedName: "cacheDuration", + type: { + name: "TimeSpan" } } } } }; -export const DeliveryRuleHttpVersionCondition: coreClient.CompositeMapper = { - serializedName: "HttpVersion", +export const CdnCertificateSourceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleHttpVersionCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "CdnCertificateSourceParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "CdnCertificateSourceParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "HttpVersionMatchConditionParameters" + name: "String" + } + }, + certificateType: { + serializedName: "certificateType", + required: true, + type: { + name: "String" } } } } }; -export const DeliveryRuleCookiesCondition: coreClient.CompositeMapper = { - serializedName: "Cookies", +export const KeyVaultCertificateSourceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleCookiesCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "KeyVaultCertificateSourceParameters", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + typeName: { + defaultValue: "KeyVaultCertificateSourceParameters", + isConstant: true, + serializedName: "typeName", type: { - name: "Composite", - className: "CookiesMatchConditionParameters" + name: "String" + } + }, + subscriptionId: { + serializedName: "subscriptionId", + required: true, + type: { + name: "String" + } + }, + resourceGroupName: { + serializedName: "resourceGroupName", + required: true, + type: { + name: "String" + } + }, + vaultName: { + serializedName: "vaultName", + required: true, + type: { + name: "String" + } + }, + secretName: { + serializedName: "secretName", + required: true, + type: { + name: "String" + } + }, + secretVersion: { + serializedName: "secretVersion", + type: { + name: "String" + } + }, + updateRule: { + serializedName: "updateRule", + required: true, + type: { + name: "String" + } + }, + deleteRule: { + serializedName: "deleteRule", + required: true, + type: { + name: "String" } } } } }; -export const DeliveryRuleIsDeviceCondition: coreClient.CompositeMapper = { - serializedName: "IsDevice", +export const AFDDomainProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleIsDeviceCondition", - uberParent: "DeliveryRuleCondition", - polymorphicDiscriminator: - DeliveryRuleCondition.type.polymorphicDiscriminator, + className: "AFDDomainProperties", modelProperties: { - ...DeliveryRuleCondition.type.modelProperties, - parameters: { - serializedName: "parameters", + ...AFDDomainUpdatePropertiesParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties, + domainValidationState: { + serializedName: "domainValidationState", + readOnly: true, + type: { + name: "String" + } + }, + hostName: { + serializedName: "hostName", + required: true, + type: { + name: "String" + } + }, + validationProperties: { + serializedName: "validationProperties", type: { name: "Composite", - className: "IsDeviceMatchConditionParameters" + className: "DomainValidationProperties" } } } } }; -export const UrlRedirectAction: coreClient.CompositeMapper = { - serializedName: "UrlRedirect", +export const AFDEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlRedirectAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "AFDEndpointProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", + ...AFDEndpointPropertiesUpdateParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties, + hostName: { + serializedName: "hostName", + readOnly: true, type: { - name: "Composite", - className: "UrlRedirectActionParameters" + name: "String" } } } } }; -export const UrlSigningAction: coreClient.CompositeMapper = { - serializedName: "UrlSigning", +export const AFDOriginGroupProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlSigningAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "AFDOriginGroupProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "UrlSigningActionParameters" - } - } + ...AFDOriginGroupUpdatePropertiesParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties } } }; -export const OriginGroupOverrideAction: coreClient.CompositeMapper = { - serializedName: "OriginGroupOverride", +export const AFDOriginProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginGroupOverrideAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "AFDOriginProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "OriginGroupOverrideActionParameters" - } - } + ...AFDOriginUpdatePropertiesParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties } } }; -export const UrlRewriteAction: coreClient.CompositeMapper = { - serializedName: "UrlRewrite", +export const RouteProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlRewriteAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "RouteProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "UrlRewriteActionParameters" - } - } + ...RouteUpdatePropertiesParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties } } }; -export const DeliveryRuleRequestHeaderAction: coreClient.CompositeMapper = { - serializedName: "ModifyRequestHeader", +export const RuleSetProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleRequestHeaderAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "RuleSetProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", + ...AFDStateProperties.type.modelProperties, + profileName: { + serializedName: "profileName", + readOnly: true, type: { - name: "Composite", - className: "HeaderActionParameters" + name: "String" } } } } }; -export const DeliveryRuleResponseHeaderAction: coreClient.CompositeMapper = { - serializedName: "ModifyResponseHeader", +export const RuleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleResponseHeaderAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "RuleProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "HeaderActionParameters" - } - } + ...RuleUpdatePropertiesParameters.type.modelProperties, + ...AFDStateProperties.type.modelProperties } } }; -export const DeliveryRuleCacheExpirationAction: coreClient.CompositeMapper = { - serializedName: "CacheExpiration", +export const SecurityPolicyProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleCacheExpirationAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "SecurityPolicyProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, + ...AFDStateProperties.type.modelProperties, + profileName: { + serializedName: "profileName", + readOnly: true, + type: { + name: "String" + } + }, parameters: { serializedName: "parameters", type: { name: "Composite", - className: "CacheExpirationActionParameters" + className: "SecurityPolicyParameters" } } } } }; -export const DeliveryRuleCacheKeyQueryStringAction: coreClient.CompositeMapper = { - serializedName: "CacheKeyQueryString", +export const SecretProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeliveryRuleCacheKeyQueryStringAction", - uberParent: "DeliveryRuleActionAutoGenerated", - polymorphicDiscriminator: - DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + className: "SecretProperties", modelProperties: { - ...DeliveryRuleActionAutoGenerated.type.modelProperties, + ...AFDStateProperties.type.modelProperties, + profileName: { + serializedName: "profileName", + readOnly: true, + type: { + name: "String" + } + }, parameters: { serializedName: "parameters", type: { name: "Composite", - className: "CacheKeyQueryStringActionParameters" + className: "SecretParameters" } } } } }; -export const OriginProperties: coreClient.CompositeMapper = { +export const ProxyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginProperties", + className: "ProxyResource", modelProperties: { - ...OriginUpdatePropertiesParameters.type.modelProperties, - resourceState: { - serializedName: "resourceState", - readOnly: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...Resource.type.modelProperties + } + } +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + location: { + serializedName: "location", + required: true, type: { name: "String" } }, - privateEndpointStatus: { - serializedName: "privateEndpointStatus", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const OriginGroupProperties: coreClient.CompositeMapper = { +export const ManagedRuleSetDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OriginGroupProperties", + className: "ManagedRuleSetDefinition", modelProperties: { - ...OriginGroupUpdatePropertiesParameters.type.modelProperties, - resourceState: { - serializedName: "resourceState", + ...Resource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "provisioningState", + ruleSetType: { + serializedName: "properties.ruleSetType", + readOnly: true, + type: { + name: "String" + } + }, + ruleSetVersion: { + serializedName: "properties.ruleSetVersion", readOnly: true, type: { name: "String" } + }, + ruleGroups: { + serializedName: "properties.ruleGroups", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedRuleGroupDefinition" + } + } + } } } } }; -export const CdnManagedHttpsParameters: coreClient.CompositeMapper = { - serializedName: "Cdn", +export const DeliveryRuleRemoteAddressCondition: coreClient.CompositeMapper = { + serializedName: "RemoteAddress", type: { name: "Composite", - className: "CdnManagedHttpsParameters", - uberParent: "CustomDomainHttpsParameters", + className: "DeliveryRuleRemoteAddressCondition", + uberParent: "DeliveryRuleCondition", polymorphicDiscriminator: - CustomDomainHttpsParameters.type.polymorphicDiscriminator, + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...CustomDomainHttpsParameters.type.modelProperties, - certificateSourceParameters: { - serializedName: "certificateSourceParameters", + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "CdnCertificateSourceParameters" + className: "RemoteAddressMatchConditionParameters" } } } } }; -export const UserManagedHttpsParameters: coreClient.CompositeMapper = { - serializedName: "AzureKeyVault", +export const DeliveryRuleRequestMethodCondition: coreClient.CompositeMapper = { + serializedName: "RequestMethod", type: { name: "Composite", - className: "UserManagedHttpsParameters", - uberParent: "CustomDomainHttpsParameters", + className: "DeliveryRuleRequestMethodCondition", + uberParent: "DeliveryRuleCondition", polymorphicDiscriminator: - CustomDomainHttpsParameters.type.polymorphicDiscriminator, + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...CustomDomainHttpsParameters.type.modelProperties, - certificateSourceParameters: { - serializedName: "certificateSourceParameters", + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "KeyVaultCertificateSourceParameters" + className: "RequestMethodMatchConditionParameters" } } } } }; -export const AFDDomainProperties: coreClient.CompositeMapper = { +export const DeliveryRuleQueryStringCondition: coreClient.CompositeMapper = { + serializedName: "QueryString", type: { name: "Composite", - className: "AFDDomainProperties", + className: "DeliveryRuleQueryStringCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDDomainUpdatePropertiesParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties, - domainValidationState: { - serializedName: "domainValidationState", - readOnly: true, - type: { - name: "String" - } - }, - hostName: { - serializedName: "hostName", - required: true, - type: { - name: "String" - } - }, - validationProperties: { - serializedName: "validationProperties", + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "DomainValidationProperties" + className: "QueryStringMatchConditionParameters" } } } } }; -export const AFDEndpointProperties: coreClient.CompositeMapper = { +export const DeliveryRulePostArgsCondition: coreClient.CompositeMapper = { + serializedName: "PostArgs", type: { name: "Composite", - className: "AFDEndpointProperties", + className: "DeliveryRulePostArgsCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDEndpointPropertiesUpdateParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties, - hostName: { - serializedName: "hostName", - readOnly: true, + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "PostArgsMatchConditionParameters" } } } } }; -export const AFDOriginGroupProperties: coreClient.CompositeMapper = { +export const DeliveryRuleRequestUriCondition: coreClient.CompositeMapper = { + serializedName: "RequestUri", type: { name: "Composite", - className: "AFDOriginGroupProperties", + className: "DeliveryRuleRequestUriCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDOriginGroupUpdatePropertiesParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "RequestUriMatchConditionParameters" + } + } } } }; -export const AFDOriginProperties: coreClient.CompositeMapper = { +export const DeliveryRuleRequestHeaderCondition: coreClient.CompositeMapper = { + serializedName: "RequestHeader", type: { name: "Composite", - className: "AFDOriginProperties", + className: "DeliveryRuleRequestHeaderCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDOriginUpdatePropertiesParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "RequestHeaderMatchConditionParameters" + } + } } } }; -export const RouteProperties: coreClient.CompositeMapper = { +export const DeliveryRuleRequestBodyCondition: coreClient.CompositeMapper = { + serializedName: "RequestBody", type: { name: "Composite", - className: "RouteProperties", + className: "DeliveryRuleRequestBodyCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...RouteUpdatePropertiesParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "RequestBodyMatchConditionParameters" + } + } } } }; -export const RuleSetProperties: coreClient.CompositeMapper = { +export const DeliveryRuleRequestSchemeCondition: coreClient.CompositeMapper = { + serializedName: "RequestScheme", type: { name: "Composite", - className: "RuleSetProperties", + className: "DeliveryRuleRequestSchemeCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDStateProperties.type.modelProperties + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "RequestSchemeMatchConditionParameters" + } + } } } }; -export const RuleProperties: coreClient.CompositeMapper = { +export const DeliveryRuleUrlPathCondition: coreClient.CompositeMapper = { + serializedName: "UrlPath", type: { name: "Composite", - className: "RuleProperties", + className: "DeliveryRuleUrlPathCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...RuleUpdatePropertiesParameters.type.modelProperties, - ...AFDStateProperties.type.modelProperties + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "UrlPathMatchConditionParameters" + } + } } } }; -export const SecurityPolicyProperties: coreClient.CompositeMapper = { +export const DeliveryRuleUrlFileExtensionCondition: coreClient.CompositeMapper = { + serializedName: "UrlFileExtension", type: { name: "Composite", - className: "SecurityPolicyProperties", + className: "DeliveryRuleUrlFileExtensionCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, modelProperties: { - ...AFDStateProperties.type.modelProperties, + ...DeliveryRuleCondition.type.modelProperties, parameters: { serializedName: "parameters", type: { name: "Composite", - className: "SecurityPolicyParameters" + className: "UrlFileExtensionMatchConditionParameters" } } } } }; -export const SecretProperties: coreClient.CompositeMapper = { +export const DeliveryRuleUrlFileNameCondition: coreClient.CompositeMapper = { + serializedName: "UrlFileName", type: { name: "Composite", - className: "SecretProperties", + className: "DeliveryRuleUrlFileNameCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "UrlFileNameMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleHttpVersionCondition: coreClient.CompositeMapper = { + serializedName: "HttpVersion", + type: { + name: "Composite", + className: "DeliveryRuleHttpVersionCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "HttpVersionMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleCookiesCondition: coreClient.CompositeMapper = { + serializedName: "Cookies", + type: { + name: "Composite", + className: "DeliveryRuleCookiesCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "CookiesMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleIsDeviceCondition: coreClient.CompositeMapper = { + serializedName: "IsDevice", + type: { + name: "Composite", + className: "DeliveryRuleIsDeviceCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "IsDeviceMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleSocketAddrCondition: coreClient.CompositeMapper = { + serializedName: "SocketAddr", + type: { + name: "Composite", + className: "DeliveryRuleSocketAddrCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "SocketAddrMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleClientPortCondition: coreClient.CompositeMapper = { + serializedName: "ClientPort", + type: { + name: "Composite", + className: "DeliveryRuleClientPortCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "ClientPortMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleServerPortCondition: coreClient.CompositeMapper = { + serializedName: "ServerPort", + type: { + name: "Composite", + className: "DeliveryRuleServerPortCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "ServerPortMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleHostNameCondition: coreClient.CompositeMapper = { + serializedName: "HostName", + type: { + name: "Composite", + className: "DeliveryRuleHostNameCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "HostNameMatchConditionParameters" + } + } + } + } +}; + +export const DeliveryRuleSslProtocolCondition: coreClient.CompositeMapper = { + serializedName: "SslProtocol", + type: { + name: "Composite", + className: "DeliveryRuleSslProtocolCondition", + uberParent: "DeliveryRuleCondition", + polymorphicDiscriminator: + DeliveryRuleCondition.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleCondition.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "SslProtocolMatchConditionParameters" + } + } + } + } +}; + +export const UrlRedirectAction: coreClient.CompositeMapper = { + serializedName: "UrlRedirect", + type: { + name: "Composite", + className: "UrlRedirectAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "UrlRedirectActionParameters" + } + } + } + } +}; + +export const UrlSigningAction: coreClient.CompositeMapper = { + serializedName: "UrlSigning", + type: { + name: "Composite", + className: "UrlSigningAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "UrlSigningActionParameters" + } + } + } + } +}; + +export const OriginGroupOverrideAction: coreClient.CompositeMapper = { + serializedName: "OriginGroupOverride", + type: { + name: "Composite", + className: "OriginGroupOverrideAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "OriginGroupOverrideActionParameters" + } + } + } + } +}; + +export const UrlRewriteAction: coreClient.CompositeMapper = { + serializedName: "UrlRewrite", + type: { + name: "Composite", + className: "UrlRewriteAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "UrlRewriteActionParameters" + } + } + } + } +}; + +export const DeliveryRuleRequestHeaderAction: coreClient.CompositeMapper = { + serializedName: "ModifyRequestHeader", + type: { + name: "Composite", + className: "DeliveryRuleRequestHeaderAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "HeaderActionParameters" + } + } + } + } +}; + +export const DeliveryRuleResponseHeaderAction: coreClient.CompositeMapper = { + serializedName: "ModifyResponseHeader", + type: { + name: "Composite", + className: "DeliveryRuleResponseHeaderAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "HeaderActionParameters" + } + } + } + } +}; + +export const DeliveryRuleCacheExpirationAction: coreClient.CompositeMapper = { + serializedName: "CacheExpiration", + type: { + name: "Composite", + className: "DeliveryRuleCacheExpirationAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "CacheExpirationActionParameters" + } + } + } + } +}; + +export const DeliveryRuleCacheKeyQueryStringAction: coreClient.CompositeMapper = { + serializedName: "CacheKeyQueryString", + type: { + name: "Composite", + className: "DeliveryRuleCacheKeyQueryStringAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "CacheKeyQueryStringActionParameters" + } + } + } + } +}; + +export const DeliveryRuleRouteConfigurationOverrideAction: coreClient.CompositeMapper = { + serializedName: "RouteConfigurationOverride", + type: { + name: "Composite", + className: "DeliveryRuleRouteConfigurationOverrideAction", + uberParent: "DeliveryRuleActionAutoGenerated", + polymorphicDiscriminator: + DeliveryRuleActionAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...DeliveryRuleActionAutoGenerated.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "RouteConfigurationOverrideActionParameters" + } + } + } + } +}; + +export const SecurityPolicyWebApplicationFirewallParameters: coreClient.CompositeMapper = { + serializedName: "WebApplicationFirewall", + type: { + name: "Composite", + className: "SecurityPolicyWebApplicationFirewallParameters", + uberParent: "SecurityPolicyParameters", + polymorphicDiscriminator: + SecurityPolicyParameters.type.polymorphicDiscriminator, + modelProperties: { + ...SecurityPolicyParameters.type.modelProperties, + wafPolicy: { + serializedName: "wafPolicy", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + associations: { + serializedName: "associations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecurityPolicyWebApplicationFirewallAssociation" + } + } + } + } + } + } +}; + +export const UrlSigningKeyParameters: coreClient.CompositeMapper = { + serializedName: "UrlSigningKey", + type: { + name: "Composite", + className: "UrlSigningKeyParameters", + uberParent: "SecretParameters", + polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + modelProperties: { + ...SecretParameters.type.modelProperties, + keyId: { + serializedName: "keyId", + required: true, + type: { + name: "String" + } + }, + secretSource: { + serializedName: "secretSource", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + secretVersion: { + serializedName: "secretVersion", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedCertificateParameters: coreClient.CompositeMapper = { + serializedName: "ManagedCertificate", + type: { + name: "Composite", + className: "ManagedCertificateParameters", + uberParent: "SecretParameters", + polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + modelProperties: { + ...SecretParameters.type.modelProperties, + subject: { + serializedName: "subject", + readOnly: true, + type: { + name: "String" + } + }, + expirationDate: { + serializedName: "expirationDate", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CustomerCertificateParameters: coreClient.CompositeMapper = { + serializedName: "CustomerCertificate", + type: { + name: "Composite", + className: "CustomerCertificateParameters", + uberParent: "SecretParameters", + polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + modelProperties: { + ...SecretParameters.type.modelProperties, + secretSource: { + serializedName: "secretSource", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + secretVersion: { + serializedName: "secretVersion", + type: { + name: "String" + } + }, + useLatestVersion: { + serializedName: "useLatestVersion", + type: { + name: "Boolean" + } + }, + subject: { + serializedName: "subject", + readOnly: true, + type: { + name: "String" + } + }, + expirationDate: { + serializedName: "expirationDate", + readOnly: true, + type: { + name: "String" + } + }, + certificateAuthority: { + serializedName: "certificateAuthority", + readOnly: true, + type: { + name: "String" + } + }, + subjectAlternativeNames: { + serializedName: "subjectAlternativeNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + thumbprint: { + serializedName: "thumbprint", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const AzureFirstPartyManagedCertificateParameters: coreClient.CompositeMapper = { + serializedName: "AzureFirstPartyManagedCertificate", + type: { + name: "Composite", + className: "AzureFirstPartyManagedCertificateParameters", + uberParent: "SecretParameters", + polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + modelProperties: { + ...SecretParameters.type.modelProperties + } + } +}; + +export const CdnManagedHttpsParameters: coreClient.CompositeMapper = { + serializedName: "Cdn", + type: { + name: "Composite", + className: "CdnManagedHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: + CustomDomainHttpsParameters.type.polymorphicDiscriminator, + modelProperties: { + ...CustomDomainHttpsParameters.type.modelProperties, + certificateSourceParameters: { + serializedName: "certificateSourceParameters", + type: { + name: "Composite", + className: "CdnCertificateSourceParameters" + } + } + } + } +}; + +export const UserManagedHttpsParameters: coreClient.CompositeMapper = { + serializedName: "AzureKeyVault", + type: { + name: "Composite", + className: "UserManagedHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: + CustomDomainHttpsParameters.type.polymorphicDiscriminator, + modelProperties: { + ...CustomDomainHttpsParameters.type.modelProperties, + certificateSourceParameters: { + serializedName: "certificateSourceParameters", + type: { + name: "Composite", + className: "KeyVaultCertificateSourceParameters" + } + } + } + } +}; + +export const EndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointProperties", + modelProperties: { + ...EndpointPropertiesUpdateParameters.type.modelProperties, + hostName: { + serializedName: "hostName", + readOnly: true, + type: { + name: "String" + } + }, + origins: { + serializedName: "origins", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeepCreatedOrigin" + } + } + } + }, + originGroups: { + serializedName: "originGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeepCreatedOriginGroup" + } + } + } + }, + customDomains: { + serializedName: "customDomains", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomDomain" + } + } + } + }, + resourceState: { + serializedName: "resourceState", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const OriginProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OriginProperties", + modelProperties: { + ...OriginUpdatePropertiesParameters.type.modelProperties, + resourceState: { + serializedName: "resourceState", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + privateEndpointStatus: { + serializedName: "privateEndpointStatus", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const OriginGroupProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OriginGroupProperties", + modelProperties: { + ...OriginGroupUpdatePropertiesParameters.type.modelProperties, + resourceState: { + serializedName: "resourceState", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const RateLimitRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RateLimitRule", modelProperties: { - ...AFDStateProperties.type.modelProperties, - parameters: { - serializedName: "parameters", + ...CustomRule.type.modelProperties, + rateLimitThreshold: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "rateLimitThreshold", + required: true, type: { - name: "Composite", - className: "SecretParameters" + name: "Number" + } + }, + rateLimitDurationInMinutes: { + constraints: { + InclusiveMaximum: 60, + InclusiveMinimum: 0 + }, + serializedName: "rateLimitDurationInMinutes", + required: true, + type: { + name: "Number" } } } } }; -export const SecurityPolicyWebApplicationFirewallParameters: coreClient.CompositeMapper = { - serializedName: "WebApplicationFirewall", +export const ManagedCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityPolicyWebApplicationFirewallParameters", - uberParent: "SecurityPolicyParameters", - polymorphicDiscriminator: - SecurityPolicyParameters.type.polymorphicDiscriminator, + className: "ManagedCertificate", modelProperties: { - ...SecurityPolicyParameters.type.modelProperties, - wafPolicy: { - serializedName: "wafPolicy", + ...Certificate.type.modelProperties + } + } +}; + +export const CustomerCertificate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomerCertificate", + modelProperties: { + ...Certificate.type.modelProperties, + secretSource: { + serializedName: "secretSource", type: { name: "Composite", className: "ResourceReference" } }, - associations: { - serializedName: "associations", + secretVersion: { + serializedName: "secretVersion", + type: { + name: "String" + } + }, + certificateAuthority: { + serializedName: "certificateAuthority", + readOnly: true, + type: { + name: "String" + } + }, + useLatestVersion: { + serializedName: "useLatestVersion", + type: { + name: "Boolean" + } + }, + subjectAlternativeNames: { + serializedName: "subjectAlternativeNames", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SecurityPolicyWebApplicationFirewallAssociation" + name: "String" } } } + }, + thumbprint: { + serializedName: "thumbprint", + readOnly: true, + type: { + name: "String" + } } } } }; -export const UrlSigningKeyParameters: coreClient.CompositeMapper = { - serializedName: "UrlSigningKey", +export const AzureFirstPartyManagedCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UrlSigningKeyParameters", - uberParent: "SecretParameters", - polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + className: "AzureFirstPartyManagedCertificate", modelProperties: { - ...SecretParameters.type.modelProperties, - keyId: { - serializedName: "keyId", - required: true, + ...Certificate.type.modelProperties + } + } +}; + +export const AFDDomain: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AFDDomain", + modelProperties: { + ...ProxyResource.type.modelProperties, + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { name: "String" } }, - secretSource: { - serializedName: "secretSource", + tlsSettings: { + serializedName: "properties.tlsSettings", + type: { + name: "Composite", + className: "AFDDomainHttpsParameters" + } + }, + azureDnsZone: { + serializedName: "properties.azureDnsZone", type: { name: "Composite", className: "ResourceReference" } }, - secretVersion: { - serializedName: "secretVersion", + preValidatedCustomDomainResourceId: { + serializedName: "properties.preValidatedCustomDomainResourceId", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, + type: { + name: "String" + } + }, + domainValidationState: { + serializedName: "properties.domainValidationState", + readOnly: true, type: { name: "String" } + }, + hostName: { + serializedName: "properties.hostName", + type: { + name: "String" + } + }, + validationProperties: { + serializedName: "properties.validationProperties", + type: { + name: "Composite", + className: "DomainValidationProperties" + } } } } }; -export const ManagedCertificateParameters: coreClient.CompositeMapper = { - serializedName: "ManagedCertificate", +export const AFDOriginGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedCertificateParameters", - uberParent: "SecretParameters", - polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + className: "AFDOriginGroup", modelProperties: { - ...SecretParameters.type.modelProperties + ...ProxyResource.type.modelProperties, + profileName: { + serializedName: "properties.profileName", + readOnly: true, + type: { + name: "String" + } + }, + loadBalancingSettings: { + serializedName: "properties.loadBalancingSettings", + type: { + name: "Composite", + className: "LoadBalancingSettingsParameters" + } + }, + healthProbeSettings: { + serializedName: "properties.healthProbeSettings", + type: { + name: "Composite", + className: "HealthProbeParameters" + } + }, + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: + "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + type: { + name: "Number" + } + }, + responseBasedAfdOriginErrorDetectionSettings: { + serializedName: + "properties.responseBasedAfdOriginErrorDetectionSettings", + type: { + name: "Composite", + className: "ResponseBasedOriginErrorDetectionParameters" + } + }, + sessionAffinityState: { + serializedName: "properties.sessionAffinityState", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, + type: { + name: "String" + } + } } } }; -export const CustomerCertificateParameters: coreClient.CompositeMapper = { - serializedName: "CustomerCertificate", +export const AFDOrigin: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomerCertificateParameters", - uberParent: "SecretParameters", - polymorphicDiscriminator: SecretParameters.type.polymorphicDiscriminator, + className: "AFDOrigin", modelProperties: { - ...SecretParameters.type.modelProperties, - secretSource: { - serializedName: "secretSource", + ...ProxyResource.type.modelProperties, + originGroupName: { + serializedName: "properties.originGroupName", + readOnly: true, + type: { + name: "String" + } + }, + azureOrigin: { + serializedName: "properties.azureOrigin", type: { name: "Composite", className: "ResourceReference" } }, - secretVersion: { - serializedName: "secretVersion", + hostName: { + serializedName: "properties.hostName", type: { name: "String" } }, - certificateAuthority: { - serializedName: "certificateAuthority", + httpPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpPort", type: { - name: "String" + name: "Number" } }, - useLatestVersion: { - serializedName: "useLatestVersion", + httpsPort: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.httpsPort", type: { - name: "Boolean" + name: "Number" } }, - subjectAlternativeNames: { - serializedName: "subjectAlternativeNames", + originHostHeader: { + serializedName: "properties.originHostHeader", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const RateLimitRule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RateLimitRule", - modelProperties: { - ...CustomRule.type.modelProperties, - rateLimitThreshold: { + }, + priority: { constraints: { - InclusiveMinimum: 0 + InclusiveMaximum: 5, + InclusiveMinimum: 1 }, - serializedName: "rateLimitThreshold", - required: true, + serializedName: "properties.priority", type: { name: "Number" } }, - rateLimitDurationInMinutes: { + weight: { constraints: { - InclusiveMaximum: 60, - InclusiveMinimum: 0 + InclusiveMaximum: 1000, + InclusiveMinimum: 1 }, - serializedName: "rateLimitDurationInMinutes", - required: true, + serializedName: "properties.weight", type: { name: "Number" } - } - } - } -}; - -export const ManagedCertificate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedCertificate", - modelProperties: { - ...Certificate.type.modelProperties - } - } -}; - -export const CustomerCertificate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomerCertificate", - modelProperties: { - ...Certificate.type.modelProperties, - version: { - serializedName: "version", + }, + sharedPrivateLinkResource: { + serializedName: "properties.sharedPrivateLinkResource", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - certificateAuthority: { - serializedName: "certificateAuthority", + enabledState: { + serializedName: "properties.enabledState", type: { name: "String" } }, - certificateUrl: { - serializedName: "certificateUrl", - required: true, + enforceCertificateNameCheck: { + serializedName: "properties.enforceCertificateNameCheck", type: { - name: "String" + name: "Boolean" } }, - useLatestVersion: { - serializedName: "useLatestVersion", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - subjectAlternativeNames: { - serializedName: "subjectAlternativeNames", + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const Profile: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Profile", + className: "Route", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - resourceState: { - serializedName: "properties.resourceState", + ...ProxyResource.type.modelProperties, + endpointName: { + serializedName: "properties.endpointName", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + customDomains: { + serializedName: "properties.customDomains", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivatedResourceReference" + } + } } }, - frontdoorId: { - serializedName: "properties.frontdoorId", - readOnly: true, + originGroup: { + serializedName: "properties.originGroup", type: { - name: "String" + name: "Composite", + className: "ResourceReference" } - } - } - } -}; - -export const Endpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Endpoint", - modelProperties: { - ...TrackedResource.type.modelProperties, + }, originPath: { serializedName: "properties.originPath", type: { name: "String" } }, - contentTypesToCompress: { - serializedName: "properties.contentTypesToCompress", + ruleSets: { + serializedName: "properties.ruleSets", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ResourceReference" } } } }, - originHostHeader: { - serializedName: "properties.originHostHeader", + supportedProtocols: { + serializedName: "properties.supportedProtocols", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - isCompressionEnabled: { - serializedName: "properties.isCompressionEnabled", + patternsToMatch: { + serializedName: "properties.patternsToMatch", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - isHttpAllowed: { - serializedName: "properties.isHttpAllowed", + cacheConfiguration: { + serializedName: "properties.cacheConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "AfdRouteCacheConfiguration" } }, - isHttpsAllowed: { - serializedName: "properties.isHttpsAllowed", + forwardingProtocol: { + serializedName: "properties.forwardingProtocol", type: { - name: "Boolean" + name: "String" } }, - queryStringCachingBehavior: { - serializedName: "properties.queryStringCachingBehavior", + linkToDefaultDomain: { + serializedName: "properties.linkToDefaultDomain", type: { - name: "Enum", - allowedValues: [ - "IgnoreQueryString", - "BypassCaching", - "UseQueryString", - "NotSet" - ] + name: "String" } }, - optimizationType: { - serializedName: "properties.optimizationType", + httpsRedirect: { + serializedName: "properties.httpsRedirect", type: { name: "String" } }, - probePath: { - serializedName: "properties.probePath", + enabledState: { + serializedName: "properties.enabledState", type: { name: "String" } }, - geoFilters: { - serializedName: "properties.geoFilters", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoFilter" - } - } + name: "String" } }, - defaultOriginGroup: { - serializedName: "properties.defaultOriginGroup", + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const RuleSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RuleSet", + modelProperties: { + ...ProxyResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ResourceReference" + name: "String" } }, - urlSigningKeys: { - serializedName: "properties.urlSigningKeys", + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UrlSigningKey" - } - } + name: "String" } }, - deliveryPolicy: { - serializedName: "properties.deliveryPolicy", + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { - name: "Composite", - className: "EndpointPropertiesUpdateParametersDeliveryPolicy" + name: "String" } - }, - webApplicationFirewallPolicyLink: { - serializedName: "properties.webApplicationFirewallPolicyLink", + } + } + } +}; + +export const Rule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Rule", + modelProperties: { + ...ProxyResource.type.modelProperties, + ruleSetName: { + serializedName: "properties.ruleSetName", + readOnly: true, type: { - name: "Composite", - className: - "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" + name: "String" } }, - hostName: { - serializedName: "properties.hostName", - readOnly: true, + order: { + serializedName: "properties.order", type: { - name: "String" + name: "Number" } }, - origins: { - serializedName: "properties.origins", + conditions: { + serializedName: "properties.conditions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DeepCreatedOrigin" + className: "DeliveryRuleCondition" } } } }, - originGroups: { - serializedName: "properties.originGroups", + actions: { + serializedName: "properties.actions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DeepCreatedOriginGroup" + className: "DeliveryRuleActionAutoGenerated" } } } }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, + matchProcessingBehavior: { + serializedName: "properties.matchProcessingBehavior", type: { name: "String" } @@ -6724,32 +8029,62 @@ export const Endpoint: coreClient.CompositeMapper = { type: { name: "String" } + }, + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, + type: { + name: "String" + } } } } }; -export const AFDEndpoint: coreClient.CompositeMapper = { +export const SecurityPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDEndpoint", + className: "SecurityPolicy", modelProperties: { - ...TrackedResource.type.modelProperties, - originResponseTimeoutSeconds: { - constraints: { - InclusiveMinimum: 16 - }, - serializedName: "properties.originResponseTimeoutSeconds", + ...ProxyResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } }, - enabledState: { - serializedName: "properties.enabledState", + deploymentStatus: { + serializedName: "properties.deploymentStatus", + readOnly: true, + type: { + name: "String" + } + }, + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { name: "String" } }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Composite", + className: "SecurityPolicyParameters" + } + } + } + } +}; + +export const Secret: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Secret", + modelProperties: { + ...ProxyResource.type.modelProperties, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -6764,75 +8099,68 @@ export const AFDEndpoint: coreClient.CompositeMapper = { name: "String" } }, - hostName: { - serializedName: "properties.hostName", + profileName: { + serializedName: "properties.profileName", readOnly: true, type: { name: "String" } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Composite", + className: "SecretParameters" + } } } } }; -export const CdnWebApplicationFirewallPolicy: coreClient.CompositeMapper = { +export const CustomDomain: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CdnWebApplicationFirewallPolicy", + className: "CustomDomain", modelProperties: { - ...TrackedResource.type.modelProperties, - etag: { - serializedName: "etag", + ...ProxyResource.type.modelProperties, + hostName: { + serializedName: "properties.hostName", type: { name: "String" } }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - policySettings: { - serializedName: "properties.policySettings", + resourceState: { + serializedName: "properties.resourceState", + readOnly: true, type: { - name: "Composite", - className: "PolicySettings" + name: "String" } }, - rateLimitRules: { - serializedName: "properties.rateLimitRules", + customHttpsProvisioningState: { + serializedName: "properties.customHttpsProvisioningState", + readOnly: true, type: { - name: "Composite", - className: "RateLimitRuleList" + name: "String" } }, - customRules: { - serializedName: "properties.customRules", + customHttpsProvisioningSubstate: { + serializedName: "properties.customHttpsProvisioningSubstate", + readOnly: true, type: { - name: "Composite", - className: "CustomRuleList" + name: "String" } }, - managedRules: { - serializedName: "properties.managedRules", + customHttpsParameters: { + serializedName: "properties.customHttpsParameters", type: { name: "Composite", - className: "ManagedRuleSetList" + className: "CustomDomainHttpsParameters" } }, - endpointLinks: { - serializedName: "properties.endpointLinks", - readOnly: true, + validationData: { + serializedName: "properties.validationData", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CdnEndpoint" - } - } + name: "String" } }, provisioningState: { @@ -6841,13 +8169,6 @@ export const CdnWebApplicationFirewallPolicy: coreClient.CompositeMapper = { type: { name: "String" } - }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, - type: { - name: "String" - } } } } @@ -6955,69 +8276,8 @@ export const Origin: coreClient.CompositeMapper = { name: "String" } }, - privateEndpointStatus: { - serializedName: "properties.privateEndpointStatus", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const OriginGroup: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OriginGroup", - modelProperties: { - ...ProxyResource.type.modelProperties, - healthProbeSettings: { - serializedName: "properties.healthProbeSettings", - type: { - name: "Composite", - className: "HealthProbeParameters" - } - }, - origins: { - serializedName: "properties.origins", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } - } - }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: - "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", - type: { - name: "Number" - } - }, - responseBasedOriginErrorDetectionSettings: { - serializedName: "properties.responseBasedOriginErrorDetectionSettings", - type: { - name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" - } - }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", + privateEndpointStatus: { + serializedName: "properties.privateEndpointStatus", readOnly: true, type: { name: "String" @@ -7027,48 +8287,52 @@ export const OriginGroup: coreClient.CompositeMapper = { } }; -export const CustomDomain: coreClient.CompositeMapper = { +export const OriginGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomain", + className: "OriginGroup", modelProperties: { ...ProxyResource.type.modelProperties, - hostName: { - serializedName: "properties.hostName", - type: { - name: "String" - } - }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, + healthProbeSettings: { + serializedName: "properties.healthProbeSettings", type: { - name: "String" + name: "Composite", + className: "HealthProbeParameters" } }, - customHttpsProvisioningState: { - serializedName: "properties.customHttpsProvisioningState", - readOnly: true, + origins: { + serializedName: "properties.origins", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceReference" + } + } } }, - customHttpsProvisioningSubstate: { - serializedName: "properties.customHttpsProvisioningSubstate", - readOnly: true, + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 0 + }, + serializedName: + "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", type: { - name: "String" + name: "Number" } }, - customHttpsParameters: { - serializedName: "properties.customHttpsParameters", + responseBasedOriginErrorDetectionSettings: { + serializedName: "properties.responseBasedOriginErrorDetectionSettings", type: { name: "Composite", - className: "CustomDomainHttpsParameters" + className: "ResponseBasedOriginErrorDetectionParameters" } }, - validationData: { - serializedName: "properties.validationData", + resourceState: { + serializedName: "properties.resourceState", + readOnly: true, type: { name: "String" } @@ -7106,24 +8370,33 @@ export const EdgeNode: coreClient.CompositeMapper = { } }; -export const AFDDomain: coreClient.CompositeMapper = { +export const AFDEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDDomain", + className: "AFDEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties, - tlsSettings: { - serializedName: "properties.tlsSettings", + ...TrackedResource.type.modelProperties, + profileName: { + serializedName: "properties.profileName", + readOnly: true, type: { - name: "Composite", - className: "AFDDomainHttpsParameters" + name: "String" } }, - azureDnsZone: { - serializedName: "properties.azureDnsZone", + enabledState: { + serializedName: "properties.enabledState", type: { - name: "Composite", - className: "ResourceReference" + name: "String" + } + }, + originResponseTimeoutSeconds: { + constraints: { + InclusiveMaximum: 240, + InclusiveMinimum: 16 + }, + serializedName: "properties.originResponseTimeoutSeconds", + type: { + name: "Number" } }, provisioningState: { @@ -7140,73 +8413,42 @@ export const AFDDomain: coreClient.CompositeMapper = { name: "String" } }, - domainValidationState: { - serializedName: "properties.domainValidationState", - readOnly: true, - type: { - name: "String" - } - }, hostName: { serializedName: "properties.hostName", + readOnly: true, type: { name: "String" } - }, - validationProperties: { - serializedName: "properties.validationProperties", - type: { - name: "Composite", - className: "DomainValidationProperties" - } } } } }; -export const AFDOriginGroup: coreClient.CompositeMapper = { +export const Profile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AFDOriginGroup", + className: "Profile", modelProperties: { - ...ProxyResource.type.modelProperties, - loadBalancingSettings: { - serializedName: "properties.loadBalancingSettings", - type: { - name: "Composite", - className: "LoadBalancingSettingsParameters" - } - }, - healthProbeSettings: { - serializedName: "properties.healthProbeSettings", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { name: "Composite", - className: "HealthProbeParameters" + className: "Sku" } }, - trafficRestorationTimeToHealedOrNewEndpointsInMinutes: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 0 - }, - serializedName: - "properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes", + resourceState: { + serializedName: "properties.resourceState", + readOnly: true, type: { - name: "Number" + name: "String" } }, - responseBasedAfdOriginErrorDetectionSettings: { - serializedName: - "properties.responseBasedAfdOriginErrorDetectionSettings", + identity: { + serializedName: "properties.identity", type: { name: "Composite", - className: "ResponseBasedOriginErrorDetectionParameters" - } - }, - sessionAffinityState: { - serializedName: "properties.sessionAffinityState", - type: { - name: "String" + className: "ManagedServiceIdentity" } }, provisioningState: { @@ -7216,309 +8458,203 @@ export const AFDOriginGroup: coreClient.CompositeMapper = { name: "String" } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", + frontDoorId: { + serializedName: "properties.frontDoorId", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const AFDOrigin: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AFDOrigin", - modelProperties: { - ...ProxyResource.type.modelProperties, - azureOrigin: { - serializedName: "properties.azureOrigin", - type: { - name: "Composite", - className: "ResourceReference" - } - }, - hostName: { - serializedName: "properties.hostName", - type: { - name: "String" - } - }, - httpPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpPort", - type: { - name: "Number" - } - }, - httpsPort: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.httpsPort", - type: { - name: "Number" - } }, - originHostHeader: { - serializedName: "properties.originHostHeader", + kind: { + serializedName: "properties.kind", + readOnly: true, type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 5, - InclusiveMinimum: 1 - }, - serializedName: "properties.priority", - type: { - name: "Number" - } - }, - weight: { + originResponseTimeoutSeconds: { constraints: { - InclusiveMaximum: 1000, - InclusiveMinimum: 1 + InclusiveMinimum: 16 }, - serializedName: "properties.weight", + serializedName: "properties.originResponseTimeoutSeconds", type: { name: "Number" } - }, - sharedPrivateLinkResource: { - serializedName: "properties.sharedPrivateLinkResource", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - enabledState: { - serializedName: "properties.enabledState", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", - readOnly: true, - type: { - name: "String" - } } } } }; -export const Route: coreClient.CompositeMapper = { +export const Endpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "Endpoint", modelProperties: { - ...ProxyResource.type.modelProperties, - customDomains: { - serializedName: "properties.customDomains", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceReference" - } - } - } - }, - originGroup: { - serializedName: "properties.originGroup", - type: { - name: "Composite", - className: "ResourceReference" - } - }, + ...TrackedResource.type.modelProperties, originPath: { serializedName: "properties.originPath", type: { name: "String" } }, - ruleSets: { - serializedName: "properties.ruleSets", + contentTypesToCompress: { + serializedName: "properties.contentTypesToCompress", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ResourceReference" + name: "String" } } } }, - supportedProtocols: { - serializedName: "properties.supportedProtocols", + originHostHeader: { + serializedName: "properties.originHostHeader", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - patternsToMatch: { - serializedName: "properties.patternsToMatch", + isCompressionEnabled: { + serializedName: "properties.isCompressionEnabled", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - compressionSettings: { - serializedName: "properties.compressionSettings", + isHttpAllowed: { + serializedName: "properties.isHttpAllowed", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Boolean" + } + }, + isHttpsAllowed: { + serializedName: "properties.isHttpsAllowed", + type: { + name: "Boolean" } }, queryStringCachingBehavior: { serializedName: "properties.queryStringCachingBehavior", type: { name: "Enum", - allowedValues: ["IgnoreQueryString", "UseQueryString", "NotSet"] + allowedValues: [ + "IgnoreQueryString", + "BypassCaching", + "UseQueryString", + "NotSet" + ] } }, - forwardingProtocol: { - serializedName: "properties.forwardingProtocol", + optimizationType: { + serializedName: "properties.optimizationType", type: { name: "String" } }, - linkToDefaultDomain: { - serializedName: "properties.linkToDefaultDomain", + probePath: { + serializedName: "properties.probePath", type: { name: "String" } }, - httpsRedirect: { - serializedName: "properties.httpsRedirect", + geoFilters: { + serializedName: "properties.geoFilters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GeoFilter" + } + } } }, - enabledState: { - serializedName: "properties.enabledState", + defaultOriginGroup: { + serializedName: "properties.defaultOriginGroup", type: { - name: "String" + name: "Composite", + className: "ResourceReference" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + urlSigningKeys: { + serializedName: "properties.urlSigningKeys", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UrlSigningKey" + } + } } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", - readOnly: true, + deliveryPolicy: { + serializedName: "properties.deliveryPolicy", type: { - name: "String" + name: "Composite", + className: "EndpointPropertiesUpdateParametersDeliveryPolicy" } - } - } - } -}; - -export const RuleSet: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RuleSet", - modelProperties: { - ...ProxyResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + }, + webApplicationFirewallPolicyLink: { + serializedName: "properties.webApplicationFirewallPolicyLink", type: { - name: "String" + name: "Composite", + className: + "EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink" } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", + hostName: { + serializedName: "properties.hostName", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const Rule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Rule", - modelProperties: { - ...ProxyResource.type.modelProperties, - order: { - serializedName: "properties.order", - type: { - name: "Number" - } }, - conditions: { - serializedName: "properties.conditions", + origins: { + serializedName: "properties.origins", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DeliveryRuleCondition" + className: "DeepCreatedOrigin" } } } }, - actions: { - serializedName: "properties.actions", + originGroups: { + serializedName: "properties.originGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DeliveryRuleActionAutoGenerated" + className: "DeepCreatedOriginGroup" } } } }, - matchProcessingBehavior: { - serializedName: "properties.matchProcessingBehavior", + customDomains: { + serializedName: "properties.customDomains", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomDomain" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + resourceState: { + serializedName: "properties.resourceState", readOnly: true, type: { name: "String" } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" @@ -7528,62 +8664,78 @@ export const Rule: coreClient.CompositeMapper = { } }; -export const SecurityPolicy: coreClient.CompositeMapper = { +export const CdnWebApplicationFirewallPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityPolicy", + className: "CdnWebApplicationFirewallPolicy", modelProperties: { - ...ProxyResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + ...TrackedResource.type.modelProperties, + etag: { + serializedName: "etag", type: { name: "String" } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", - readOnly: true, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - parameters: { - serializedName: "properties.parameters", + policySettings: { + serializedName: "properties.policySettings", type: { name: "Composite", - className: "SecurityPolicyParameters" + className: "PolicySettings" } - } - } - } -}; - -export const Secret: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Secret", - modelProperties: { - ...ProxyResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", + }, + rateLimitRules: { + serializedName: "properties.rateLimitRules", + type: { + name: "Composite", + className: "RateLimitRuleList" + } + }, + customRules: { + serializedName: "properties.customRules", + type: { + name: "Composite", + className: "CustomRuleList" + } + }, + managedRules: { + serializedName: "properties.managedRules", + type: { + name: "Composite", + className: "ManagedRuleSetList" + } + }, + endpointLinks: { + serializedName: "properties.endpointLinks", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CdnEndpoint" + } + } } }, - deploymentStatus: { - serializedName: "properties.deploymentStatus", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + resourceState: { + serializedName: "properties.resourceState", + readOnly: true, type: { - name: "Composite", - className: "SecretParameters" + name: "String" } } } @@ -7593,9 +8745,9 @@ export const Secret: coreClient.CompositeMapper = { export let discriminators = { DeliveryRuleCondition: DeliveryRuleCondition, DeliveryRuleActionAutoGenerated: DeliveryRuleActionAutoGenerated, - CustomDomainHttpsParameters: CustomDomainHttpsParameters, SecurityPolicyParameters: SecurityPolicyParameters, SecretParameters: SecretParameters, + CustomDomainHttpsParameters: CustomDomainHttpsParameters, "DeliveryRuleCondition.RemoteAddress": DeliveryRuleRemoteAddressCondition, "DeliveryRuleCondition.RequestMethod": DeliveryRuleRequestMethodCondition, "DeliveryRuleCondition.QueryString": DeliveryRuleQueryStringCondition, @@ -7610,6 +8762,11 @@ export let discriminators = { "DeliveryRuleCondition.HttpVersion": DeliveryRuleHttpVersionCondition, "DeliveryRuleCondition.Cookies": DeliveryRuleCookiesCondition, "DeliveryRuleCondition.IsDevice": DeliveryRuleIsDeviceCondition, + "DeliveryRuleCondition.SocketAddr": DeliveryRuleSocketAddrCondition, + "DeliveryRuleCondition.ClientPort": DeliveryRuleClientPortCondition, + "DeliveryRuleCondition.ServerPort": DeliveryRuleServerPortCondition, + "DeliveryRuleCondition.HostName": DeliveryRuleHostNameCondition, + "DeliveryRuleCondition.SslProtocol": DeliveryRuleSslProtocolCondition, "DeliveryRuleActionAutoGenerated.UrlRedirect": UrlRedirectAction, "DeliveryRuleActionAutoGenerated.UrlSigning": UrlSigningAction, "DeliveryRuleActionAutoGenerated.OriginGroupOverride": OriginGroupOverrideAction, @@ -7618,10 +8775,12 @@ export let discriminators = { "DeliveryRuleActionAutoGenerated.ModifyResponseHeader": DeliveryRuleResponseHeaderAction, "DeliveryRuleActionAutoGenerated.CacheExpiration": DeliveryRuleCacheExpirationAction, "DeliveryRuleActionAutoGenerated.CacheKeyQueryString": DeliveryRuleCacheKeyQueryStringAction, - "CustomDomainHttpsParameters.Cdn": CdnManagedHttpsParameters, - "CustomDomainHttpsParameters.AzureKeyVault": UserManagedHttpsParameters, + "DeliveryRuleActionAutoGenerated.RouteConfigurationOverride": DeliveryRuleRouteConfigurationOverrideAction, "SecurityPolicyParameters.WebApplicationFirewall": SecurityPolicyWebApplicationFirewallParameters, "SecretParameters.UrlSigningKey": UrlSigningKeyParameters, "SecretParameters.ManagedCertificate": ManagedCertificateParameters, - "SecretParameters.CustomerCertificate": CustomerCertificateParameters + "SecretParameters.CustomerCertificate": CustomerCertificateParameters, + "SecretParameters.AzureFirstPartyManagedCertificate": AzureFirstPartyManagedCertificateParameters, + "CustomDomainHttpsParameters.Cdn": CdnManagedHttpsParameters, + "CustomDomainHttpsParameters.AzureKeyVault": UserManagedHttpsParameters }; diff --git a/sdk/cdn/arm-cdn/src/models/parameters.ts b/sdk/cdn/arm-cdn/src/models/parameters.ts index 7cad3c163497..c9117f1003db 100644 --- a/sdk/cdn/arm-cdn/src/models/parameters.ts +++ b/sdk/cdn/arm-cdn/src/models/parameters.ts @@ -12,26 +12,13 @@ import { OperationQueryParameter } from "@azure/core-client"; import { - Profile as ProfileMapper, - ProfileUpdateParameters as ProfileUpdateParametersMapper, - Endpoint as EndpointMapper, - EndpointUpdateParameters as EndpointUpdateParametersMapper, - PurgeParameters as PurgeParametersMapper, - LoadParameters as LoadParametersMapper, - ValidateCustomDomainInput as ValidateCustomDomainInputMapper, - Origin as OriginMapper, - OriginUpdateParameters as OriginUpdateParametersMapper, - OriginGroup as OriginGroupMapper, - OriginGroupUpdateParameters as OriginGroupUpdateParametersMapper, - CustomDomainParameters as CustomDomainParametersMapper, - CustomDomainHttpsParameters as CustomDomainHttpsParametersMapper, - CheckNameAvailabilityInput as CheckNameAvailabilityInputMapper, - ValidateProbeInput as ValidateProbeInputMapper, + CheckHostNameAvailabilityInput as CheckHostNameAvailabilityInputMapper, AFDDomain as AFDDomainMapper, AFDDomainUpdateParameters as AFDDomainUpdateParametersMapper, AFDEndpoint as AFDEndpointMapper, AFDEndpointUpdateParameters as AFDEndpointUpdateParametersMapper, AfdPurgeParameters as AfdPurgeParametersMapper, + ValidateCustomDomainInput as ValidateCustomDomainInputMapper, AFDOriginGroup as AFDOriginGroupMapper, AFDOriginGroupUpdateParameters as AFDOriginGroupUpdateParametersMapper, AFDOrigin as AFDOriginMapper, @@ -43,8 +30,21 @@ import { SecurityPolicy as SecurityPolicyMapper, SecurityPolicyProperties as SecurityPolicyPropertiesMapper, Secret as SecretMapper, - SecretProperties as SecretPropertiesMapper, ValidateSecretInput as ValidateSecretInputMapper, + Profile as ProfileMapper, + ProfileUpdateParameters as ProfileUpdateParametersMapper, + Endpoint as EndpointMapper, + EndpointUpdateParameters as EndpointUpdateParametersMapper, + PurgeParameters as PurgeParametersMapper, + LoadParameters as LoadParametersMapper, + Origin as OriginMapper, + OriginUpdateParameters as OriginUpdateParametersMapper, + OriginGroup as OriginGroupMapper, + OriginGroupUpdateParameters as OriginGroupUpdateParametersMapper, + CustomDomainParameters as CustomDomainParametersMapper, + CustomDomainHttpsParameters as CustomDomainHttpsParametersMapper, + CheckNameAvailabilityInput as CheckNameAvailabilityInputMapper, + ValidateProbeInput as ValidateProbeInputMapper, CdnWebApplicationFirewallPolicy as CdnWebApplicationFirewallPolicyMapper, CdnWebApplicationFirewallPolicyPatchParameters as CdnWebApplicationFirewallPolicyPatchParametersMapper } from "../models/mappers"; @@ -73,10 +73,15 @@ export const $host: OperationURLParameter = { skipEncoding: true }; -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - serializedName: "subscriptionId", + constraints: { + Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"), + MaxLength: 90, + MinLength: 1 + }, + serializedName: "resourceGroupName", required: true, type: { name: "String" @@ -84,27 +89,21 @@ export const subscriptionId: OperationURLParameter = { } }; -export const apiVersion: OperationQueryParameter = { - parameterPath: "apiVersion", +export const profileName: OperationURLParameter = { + parameterPath: "profileName", mapper: { - defaultValue: "2020-09-01", - isConstant: true, - serializedName: "api-version", + serializedName: "profileName", + required: true, type: { name: "String" } } }; -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"), - MaxLength: 90, - MinLength: 1 - }, - serializedName: "resourceGroupName", + serializedName: "subscriptionId", required: true, type: { name: "String" @@ -112,11 +111,12 @@ export const resourceGroupName: OperationURLParameter = { } }; -export const profileName: OperationURLParameter = { - parameterPath: "profileName", +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { - serializedName: "profileName", - required: true, + defaultValue: "2021-06-01", + isConstant: true, + serializedName: "api-version", type: { name: "String" } @@ -135,14 +135,9 @@ export const contentType: OperationParameter = { } }; -export const profile: OperationParameter = { - parameterPath: "profile", - mapper: ProfileMapper -}; - -export const profileUpdateParameters: OperationParameter = { - parameterPath: "profileUpdateParameters", - mapper: ProfileUpdateParametersMapper +export const checkHostNameAvailabilityInput: OperationParameter = { + parameterPath: "checkHostNameAvailabilityInput", + mapper: CheckHostNameAvailabilityInputMapper }; export const nextLink: OperationURLParameter = { @@ -157,6 +152,27 @@ export const nextLink: OperationURLParameter = { skipEncoding: true }; +export const customDomainName: OperationURLParameter = { + parameterPath: "customDomainName", + mapper: { + serializedName: "customDomainName", + required: true, + type: { + name: "String" + } + } +}; + +export const customDomain: OperationParameter = { + parameterPath: "customDomain", + mapper: AFDDomainMapper +}; + +export const customDomainUpdateProperties: OperationParameter = { + parameterPath: "customDomainUpdateProperties", + mapper: AFDDomainUpdateParametersMapper +}; + export const endpointName: OperationURLParameter = { parameterPath: "endpointName", mapper: { @@ -170,22 +186,17 @@ export const endpointName: OperationURLParameter = { export const endpoint: OperationParameter = { parameterPath: "endpoint", - mapper: EndpointMapper + mapper: AFDEndpointMapper }; export const endpointUpdateProperties: OperationParameter = { parameterPath: "endpointUpdateProperties", - mapper: EndpointUpdateParametersMapper -}; - -export const contentFilePaths: OperationParameter = { - parameterPath: "contentFilePaths", - mapper: PurgeParametersMapper + mapper: AFDEndpointUpdateParametersMapper }; -export const contentFilePaths1: OperationParameter = { - parameterPath: "contentFilePaths", - mapper: LoadParametersMapper +export const contents: OperationParameter = { + parameterPath: "contents", + mapper: AfdPurgeParametersMapper }; export const customDomainProperties: OperationParameter = { @@ -193,27 +204,6 @@ export const customDomainProperties: OperationParameter = { mapper: ValidateCustomDomainInputMapper }; -export const originName: OperationURLParameter = { - parameterPath: "originName", - mapper: { - serializedName: "originName", - required: true, - type: { - name: "String" - } - } -}; - -export const origin: OperationParameter = { - parameterPath: "origin", - mapper: OriginMapper -}; - -export const originUpdateProperties: OperationParameter = { - parameterPath: "originUpdateProperties", - mapper: OriginUpdateParametersMapper -}; - export const originGroupName: OperationURLParameter = { parameterPath: "originGroupName", mapper: { @@ -227,18 +217,18 @@ export const originGroupName: OperationURLParameter = { export const originGroup: OperationParameter = { parameterPath: "originGroup", - mapper: OriginGroupMapper + mapper: AFDOriginGroupMapper }; export const originGroupUpdateProperties: OperationParameter = { parameterPath: "originGroupUpdateProperties", - mapper: OriginGroupUpdateParametersMapper + mapper: AFDOriginGroupUpdateParametersMapper }; -export const customDomainName: OperationURLParameter = { - parameterPath: "customDomainName", +export const originName: OperationURLParameter = { + parameterPath: "originName", mapper: { - serializedName: "customDomainName", + serializedName: "originName", required: true, type: { name: "String" @@ -246,72 +236,12 @@ export const customDomainName: OperationURLParameter = { } }; -export const customDomainProperties1: OperationParameter = { - parameterPath: "customDomainProperties", - mapper: CustomDomainParametersMapper -}; - -export const customDomainHttpsParameters: OperationParameter = { - parameterPath: ["options", "customDomainHttpsParameters"], - mapper: CustomDomainHttpsParametersMapper -}; - -export const checkNameAvailabilityInput: OperationParameter = { - parameterPath: "checkNameAvailabilityInput", - mapper: CheckNameAvailabilityInputMapper -}; - -export const validateProbeInput: OperationParameter = { - parameterPath: "validateProbeInput", - mapper: ValidateProbeInputMapper -}; - -export const checkHostNameAvailabilityInput: OperationParameter = { - parameterPath: "checkHostNameAvailabilityInput", - mapper: ValidateCustomDomainInputMapper -}; - -export const customDomain: OperationParameter = { - parameterPath: "customDomain", - mapper: AFDDomainMapper -}; - -export const customDomainUpdateProperties: OperationParameter = { - parameterPath: "customDomainUpdateProperties", - mapper: AFDDomainUpdateParametersMapper -}; - -export const endpoint1: OperationParameter = { - parameterPath: "endpoint", - mapper: AFDEndpointMapper -}; - -export const endpointUpdateProperties1: OperationParameter = { - parameterPath: "endpointUpdateProperties", - mapper: AFDEndpointUpdateParametersMapper -}; - -export const contents: OperationParameter = { - parameterPath: "contents", - mapper: AfdPurgeParametersMapper -}; - -export const originGroup1: OperationParameter = { - parameterPath: "originGroup", - mapper: AFDOriginGroupMapper -}; - -export const originGroupUpdateProperties1: OperationParameter = { - parameterPath: "originGroupUpdateProperties", - mapper: AFDOriginGroupUpdateParametersMapper -}; - -export const origin1: OperationParameter = { +export const origin: OperationParameter = { parameterPath: "origin", mapper: AFDOriginMapper }; -export const originUpdateProperties1: OperationParameter = { +export const originUpdateProperties: OperationParameter = { parameterPath: "originUpdateProperties", mapper: AFDOriginUpdateParametersMapper }; @@ -406,11 +336,6 @@ export const secret: OperationParameter = { mapper: SecretMapper }; -export const secretProperties: OperationParameter = { - parameterPath: "secretProperties", - mapper: SecretPropertiesMapper -}; - export const validateSecretInput: OperationParameter = { parameterPath: "validateSecretInput", mapper: ValidateSecretInputMapper @@ -702,6 +627,76 @@ export const rankings1: OperationQueryParameter = { collectionFormat: "Multi" }; +export const profile: OperationParameter = { + parameterPath: "profile", + mapper: ProfileMapper +}; + +export const profileUpdateParameters: OperationParameter = { + parameterPath: "profileUpdateParameters", + mapper: ProfileUpdateParametersMapper +}; + +export const endpoint1: OperationParameter = { + parameterPath: "endpoint", + mapper: EndpointMapper +}; + +export const endpointUpdateProperties1: OperationParameter = { + parameterPath: "endpointUpdateProperties", + mapper: EndpointUpdateParametersMapper +}; + +export const contentFilePaths: OperationParameter = { + parameterPath: "contentFilePaths", + mapper: PurgeParametersMapper +}; + +export const contentFilePaths1: OperationParameter = { + parameterPath: "contentFilePaths", + mapper: LoadParametersMapper +}; + +export const origin1: OperationParameter = { + parameterPath: "origin", + mapper: OriginMapper +}; + +export const originUpdateProperties1: OperationParameter = { + parameterPath: "originUpdateProperties", + mapper: OriginUpdateParametersMapper +}; + +export const originGroup1: OperationParameter = { + parameterPath: "originGroup", + mapper: OriginGroupMapper +}; + +export const originGroupUpdateProperties1: OperationParameter = { + parameterPath: "originGroupUpdateProperties", + mapper: OriginGroupUpdateParametersMapper +}; + +export const customDomainProperties1: OperationParameter = { + parameterPath: "customDomainProperties", + mapper: CustomDomainParametersMapper +}; + +export const customDomainHttpsParameters: OperationParameter = { + parameterPath: ["options", "customDomainHttpsParameters"], + mapper: CustomDomainHttpsParametersMapper +}; + +export const checkNameAvailabilityInput: OperationParameter = { + parameterPath: "checkNameAvailabilityInput", + mapper: CheckNameAvailabilityInputMapper +}; + +export const validateProbeInput: OperationParameter = { + parameterPath: "validateProbeInput", + mapper: ValidateProbeInputMapper +}; + export const resourceGroupName1: OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { diff --git a/sdk/cdn/arm-cdn/src/operations/aFDCustomDomains.ts b/sdk/cdn/arm-cdn/src/operations/aFDCustomDomains.ts index 7d865e8f7788..b9917d1f4ec1 100644 --- a/sdk/cdn/arm-cdn/src/operations/aFDCustomDomains.ts +++ b/sdk/cdn/arm-cdn/src/operations/aFDCustomDomains.ts @@ -28,7 +28,6 @@ import { AFDCustomDomainsUpdateResponse, AFDCustomDomainsDeleteOptionalParams, AFDCustomDomainsRefreshValidationTokenOptionalParams, - AFDCustomDomainsRefreshValidationTokenResponse, AFDCustomDomainsListByProfileNextResponse } from "../models"; @@ -48,7 +47,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Lists existing AzureFrontDoor domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN + * profile which is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -119,7 +119,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Lists existing AzureFrontDoor domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN + * profile which is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -137,7 +138,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { * Gets an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -156,7 +158,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Creates a new domain within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomain Domain properties * @param options The options parameters. @@ -233,7 +236,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Creates a new domain within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomain Domain properties * @param options The options parameters. @@ -258,7 +262,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Updates an existing domain within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomainUpdateProperties Domain properties * @param options The options parameters. @@ -335,7 +340,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Updates an existing domain within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomainUpdateProperties Domain properties * @param options The options parameters. @@ -361,7 +367,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { * Deletes an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -426,7 +433,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { * Deletes an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -448,7 +456,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Updates the domain validation token. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -457,16 +466,11 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams - ): Promise< - PollerLike< - PollOperationState, - AFDCustomDomainsRefreshValidationTokenResponse - > - > { + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperation = async ( @@ -517,7 +521,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * Updates the domain validation token. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -526,7 +531,7 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams - ): Promise { + ): Promise { const poller = await this.beginRefreshValidationToken( resourceGroupName, profileName, @@ -539,7 +544,8 @@ export class AFDCustomDomainsImpl implements AFDCustomDomains { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN + * profile which is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -573,9 +579,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -595,9 +601,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.customDomainName ], headerParameters: [Parameters.accept], @@ -628,9 +634,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.customDomainName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -662,9 +668,9 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.customDomainName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -687,9 +693,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.customDomainName ], headerParameters: [Parameters.accept], @@ -700,18 +706,10 @@ const refreshValidationTokenOperationSpec: coreClient.OperationSpec = { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", httpMethod: "POST", responses: { - 200: { - bodyMapper: Mappers.ValidationToken - }, - 201: { - bodyMapper: Mappers.ValidationToken - }, - 202: { - bodyMapper: Mappers.ValidationToken - }, - 204: { - bodyMapper: Mappers.ValidationToken - }, + 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.AfdErrorResponse } @@ -719,9 +717,9 @@ const refreshValidationTokenOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.customDomainName ], headerParameters: [Parameters.accept], @@ -741,9 +739,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], diff --git a/sdk/cdn/arm-cdn/src/operations/aFDEndpoints.ts b/sdk/cdn/arm-cdn/src/operations/aFDEndpoints.ts index 6b447da3f3e7..07a59900f701 100644 --- a/sdk/cdn/arm-cdn/src/operations/aFDEndpoints.ts +++ b/sdk/cdn/arm-cdn/src/operations/aFDEndpoints.ts @@ -56,7 +56,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Lists existing AzureFrontDoor endpoints. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -127,7 +128,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -207,7 +209,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Lists existing AzureFrontDoor endpoints. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -225,7 +228,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -245,7 +249,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpoint Endpoint properties * @param options The options parameters. @@ -317,7 +322,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpoint Endpoint properties * @param options The options parameters. @@ -345,7 +351,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * update origins, use the Update Origin operation. To update origin groups, use the Update Origin * group operation. To update domains, use the Update Custom Domain operation. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpointUpdateProperties Endpoint update properties * @param options The options parameters. @@ -425,7 +432,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * update origins, use the Update Origin operation. To update origin groups, use the Update Origin * group operation. To update domains, use the Update Custom Domain operation. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpointUpdateProperties Endpoint update properties * @param options The options parameters. @@ -451,7 +459,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -516,7 +525,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { * Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -538,7 +548,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Removes a content from AzureFrontDoor. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param contents The list of paths to the content and the list of linked domains to be purged. Path * can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a @@ -606,7 +617,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Removes a content from AzureFrontDoor. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param contents The list of paths to the content and the list of linked domains to be purged. Path * can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a @@ -633,7 +645,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -652,7 +665,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param customDomainProperties Custom domain to be validated. * @param options The options parameters. @@ -679,7 +693,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -698,7 +713,8 @@ export class AFDEndpointsImpl implements AFDEndpoints { /** * ListResourceUsageNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method. * @param options The options parameters. @@ -734,9 +750,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -756,9 +772,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -785,13 +801,13 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.endpoint1, + requestBody: Parameters.endpoint, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -819,13 +835,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.endpointUpdateProperties1, + requestBody: Parameters.endpointUpdateProperties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -848,9 +864,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -873,9 +889,9 @@ const purgeContentOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -897,9 +913,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -921,9 +937,9 @@ const validateCustomDomainOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -944,9 +960,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], @@ -966,9 +982,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/aFDOriginGroups.ts b/sdk/cdn/arm-cdn/src/operations/aFDOriginGroups.ts index d113cd17a55e..9bdf76744f77 100644 --- a/sdk/cdn/arm-cdn/src/operations/aFDOriginGroups.ts +++ b/sdk/cdn/arm-cdn/src/operations/aFDOriginGroups.ts @@ -51,7 +51,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Lists all of the existing origin groups within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -122,7 +123,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param options The options parameters. */ @@ -202,7 +204,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Lists all of the existing origin groups within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -219,7 +222,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Gets an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param options The options parameters. */ @@ -238,7 +242,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Creates a new origin group within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param originGroup Origin group properties * @param options The options parameters. @@ -309,7 +314,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Creates a new origin group within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param originGroup Origin group properties * @param options The options parameters. @@ -334,7 +340,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Updates an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originGroupUpdateProperties Origin group properties * @param options The options parameters. @@ -411,7 +418,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Updates an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originGroupUpdateProperties Origin group properties * @param options The options parameters. @@ -436,7 +444,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Deletes an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -500,7 +509,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Deletes an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -522,7 +532,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param options The options parameters. */ @@ -541,7 +552,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -560,7 +572,8 @@ export class AFDOriginGroupsImpl implements AFDOriginGroups { /** * ListResourceUsageNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method. * @param options The options parameters. @@ -596,9 +609,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -618,9 +631,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept], @@ -647,13 +660,13 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.originGroup1, + requestBody: Parameters.originGroup, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -681,13 +694,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.originGroupUpdateProperties1, + requestBody: Parameters.originGroupUpdateProperties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -710,9 +723,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept], @@ -733,9 +746,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept], @@ -755,9 +768,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], @@ -777,9 +790,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.originGroupName ], diff --git a/sdk/cdn/arm-cdn/src/operations/aFDOrigins.ts b/sdk/cdn/arm-cdn/src/operations/aFDOrigins.ts index 17ab6522f86e..4c0f80e2749f 100644 --- a/sdk/cdn/arm-cdn/src/operations/aFDOrigins.ts +++ b/sdk/cdn/arm-cdn/src/operations/aFDOrigins.ts @@ -46,7 +46,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Lists all of the existing origins within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -126,7 +127,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Lists all of the existing origins within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -145,7 +147,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Gets an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. @@ -166,7 +169,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Creates a new origin within the specified origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin that is unique within the profile. * @param origin Origin properties @@ -246,7 +250,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Creates a new origin within the specified origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin that is unique within the profile. * @param origin Origin properties @@ -274,7 +279,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Updates an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param originUpdateProperties Origin properties @@ -354,7 +360,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Updates an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param originUpdateProperties Origin properties @@ -382,7 +389,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Deletes an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. @@ -448,7 +456,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * Deletes an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. @@ -473,7 +482,8 @@ export class AFDOriginsImpl implements AFDOrigins { /** * ListByOriginGroupNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param nextLink The nextLink from the previous successful call to the ListByOriginGroup method. * @param options The options parameters. @@ -509,9 +519,9 @@ const listByOriginGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.originGroupName ], headerParameters: [Parameters.accept], @@ -532,11 +542,11 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.originName, - Parameters.originGroupName + Parameters.subscriptionId, + Parameters.originGroupName, + Parameters.originName ], headerParameters: [Parameters.accept], serializer @@ -562,15 +572,15 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.origin1, + requestBody: Parameters.origin, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.originName, - Parameters.originGroupName + Parameters.subscriptionId, + Parameters.originGroupName, + Parameters.originName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -597,15 +607,15 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.AfdErrorResponse } }, - requestBody: Parameters.originUpdateProperties1, + requestBody: Parameters.originUpdateProperties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.originName, - Parameters.originGroupName + Parameters.subscriptionId, + Parameters.originGroupName, + Parameters.originName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -627,11 +637,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.originName, - Parameters.originGroupName + Parameters.subscriptionId, + Parameters.originGroupName, + Parameters.originName ], headerParameters: [Parameters.accept], serializer @@ -650,9 +660,9 @@ const listByOriginGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.originGroupName ], diff --git a/sdk/cdn/arm-cdn/src/operations/aFDProfiles.ts b/sdk/cdn/arm-cdn/src/operations/aFDProfiles.ts index 1e9b1319e500..142e9f118e28 100644 --- a/sdk/cdn/arm-cdn/src/operations/aFDProfiles.ts +++ b/sdk/cdn/arm-cdn/src/operations/aFDProfiles.ts @@ -17,7 +17,7 @@ import { AFDProfilesListResourceUsageNextOptionalParams, AFDProfilesListResourceUsageOptionalParams, AFDProfilesListResourceUsageResponse, - ValidateCustomDomainInput, + CheckHostNameAvailabilityInput, AFDProfilesCheckHostNameAvailabilityOptionalParams, AFDProfilesCheckHostNameAvailabilityResponse, AFDProfilesListResourceUsageNextResponse @@ -39,7 +39,8 @@ export class AFDProfilesImpl implements AFDProfiles { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ public listResourceUsage( @@ -110,7 +111,8 @@ export class AFDProfilesImpl implements AFDProfiles { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ private _listResourceUsage( @@ -127,14 +129,15 @@ export class AFDProfilesImpl implements AFDProfiles { /** * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param checkHostNameAvailabilityInput Custom domain to be validated. * @param options The options parameters. */ checkHostNameAvailability( resourceGroupName: string, profileName: string, - checkHostNameAvailabilityInput: ValidateCustomDomainInput, + checkHostNameAvailabilityInput: CheckHostNameAvailabilityInput, options?: AFDProfilesCheckHostNameAvailabilityOptionalParams ): Promise { return this.client.sendOperationRequest( @@ -151,7 +154,8 @@ export class AFDProfilesImpl implements AFDProfiles { /** * ListResourceUsageNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method. * @param options The options parameters. */ @@ -185,9 +189,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -198,7 +202,7 @@ const checkHostNameAvailabilityOperationSpec: coreClient.OperationSpec = { httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ValidateCustomDomainOutput + bodyMapper: Mappers.CheckNameAvailabilityOutput }, default: { bodyMapper: Mappers.AfdErrorResponse @@ -208,9 +212,9 @@ const checkHostNameAvailabilityOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -230,9 +234,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], diff --git a/sdk/cdn/arm-cdn/src/operations/customDomains.ts b/sdk/cdn/arm-cdn/src/operations/customDomains.ts index e187e73fa431..d4554099f42b 100644 --- a/sdk/cdn/arm-cdn/src/operations/customDomains.ts +++ b/sdk/cdn/arm-cdn/src/operations/customDomains.ts @@ -26,7 +26,9 @@ import { CustomDomainsCreateResponse, CustomDomainsDeleteOptionalParams, CustomDomainsDisableCustomHttpsOptionalParams, + CustomDomainsDisableCustomHttpsResponse, CustomDomainsEnableCustomHttpsOptionalParams, + CustomDomainsEnableCustomHttpsResponse, CustomDomainsListByEndpointNextResponse } from "../models"; @@ -380,54 +382,14 @@ export class CustomDomainsImpl implements CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - async beginDisableCustomHttps( + disableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback - } - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } - }; - }; - - const lro = new LroImpl( - sendOperation, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, profileName, @@ -437,35 +399,6 @@ export class CustomDomainsImpl implements CustomDomains { }, disableCustomHttpsOperationSpec ); - return new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - } - - /** - * Disable https delivery of the custom domain. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param endpointName Name of the endpoint under the profile which is unique globally. - * @param customDomainName Name of the custom domain within an endpoint. - * @param options The options parameters. - */ - async beginDisableCustomHttpsAndWait( - resourceGroupName: string, - profileName: string, - endpointName: string, - customDomainName: string, - options?: CustomDomainsDisableCustomHttpsOptionalParams - ): Promise { - const poller = await this.beginDisableCustomHttps( - resourceGroupName, - profileName, - endpointName, - customDomainName, - options - ); - return poller.pollUntilDone(); } /** @@ -476,54 +409,14 @@ export class CustomDomainsImpl implements CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - async beginEnableCustomHttps( + enableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback - } - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } - }; - }; - - const lro = new LroImpl( - sendOperation, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, profileName, @@ -533,35 +426,6 @@ export class CustomDomainsImpl implements CustomDomains { }, enableCustomHttpsOperationSpec ); - return new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs - }); - } - - /** - * Enable https delivery of the custom domain. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param endpointName Name of the endpoint under the profile which is unique globally. - * @param customDomainName Name of the custom domain within an endpoint. - * @param options The options parameters. - */ - async beginEnableCustomHttpsAndWait( - resourceGroupName: string, - profileName: string, - endpointName: string, - customDomainName: string, - options?: CustomDomainsEnableCustomHttpsOptionalParams - ): Promise { - const poller = await this.beginEnableCustomHttps( - resourceGroupName, - profileName, - endpointName, - customDomainName, - options - ); - return poller.pollUntilDone(); } /** @@ -603,9 +467,9 @@ const listByEndpointOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -626,11 +490,11 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.endpointName, - Parameters.customDomainName + Parameters.subscriptionId, + Parameters.customDomainName, + Parameters.endpointName ], headerParameters: [Parameters.accept], serializer @@ -660,11 +524,11 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.endpointName, - Parameters.customDomainName + Parameters.subscriptionId, + Parameters.customDomainName, + Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -686,11 +550,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.endpointName, - Parameters.customDomainName + Parameters.subscriptionId, + Parameters.customDomainName, + Parameters.endpointName ], headerParameters: [Parameters.accept], serializer @@ -701,9 +565,9 @@ const disableCustomHttpsOperationSpec: coreClient.OperationSpec = { httpMethod: "POST", responses: { 200: {}, - 201: {}, - 202: {}, - 204: {}, + 202: { + bodyMapper: Mappers.CustomDomain + }, default: { bodyMapper: Mappers.ErrorResponse } @@ -711,11 +575,11 @@ const disableCustomHttpsOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.endpointName, - Parameters.customDomainName + Parameters.subscriptionId, + Parameters.customDomainName, + Parameters.endpointName ], headerParameters: [Parameters.accept], serializer @@ -726,9 +590,9 @@ const enableCustomHttpsOperationSpec: coreClient.OperationSpec = { httpMethod: "POST", responses: { 200: {}, - 201: {}, - 202: {}, - 204: {}, + 202: { + bodyMapper: Mappers.CustomDomain + }, default: { bodyMapper: Mappers.ErrorResponse } @@ -737,11 +601,11 @@ const enableCustomHttpsOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.endpointName, - Parameters.customDomainName + Parameters.subscriptionId, + Parameters.customDomainName, + Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -761,9 +625,9 @@ const listByEndpointNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/endpoints.ts b/sdk/cdn/arm-cdn/src/operations/endpoints.ts index f2a181e163c8..1a3ae624206f 100644 --- a/sdk/cdn/arm-cdn/src/operations/endpoints.ts +++ b/sdk/cdn/arm-cdn/src/operations/endpoints.ts @@ -1017,9 +1017,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -1039,9 +1039,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -1068,13 +1068,13 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.endpoint, + requestBody: Parameters.endpoint1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1102,13 +1102,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.endpointUpdateProperties, + requestBody: Parameters.endpointUpdateProperties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1131,9 +1131,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -1163,9 +1163,9 @@ const startOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -1195,9 +1195,9 @@ const stopOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -1220,9 +1220,9 @@ const purgeContentOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1246,9 +1246,9 @@ const loadContentOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1271,9 +1271,9 @@ const validateCustomDomainOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1295,9 +1295,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -1317,9 +1317,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], @@ -1339,9 +1339,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/index.ts b/sdk/cdn/arm-cdn/src/operations/index.ts index 9fc6a1125747..6f1601b688cb 100644 --- a/sdk/cdn/arm-cdn/src/operations/index.ts +++ b/sdk/cdn/arm-cdn/src/operations/index.ts @@ -6,14 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./profiles"; -export * from "./endpoints"; -export * from "./origins"; -export * from "./originGroups"; -export * from "./customDomains"; -export * from "./resourceUsageOperations"; -export * from "./operations"; -export * from "./edgeNodes"; export * from "./aFDProfiles"; export * from "./aFDCustomDomains"; export * from "./aFDEndpoints"; @@ -26,5 +18,13 @@ export * from "./securityPolicies"; export * from "./secrets"; export * from "./validate"; export * from "./logAnalytics"; +export * from "./profiles"; +export * from "./endpoints"; +export * from "./origins"; +export * from "./originGroups"; +export * from "./customDomains"; +export * from "./resourceUsageOperations"; +export * from "./operations"; +export * from "./edgeNodes"; export * from "./policies"; export * from "./managedRuleSets"; diff --git a/sdk/cdn/arm-cdn/src/operations/logAnalytics.ts b/sdk/cdn/arm-cdn/src/operations/logAnalytics.ts index 522cc3e38b56..cfdff761e1b6 100644 --- a/sdk/cdn/arm-cdn/src/operations/logAnalytics.ts +++ b/sdk/cdn/arm-cdn/src/operations/logAnalytics.ts @@ -48,7 +48,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get log report for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of LogMetric * @param dateTimeBegin * @param dateTimeEnd @@ -87,7 +88,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get log analytics ranking report for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param rankings Array of LogRanking * @param metrics Array of LogRankingMetric * @param maxRanking @@ -123,7 +125,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get all available location names for AFD log analytics report. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param options The options parameters. */ getLogAnalyticsLocations( @@ -140,7 +143,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get all endpoints and custom domains available for AFD log report * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param options The options parameters. */ getLogAnalyticsResources( @@ -157,7 +161,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get Waf related log analytics report for AFD profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of WafMetric * @param dateTimeBegin * @param dateTimeEnd @@ -190,7 +195,8 @@ export class LogAnalyticsImpl implements LogAnalytics { /** * Get WAF log analytics charts for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of WafMetric * @param dateTimeBegin * @param dateTimeEnd @@ -252,9 +258,9 @@ const getLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -282,9 +288,9 @@ const getLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -304,9 +310,9 @@ const getLogAnalyticsLocationsOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -326,9 +332,9 @@ const getLogAnalyticsResourcesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -357,9 +363,9 @@ const getWafLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -388,9 +394,9 @@ const getWafLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts b/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts index 6e98dd89b007..45ada4479ba3 100644 --- a/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts +++ b/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts @@ -105,7 +105,7 @@ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets", + "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets", httpMethod: "GET", responses: { 200: { diff --git a/sdk/cdn/arm-cdn/src/operations/originGroups.ts b/sdk/cdn/arm-cdn/src/operations/originGroups.ts index e4f8844ab48c..1c66f22fcf9d 100644 --- a/sdk/cdn/arm-cdn/src/operations/originGroups.ts +++ b/sdk/cdn/arm-cdn/src/operations/originGroups.ts @@ -518,9 +518,9 @@ const listByEndpointOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -541,9 +541,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originGroupName ], @@ -571,13 +571,13 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.originGroup, + requestBody: Parameters.originGroup1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originGroupName ], @@ -606,13 +606,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.originGroupUpdateProperties, + requestBody: Parameters.originGroupUpdateProperties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originGroupName ], @@ -636,9 +636,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originGroupName ], @@ -659,9 +659,9 @@ const listByEndpointNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/origins.ts b/sdk/cdn/arm-cdn/src/operations/origins.ts index bc4ee3fe1bd2..c0cd1d7b8728 100644 --- a/sdk/cdn/arm-cdn/src/operations/origins.ts +++ b/sdk/cdn/arm-cdn/src/operations/origins.ts @@ -500,9 +500,9 @@ const listByEndpointOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -523,9 +523,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originName ], @@ -553,13 +553,13 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.origin, + requestBody: Parameters.origin1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originName ], @@ -588,13 +588,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.originUpdateProperties, + requestBody: Parameters.originUpdateProperties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originName ], @@ -618,9 +618,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.originName ], @@ -641,9 +641,9 @@ const listByEndpointNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/policies.ts b/sdk/cdn/arm-cdn/src/operations/policies.ts index 905014b0fb6a..8732ca593175 100644 --- a/sdk/cdn/arm-cdn/src/operations/policies.ts +++ b/sdk/cdn/arm-cdn/src/operations/policies.ts @@ -358,7 +358,7 @@ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies", httpMethod: "GET", responses: { 200: { @@ -379,7 +379,7 @@ const listOperationSpec: coreClient.OperationSpec = { }; const getOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", httpMethod: "GET", responses: { 200: { @@ -401,7 +401,7 @@ const getOperationSpec: coreClient.OperationSpec = { }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", httpMethod: "PUT", responses: { 200: { @@ -434,7 +434,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { }; const updateOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", httpMethod: "PATCH", responses: { 200: { @@ -467,9 +467,15 @@ const updateOperationSpec: coreClient.OperationSpec = { }; const deleteOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", httpMethod: "DELETE", - responses: { 200: {}, 204: {} }, + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -477,6 +483,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName1, Parameters.policyName ], + headerParameters: [Parameters.accept], serializer }; const listNextOperationSpec: coreClient.OperationSpec = { diff --git a/sdk/cdn/arm-cdn/src/operations/profiles.ts b/sdk/cdn/arm-cdn/src/operations/profiles.ts index 9e06d894c38b..fa0b9a260f2e 100644 --- a/sdk/cdn/arm-cdn/src/operations/profiles.ts +++ b/sdk/cdn/arm-cdn/src/operations/profiles.ts @@ -57,7 +57,8 @@ export class ProfilesImpl implements Profiles { } /** - * Lists all of the CDN profiles within an Azure subscription. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an + * Azure subscription. * @param options The options parameters. */ public list( @@ -99,7 +100,8 @@ export class ProfilesImpl implements Profiles { } /** - * Lists all of the CDN profiles within a resource group. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a + * resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param options The options parameters. */ @@ -152,9 +154,11 @@ export class ProfilesImpl implements Profiles { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure + * Front Door Premium or CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ public listResourceUsage( @@ -223,7 +227,8 @@ export class ProfilesImpl implements Profiles { } /** - * Lists all of the CDN profiles within an Azure subscription. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an + * Azure subscription. * @param options The options parameters. */ private _list( @@ -233,7 +238,8 @@ export class ProfilesImpl implements Profiles { } /** - * Lists all of the CDN profiles within a resource group. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a + * resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param options The options parameters. */ @@ -248,10 +254,11 @@ export class ProfilesImpl implements Profiles { } /** - * Gets a CDN profile with the specified profile name under the specified subscription and resource - * group. + * Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified + * profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ get( @@ -266,9 +273,11 @@ export class ProfilesImpl implements Profiles { } /** - * Creates a new CDN profile with a profile name under the specified subscription and resource group. + * Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile + * name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profile Profile properties needed to create a new profile. * @param options The options parameters. */ @@ -334,9 +343,11 @@ export class ProfilesImpl implements Profiles { } /** - * Creates a new CDN profile with a profile name under the specified subscription and resource group. + * Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile + * name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profile Profile properties needed to create a new profile. * @param options The options parameters. */ @@ -356,10 +367,11 @@ export class ProfilesImpl implements Profiles { } /** - * Updates an existing CDN profile with the specified profile name under the specified subscription and - * resource group. + * Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profileUpdateParameters Profile properties needed to update an existing profile. * @param options The options parameters. */ @@ -425,10 +437,11 @@ export class ProfilesImpl implements Profiles { } /** - * Updates an existing CDN profile with the specified profile name under the specified subscription and - * resource group. + * Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profileUpdateParameters Profile properties needed to update an existing profile. * @param options The options parameters. */ @@ -448,10 +461,12 @@ export class ProfilesImpl implements Profiles { } /** - * Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the - * deletion of all of the sub-resources including endpoints, origins and custom domains. + * Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified parameters. Deleting a profile will result in the deletion of all of the sub-resources + * including endpoints, origins and custom domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ async beginDelete( @@ -510,10 +525,12 @@ export class ProfilesImpl implements Profiles { } /** - * Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the - * deletion of all of the sub-resources including endpoints, origins and custom domains. + * Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified parameters. Deleting a profile will result in the deletion of all of the sub-resources + * including endpoints, origins and custom domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ async beginDeleteAndWait( @@ -553,7 +570,8 @@ export class ProfilesImpl implements Profiles { * Gets the supported optimization types for the current profile. A user can create an endpoint with an * optimization type from the listed values. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ listSupportedOptimizationTypes( @@ -568,9 +586,11 @@ export class ProfilesImpl implements Profiles { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure + * Front Door Premium or CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ private _listResourceUsage( @@ -619,7 +639,8 @@ export class ProfilesImpl implements Profiles { /** * ListResourceUsageNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method. * @param options The options parameters. */ @@ -669,8 +690,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -690,9 +711,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -722,9 +743,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -755,9 +776,9 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -779,9 +800,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -801,9 +822,9 @@ const generateSsoUriOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -823,9 +844,9 @@ const listSupportedOptimizationTypesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -845,9 +866,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -886,8 +907,8 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], @@ -907,9 +928,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], diff --git a/sdk/cdn/arm-cdn/src/operations/routes.ts b/sdk/cdn/arm-cdn/src/operations/routes.ts index 6c6c788be8d0..9c595a026bc8 100644 --- a/sdk/cdn/arm-cdn/src/operations/routes.ts +++ b/sdk/cdn/arm-cdn/src/operations/routes.ts @@ -46,7 +46,8 @@ export class RoutesImpl implements Routes { /** * Lists all of the existing origins within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -126,7 +127,8 @@ export class RoutesImpl implements Routes { /** * Lists all of the existing origins within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -146,7 +148,8 @@ export class RoutesImpl implements Routes { * Gets an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. @@ -168,7 +171,8 @@ export class RoutesImpl implements Routes { * Creates a new route with the specified route name under the specified subscription, resource group, * profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param route Route properties @@ -246,7 +250,8 @@ export class RoutesImpl implements Routes { * Creates a new route with the specified route name under the specified subscription, resource group, * profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param route Route properties @@ -275,7 +280,8 @@ export class RoutesImpl implements Routes { * Updates an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param routeUpdateProperties Route update properties @@ -353,7 +359,8 @@ export class RoutesImpl implements Routes { * Updates an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param routeUpdateProperties Route update properties @@ -382,7 +389,8 @@ export class RoutesImpl implements Routes { * Deletes an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. @@ -449,7 +457,8 @@ export class RoutesImpl implements Routes { * Deletes an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. @@ -474,7 +483,8 @@ export class RoutesImpl implements Routes { /** * ListByEndpointNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param nextLink The nextLink from the previous successful call to the ListByEndpoint method. * @param options The options parameters. @@ -510,9 +520,9 @@ const listByEndpointOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName ], headerParameters: [Parameters.accept], @@ -533,9 +543,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.routeName ], @@ -567,9 +577,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.routeName ], @@ -602,9 +612,9 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.routeName ], @@ -628,9 +638,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.endpointName, Parameters.routeName ], @@ -651,9 +661,9 @@ const listByEndpointNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.endpointName ], diff --git a/sdk/cdn/arm-cdn/src/operations/ruleSets.ts b/sdk/cdn/arm-cdn/src/operations/ruleSets.ts index 8f429120204a..7440a214f01a 100644 --- a/sdk/cdn/arm-cdn/src/operations/ruleSets.ts +++ b/sdk/cdn/arm-cdn/src/operations/ruleSets.ts @@ -48,7 +48,8 @@ export class RuleSetsImpl implements RuleSets { /** * Lists existing AzureFrontDoor rule sets within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -119,7 +120,8 @@ export class RuleSetsImpl implements RuleSets { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -199,7 +201,8 @@ export class RuleSetsImpl implements RuleSets { /** * Lists existing AzureFrontDoor rule sets within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -217,7 +220,8 @@ export class RuleSetsImpl implements RuleSets { * Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -236,99 +240,29 @@ export class RuleSetsImpl implements RuleSets { /** * Creates a new rule set within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally * @param options The options parameters. */ - async beginCreate( + create( resourceGroupName: string, profileName: string, ruleSetName: string, options?: RuleSetsCreateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - RuleSetsCreateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback - } - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } - }; - }; - - const lro = new LroImpl( - sendOperation, + ): Promise { + return this.client.sendOperationRequest( { resourceGroupName, profileName, ruleSetName, options }, createOperationSpec ); - return new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" - }); - } - - /** - * Creates a new rule set within the specified profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param ruleSetName Name of the rule set under the profile which is unique globally - * @param options The options parameters. - */ - async beginCreateAndWait( - resourceGroupName: string, - profileName: string, - ruleSetName: string, - options?: RuleSetsCreateOptionalParams - ): Promise { - const poller = await this.beginCreate( - resourceGroupName, - profileName, - ruleSetName, - options - ); - return poller.pollUntilDone(); } /** * Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -393,7 +327,8 @@ export class RuleSetsImpl implements RuleSets { * Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -415,7 +350,8 @@ export class RuleSetsImpl implements RuleSets { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -434,7 +370,8 @@ export class RuleSetsImpl implements RuleSets { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -453,7 +390,8 @@ export class RuleSetsImpl implements RuleSets { /** * ListResourceUsageNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method. * @param options The options parameters. @@ -489,9 +427,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -511,9 +449,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName ], headerParameters: [Parameters.accept], @@ -530,12 +468,6 @@ const createOperationSpec: coreClient.OperationSpec = { 201: { bodyMapper: Mappers.RuleSet }, - 202: { - bodyMapper: Mappers.RuleSet - }, - 204: { - bodyMapper: Mappers.RuleSet - }, default: { bodyMapper: Mappers.AfdErrorResponse } @@ -543,9 +475,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName ], headerParameters: [Parameters.accept], @@ -567,9 +499,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName ], headerParameters: [Parameters.accept], @@ -590,9 +522,9 @@ const listResourceUsageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName ], headerParameters: [Parameters.accept], @@ -612,9 +544,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], @@ -634,9 +566,9 @@ const listResourceUsageNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.ruleSetName ], diff --git a/sdk/cdn/arm-cdn/src/operations/rules.ts b/sdk/cdn/arm-cdn/src/operations/rules.ts index 48df23f042e8..1868ac110201 100644 --- a/sdk/cdn/arm-cdn/src/operations/rules.ts +++ b/sdk/cdn/arm-cdn/src/operations/rules.ts @@ -46,7 +46,8 @@ export class RulesImpl implements Rules { /** * Lists all of the existing delivery rules within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param options The options parameters. */ @@ -126,7 +127,8 @@ export class RulesImpl implements Rules { /** * Lists all of the existing delivery rules within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param options The options parameters. */ @@ -145,7 +147,8 @@ export class RulesImpl implements Rules { /** * Gets an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. @@ -166,7 +169,8 @@ export class RulesImpl implements Rules { /** * Creates a new delivery rule within the specified rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param rule The delivery rule properties. @@ -236,7 +240,8 @@ export class RulesImpl implements Rules { /** * Creates a new delivery rule within the specified rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param rule The delivery rule properties. @@ -264,7 +269,8 @@ export class RulesImpl implements Rules { /** * Updates an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param ruleUpdateProperties Delivery rule properties @@ -341,7 +347,8 @@ export class RulesImpl implements Rules { /** * Updates an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param ruleUpdateProperties Delivery rule properties @@ -369,7 +376,8 @@ export class RulesImpl implements Rules { /** * Deletes an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. @@ -435,7 +443,8 @@ export class RulesImpl implements Rules { /** * Deletes an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. @@ -460,7 +469,8 @@ export class RulesImpl implements Rules { /** * ListByRuleSetNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param nextLink The nextLink from the previous successful call to the ListByRuleSet method. * @param options The options parameters. @@ -496,9 +506,9 @@ const listByRuleSetOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName ], headerParameters: [Parameters.accept], @@ -519,9 +529,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName, Parameters.ruleName ], @@ -553,9 +563,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName, Parameters.ruleName ], @@ -588,9 +598,9 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName, Parameters.ruleName ], @@ -614,9 +624,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.ruleSetName, Parameters.ruleName ], @@ -637,9 +647,9 @@ const listByRuleSetNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink, Parameters.ruleSetName ], diff --git a/sdk/cdn/arm-cdn/src/operations/secrets.ts b/sdk/cdn/arm-cdn/src/operations/secrets.ts index ab817869452b..bfcaadaae532 100644 --- a/sdk/cdn/arm-cdn/src/operations/secrets.ts +++ b/sdk/cdn/arm-cdn/src/operations/secrets.ts @@ -23,9 +23,6 @@ import { SecretsGetResponse, SecretsCreateOptionalParams, SecretsCreateResponse, - SecretProperties, - SecretsUpdateOptionalParams, - SecretsUpdateResponse, SecretsDeleteOptionalParams, SecretsListByProfileNextResponse } from "../models"; @@ -46,7 +43,8 @@ export class SecretsImpl implements Secrets { /** * Lists existing AzureFrontDoor secrets. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -117,7 +115,8 @@ export class SecretsImpl implements Secrets { /** * Lists existing AzureFrontDoor secrets. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -134,7 +133,8 @@ export class SecretsImpl implements Secrets { /** * Gets an existing Secret within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ @@ -153,7 +153,8 @@ export class SecretsImpl implements Secrets { /** * Creates a new Secret within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param secret The Secret properties. * @param options The options parameters. @@ -221,7 +222,8 @@ export class SecretsImpl implements Secrets { /** * Creates a new Secret within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param secret The Secret properties. * @param options The options parameters. @@ -243,103 +245,11 @@ export class SecretsImpl implements Secrets { return poller.pollUntilDone(); } - /** - * Updates an existing Secret within a profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param secretName Name of the Secret under the profile. - * @param secretProperties Secret properties - * @param options The options parameters. - */ - async beginUpdate( - resourceGroupName: string, - profileName: string, - secretName: string, - secretProperties: SecretProperties, - options?: SecretsUpdateOptionalParams - ): Promise< - PollerLike, SecretsUpdateResponse> - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec - ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback - } - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } - }; - }; - - const lro = new LroImpl( - sendOperation, - { resourceGroupName, profileName, secretName, secretProperties, options }, - updateOperationSpec - ); - return new LroEngine(lro, { - resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - lroResourceLocationConfig: "azure-async-operation" - }); - } - - /** - * Updates an existing Secret within a profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param secretName Name of the Secret under the profile. - * @param secretProperties Secret properties - * @param options The options parameters. - */ - async beginUpdateAndWait( - resourceGroupName: string, - profileName: string, - secretName: string, - secretProperties: SecretProperties, - options?: SecretsUpdateOptionalParams - ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - profileName, - secretName, - secretProperties, - options - ); - return poller.pollUntilDone(); - } - /** * Deletes an existing Secret within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ @@ -403,7 +313,8 @@ export class SecretsImpl implements Secrets { /** * Deletes an existing Secret within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ @@ -425,7 +336,8 @@ export class SecretsImpl implements Secrets { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -459,9 +371,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -481,9 +393,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.secretName ], headerParameters: [Parameters.accept], @@ -514,43 +426,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, - Parameters.secretName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.Secret - }, - 201: { - bodyMapper: Mappers.Secret - }, - 202: { - bodyMapper: Mappers.Secret - }, - 204: { - bodyMapper: Mappers.Secret - }, - default: { - bodyMapper: Mappers.AfdErrorResponse - } - }, - requestBody: Parameters.secretProperties, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.profileName, Parameters.secretName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -573,9 +451,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.secretName ], headerParameters: [Parameters.accept], @@ -595,9 +473,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], diff --git a/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts b/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts index b43c233a020e..e1fca2285429 100644 --- a/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts +++ b/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts @@ -46,7 +46,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Lists security policies associated with the profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ public listByProfile( @@ -117,7 +118,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Lists security policies associated with the profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ private _listByProfile( @@ -134,7 +136,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Gets an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ @@ -153,7 +156,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Creates a new security policy within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicy The security policy properties. * @param options The options parameters. @@ -230,7 +234,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Creates a new security policy within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicy The security policy properties. * @param options The options parameters. @@ -253,9 +258,10 @@ export class SecurityPoliciesImpl implements SecurityPolicies { } /** - * Updates an existing Secret within a profile. + * Updates an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicyProperties Security policy update properties * @param options The options parameters. @@ -330,9 +336,10 @@ export class SecurityPoliciesImpl implements SecurityPolicies { } /** - * Updates an existing Secret within a profile. + * Updates an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicyProperties Security policy update properties * @param options The options parameters. @@ -357,8 +364,9 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Deletes an existing security policy within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param securityPolicyName Name of the Secret under the profile. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. + * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ async beginDelete( @@ -421,8 +429,9 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * Deletes an existing security policy within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param securityPolicyName Name of the Secret under the profile. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. + * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ async beginDeleteAndWait( @@ -443,7 +452,8 @@ export class SecurityPoliciesImpl implements SecurityPolicies { /** * ListByProfileNext * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param nextLink The nextLink from the previous successful call to the ListByProfile method. * @param options The options parameters. */ @@ -477,9 +487,9 @@ const listByProfileOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.profileName + Parameters.profileName, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -499,9 +509,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.securityPolicyName ], headerParameters: [Parameters.accept], @@ -532,9 +542,9 @@ const createOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.securityPolicyName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -566,9 +576,9 @@ const patchOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.securityPolicyName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -591,9 +601,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.securityPolicyName ], headerParameters: [Parameters.accept], @@ -613,9 +623,9 @@ const listByProfileNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.profileName, + Parameters.subscriptionId, Parameters.nextLink ], headerParameters: [Parameters.accept], diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDCustomDomains.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDCustomDomains.ts index 31c43e41a240..87313f556646 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDCustomDomains.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDCustomDomains.ts @@ -19,8 +19,7 @@ import { AFDCustomDomainsUpdateOptionalParams, AFDCustomDomainsUpdateResponse, AFDCustomDomainsDeleteOptionalParams, - AFDCustomDomainsRefreshValidationTokenOptionalParams, - AFDCustomDomainsRefreshValidationTokenResponse + AFDCustomDomainsRefreshValidationTokenOptionalParams } from "../models"; /// @@ -29,7 +28,8 @@ export interface AFDCustomDomains { /** * Lists existing AzureFrontDoor domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN + * profile which is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -41,7 +41,8 @@ export interface AFDCustomDomains { * Gets an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -54,7 +55,8 @@ export interface AFDCustomDomains { /** * Creates a new domain within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomain Domain properties * @param options The options parameters. @@ -74,7 +76,8 @@ export interface AFDCustomDomains { /** * Creates a new domain within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomain Domain properties * @param options The options parameters. @@ -89,7 +92,8 @@ export interface AFDCustomDomains { /** * Updates an existing domain within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomainUpdateProperties Domain properties * @param options The options parameters. @@ -109,7 +113,8 @@ export interface AFDCustomDomains { /** * Updates an existing domain within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally * @param customDomainUpdateProperties Domain properties * @param options The options parameters. @@ -125,7 +130,8 @@ export interface AFDCustomDomains { * Deletes an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -139,7 +145,8 @@ export interface AFDCustomDomains { * Deletes an existing AzureFrontDoor domain with the specified domain name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -152,7 +159,8 @@ export interface AFDCustomDomains { /** * Updates the domain validation token. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -161,16 +169,12 @@ export interface AFDCustomDomains { profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams - ): Promise< - PollerLike< - PollOperationState, - AFDCustomDomainsRefreshValidationTokenResponse - > - >; + ): Promise, void>>; /** * Updates the domain validation token. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param customDomainName Name of the domain under the profile which is unique globally. * @param options The options parameters. */ @@ -179,5 +183,5 @@ export interface AFDCustomDomains { profileName: string, customDomainName: string, options?: AFDCustomDomainsRefreshValidationTokenOptionalParams - ): Promise; + ): Promise; } diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDEndpoints.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDEndpoints.ts index 60198961e5fc..c4ba50346836 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDEndpoints.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDEndpoints.ts @@ -34,7 +34,8 @@ export interface AFDEndpoints { /** * Lists existing AzureFrontDoor endpoints. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -45,7 +46,8 @@ export interface AFDEndpoints { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -59,7 +61,8 @@ export interface AFDEndpoints { * Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -73,7 +76,8 @@ export interface AFDEndpoints { * Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpoint Endpoint properties * @param options The options parameters. @@ -94,7 +98,8 @@ export interface AFDEndpoints { * Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpoint Endpoint properties * @param options The options parameters. @@ -112,7 +117,8 @@ export interface AFDEndpoints { * update origins, use the Update Origin operation. To update origin groups, use the Update Origin * group operation. To update domains, use the Update Custom Domain operation. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpointUpdateProperties Endpoint update properties * @param options The options parameters. @@ -135,7 +141,8 @@ export interface AFDEndpoints { * update origins, use the Update Origin operation. To update origin groups, use the Update Origin * group operation. To update domains, use the Update Custom Domain operation. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param endpointUpdateProperties Endpoint update properties * @param options The options parameters. @@ -151,7 +158,8 @@ export interface AFDEndpoints { * Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -165,7 +173,8 @@ export interface AFDEndpoints { * Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -178,7 +187,8 @@ export interface AFDEndpoints { /** * Removes a content from AzureFrontDoor. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param contents The list of paths to the content and the list of linked domains to be purged. Path * can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a @@ -195,7 +205,8 @@ export interface AFDEndpoints { /** * Removes a content from AzureFrontDoor. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param contents The list of paths to the content and the list of linked domains to be purged. Path * can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a @@ -212,7 +223,8 @@ export interface AFDEndpoints { /** * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param customDomainProperties Custom domain to be validated. * @param options The options parameters. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOriginGroups.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOriginGroups.ts index d7e6cb7be92e..886c1c658661 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOriginGroups.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOriginGroups.ts @@ -29,7 +29,8 @@ export interface AFDOriginGroups { /** * Lists all of the existing origin groups within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -40,7 +41,8 @@ export interface AFDOriginGroups { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param options The options parameters. */ @@ -53,7 +55,8 @@ export interface AFDOriginGroups { /** * Gets an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param options The options parameters. */ @@ -66,7 +69,8 @@ export interface AFDOriginGroups { /** * Creates a new origin group within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param originGroup Origin group properties * @param options The options parameters. @@ -86,7 +90,8 @@ export interface AFDOriginGroups { /** * Creates a new origin group within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the endpoint. * @param originGroup Origin group properties * @param options The options parameters. @@ -101,7 +106,8 @@ export interface AFDOriginGroups { /** * Updates an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originGroupUpdateProperties Origin group properties * @param options The options parameters. @@ -121,7 +127,8 @@ export interface AFDOriginGroups { /** * Updates an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originGroupUpdateProperties Origin group properties * @param options The options parameters. @@ -136,7 +143,8 @@ export interface AFDOriginGroups { /** * Deletes an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -149,7 +157,8 @@ export interface AFDOriginGroups { /** * Deletes an existing origin group within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOrigins.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOrigins.ts index 8d01028f9758..9b7c06383e87 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOrigins.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDOrigins.ts @@ -27,7 +27,8 @@ export interface AFDOrigins { /** * Lists all of the existing origins within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param options The options parameters. */ @@ -40,7 +41,8 @@ export interface AFDOrigins { /** * Gets an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. @@ -55,7 +57,8 @@ export interface AFDOrigins { /** * Creates a new origin within the specified origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin that is unique within the profile. * @param origin Origin properties @@ -77,7 +80,8 @@ export interface AFDOrigins { /** * Creates a new origin within the specified origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin that is unique within the profile. * @param origin Origin properties @@ -94,7 +98,8 @@ export interface AFDOrigins { /** * Updates an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param originUpdateProperties Origin properties @@ -116,7 +121,8 @@ export interface AFDOrigins { /** * Updates an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param originUpdateProperties Origin properties @@ -133,7 +139,8 @@ export interface AFDOrigins { /** * Deletes an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. @@ -148,7 +155,8 @@ export interface AFDOrigins { /** * Deletes an existing origin within an origin group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param originGroupName Name of the origin group which is unique within the profile. * @param originName Name of the origin which is unique within the profile. * @param options The options parameters. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDProfiles.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDProfiles.ts index 3313663879fa..b016108de44f 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDProfiles.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/aFDProfiles.ts @@ -10,7 +10,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Usage, AFDProfilesListResourceUsageOptionalParams, - ValidateCustomDomainInput, + CheckHostNameAvailabilityInput, AFDProfilesCheckHostNameAvailabilityOptionalParams, AFDProfilesCheckHostNameAvailabilityResponse } from "../models"; @@ -21,7 +21,8 @@ export interface AFDProfiles { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ listResourceUsage( @@ -32,14 +33,15 @@ export interface AFDProfiles { /** * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param checkHostNameAvailabilityInput Custom domain to be validated. * @param options The options parameters. */ checkHostNameAvailability( resourceGroupName: string, profileName: string, - checkHostNameAvailabilityInput: ValidateCustomDomainInput, + checkHostNameAvailabilityInput: CheckHostNameAvailabilityInput, options?: AFDProfilesCheckHostNameAvailabilityOptionalParams ): Promise; } diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts index 7bca39216ff9..cf0939fdfda8 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts @@ -18,7 +18,9 @@ import { CustomDomainsCreateResponse, CustomDomainsDeleteOptionalParams, CustomDomainsDisableCustomHttpsOptionalParams, - CustomDomainsEnableCustomHttpsOptionalParams + CustomDomainsDisableCustomHttpsResponse, + CustomDomainsEnableCustomHttpsOptionalParams, + CustomDomainsEnableCustomHttpsResponse } from "../models"; /// @@ -129,28 +131,13 @@ export interface CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - beginDisableCustomHttps( + disableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams - ): Promise, void>>; - /** - * Disable https delivery of the custom domain. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param endpointName Name of the endpoint under the profile which is unique globally. - * @param customDomainName Name of the custom domain within an endpoint. - * @param options The options parameters. - */ - beginDisableCustomHttpsAndWait( - resourceGroupName: string, - profileName: string, - endpointName: string, - customDomainName: string, - options?: CustomDomainsDisableCustomHttpsOptionalParams - ): Promise; + ): Promise; /** * Enable https delivery of the custom domain. * @param resourceGroupName Name of the Resource group within the Azure subscription. @@ -159,26 +146,11 @@ export interface CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - beginEnableCustomHttps( + enableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams - ): Promise, void>>; - /** - * Enable https delivery of the custom domain. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param endpointName Name of the endpoint under the profile which is unique globally. - * @param customDomainName Name of the custom domain within an endpoint. - * @param options The options parameters. - */ - beginEnableCustomHttpsAndWait( - resourceGroupName: string, - profileName: string, - endpointName: string, - customDomainName: string, - options?: CustomDomainsEnableCustomHttpsOptionalParams - ): Promise; + ): Promise; } diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/index.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/index.ts index 9fc6a1125747..6f1601b688cb 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/index.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/index.ts @@ -6,14 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./profiles"; -export * from "./endpoints"; -export * from "./origins"; -export * from "./originGroups"; -export * from "./customDomains"; -export * from "./resourceUsageOperations"; -export * from "./operations"; -export * from "./edgeNodes"; export * from "./aFDProfiles"; export * from "./aFDCustomDomains"; export * from "./aFDEndpoints"; @@ -26,5 +18,13 @@ export * from "./securityPolicies"; export * from "./secrets"; export * from "./validate"; export * from "./logAnalytics"; +export * from "./profiles"; +export * from "./endpoints"; +export * from "./origins"; +export * from "./originGroups"; +export * from "./customDomains"; +export * from "./resourceUsageOperations"; +export * from "./operations"; +export * from "./edgeNodes"; export * from "./policies"; export * from "./managedRuleSets"; diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/logAnalytics.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/logAnalytics.ts index b02dc0395df3..2e039440ede5 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/logAnalytics.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/logAnalytics.ts @@ -33,7 +33,8 @@ export interface LogAnalytics { /** * Get log report for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of LogMetric * @param dateTimeBegin * @param dateTimeEnd @@ -56,7 +57,8 @@ export interface LogAnalytics { /** * Get log analytics ranking report for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param rankings Array of LogRanking * @param metrics Array of LogRankingMetric * @param maxRanking @@ -77,7 +79,8 @@ export interface LogAnalytics { /** * Get all available location names for AFD log analytics report. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param options The options parameters. */ getLogAnalyticsLocations( @@ -88,7 +91,8 @@ export interface LogAnalytics { /** * Get all endpoints and custom domains available for AFD log report * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param options The options parameters. */ getLogAnalyticsResources( @@ -99,7 +103,8 @@ export interface LogAnalytics { /** * Get Waf related log analytics report for AFD profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of WafMetric * @param dateTimeBegin * @param dateTimeEnd @@ -118,7 +123,8 @@ export interface LogAnalytics { /** * Get WAF log analytics charts for AFD profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. which is unique within the resource group. * @param metrics Array of WafMetric * @param dateTimeBegin * @param dateTimeEnd diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/profiles.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/profiles.ts index 1e37f3afc2e8..2d98c56b5f75 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/profiles.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/profiles.ts @@ -32,14 +32,16 @@ import { /** Interface representing a Profiles. */ export interface Profiles { /** - * Lists all of the CDN profiles within an Azure subscription. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an + * Azure subscription. * @param options The options parameters. */ list( options?: ProfilesListOptionalParams ): PagedAsyncIterableIterator; /** - * Lists all of the CDN profiles within a resource group. + * Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a + * resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param options The options parameters. */ @@ -48,9 +50,11 @@ export interface Profiles { options?: ProfilesListByResourceGroupOptionalParams ): PagedAsyncIterableIterator; /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure + * Front Door Premium or CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ listResourceUsage( @@ -59,10 +63,11 @@ export interface Profiles { options?: ProfilesListResourceUsageOptionalParams ): PagedAsyncIterableIterator; /** - * Gets a CDN profile with the specified profile name under the specified subscription and resource - * group. + * Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified + * profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ get( @@ -71,9 +76,11 @@ export interface Profiles { options?: ProfilesGetOptionalParams ): Promise; /** - * Creates a new CDN profile with a profile name under the specified subscription and resource group. + * Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile + * name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profile Profile properties needed to create a new profile. * @param options The options parameters. */ @@ -89,9 +96,11 @@ export interface Profiles { > >; /** - * Creates a new CDN profile with a profile name under the specified subscription and resource group. + * Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile + * name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profile Profile properties needed to create a new profile. * @param options The options parameters. */ @@ -102,10 +111,11 @@ export interface Profiles { options?: ProfilesCreateOptionalParams ): Promise; /** - * Updates an existing CDN profile with the specified profile name under the specified subscription and - * resource group. + * Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profileUpdateParameters Profile properties needed to update an existing profile. * @param options The options parameters. */ @@ -121,10 +131,11 @@ export interface Profiles { > >; /** - * Updates an existing CDN profile with the specified profile name under the specified subscription and - * resource group. + * Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified profile name under the specified subscription and resource group. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param profileUpdateParameters Profile properties needed to update an existing profile. * @param options The options parameters. */ @@ -135,10 +146,12 @@ export interface Profiles { options?: ProfilesUpdateOptionalParams ): Promise; /** - * Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the - * deletion of all of the sub-resources including endpoints, origins and custom domains. + * Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified parameters. Deleting a profile will result in the deletion of all of the sub-resources + * including endpoints, origins and custom domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ beginDelete( @@ -147,10 +160,12 @@ export interface Profiles { options?: ProfilesDeleteOptionalParams ): Promise, void>>; /** - * Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the - * deletion of all of the sub-resources including endpoints, origins and custom domains. + * Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the + * specified parameters. Deleting a profile will result in the deletion of all of the sub-resources + * including endpoints, origins and custom domains. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ beginDeleteAndWait( @@ -176,7 +191,8 @@ export interface Profiles { * Gets the supported optimization types for the current profile. A user can create an endpoint with an * optimization type from the listed values. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile + * which is unique within the resource group. * @param options The options parameters. */ listSupportedOptimizationTypes( diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/routes.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/routes.ts index 52bbd55e906a..2fcf1f3df8e5 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/routes.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/routes.ts @@ -27,7 +27,8 @@ export interface Routes { /** * Lists all of the existing origins within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param options The options parameters. */ @@ -41,7 +42,8 @@ export interface Routes { * Gets an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. @@ -57,7 +59,8 @@ export interface Routes { * Creates a new route with the specified route name under the specified subscription, resource group, * profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param route Route properties @@ -77,7 +80,8 @@ export interface Routes { * Creates a new route with the specified route name under the specified subscription, resource group, * profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param route Route properties @@ -95,7 +99,8 @@ export interface Routes { * Updates an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param routeUpdateProperties Route update properties @@ -115,7 +120,8 @@ export interface Routes { * Updates an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param routeUpdateProperties Route update properties @@ -133,7 +139,8 @@ export interface Routes { * Deletes an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. @@ -149,7 +156,8 @@ export interface Routes { * Deletes an existing route with the specified route name under the specified subscription, resource * group, profile, and AzureFrontDoor endpoint. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param endpointName Name of the endpoint under the profile which is unique globally. * @param routeName Name of the routing rule. * @param options The options parameters. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts index f216cfc1b1e3..2adec0bcc7c1 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts @@ -26,7 +26,8 @@ export interface RuleSets { /** * Lists existing AzureFrontDoor rule sets within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -37,7 +38,8 @@ export interface RuleSets { /** * Checks the quota and actual usage of endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -51,7 +53,8 @@ export interface RuleSets { * Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -64,29 +67,12 @@ export interface RuleSets { /** * Creates a new rule set within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally * @param options The options parameters. */ - beginCreate( - resourceGroupName: string, - profileName: string, - ruleSetName: string, - options?: RuleSetsCreateOptionalParams - ): Promise< - PollerLike< - PollOperationState, - RuleSetsCreateResponse - > - >; - /** - * Creates a new rule set within the specified profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param ruleSetName Name of the rule set under the profile which is unique globally - * @param options The options parameters. - */ - beginCreateAndWait( + create( resourceGroupName: string, profileName: string, ruleSetName: string, @@ -96,7 +82,8 @@ export interface RuleSets { * Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ @@ -110,7 +97,8 @@ export interface RuleSets { * Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified * subscription, resource group and profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile which is unique globally. * @param options The options parameters. */ diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/rules.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/rules.ts index 133d23e98533..56895a2c6a59 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/rules.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/rules.ts @@ -27,7 +27,8 @@ export interface Rules { /** * Lists all of the existing delivery rules within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param options The options parameters. */ @@ -40,7 +41,8 @@ export interface Rules { /** * Gets an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. @@ -55,7 +57,8 @@ export interface Rules { /** * Creates a new delivery rule within the specified rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param rule The delivery rule properties. @@ -74,7 +77,8 @@ export interface Rules { /** * Creates a new delivery rule within the specified rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param rule The delivery rule properties. @@ -91,7 +95,8 @@ export interface Rules { /** * Updates an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param ruleUpdateProperties Delivery rule properties @@ -110,7 +115,8 @@ export interface Rules { /** * Updates an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param ruleUpdateProperties Delivery rule properties @@ -127,7 +133,8 @@ export interface Rules { /** * Deletes an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. @@ -142,7 +149,8 @@ export interface Rules { /** * Deletes an existing delivery rule within a rule set. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param ruleSetName Name of the rule set under the profile. * @param ruleName Name of the delivery rule which is unique within the endpoint. * @param options The options parameters. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/secrets.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/secrets.ts index 6f14b40adcf2..2553bec552f0 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/secrets.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/secrets.ts @@ -15,9 +15,6 @@ import { SecretsGetResponse, SecretsCreateOptionalParams, SecretsCreateResponse, - SecretProperties, - SecretsUpdateOptionalParams, - SecretsUpdateResponse, SecretsDeleteOptionalParams } from "../models"; @@ -27,7 +24,8 @@ export interface Secrets { /** * Lists existing AzureFrontDoor secrets. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -38,7 +36,8 @@ export interface Secrets { /** * Gets an existing Secret within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ @@ -51,7 +50,8 @@ export interface Secrets { /** * Creates a new Secret within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param secret The Secret properties. * @param options The options parameters. @@ -68,7 +68,8 @@ export interface Secrets { /** * Creates a new Secret within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param secret The Secret properties. * @param options The options parameters. @@ -80,42 +81,11 @@ export interface Secrets { secret: Secret, options?: SecretsCreateOptionalParams ): Promise; - /** - * Updates an existing Secret within a profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param secretName Name of the Secret under the profile. - * @param secretProperties Secret properties - * @param options The options parameters. - */ - beginUpdate( - resourceGroupName: string, - profileName: string, - secretName: string, - secretProperties: SecretProperties, - options?: SecretsUpdateOptionalParams - ): Promise< - PollerLike, SecretsUpdateResponse> - >; - /** - * Updates an existing Secret within a profile. - * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param secretName Name of the Secret under the profile. - * @param secretProperties Secret properties - * @param options The options parameters. - */ - beginUpdateAndWait( - resourceGroupName: string, - profileName: string, - secretName: string, - secretProperties: SecretProperties, - options?: SecretsUpdateOptionalParams - ): Promise; /** * Deletes an existing Secret within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ @@ -128,7 +98,8 @@ export interface Secrets { /** * Deletes an existing Secret within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param secretName Name of the Secret under the profile. * @param options The options parameters. */ diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/securityPolicies.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/securityPolicies.ts index a2a532110ef6..17745967fea8 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/securityPolicies.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/securityPolicies.ts @@ -27,7 +27,8 @@ export interface SecurityPolicies { /** * Lists security policies associated with the profile * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param options The options parameters. */ listByProfile( @@ -38,7 +39,8 @@ export interface SecurityPolicies { /** * Gets an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ @@ -51,7 +53,8 @@ export interface SecurityPolicies { /** * Creates a new security policy within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicy The security policy properties. * @param options The options parameters. @@ -71,7 +74,8 @@ export interface SecurityPolicies { /** * Creates a new security policy within the specified profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicy The security policy properties. * @param options The options parameters. @@ -84,9 +88,10 @@ export interface SecurityPolicies { options?: SecurityPoliciesCreateOptionalParams ): Promise; /** - * Updates an existing Secret within a profile. + * Updates an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicyProperties Security policy update properties * @param options The options parameters. @@ -104,9 +109,10 @@ export interface SecurityPolicies { > >; /** - * Updates an existing Secret within a profile. + * Updates an existing security policy within a profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. * @param securityPolicyName Name of the security policy under the profile. * @param securityPolicyProperties Security policy update properties * @param options The options parameters. @@ -121,8 +127,9 @@ export interface SecurityPolicies { /** * Deletes an existing security policy within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param securityPolicyName Name of the Secret under the profile. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. + * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ beginDelete( @@ -134,8 +141,9 @@ export interface SecurityPolicies { /** * Deletes an existing security policy within profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. - * @param profileName Name of the CDN profile which is unique within the resource group. - * @param securityPolicyName Name of the Secret under the profile. + * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which + * is unique within the resource group. + * @param securityPolicyName Name of the security policy under the profile. * @param options The options parameters. */ beginDeleteAndWait( diff --git a/sdk/cdn/arm-cdn/test/cdn_examples.ts b/sdk/cdn/arm-cdn/test/cdn_examples.ts deleted file mode 100644 index fe3a93873fd9..000000000000 --- a/sdk/cdn/arm-cdn/test/cdn_examples.ts +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - env, - record, - RecorderEnvironmentSetup, - Recorder -} from "@azure-tools/test-recorder"; -import * as assert from "assert"; -import { ClientSecretCredential } from "@azure/identity"; -import { CdnManagementClient } from "../src/cdnManagementClient"; - -const recorderEnvSetup: RecorderEnvironmentSetup = { - replaceableVariables: { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" - }, - customizationsOnRecordings: [ - (recording: any): any => - recording.replace( - /"access_token":"[^"]*"/g, - `"access_token":"access_token"` - ) - ], - queryParametersToSkip: [] -}; - -describe("Cdn test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: CdnManagementClient; - let location: string; - let resourceGroup: string; - let profileName: string; - let endpointName: string; - - beforeEach(async function() { - recorder = record(this, recorderEnvSetup); - subscriptionId = env.SUBSCRIPTION_ID; - // This is an example of how the environment variables are used - const credential = new ClientSecretCredential( - env.AZURE_TENANT_ID, - env.AZURE_CLIENT_ID, - env.AZURE_CLIENT_SECRET - ); - client = new CdnManagementClient(credential, subscriptionId); - location = "eastus"; - resourceGroup = "myjstest"; - profileName = "myprofilexxx"; - endpointName = "myendpointxxx"; - }); - - afterEach(async function() { - await recorder.stop(); - }); - - it("profiles create test", async function() { - const res = await client.profiles.beginCreateAndWait(resourceGroup,profileName,{ - location: location, - sku: { - name: "Standard_Verizon" - } - }); - assert.equal(res.name,profileName); - }); - - it("endpoints create test", async function() { - const res = await client.endpoints.beginCreateAndWait(resourceGroup,profileName,endpointName,{ - originHostHeader: "www.bing.com", - originPath: "/image", - contentTypesToCompress: [ - "text/html", - "application/octet-stream" - ], - isCompressionEnabled: true, - isHttpAllowed: true, - isHttpsAllowed: true, - queryStringCachingBehavior: "BypassCaching", - origins: [ - { - name: "origin1", - hostName: "host1.hello.com" - } - ], - location: "westus", - tags: { - key1: "value1" - } - }); - assert.equal(res.name,endpointName); - }); - - it("profiles get test", async function() { - const res = await client.profiles.get(resourceGroup,profileName); - assert.equal(res.name,profileName); - }); - - it("endpoints get test", async function() { - const res = await client.endpoints.get(resourceGroup,profileName,endpointName); - assert.equal(res.name,endpointName); - }); - - it("profiles list test", async function() { - const resArray = new Array(); - for await (let item of client.profiles.listByResourceGroup(resourceGroup)){ - resArray.push(item); - } - assert.equal(resArray.length,1); - }); - - it("profiles listResourceUsage test", async function() { - const resArray = new Array(); - for await (let item of client.profiles.listResourceUsage(resourceGroup,profileName)){ - resArray.push(item); - } - assert.equal(resArray.length,1); - }); - - it("profiles upeate test", async function() { - const res = await client.profiles.beginUpdateAndWait(resourceGroup,profileName,{tags:{additional_properties: "Tag1"}}); - }); - - it("endpoints list test", async function() { - const resArray = new Array(); - for await (let item of client.endpoints.listByProfile(resourceGroup,profileName)){ - resArray.push(item); - } - assert.equal(resArray.length,1); - }); - - it("endpoints upeate test", async function() { - const res = await client.endpoints.beginUpdateAndWait(resourceGroup,profileName,endpointName,{tags: {additional_properties: "Tag1"}}); - assert.equal(res.type,"Microsoft.Cdn/profiles/endpoints"); - }); - - it("endpoints delete test", async function() { - const res = await client.endpoints.beginDeleteAndWait(resourceGroup,profileName,endpointName); - const resArray = new Array(); - for await (let item of client.endpoints.listByProfile(resourceGroup,profileName)){ - resArray.push(item); - } - assert.equal(resArray.length,0); - }); - - it("profiles delete test", async function() { - const res = await client.profiles.beginDeleteAndWait(resourceGroup,profileName); - const resArray = new Array(); - for await (let item of client.profiles.listByResourceGroup(resourceGroup)){ - resArray.push(item); - } - assert.equal(resArray.length,0); - }); -}); diff --git a/sdk/cdn/arm-cdn/test/sampleTest.ts b/sdk/cdn/arm-cdn/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/cdn/arm-cdn/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +});