From 68ff900deb6333f9a1879d061bb7b65a92e35d84 Mon Sep 17 00:00:00 2001 From: Yang An Date: Wed, 12 Aug 2026 18:14:07 +1000 Subject: [PATCH 01/13] Change Safety: opt in Az.Cdn (profiles + AFD endpoints) and regenerate --- generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 | 2 + .../exports/Add-AzCdnEdgeActionAttachment.ps1 | 30 + .../exports/Clear-AzCdnEndpointContent.ps1 | 32 + .../Clear-AzFrontDoorCdnEndpointContent.ps1 | 32 + .../Deploy-AzCdnEdgeActionVersionCode.ps1 | 32 + .../Disable-AzCdnCustomDomainCustomHttps.ps1 | 28 + .../Enable-AzCdnCustomDomainCustomHttps.ps1 | 32 + .../exports/Import-AzCdnEndpointContent.ps1 | 32 + ...Invoke-AzCdnAbortProfileToAFDMigration.ps1 | 26 + .../exports/New-AzCdnCustomDomain.ps1 | 31 + .../exports/New-AzCdnEdgeAction.ps1 | 27 + .../New-AzCdnEdgeActionExecutionFilter.ps1 | 27 + .../exports/New-AzCdnEdgeActionVersion.ps1 | 27 + .../exports/New-AzCdnEndpoint.ps1 | 29 + .../Cdn.Autorest/exports/New-AzCdnOrigin.ps1 | 31 + .../exports/New-AzCdnOriginGroup.ps1 | 31 + .../New-AzFrontDoorCdnCustomDomain.ps1 | 29 + .../exports/New-AzFrontDoorCdnEndpoint.ps1 | 29 + .../exports/New-AzFrontDoorCdnOrigin.ps1 | 31 + .../exports/New-AzFrontDoorCdnOriginGroup.ps1 | 29 + .../exports/New-AzFrontDoorCdnRule.ps1 | 31 + .../exports/New-AzFrontDoorCdnRuleSet.ps1 | 30 + .../exports/New-AzFrontDoorCdnSecret.ps1 | 29 + .../New-AzFrontDoorCdnSecurityPolicy.ps1 | 29 + .../exports/ProxyCmdletDefinitions.ps1 | 1680 ++++++++++++++++- .../exports/Remove-AzCdnCustomDomain.ps1 | 28 + .../exports/Remove-AzCdnEdgeAction.ps1 | 25 + .../Remove-AzCdnEdgeActionAttachment.ps1 | 30 + .../Remove-AzCdnEdgeActionExecutionFilter.ps1 | 25 + .../exports/Remove-AzCdnEdgeActionVersion.ps1 | 25 + .../exports/Remove-AzCdnEndpoint.ps1 | 27 + .../exports/Remove-AzCdnOrigin.ps1 | 28 + .../exports/Remove-AzCdnOriginGroup.ps1 | 28 + .../Remove-AzFrontDoorCdnCustomDomain.ps1 | 27 + .../exports/Remove-AzFrontDoorCdnEndpoint.ps1 | 27 + .../exports/Remove-AzFrontDoorCdnOrigin.ps1 | 28 + .../Remove-AzFrontDoorCdnOriginGroup.ps1 | 27 + .../exports/Remove-AzFrontDoorCdnRoute.ps1 | 28 + .../exports/Remove-AzFrontDoorCdnRule.ps1 | 28 + .../exports/Remove-AzFrontDoorCdnRuleSet.ps1 | 27 + .../exports/Remove-AzFrontDoorCdnSecret.ps1 | 27 + .../Remove-AzFrontDoorCdnSecurityPolicy.ps1 | 27 + .../exports/Start-AzCdnEndpoint.ps1 | 27 + .../exports/Stop-AzCdnEndpoint.ps1 | 27 + .../exports/Update-AzCdnEdgeAction.ps1 | 27 + .../Update-AzCdnEdgeActionExecutionFilter.ps1 | 27 + .../exports/Update-AzCdnEdgeActionVersion.ps1 | 27 + .../exports/Update-AzCdnEndpoint.ps1 | 30 + .../exports/Update-AzCdnOrigin.ps1 | 32 + .../exports/Update-AzCdnOriginGroup.ps1 | 32 + .../Update-AzFrontDoorCdnCustomDomain.ps1 | 30 + ...rontDoorCdnCustomDomainValidationToken.ps1 | 27 + .../exports/Update-AzFrontDoorCdnEndpoint.ps1 | 30 + .../exports/Update-AzFrontDoorCdnOrigin.ps1 | 32 + .../Update-AzFrontDoorCdnOriginGroup.ps1 | 30 + .../exports/Update-AzFrontDoorCdnRoute.ps1 | 32 + .../exports/Update-AzFrontDoorCdnRule.ps1 | 32 + .../exports/Update-AzFrontDoorCdnRuleSet.ps1 | 28 + .../exports/Update-AzFrontDoorCdnSecret.ps1 | 28 + .../Update-AzFrontDoorCdnSecurityPolicy.ps1 | 30 + .../Cdn/Cdn.Autorest/generated/Module.cs | 7 + .../Cdn/Cdn.Autorest/generated/api/Cdn.cs | 2 +- .../AddAzCdnEdgeActionAttachment_Add.cs | 17 +- ...ddAzCdnEdgeActionAttachment_AddExpanded.cs | 17 +- ...zCdnEdgeActionAttachment_AddViaIdentity.cs | 17 +- ...ActionAttachment_AddViaIdentityExpanded.cs | 17 +- ...EdgeActionAttachment_AddViaJsonFilePath.cs | 17 +- ...dnEdgeActionAttachment_AddViaJsonString.cs | 17 +- .../ClearAzCdnEndpointContent_Purge.cs | 17 +- ...ClearAzCdnEndpointContent_PurgeExpanded.cs | 17 +- ...arAzCdnEndpointContent_PurgeViaIdentity.cs | 17 +- ...ndpointContent_PurgeViaIdentityExpanded.cs | 17 +- ...EndpointContent_PurgeViaIdentityProfile.cs | 17 +- ...Content_PurgeViaIdentityProfileExpanded.cs | 17 +- ...CdnEndpointContent_PurgeViaJsonFilePath.cs | 17 +- ...AzCdnEndpointContent_PurgeViaJsonString.cs | 17 +- ...learAzFrontDoorCdnEndpointContent_Purge.cs | 17 +- ...ontDoorCdnEndpointContent_PurgeExpanded.cs | 17 +- ...DoorCdnEndpointContent_PurgeViaIdentity.cs | 17 +- ...ndpointContent_PurgeViaIdentityExpanded.cs | 17 +- ...EndpointContent_PurgeViaIdentityProfile.cs | 17 +- ...Content_PurgeViaIdentityProfileExpanded.cs | 17 +- ...CdnEndpointContent_PurgeViaJsonFilePath.cs | 17 +- ...orCdnEndpointContent_PurgeViaJsonString.cs | 17 +- ...DeployAzCdnEdgeActionVersionCode_Deploy.cs | 17 +- ...CdnEdgeActionVersionCode_DeployExpanded.cs | 17 +- ...EdgeActionVersionCode_DeployViaIdentity.cs | 17 +- ...VersionCode_DeployViaIdentityEdgeAction.cs | 17 +- ...ode_DeployViaIdentityEdgeActionExpanded.cs | 17 +- ...onVersionCode_DeployViaIdentityExpanded.cs | 17 +- ...ActionVersionCode_DeployViaJsonFilePath.cs | 17 +- ...geActionVersionCode_DeployViaJsonString.cs | 17 +- ...bleAzCdnCustomDomainCustomHttps_Disable.cs | 17 +- ...tomDomainCustomHttps_DisableViaIdentity.cs | 17 +- ...nCustomHttps_DisableViaIdentityEndpoint.cs | 17 +- ...inCustomHttps_DisableViaIdentityProfile.cs | 17 +- ...ableAzCdnCustomDomainCustomHttps_Enable.cs | 17 +- ...stomDomainCustomHttps_EnableViaIdentity.cs | 17 +- ...inCustomHttps_EnableViaIdentityEndpoint.cs | 17 +- ...Https_EnableViaIdentityEndpointExpanded.cs | 17 +- ...ainCustomHttps_EnableViaIdentityProfile.cs | 17 +- ...mHttps_EnableViaIdentityProfileExpanded.cs | 17 +- ...DomainCustomHttps_EnableViaJsonFilePath.cs | 17 +- ...omDomainCustomHttps_EnableViaJsonString.cs | 17 +- .../ImportAzCdnEndpointContent_Load.cs | 17 +- ...ImportAzCdnEndpointContent_LoadExpanded.cs | 17 +- ...ortAzCdnEndpointContent_LoadViaIdentity.cs | 17 +- ...EndpointContent_LoadViaIdentityExpanded.cs | 17 +- ...nEndpointContent_LoadViaIdentityProfile.cs | 17 +- ...tContent_LoadViaIdentityProfileExpanded.cs | 17 +- ...zCdnEndpointContent_LoadViaJsonFilePath.cs | 17 +- ...tAzCdnEndpointContent_LoadViaJsonString.cs | 17 +- ...keAzCdnAbortProfileToAFDMigration_Abort.cs | 17 +- ...tProfileToAFDMigration_AbortViaIdentity.cs | 17 +- .../InvokeAzCdnCanProfileMigrate_Can.cs | 17 +- ...nvokeAzCdnCanProfileMigrate_CanExpanded.cs | 17 +- ...CdnCanProfileMigrate_CanViaJsonFilePath.cs | 17 +- ...AzCdnCanProfileMigrate_CanViaJsonString.cs | 17 +- ...nvokeAzCdnCommitProfileMigration_Commit.cs | 17 +- ...ommitProfileMigration_CommitViaIdentity.cs | 17 +- .../cmdlets/MoveAzCdnProfile_Migrate.cs | 17 +- .../MoveAzCdnProfile_MigrateExpanded.cs | 17 +- ...MoveAzCdnProfile_MigrateViaJsonFilePath.cs | 17 +- .../MoveAzCdnProfile_MigrateViaJsonString.cs | 17 +- ...MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs | 17 +- ...ontDoorCdnCdnProfilesTo_MigrateExpanded.cs | 17 +- ...DoorCdnCdnProfilesTo_MigrateViaIdentity.cs | 17 +- ...dnProfilesTo_MigrateViaIdentityExpanded.cs | 17 +- ...CdnCdnProfilesTo_MigrateViaJsonFilePath.cs | 17 +- ...orCdnCdnProfilesTo_MigrateViaJsonString.cs | 17 +- .../NewAzCdnCustomDomain_CreateExpanded.cs | 17 +- ...nCustomDomain_CreateViaIdentityEndpoint.cs | 17 +- ...omain_CreateViaIdentityEndpointExpanded.cs | 17 +- ...dnCustomDomain_CreateViaIdentityProfile.cs | 17 +- ...Domain_CreateViaIdentityProfileExpanded.cs | 17 +- ...AzCdnCustomDomain_CreateViaJsonFilePath.cs | 17 +- ...ewAzCdnCustomDomain_CreateViaJsonString.cs | 17 +- ...dgeActionExecutionFilter_CreateExpanded.cs | 17 +- ...onExecutionFilter_CreateViaJsonFilePath.cs | 17 +- ...tionExecutionFilter_CreateViaJsonString.cs | 17 +- ...ewAzCdnEdgeActionVersion_CreateExpanded.cs | 17 +- ...EdgeActionVersion_CreateViaJsonFilePath.cs | 17 +- ...dnEdgeActionVersion_CreateViaJsonString.cs | 17 +- .../NewAzCdnEdgeAction_CreateExpanded.cs | 17 +- ...ewAzCdnEdgeAction_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnEdgeAction_CreateViaJsonString.cs | 17 +- .../NewAzCdnEndpoint_CreateExpanded.cs | 17 +- ...wAzCdnEndpoint_CreateViaIdentityProfile.cs | 17 +- ...dpoint_CreateViaIdentityProfileExpanded.cs | 17 +- .../NewAzCdnEndpoint_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnEndpoint_CreateViaJsonString.cs | 17 +- .../NewAzCdnOriginGroup_CreateExpanded.cs | 17 +- ...dnOriginGroup_CreateViaIdentityEndpoint.cs | 17 +- ...Group_CreateViaIdentityEndpointExpanded.cs | 17 +- ...CdnOriginGroup_CreateViaIdentityProfile.cs | 17 +- ...nGroup_CreateViaIdentityProfileExpanded.cs | 17 +- ...wAzCdnOriginGroup_CreateViaJsonFilePath.cs | 17 +- ...NewAzCdnOriginGroup_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnOrigin_CreateExpanded.cs | 17 +- ...ewAzCdnOrigin_CreateViaIdentityEndpoint.cs | 17 +- ...rigin_CreateViaIdentityEndpointExpanded.cs | 17 +- ...NewAzCdnOrigin_CreateViaIdentityProfile.cs | 17 +- ...Origin_CreateViaIdentityProfileExpanded.cs | 17 +- .../NewAzCdnOrigin_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnOrigin_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnPolicy_CreateExpanded.cs | 17 +- .../NewAzCdnPolicy_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnPolicy_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnProfileSsoUri_Generate.cs | 17 +- ...wAzCdnProfileSsoUri_GenerateViaIdentity.cs | 17 +- .../cmdlets/NewAzCdnProfile_CreateExpanded.cs | 17 +- .../NewAzCdnProfile_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnProfile_CreateViaJsonString.cs | 17 +- ...FrontDoorCdnCustomDomain_CreateExpanded.cs | 17 +- ...dnCustomDomain_CreateViaIdentityProfile.cs | 17 +- ...Domain_CreateViaIdentityProfileExpanded.cs | 17 +- ...orCdnCustomDomain_CreateViaJsonFilePath.cs | 17 +- ...DoorCdnCustomDomain_CreateViaJsonString.cs | 17 +- ...ewAzFrontDoorCdnEndpoint_CreateExpanded.cs | 17 +- ...oorCdnEndpoint_CreateViaIdentityProfile.cs | 17 +- ...dpoint_CreateViaIdentityProfileExpanded.cs | 17 +- ...ntDoorCdnEndpoint_CreateViaJsonFilePath.cs | 17 +- ...rontDoorCdnEndpoint_CreateViaJsonString.cs | 17 +- ...zFrontDoorCdnOriginGroup_CreateExpanded.cs | 17 +- ...CdnOriginGroup_CreateViaIdentityProfile.cs | 17 +- ...nGroup_CreateViaIdentityProfileExpanded.cs | 17 +- ...oorCdnOriginGroup_CreateViaJsonFilePath.cs | 17 +- ...tDoorCdnOriginGroup_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnOrigin_CreateExpanded.cs | 17 +- ...rCdnOrigin_CreateViaIdentityOriginGroup.cs | 17 +- ...in_CreateViaIdentityOriginGroupExpanded.cs | 17 +- ...tDoorCdnOrigin_CreateViaIdentityProfile.cs | 17 +- ...Origin_CreateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnOrigin_CreateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnOrigin_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRoute_CreateExpanded.cs | 17 +- ...orCdnRoute_CreateViaIdentityAfdEndpoint.cs | 17 +- ...te_CreateViaIdentityAfdEndpointExpanded.cs | 17 +- ...ntDoorCdnRoute_CreateViaIdentityProfile.cs | 17 +- ...nRoute_CreateViaIdentityProfileExpanded.cs | 17 +- ...FrontDoorCdnRoute_CreateViaJsonFilePath.cs | 17 +- ...AzFrontDoorCdnRoute_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRuleSet_Create.cs | 17 +- ...NewAzFrontDoorCdnRuleSet_CreateExpanded.cs | 17 +- ...DoorCdnRuleSet_CreateViaIdentityProfile.cs | 17 +- ...uleSet_CreateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRuleSet_CreateViaJsonFilePath.cs | 17 +- ...FrontDoorCdnRuleSet_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRule_CreateExpanded.cs | 17 +- ...ontDoorCdnRule_CreateViaIdentityProfile.cs | 17 +- ...dnRule_CreateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRule_CreateViaIdentityRuleSet.cs | 17 +- ...dnRule_CreateViaIdentityRuleSetExpanded.cs | 17 +- ...zFrontDoorCdnRule_CreateViaJsonFilePath.cs | 17 +- ...wAzFrontDoorCdnRule_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnSecret_CreateExpanded.cs | 17 +- ...tDoorCdnSecret_CreateViaIdentityProfile.cs | 17 +- ...Secret_CreateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnSecret_CreateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnSecret_CreateViaJsonString.cs | 17 +- ...ontDoorCdnSecurityPolicy_CreateExpanded.cs | 17 +- ...SecurityPolicy_CreateViaIdentityProfile.cs | 17 +- ...Policy_CreateViaIdentityProfileExpanded.cs | 17 +- ...CdnSecurityPolicy_CreateViaJsonFilePath.cs | 17 +- ...orCdnSecurityPolicy_CreateViaJsonString.cs | 17 +- .../cmdlets/RemoveAzCdnCustomDomain_Delete.cs | 17 +- ...moveAzCdnCustomDomain_DeleteViaIdentity.cs | 17 +- ...nCustomDomain_DeleteViaIdentityEndpoint.cs | 17 +- ...dnCustomDomain_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzCdnEdgeActionAttachment_Delete.cs | 17 +- ...zCdnEdgeActionAttachment_DeleteExpanded.cs | 17 +- ...nEdgeActionAttachment_DeleteViaIdentity.cs | 17 +- ...ionAttachment_DeleteViaIdentityExpanded.cs | 17 +- ...eActionAttachment_DeleteViaJsonFilePath.cs | 17 +- ...dgeActionAttachment_DeleteViaJsonString.cs | 17 +- ...veAzCdnEdgeActionExecutionFilter_Delete.cs | 17 +- .../RemoveAzCdnEdgeActionVersion_Delete.cs | 17 +- .../cmdlets/RemoveAzCdnEdgeAction_Delete.cs | 17 +- .../cmdlets/RemoveAzCdnEndpoint_Delete.cs | 17 +- .../RemoveAzCdnEndpoint_DeleteViaIdentity.cs | 17 +- ...eAzCdnEndpoint_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnOriginGroup_Delete.cs | 17 +- ...emoveAzCdnOriginGroup_DeleteViaIdentity.cs | 17 +- ...dnOriginGroup_DeleteViaIdentityEndpoint.cs | 17 +- ...CdnOriginGroup_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnOrigin_Delete.cs | 17 +- .../RemoveAzCdnOrigin_DeleteViaIdentity.cs | 17 +- ...veAzCdnOrigin_DeleteViaIdentityEndpoint.cs | 17 +- ...oveAzCdnOrigin_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnPolicy_Delete.cs | 17 +- .../RemoveAzCdnPolicy_DeleteViaIdentity.cs | 17 +- .../cmdlets/RemoveAzCdnProfile_Delete.cs | 17 +- .../RemoveAzCdnProfile_DeleteViaIdentity.cs | 17 +- ...RemoveAzFrontDoorCdnCustomDomain_Delete.cs | 17 +- ...ntDoorCdnCustomDomain_DeleteViaIdentity.cs | 17 +- ...dnCustomDomain_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnEndpoint_Delete.cs | 17 +- ...zFrontDoorCdnEndpoint_DeleteViaIdentity.cs | 17 +- ...oorCdnEndpoint_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnOriginGroup_Delete.cs | 17 +- ...ontDoorCdnOriginGroup_DeleteViaIdentity.cs | 17 +- ...CdnOriginGroup_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnOrigin_Delete.cs | 17 +- ...eAzFrontDoorCdnOrigin_DeleteViaIdentity.cs | 17 +- ...rCdnOrigin_DeleteViaIdentityOriginGroup.cs | 17 +- ...tDoorCdnOrigin_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRoute_Delete.cs | 17 +- ...veAzFrontDoorCdnRoute_DeleteViaIdentity.cs | 17 +- ...orCdnRoute_DeleteViaIdentityAfdEndpoint.cs | 17 +- ...ntDoorCdnRoute_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRuleSet_Delete.cs | 17 +- ...AzFrontDoorCdnRuleSet_DeleteViaIdentity.cs | 17 +- ...DoorCdnRuleSet_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRule_Delete.cs | 17 +- ...oveAzFrontDoorCdnRule_DeleteViaIdentity.cs | 17 +- ...ontDoorCdnRule_DeleteViaIdentityProfile.cs | 17 +- ...ontDoorCdnRule_DeleteViaIdentityRuleSet.cs | 17 +- .../RemoveAzFrontDoorCdnSecret_Delete.cs | 17 +- ...eAzFrontDoorCdnSecret_DeleteViaIdentity.cs | 17 +- ...tDoorCdnSecret_DeleteViaIdentityProfile.cs | 17 +- ...moveAzFrontDoorCdnSecurityPolicy_Delete.cs | 17 +- ...DoorCdnSecurityPolicy_DeleteViaIdentity.cs | 17 +- ...SecurityPolicy_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/StartAzCdnEndpoint_Start.cs | 17 +- .../StartAzCdnEndpoint_StartViaIdentity.cs | 17 +- ...rtAzCdnEndpoint_StartViaIdentityProfile.cs | 17 +- .../cmdlets/StopAzCdnEndpoint_Stop.cs | 17 +- .../StopAzCdnEndpoint_StopViaIdentity.cs | 17 +- ...topAzCdnEndpoint_StopViaIdentityProfile.cs | 17 +- ...dgeActionExecutionFilter_UpdateExpanded.cs | 17 +- ...onExecutionFilter_UpdateViaJsonFilePath.cs | 17 +- ...tionExecutionFilter_UpdateViaJsonString.cs | 17 +- ...teAzCdnEdgeActionVersion_UpdateExpanded.cs | 17 +- ...EdgeActionVersion_UpdateViaJsonFilePath.cs | 17 +- ...dnEdgeActionVersion_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnEdgeAction_UpdateExpanded.cs | 17 +- ...teAzCdnEdgeAction_UpdateViaJsonFilePath.cs | 17 +- ...dateAzCdnEdgeAction_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnEndpoint_UpdateExpanded.cs | 17 +- ...AzCdnEndpoint_UpdateViaIdentityExpanded.cs | 17 +- ...eAzCdnEndpoint_UpdateViaIdentityProfile.cs | 17 +- ...dpoint_UpdateViaIdentityProfileExpanded.cs | 17 +- ...dateAzCdnEndpoint_UpdateViaJsonFilePath.cs | 17 +- ...UpdateAzCdnEndpoint_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnOriginGroup_UpdateExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityEndpoint.cs | 17 +- ...Group_UpdateViaIdentityEndpointExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityExpanded.cs | 17 +- ...CdnOriginGroup_UpdateViaIdentityProfile.cs | 17 +- ...nGroup_UpdateViaIdentityProfileExpanded.cs | 17 +- ...eAzCdnOriginGroup_UpdateViaJsonFilePath.cs | 17 +- ...ateAzCdnOriginGroup_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnOrigin_UpdateExpanded.cs | 17 +- ...teAzCdnOrigin_UpdateViaIdentityEndpoint.cs | 17 +- ...rigin_UpdateViaIdentityEndpointExpanded.cs | 17 +- ...teAzCdnOrigin_UpdateViaIdentityExpanded.cs | 17 +- ...ateAzCdnOrigin_UpdateViaIdentityProfile.cs | 17 +- ...Origin_UpdateViaIdentityProfileExpanded.cs | 17 +- ...UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnOrigin_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnPolicy_UpdateExpanded.cs | 17 +- ...teAzCdnPolicy_UpdateViaIdentityExpanded.cs | 17 +- ...UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnPolicy_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnProfile_UpdateExpanded.cs | 17 +- ...eAzCdnProfile_UpdateViaIdentityExpanded.cs | 17 +- ...pdateAzCdnProfile_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnProfile_UpdateViaJsonString.cs | 17 +- ...rCdnCustomDomainValidationToken_Refresh.cs | 17 +- ...omainValidationToken_RefreshViaIdentity.cs | 17 +- ...lidationToken_RefreshViaIdentityProfile.cs | 17 +- ...FrontDoorCdnCustomDomain_UpdateExpanded.cs | 17 +- ...nCustomDomain_UpdateViaIdentityExpanded.cs | 17 +- ...dnCustomDomain_UpdateViaIdentityProfile.cs | 17 +- ...Domain_UpdateViaIdentityProfileExpanded.cs | 17 +- ...orCdnCustomDomain_UpdateViaJsonFilePath.cs | 17 +- ...DoorCdnCustomDomain_UpdateViaJsonString.cs | 17 +- ...teAzFrontDoorCdnEndpoint_UpdateExpanded.cs | 17 +- ...orCdnEndpoint_UpdateViaIdentityExpanded.cs | 17 +- ...oorCdnEndpoint_UpdateViaIdentityProfile.cs | 17 +- ...dpoint_UpdateViaIdentityProfileExpanded.cs | 17 +- ...ntDoorCdnEndpoint_UpdateViaJsonFilePath.cs | 17 +- ...rontDoorCdnEndpoint_UpdateViaJsonString.cs | 17 +- ...zFrontDoorCdnOriginGroup_UpdateExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityExpanded.cs | 17 +- ...CdnOriginGroup_UpdateViaIdentityProfile.cs | 17 +- ...nGroup_UpdateViaIdentityProfileExpanded.cs | 17 +- ...oorCdnOriginGroup_UpdateViaJsonFilePath.cs | 17 +- ...tDoorCdnOriginGroup_UpdateViaJsonString.cs | 17 +- ...dateAzFrontDoorCdnOrigin_UpdateExpanded.cs | 17 +- ...DoorCdnOrigin_UpdateViaIdentityExpanded.cs | 17 +- ...rCdnOrigin_UpdateViaIdentityOriginGroup.cs | 17 +- ...in_UpdateViaIdentityOriginGroupExpanded.cs | 17 +- ...tDoorCdnOrigin_UpdateViaIdentityProfile.cs | 17 +- ...Origin_UpdateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnOrigin_UpdateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnOrigin_UpdateViaJsonString.cs | 17 +- .../UpdateAzFrontDoorCdnProfileSku_Upgrade.cs | 17 +- ...zFrontDoorCdnProfileSku_UpgradeExpanded.cs | 17 +- ...ontDoorCdnProfileSku_UpgradeViaIdentity.cs | 17 +- ...dnProfileSku_UpgradeViaIdentityExpanded.cs | 17 +- ...oorCdnProfileSku_UpgradeViaJsonFilePath.cs | 17 +- ...tDoorCdnProfileSku_UpgradeViaJsonString.cs | 17 +- ...pdateAzFrontDoorCdnRoute_UpdateExpanded.cs | 17 +- ...orCdnRoute_UpdateViaIdentityAfdEndpoint.cs | 17 +- ...te_UpdateViaIdentityAfdEndpointExpanded.cs | 17 +- ...tDoorCdnRoute_UpdateViaIdentityExpanded.cs | 17 +- ...ntDoorCdnRoute_UpdateViaIdentityProfile.cs | 17 +- ...nRoute_UpdateViaIdentityProfileExpanded.cs | 17 +- ...FrontDoorCdnRoute_UpdateViaJsonFilePath.cs | 17 +- ...AzFrontDoorCdnRoute_UpdateViaJsonString.cs | 17 +- ...ateAzFrontDoorCdnRuleSet_UpdateExpanded.cs | 17 +- ...oorCdnRuleSet_UpdateViaIdentityExpanded.cs | 17 +- ...DoorCdnRuleSet_UpdateViaIdentityProfile.cs | 17 +- ...uleSet_UpdateViaIdentityProfileExpanded.cs | 17 +- ...UpdateAzFrontDoorCdnRule_UpdateExpanded.cs | 17 +- ...ntDoorCdnRule_UpdateViaIdentityExpanded.cs | 17 +- ...ontDoorCdnRule_UpdateViaIdentityProfile.cs | 17 +- ...dnRule_UpdateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRule_UpdateViaIdentityRuleSet.cs | 17 +- ...dnRule_UpdateViaIdentityRuleSetExpanded.cs | 17 +- ...zFrontDoorCdnRule_UpdateViaJsonFilePath.cs | 17 +- ...eAzFrontDoorCdnRule_UpdateViaJsonString.cs | 17 +- ...dateAzFrontDoorCdnSecret_UpdateExpanded.cs | 17 +- ...DoorCdnSecret_UpdateViaIdentityExpanded.cs | 17 +- ...tDoorCdnSecret_UpdateViaIdentityProfile.cs | 17 +- ...Secret_UpdateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnSecurityPolicy_PatchExpanded.cs | 17 +- ...SecurityPolicy_PatchViaIdentityExpanded.cs | 17 +- ...nSecurityPolicy_PatchViaIdentityProfile.cs | 17 +- ...yPolicy_PatchViaIdentityProfileExpanded.cs | 17 +- ...rCdnSecurityPolicy_PatchViaJsonFilePath.cs | 17 +- ...oorCdnSecurityPolicy_PatchViaJsonString.cs | 17 +- .../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 1 + .../BuildTime/Models/PsProxyOutputs.cs | 55 + .../generated/runtime/ISendAsync.cs | 18 + .../Invoke-AzCdnCanProfileMigrate.ps1 | 28 + .../Invoke-AzCdnCommitProfileMigration.ps1 | 26 + .../internal/Move-AzCdnProfile.ps1 | 28 + .../Move-AzFrontDoorCdnCdnProfilesTo.ps1 | 30 + .../Cdn.Autorest/internal/New-AzCdnPolicy.ps1 | 27 + .../internal/New-AzCdnProfile.ps1 | 27 + .../internal/New-AzCdnProfileSsoUri.ps1 | 26 + .../internal/New-AzFrontDoorCdnRoute.ps1 | 31 + .../internal/ProxyCmdletDefinitions.ps1 | 361 ++++ .../internal/Remove-AzCdnPolicy.ps1 | 26 + .../internal/Remove-AzCdnProfile.ps1 | 26 + .../internal/Update-AzCdnPolicy.ps1 | 28 + .../internal/Update-AzCdnProfile.ps1 | 28 + .../Update-AzFrontDoorCdnProfileSku.ps1 | 30 + .../Cdn.Autorest/Properties/AssemblyInfo.cs | 6 +- src/Cdn/Cdn.Autorest/README.md | 2 + .../Cdn.Autorest/custom/New-AzCdnProfile.ps1 | 26 +- .../custom/New-AzFrontDoorCdnProfile.ps1 | 16 + .../custom/Remove-AzCdnProfile.ps1 | 15 + .../custom/Remove-AzFrontDoorCdnProfile.ps1 | 16 + .../custom/Update-AzCdnProfile.ps1 | 15 + .../custom/Update-AzFrontDoorCdnProfile.ps1 | 16 + src/Cdn/Cdn.Autorest/docs/Az.Cdn.md | 2 +- src/Cdn/Cdn/ChangeLog.md | 1 + .../Cdn.Autorest/TestLiveScenarios.ps1 | 34 + 421 files changed, 9593 insertions(+), 344 deletions(-) create mode 100644 src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 diff --git a/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 b/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 index c1cf393c6cb9..bd51151ff891 100644 --- a/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 +++ b/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 @@ -63,6 +63,8 @@ # Tweaks the pipeline per call $instance.OnNewRequest = $VTable.OnNewRequest + # Tweaks the pipeline per call (Change Safety policy-token step) + $instance.AddChangeSafetyPolicyTokenHandler = $VTable.AddChangeSafetyPolicyTokenHandler # Gets shared parameter values $instance.GetParameterValue = $VTable.GetParameterValue diff --git a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 index 7fa2f6007da7..e8724dd7caf0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 @@ -185,6 +185,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Add = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_Add'; + AddExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddExpanded'; + AddViaIdentity = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentity'; + AddViaIdentityExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentityExpanded'; + AddViaJsonFilePath = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonFilePath'; + AddViaJsonString = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 index 9fb821bacdd5..6fbaeff5cd2b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 @@ -236,6 +236,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Purge = 'Az.Cdn.private\Clear-AzCdnEndpointContent_Purge'; + PurgeExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeExpanded'; + PurgeViaIdentity = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentity'; + PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityExpanded'; + PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfile'; + PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfileExpanded'; + PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonFilePath'; + PurgeViaJsonString = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 index 6159b1f341fd..a4fd8f10bf31 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 @@ -246,6 +246,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Purge = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_Purge'; + PurgeExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeExpanded'; + PurgeViaIdentity = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentity'; + PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded'; + PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile'; + PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded'; + PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath'; + PurgeViaJsonString = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 index c3291425c9d7..b435b552335e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 @@ -233,6 +233,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Deploy = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_Deploy'; + DeployExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployExpanded'; + DeployViaIdentity = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentity'; + DeployViaIdentityEdgeAction = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction'; + DeployViaIdentityEdgeActionExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded'; + DeployViaIdentityExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityExpanded'; + DeployViaJsonFilePath = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonFilePath'; + DeployViaJsonString = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 index d3c796035310..7aa7d2d5cfd9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 @@ -209,6 +209,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Disable = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_Disable'; + DisableViaIdentity = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentity'; + DisableViaIdentityEndpoint = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint'; + DisableViaIdentityProfile = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 index 9a1ee16238c5..7c322bbda0e5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 @@ -277,6 +277,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Enable = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_Enable'; + EnableViaIdentity = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentity'; + EnableViaIdentityEndpoint = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint'; + EnableViaIdentityEndpointExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded'; + EnableViaIdentityProfile = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfile'; + EnableViaIdentityProfileExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded'; + EnableViaJsonFilePath = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonFilePath'; + EnableViaJsonString = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 index ea7a9ec462a1..92f74912ccaa 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 @@ -238,6 +238,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Load = 'Az.Cdn.private\Import-AzCdnEndpointContent_Load'; + LoadExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadExpanded'; + LoadViaIdentity = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentity'; + LoadViaIdentityExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityExpanded'; + LoadViaIdentityProfile = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfile'; + LoadViaIdentityProfileExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfileExpanded'; + LoadViaJsonFilePath = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonFilePath'; + LoadViaJsonString = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 index 11429e111568..15771462a6d0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 @@ -150,6 +150,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Abort = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_Abort'; + AbortViaIdentity = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_AbortViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 index ca5118f5f4c9..b6c7f38c5d73 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 @@ -227,6 +227,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 index ba7394648b72..7fedbcf2fa12 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 @@ -158,6 +158,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 index 12c8a97902a4..d2bdea11a322 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 @@ -169,6 +169,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 index d19c282f8f6f..7d06e2377b52 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 @@ -165,6 +165,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 index 88e7c9eae57d..9e232dbf8a19 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 @@ -459,6 +459,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 index 0d1cb7bdaa9e..d7ef0eaeb1fe 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 @@ -328,6 +328,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 index d646d379f33d..97a6faadf237 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 @@ -285,6 +285,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 index c9aed5b92ae5..f62a7e3316ab 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 @@ -254,6 +254,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 index e7f20d45e5b5..9a9e6332ea1f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 @@ -228,6 +228,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 index fa115e8e55b0..88ed84f3c844 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 @@ -355,6 +355,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateExpanded'; + CreateViaIdentityOriginGroup = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup'; + CreateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 index 1c75b25c6cf3..29d580127148 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 @@ -271,6 +271,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 index a7c32ee3e1a2..187275b1cc18 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 @@ -283,6 +283,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfileExpanded'; + CreateViaIdentityRuleSet = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSet'; + CreateViaIdentityRuleSetExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 index af0eb0ff7d5f..3530748155a1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 @@ -218,6 +218,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Create = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_Create'; + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 index f91cd3c96282..1e7083da6239 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 @@ -194,6 +194,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 index 19a0ed089567..96ac10b1ab0e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 @@ -193,6 +193,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 index 38c213675698..53ed4d7cb8bc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -185,6 +185,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Add = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_Add'; + AddExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddExpanded'; + AddViaIdentity = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentity'; + AddViaIdentityExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentityExpanded'; + AddViaJsonFilePath = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonFilePath'; + AddViaJsonString = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -508,6 +538,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Purge = 'Az.Cdn.private\Clear-AzCdnEndpointContent_Purge'; + PurgeExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeExpanded'; + PurgeViaIdentity = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentity'; + PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityExpanded'; + PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfile'; + PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfileExpanded'; + PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonFilePath'; + PurgeViaJsonString = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -843,6 +905,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Purge = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_Purge'; + PurgeExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeExpanded'; + PurgeViaIdentity = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentity'; + PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded'; + PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile'; + PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded'; + PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath'; + PurgeViaJsonString = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -1165,6 +1259,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Deploy = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_Deploy'; + DeployExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployExpanded'; + DeployViaIdentity = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentity'; + DeployViaIdentityEdgeAction = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction'; + DeployViaIdentityEdgeActionExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded'; + DeployViaIdentityExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityExpanded'; + DeployViaJsonFilePath = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonFilePath'; + DeployViaJsonString = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -1463,6 +1589,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Disable = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_Disable'; + DisableViaIdentity = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentity'; + DisableViaIdentityEndpoint = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint'; + DisableViaIdentityProfile = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -1825,6 +1979,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Enable = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_Enable'; + EnableViaIdentity = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentity'; + EnableViaIdentityEndpoint = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint'; + EnableViaIdentityEndpointExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded'; + EnableViaIdentityProfile = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfile'; + EnableViaIdentityProfileExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded'; + EnableViaJsonFilePath = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonFilePath'; + EnableViaJsonString = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -8416,6 +8602,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Load = 'Az.Cdn.private\Import-AzCdnEndpointContent_Load'; + LoadExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadExpanded'; + LoadViaIdentity = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentity'; + LoadViaIdentityExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityExpanded'; + LoadViaIdentityProfile = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfile'; + LoadViaIdentityProfileExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfileExpanded'; + LoadViaJsonFilePath = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonFilePath'; + LoadViaJsonString = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -8655,6 +8873,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Abort = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_Abort'; + AbortViaIdentity = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_AbortViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -8965,6 +9209,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -9222,6 +9497,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -9471,6 +9773,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -9713,6 +10042,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -10256,6 +10612,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -10627,6 +11012,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -11043,6 +11459,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateExpanded'; + CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpoint'; + CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -11385,6 +11832,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -11699,6 +12175,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -12056,6 +12561,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -12497,6 +13031,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateExpanded'; + CreateViaIdentityOriginGroup = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup'; + CreateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -12803,6 +13368,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Create = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_Create'; + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -13173,6 +13768,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfileExpanded'; + CreateViaIdentityRuleSet = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSet'; + CreateViaIdentityRuleSetExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -13455,6 +14081,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -13734,6 +14389,35 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -14038,6 +14722,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnCustomDomain_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -14308,6 +15020,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_Delete'; + DeleteExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteExpanded'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentity'; + DeleteViaIdentityExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentityExpanded'; + DeleteViaJsonFilePath = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonFilePath'; + DeleteViaJsonString = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -14520,6 +15262,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionExecutionFilter_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -14727,6 +15494,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionVersion_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -14929,6 +15721,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeAction_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -15196,10 +16013,37 @@ param( ${ProxyUseDefaultCredentials} ) -begin { +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEndpoint_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName @@ -15498,6 +16342,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnOriginGroup_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -15801,6 +16673,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnOrigin_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -16070,6 +16970,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -16338,6 +17265,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -16606,6 +17560,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -16907,6 +17888,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentity'; + DeleteViaIdentityOriginGroup = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -17210,6 +18219,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentity'; + DeleteViaIdentityAfdEndpoint = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -17480,6 +18517,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -17783,6 +18847,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityProfile'; + DeleteViaIdentityRuleSet = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityRuleSet'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -18053,6 +19145,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -18323,6 +19442,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -18586,6 +19732,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Start = 'Az.Cdn.private\Start-AzCdnEndpoint_Start'; + StartViaIdentity = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentity'; + StartViaIdentityProfile = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -18849,6 +20022,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Stop = 'Az.Cdn.private\Stop-AzCdnEndpoint_Stop'; + StopViaIdentity = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentity'; + StopViaIdentityProfile = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -20760,6 +21960,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -20996,6 +22223,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -21225,6 +22479,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -21744,6 +23025,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -22153,6 +23464,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateExpanded'; + UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpoint'; + UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -22615,6 +23958,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateExpanded'; + UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpoint'; + UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -22888,6 +24263,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Refresh = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_Refresh'; + RefreshViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity'; + RefreshViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -23244,6 +24646,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -23582,6 +25014,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -23979,6 +25441,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -24469,6 +25961,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityExpanded'; + UpdateViaIdentityOriginGroup = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup'; + UpdateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -24977,6 +26501,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateExpanded'; + UpdateViaIdentityAfdEndpoint = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint'; + UpdateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -25294,6 +26850,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -25686,6 +27270,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded'; + UpdateViaIdentityRuleSet = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSet'; + UpdateViaIdentityRuleSetExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -25979,6 +27595,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -26299,6 +27943,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + PatchExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchExpanded'; + PatchViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded'; + PatchViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile'; + PatchViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded'; + PatchViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath'; + PatchViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 index 4cd4e598eb0b..75864ddb8abf 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 @@ -218,6 +218,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnCustomDomain_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 index 20850b0c12a4..f7e9986cacf6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 @@ -120,6 +120,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeAction_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 index 2b5650218395..1b25025fd7e1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 @@ -185,6 +185,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_Delete'; + DeleteExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteExpanded'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentity'; + DeleteViaIdentityExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentityExpanded'; + DeleteViaJsonFilePath = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonFilePath'; + DeleteViaJsonString = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 index 39bdc350594e..b4e89dadd604 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 @@ -125,6 +125,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionExecutionFilter_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 index c4c3e6d7f247..05e68310badd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 @@ -125,6 +125,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionVersion_Delete'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 index 21c6e5ed3858..5edbff5e8c9a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 @@ -185,6 +185,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnEndpoint_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 index 92c6e403bbf6..079ad27b1685 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 @@ -218,6 +218,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnOrigin_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 index c2b191e4c2e7..7695ae0253fa 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 @@ -218,6 +218,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnOriginGroup_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentity'; + DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 index d1648eafe217..895e992011e3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 @@ -184,6 +184,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 index a7b44e0cb336..1b1c2147e87f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 @@ -184,6 +184,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 index 97323023bfa7..9bf341688506 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 @@ -217,6 +217,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentity'; + DeleteViaIdentityOriginGroup = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 index 1320ae14b75b..9b8a227d2b2a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 @@ -184,6 +184,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 index 355005f12b36..06ee13cba5eb 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 @@ -218,6 +218,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentity'; + DeleteViaIdentityAfdEndpoint = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 index 2af42aa74785..456ab25470c0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 @@ -219,6 +219,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityProfile'; + DeleteViaIdentityRuleSet = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityRuleSet'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 index 969c5ace8466..400267832e36 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 @@ -185,6 +185,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 index ff9d573fe42a..a0d4df33356e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 @@ -185,6 +185,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 index d9b6ea1bafe3..0afd7b4558ba 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 @@ -186,6 +186,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentity'; + DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 index 2cf889464fa9..23988e540102 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 @@ -179,6 +179,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Start = 'Az.Cdn.private\Start-AzCdnEndpoint_Start'; + StartViaIdentity = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentity'; + StartViaIdentityProfile = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 index cdcf00052b9e..a76a25a177eb 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 @@ -179,6 +179,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Stop = 'Az.Cdn.private\Stop-AzCdnEndpoint_Stop'; + StopViaIdentity = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentity'; + StopViaIdentityProfile = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 index 7199ac78ffb6..6d27235f94b0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 @@ -145,6 +145,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 index 459bdc09d321..d6dea61271bd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 @@ -156,6 +156,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 index 404157b0891d..6f34cb870bdc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 @@ -152,6 +152,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 index ae09c1c148e5..fad14dd27a26 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 @@ -435,6 +435,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 index c0e067c66126..6f1834810108 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 @@ -373,6 +373,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateExpanded'; + UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpoint'; + UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 index 8a40ee108627..ad6e87b18e49 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 @@ -322,6 +322,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateExpanded'; + UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpoint'; + UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 index 4201b75107c4..3e5649047959 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 @@ -272,6 +272,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 index 015ddb83a110..aa4c2cf84d4c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 @@ -184,6 +184,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Refresh = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_Refresh'; + RefreshViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity'; + RefreshViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 index d571d1e7b329..884b4cacaab4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 @@ -251,6 +251,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 index fe3ff9ed7f37..98da6af044f9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 @@ -403,6 +403,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityExpanded'; + UpdateViaIdentityOriginGroup = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup'; + UpdateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 index 2f38bc4ef125..36b82e5e51f1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 @@ -310,6 +310,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 index a9c6e9112125..c78453acd910 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 @@ -419,6 +419,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateExpanded'; + UpdateViaIdentityAfdEndpoint = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint'; + UpdateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 index fed529029e2a..b8da5a8fbbe5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 @@ -307,6 +307,38 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded'; + UpdateViaIdentityRuleSet = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSet'; + UpdateViaIdentityRuleSetExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 index 9c5b15627042..e7604f75db4b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 @@ -228,6 +228,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 index 14e5dce718d7..9bdefbf6acd1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 @@ -204,6 +204,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityExpanded'; + UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfile'; + UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 index 8aad201f17cd..176279c16f96 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 @@ -235,6 +235,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + PatchExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchExpanded'; + PatchViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded'; + PatchViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile'; + PatchViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded'; + PatchViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath'; + PatchViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/generated/Module.cs b/generated/Cdn/Cdn.Autorest/generated/Module.cs index 627d46258f16..c03dd37f7fcc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/Module.cs +++ b/generated/Cdn/Cdn.Autorest/generated/Module.cs @@ -14,6 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn using GetTelemetryIdDelegate = global::System.Func; using TelemetryDelegate = global::System.Action; using NewRequestPipelineDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>, global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; + using ChangeSafetyPolicyTokenDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; using SignalDelegate = global::System.Func, global::System.Threading.Tasks.Task>; using EventListenerDelegate = global::System.Func, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>; using NextDelegate = global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>; @@ -46,6 +47,11 @@ public partial class Module public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy(); + /// + /// Change Safety: delegate called after OnNewRequest to (conditionally) add the policy-token pipeline step. + /// + public ChangeSafetyPolicyTokenDelegate AddChangeSafetyPolicyTokenHandler { get; set; } + /// Gets completion data for azure specific fields public ArgumentCompleterDelegate ArgumentCompleter { get; set; } @@ -115,6 +121,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.HttpPipeline CreatePipelin AfterCreatePipeline(invocationInfo, ref pipeline); pipeline.Append(new Runtime.CmdInfoHandler(processRecordId, invocationInfo, parameterSetName).SendAsync); OnNewRequest?.Invoke( invocationInfo, correlationId,processRecordId, (step)=> { pipeline.Prepend(step); } , (step)=> { pipeline.Append(step); } ); + AddChangeSafetyPolicyTokenHandler?.Invoke( invocationInfo, (step)=> { pipeline.Append(step); } ); return pipeline; } diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs index 079a5e975ab1..138decdf73d9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs +++ b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs @@ -47853,7 +47853,7 @@ public partial class Cdn case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\Users\cloudtest\.autorest\@autorest_powershell@4.0.754\node_modules\@autorest\powershell\dist\llcsharp\schema\object.js*/); + await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\workplace\azure-ps-workspace\autorest.powershell\powershell\dist\llcsharp\schema\object.js*/); break; } default: diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs index 63570ab9ad89..a307d7908f13 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_Add : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,6 +279,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs index 4074dcd05bd0..a3ad7fcf28ff 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,6 +279,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs index a4d6a91821d1..b4209e818f76 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -236,6 +237,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs index a61ff0651dfc..00c5d5b967e4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -236,6 +237,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs index a19f23cef174..31a1972a9844 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class AddAzCdnEdgeActionAttachment_AddViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -281,6 +282,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs index 6eba684fe8f4..680312cae80e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class AddAzCdnEdgeActionAttachment_AddViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs index 99ed0d211e30..be36c44a5648 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_Purge : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -301,6 +302,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs index 2f110f20656d..157b509e19ec 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs index b9610204a0cc..5c716226f572 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -242,6 +243,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs index 9f8e8ff5e9ca..09a720a697a2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs index 3f7e764afa54..853a46792d06 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -257,6 +258,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs index 5f37848653f3..a0e1496770ec 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,6 +263,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs index 9a4fb05ace24..65347a383f95 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzCdnEndpointContent_PurgeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,6 +304,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs index adc6ff15c7ef..f5b5288e6766 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzCdnEndpointContent_PurgeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -301,6 +302,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs index 4285b2f1d57c..201762b31a8b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_Purge : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -301,6 +302,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs index ae3a74af3c3d..31935e50615e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -316,6 +317,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs index 63693dc182d7..a0792a2c7409 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -242,6 +243,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs index abeb20617257..e1425eef801a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs index e7b1cfd8d86c..5662af5bacdb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs index 6e77da485ccb..118444932ae2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,6 +276,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs index 755e63bce53b..14bbb02ee3f9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,6 +304,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs index 027496b34e19..477935e0cc8d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -301,6 +302,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs index 534d6140a862..c2dc1fc23bc4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_Deploy : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,6 +295,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs index 446fb89a7f74..5aad8abe68c8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs index ccd1cf766f25..bffef9e1a8df 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,6 +238,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs index a04914bfa0de..1e087f7f5d5e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -254,6 +255,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs index 536e252728f3..c1fa576c374f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -266,6 +267,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs index 216a15605ed6..2d2148bad180 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,6 +251,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs index 72aa447fcde5..485835d0ef4e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,6 +297,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs index 514fbdc11862..68b19c0ca1e7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,6 +295,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs index b6d849d71dee..1e380a13031d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_Disable : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,6 +297,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs index 7cf2dcdb03fa..338b30a560ba 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -222,6 +223,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs index d3891aa4011f..8ae45fe804e3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -240,6 +241,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs index c5a56cec1b2c..cc4ef8ed12e6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -255,6 +256,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs index 2992d22b83d2..6413f6a2eb1e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_Enable : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -311,6 +312,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs index 5dfbe6baf710..351d22cecc60 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,6 +238,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs index 5213f4c8b917..c6042ab6b9e9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -254,6 +255,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs index 65675003efbb..e9b000d7c4f7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,6 +281,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs index 79e63acbc3ed..78a86c60da99 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -269,6 +270,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs index 6cb914d32516..ff3dad9c5d88 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs index 54b9e96592f1..8c180bc09318 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -315,6 +316,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs index b0454c3f6ec9..98437f349a5a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -311,6 +312,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs index c0619e49ddbc..295faa4f1492 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_Load : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs index 8d2d9961924f..ade983bdc0c0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,6 +297,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs index 12a68a2da632..7c302c1cac87 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -234,6 +235,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs index d6236a817bd6..26a6a7295356 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,6 +238,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs index c521e82c3f41..a4d415d6292e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,6 +250,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs index 27fcc0d0df2f..e6385a1b922f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -254,6 +255,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs index 8b94aaeed272..7b584407e6c6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ImportAzCdnEndpointContent_LoadViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs index 06434e7df609..5b6a46fa0cd7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ImportAzCdnEndpointContent_LoadViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs index 3d87ed38f69e..338101b00378 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnAbortProfileToAFDMigration_Abort : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -265,6 +266,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs index 8157bc95d23b..4f9d838ce321 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -221,6 +222,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs index ee2825bb19ca..3600264768f8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCanProfileMigrate_Can : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs index c0690e4ab707..39cfe581f316 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCanProfileMigrate_CanExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs index 33bf98b8f1fb..f7ed7d14ae35 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,6 +262,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs index 10c6b8f7704c..386efdaca088 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class InvokeAzCdnCanProfileMigrate_CanViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs index 6908c6734adc..2101a666f5d0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationCommit", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCommitProfileMigration_Commit : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -264,6 +265,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs index b25a4ed9d015..fe4660deeab4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationCommit", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCommitProfileMigration_CommitViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -220,6 +221,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs index 7f995a159d50..c568cd0df489 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate", ApiVersion = "2026-04-01-preview")] public partial class MoveAzCdnProfile_Migrate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs index 69c028125ead..f1fe3ab53642 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate", ApiVersion = "2026-04-01-preview")] public partial class MoveAzCdnProfile_MigrateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs index a503c8dd0a6b..85c4606ebb6d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzCdnProfile_MigrateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,6 +263,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs index 029c7005f818..177806cbe323 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzCdnProfile_MigrateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs index e7977da60979..6822b6d8b00e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_Migrate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -277,6 +278,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs index 46dbf11bb5cf..266b1046c50a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs index dbf95626e3d2..132e66d4173a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,6 +234,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs index 40b04c30b9fd..67a11ddd1ba3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs index 381cf338500a..a6f563c66c2e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs index 2c09d351385d..5c7787d0c14a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -277,6 +278,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs index 1cca41383198..7ec03e851c59 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs index a7ad2fc5a7e5..cb29acba9635 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs index bdf206c65f18..670598361106 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs index aacebc8b1103..fb59d8d62eb8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs index 7378fee06958..7addd213cf11 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs index 47030b891f2f..7f5d0ede4b1c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnCustomDomain_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs index 550b68d3e6ff..6b9d269de99a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnCustomDomain_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs index 552a99d189ad..44b0e01a3344 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeActionExecutionFilter_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -345,6 +346,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs index f2116d0addac..162fcc02a303 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs index d502e77d3823..c5fe9d18149a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -286,6 +287,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs index e1ee5a07ff39..7c1153df0dd5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeActionVersion_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -336,6 +337,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs index 6f5f70c45164..acfa147cc1be 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionVersion_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs index c0c649dca71d..63dfccc0db25 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionVersion_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -286,6 +287,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs index 92f9989665cd..5177f58ea8f0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeAction_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -320,6 +321,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs index 4176d550d456..f79b3ec7592c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeAction_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,6 +275,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs index 354d34288f4f..0d60ccbba4d8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeAction_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,6 +273,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs index 6dc7a0679d26..a61d302d3002 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -534,6 +535,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs index 5861a773b14f..4c76c04e598c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,6 +251,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs index 52bdc9f00a11..3574713daad0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -490,6 +491,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs index 47583a9d485a..c969eb7c0829 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEndpoint_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs index 42dade74a9cb..1c590170de68 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEndpoint_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs index 0dc9ca824f43..92fb6ea772cb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -348,6 +349,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs index b52fcb69a54a..73b9d54294e6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs index aa30043becdd..ecbaf61fdbce 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs index ab2a904e31c4..e10039d93844 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,6 +263,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs index a978e3bbb47e..df7f6b851d82 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs index 3656b34c537c..73870a0b5217 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOriginGroup_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs index 9f1e4b970b0d..d1684fc994e6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOriginGroup_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs index bd8e9f91ba3a..501fe537f97d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -437,6 +438,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs index 9166809526af..c97062ef66de 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs index 4658fcb18718..e5f80252d6d4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -378,6 +379,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs index 2f0610735c35..511c29ab742c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,6 +264,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs index 641ccd7c3149..b9de3169332a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -393,6 +394,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs index 73162e09376a..637e2e86fb38 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOrigin_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs index 196960b2db17..9b1f93a23448 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOrigin_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs index 284d9fcb9b0c..8c067d7ce476 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -422,6 +423,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs index c4d39f1386ad..2af140184105 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnPolicy_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,6 +276,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs index 3d776f8ec217..d7d17ec49083 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnPolicy_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,6 +274,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs index 73ee9fca7771..6c47bad604ad 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfileSsoUri_Generate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -242,6 +243,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs index d0547ea32b47..83fe5f6b917e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfileSsoUri_GenerateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -201,6 +202,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs index 06a3b7c6a82a..0359180fdb8f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfile_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -370,6 +371,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs index 9fec580fe7bf..4537b6d6fca6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnProfile_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -281,6 +282,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs index dbf839dc3cca..37c0adccf66a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnProfile_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs index ac2da94e3380..91fdb89ccd73 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -350,6 +351,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs index c9cebaf16a34..4ead7641e048 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,6 +247,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs index 2e86b6d39544..82dd9e1462c8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,6 +309,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs index 112fb9215a42..a558c27210c6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs index 38d18cbdb9ee..2c2ee1d00615 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs index 43450c1e8810..1bc587b7e69e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -346,6 +347,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs index b4718081bb7c..488a2d0b74bf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,6 +251,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs index 0d8d469ced2d..915570753119 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs index 18451f087a5d..105becb69ada 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs index 1585a27e154b..2b6e8ae24f51 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnEndpoint_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs index b39019cf3d84..715db768b39d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -383,6 +384,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs index 9cc557294ba7..084e20edc963 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs index 95c228e4fd05..ff901af5b458 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -341,6 +342,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs index 4fc927dfe7da..698e62a3a83f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs index 279c1ea5ea76..09b1758c8e04 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs index 835ea8dd8653..d6817f79d9b4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -472,6 +473,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs index 8fbf0c3585a9..d99de20be3b9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs index 08d6cfc0416f..892f7d3af35c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -415,6 +416,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs index c2e88f2f5a18..d591191a10a0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,6 +263,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs index 14843375a523..c4cf25abd176 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -430,6 +431,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs index 5e7a263f8106..422d410f29b2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs index 36f42b6a3010..64a84599edf3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOrigin_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,6 +304,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs index fc84c7b4d4b1..d02fcc118128 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -478,6 +479,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs index 1821914b1675..a79b3c804fa2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,6 +250,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs index 8747a8f1aa78..029205c2eae0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -421,6 +422,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs index 44fed60b5576..198fe5bb9504 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -264,6 +265,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs index 5b7a1b9bf40b..dfb36929cc6b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -434,6 +435,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs index 263175c4d1ed..8f39b9886e44 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRoute_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -310,6 +311,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs index 0f2e215901fd..8d1d3ef04d8f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRoute_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,6 +309,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs index ea0c260c6e84..e375cbf74e3c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs index 7b9ad68ac037..6a02c63b3d7c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -311,6 +312,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs index 990dd3f243ca..e6ef6b239a52 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs index ab71adae5c23..2a5703de870e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -269,6 +270,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs index 3ea94d70d14a..69d524a77218 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs index 3c7226db879f..b77b40a27e93 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRuleSet_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs index 5f244244c8ba..47f04915caea 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -350,6 +351,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs index 66ebc7ea7323..f0b7f6ab5b97 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,6 +262,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs index 2d8265ffdf17..9a01f7f0ffcc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs index da4ac7233615..73dfb311529e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs index 7559b3dbd4e6..bcc9c7068329 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs index 447b041295b7..34394cffb31f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRule_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,6 +308,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs index c71b66b284d1..86b59922c9bb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRule_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs index cff5a5f577d4..77f395ddc199 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs index 5702b660043b..fa235497b2f9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs index 9c99a3b66a6d..537d96fad73a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs index 4324a3ff2e69..33d2aa39fabb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecret_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs index ea2e5d8cbf44..a5475dd50392 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecret_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs index a988606f88ca..f86a42229bd1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs index 93d5b4712ad1..651044d4b34c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs index a6e907ea2a99..f40642dace0f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs index 7d09e8258d3f..38535c1aa59e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs index e331cd52dc51..39ac2228561c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs index 5a671a420046..08911f01f398 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs index cce8dd0f5434..3183e4fccd65 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs index 717c7bc473c1..4fdaf7c9590d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs index c5362aa2ee78..089d7d2e9da0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs index f2bea2ab436d..cc18927bbc70 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,6 +273,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs index 9ed2fa388f89..3aea8411a2c1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,6 +273,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs index 365d86c3c1fe..94563ec43b8c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,6 +231,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs index 2cd1d3db5687..ea37b9de9b00 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs index c5a5a87bc59e..4d1db00919d9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,6 +276,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs index 7e80848a627b..2555de6cfeae 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,6 +274,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs index b2edc980eaff..3e0d52f95425 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionExecutionFilter_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -286,6 +287,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs index 3c5aa13bac42..39b7297965b0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionVersion_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -286,6 +287,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs index 78cd588141a1..4ab1bac75954 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeAction_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,6 +273,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs index 21ecff89d359..c4dcaff90f22 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,6 +293,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs index 22984104c0f7..1bd7498c3580 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs index 41b9c8ccacd4..d9e4a84e12a5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs index 57c1f0b458c7..2ba5c351f3c4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs index cf5f2508f575..c17015074bea 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs index 0648257bb44b..5328f403bb16 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs index 633401aa0a25..7e0df4e84c35 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs index f98f0a8007b3..59d46039230d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs index ce7148716f8c..cd2da7563848 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs index 6efd71e9f110..a4de74c04a3e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs index 987570a0119a..7aa6dbaa3786 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs index 18f0889511db..f17679ec6a7c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -251,6 +252,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs index c948b5f94da4..8fa41a6405e7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -211,6 +212,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs index f481eff4c6dc..347f08cc240c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnProfile_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs index 715bcb8bf16c..fa008573925e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnProfile_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -234,6 +235,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs index 26bc3c20d038..13041f798a52 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs index b94b62a45a82..8c64fbb75268 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs index c466ad5aa24a..b62e76e03b50 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,6 +250,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs index b75e1bdb5fcd..197332004130 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs index c37f4d556c2a..14e6844e7c7d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs index d7715c7af837..369036900d3e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs index 1c96c3760778..d2f4e21e3373 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs index f3e646de97f2..7f2f404d5904 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs index d409550b7e14..160213672010 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,6 +247,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs index d22b7587af19..1bfa8bd0008e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,6 +304,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs index ec92b571c7f4..4b6f120f92b3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs index 2a193f8cf89b..8d31ce8eb11b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -244,6 +245,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs index a59485fca14b..9d31f626a580 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs index c3c696b150b2..c1fafa34f6c8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,6 +308,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs index 53444a346255..57d22dbb2b9b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs index f3469c69885c..c9ec70ccf843 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs index 60f7b72f4bb9..c2088ca44641 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,6 +264,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs index 23258c7ddd0c..b9e8419b1d11 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,6 +293,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs index 9cd2cb6b121a..10567d4263a9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,6 +233,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs index db9ff7c3a770..52bb7efe0168 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs index a22198bb1485..158f81a80b50 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs index 18e58f63b6e3..5786bc3cfa5f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs index f63b6942b981..a913679545b0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,6 +262,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs index f2b5e0f161bc..4abbfdf3cabd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs index bac2228abbb1..1a94b61ae668 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs index 3bc52fc5f5b8..59f1cdb2656b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs index 6bc914165d14..b4820163e80f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs index f4a7eb4ae661..ee337e71a31b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs index e854b128554e..fd00c8f50f28 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs index c84a4684d35a..cd1b139b2f10 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs index 8ed4648aedb7..a17818e5fd6a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_Start : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,6 +275,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs index f14e1b72b86d..4405c369ca3f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_StartViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -214,6 +215,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs index 9f70d0554e7f..af1f2d298b4a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_StartViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,6 +231,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs index 7d02b6b080f9..d4e36b46fd64 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_Stop : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,6 +275,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs index b0b972e6708f..ea0217614b89 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -214,6 +215,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs index 697f0274f5cc..cab1ea776525 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_StopViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,6 +231,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs index 8a990cb7e214..e0112e48d01d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -320,6 +321,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs index ae4bd5779810..65a1fb55fafe 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs index f829e6165423..24209a2ea6a8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs index 3e1009663788..7571ab510ed5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeActionVersion_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -311,6 +312,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs index a2567bbf59dd..4eddc762cc78 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs index 50eca276a911..f0453242f361 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionVersion_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -286,6 +287,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs index f6aa65230ea4..05cf776e1714 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeAction_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs index c93ae41dad1b..dc3d6d412870 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeAction_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,6 +275,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs index b47a0d9c57b8..59f163fc1f93 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeAction_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,6 +273,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs index 186a20e9922e..050415e0af13 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -496,6 +497,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs index d6a746bc15f4..b49e4bf21acc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -436,6 +437,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs index d00d13f0346f..11c2d0246c40 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,6 +250,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs index 2af4cddcfb2d..f4040a4916cd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -452,6 +453,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs index 73ec9ad676e0..11684b22c545 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEndpoint_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs index 1affa0298d4d..a4f11043cb91 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEndpoint_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,6 +294,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs index 841d1001bc83..b42ada57f7cb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -346,6 +347,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs index cd9d80c238db..6d21393a188d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs index 7e8f6c0b2dbf..ff5cbe3b39dd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs index a83e42b91a5b..365c567ce457 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -271,6 +272,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs index 144920241045..baa9fc893f95 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs index f21b6b430e93..1048d2d47c66 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,6 +303,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs index 07725b81abc2..d79b976f318f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOriginGroup_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs index 702115ff2b75..17db58ecb500 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOriginGroup_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs index 11e652446710..b8d28a7501cf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -434,6 +435,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs index 17b9226e5331..243059613e3a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs index ef4f91722a3a..0b2df0921a0a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -375,6 +376,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs index 334aecfc8685..a04c6657916c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -359,6 +360,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs index da0b5aab7af7..34709c7d9e8e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,6 +261,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs index ae12c36452c2..a03d062b273f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -390,6 +391,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs index d28fbd500cbd..ae0ce423f187 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOrigin_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,6 +307,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs index e2e8b561e32a..89074e457e31 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOrigin_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,6 +305,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs index ddb1e055a907..fceeb1c571d9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnPolicy_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -277,6 +278,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs index 5665c4b012b3..bbc7429947f2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnPolicy_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -234,6 +235,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs index c2f829f5f19e..7507ae285c2a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnPolicy_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,6 +279,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs index 45e3e8617f6f..db582e3e42b3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnPolicy_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,6 +277,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs index e9382e48ac39..2b01cb3ceabe 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnProfile_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -347,6 +348,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs index e840c21e6012..fd8d496384e4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnProfile_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,6 +303,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs index 460f8a8b604f..72f06480225e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnProfile_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -281,6 +282,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs index 732694a8bb85..e41f052c8c9a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnProfile_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs index b34d10142759..3b8a6771f449 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,6 +279,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs index e7354ca0846a..a4a5bcafcb30 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -221,6 +222,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs index 92dee71283f5..860fb51a9255 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -236,6 +237,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs index e369405667eb..037ae209427c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -325,6 +326,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs index c757b353918f..0494452ac9a3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -268,6 +269,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs index 4926400c0044..732319925f27 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,6 +247,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs index 68d81baf56cd..3df7cebd5250 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -283,6 +284,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs index deb8e1a15bc5..9ac7ce4d660c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs index 6de807e92c33..b6337e522491 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs index 6d76def6fb6a..1466f6c231e2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -321,6 +322,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs index 72545bfd9c24..b21385287262 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,6 +263,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs index 6ac7e33c95c6..e7cab771bb36 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs index 93bd8ac4ee0e..a26110cf689b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,6 +280,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs index 1832eae92193..08cfd5fa87cd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,6 +295,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs index 71617d23575e..39077ee86431 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs @@ -26,7 +26,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,6 +293,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs index 74ff9b116adc..280ab9c8cfe9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -380,6 +381,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs index 5c29af439c09..e411d8af0050 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -323,6 +324,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs index f1fc3fd0694d..fbb3778aaa13 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,6 +247,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs index e8794768db14..cbbf38123a4d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -338,6 +339,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs index e11d0ab7e9a9..a5a54f6685f8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,6 +291,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs index 36a0b748e3e5..a5666f99cf48 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -288,6 +289,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs index 11938c80ade2..596ff53a28ca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -469,6 +470,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs index 23ea66925d5f..626308f7f275 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -395,6 +396,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs index c4808328723b..a0803b75752d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -244,6 +245,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs index e82545ec1357..bbbc420bc575 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -412,6 +413,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs index 2566c02ebf5f..4a6b92073bc7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -259,6 +260,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs index f2d9c08da4ed..5bded837c3ae 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -427,6 +428,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs index c1ec8864f01c..3ab441f82837 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs index 7e193dbb0ea3..415cbd602c65 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,6 +304,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs index 09c337bf46f9..665307cf0bbb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_Upgrade : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,6 +276,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs index 4388d4638a85..478c2c817b97 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,6 +279,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs index d370cf5eda23..a029f8c9ff12 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -231,6 +232,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs index b6fe7e4cb88f..ba2658cba628 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -236,6 +237,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs index bfcfa7ff9b45..f5d4fcfabee5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -277,6 +278,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs index 63e9a7d48258..54a898384d53 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,6 +276,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs index 66b8fbcca5ef..575c605e87a5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -477,6 +478,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs index 8d107092c802..1c9831481edd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,6 +249,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs index 4e407e592a89..5f11b3ac5414 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -420,6 +421,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs index 62fed37cfe0c..bfc2d939ff4b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -402,6 +403,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs index 458855690656..7ed7a3b42df8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,6 +264,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs index 482bb69d5cf0..26b3e376ccac 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs @@ -24,7 +24,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -435,6 +436,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs index 8b18f3c39dc0..a99f45bc83ed 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -309,6 +310,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs index acba6b94ba7a..b777db71e590 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs @@ -25,7 +25,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,6 +308,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs index ab5b6e17469a..0b9ad3d31da0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,6 +296,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs index 37034ead6211..867c5681483c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -235,6 +236,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs index d5ce2e430aac..092935950033 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs index 25da5c0a2838..6fc50982d6c5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs @@ -23,7 +23,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -253,6 +254,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs index f823f3fbb1f0..ec3a72cabd1f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -350,6 +351,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs index c303cce520a4..1723b06a8220 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,6 +275,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs index 26693d82f9ff..ee2b42b64f34 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,6 +262,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs index b9a29bce00f7..4a8c911bea02 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,6 +309,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs index b9dc959f9af3..6f2fa31991e5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs index 25ad932c1145..8b17681bdc0b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,6 +293,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs index 08a947aa6c08..44de625ffd94 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,6 +308,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs index afeb3bb9d96f..a0c71c173205 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRule_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,6 +306,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs index 1e6c6c688aaf..80c0b998429b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs index 1aa9e18504de..a903de93a518 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -229,6 +230,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs index 5ca2a8784e27..d9cdd8bcbed4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,6 +246,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs index d7cfef099d85..643acfd414fe 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs index bba1ffda3e58..48dd0bc46b90 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs index 3e2af0f63e88..4f38374d1135 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -231,6 +232,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs index 09bbacdcbcd8..036e85d4cf45 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs index 4d3880fd0b5a..bca521440a80 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,6 +248,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs index 31ceedf4a009..9e479812c1b9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,6 +292,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs index c46f5a5d3094..beff83821295 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs @@ -22,7 +22,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, + System.Management.Automation.IDynamicParameters { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,6 +290,20 @@ protected override void EndProcessing() } } + /// + /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. + /// + /// + /// A containing the Change Safety parameters. + /// + public object GetDynamicParameters() + { + var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); + parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); + return parameters; + } + /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index b337b2aa4455..96ceb88ea3d1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -139,6 +139,7 @@ protected override void ProcessRecord() } sb.Append($"){Environment.NewLine}{Environment.NewLine}"); + sb.Append(variantGroup.ToDynamicParamOutput()); sb.Append(variantGroup.ToBeginOutput()); sb.Append(variantGroup.ToProcessOutput()); sb.Append(variantGroup.ToEndOutput()); diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index ee29446b4b40..30ad7b0b8e6f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -199,6 +199,59 @@ public string ClearTelemetryContext() } } + internal class DynamicParamOutput : BaseOutput + { + public DynamicParamOutput(VariantGroup variantGroup) : base(variantGroup) + { + } + + // Change Safety: only emit a dynamicparam block when a wrapped (private) cmdlet actually declares + // dynamic parameters via IDynamicParameters. For every other cmdlet this emits nothing (zero diff), + // so it is a no-op that just forwards the private cmdlet's runtime parameters through the proxy. + private bool HasDynamicParameters() => VariantGroup.Variants.Any(v => + { + var implementingType = (v.Info as CmdletInfo)?.ImplementingType; + return implementingType != null && typeof(IDynamicParameters).IsAssignableFrom(implementingType); + }); + + private string GetParameterSetToCmdletMapping() + { + var sb = new StringBuilder(); + sb.AppendLine($"{Indent}$mapping = @{{"); + foreach (var variant in VariantGroup.Variants) + { + sb.AppendLine($@"{Indent}{Indent}{variant.VariantName} = '{variant.PrivateModuleName}\{variant.PrivateCmdletName}';"); + } + sb.Append($"{Indent}}}"); + return sb.ToString(); + } + + public override string ToString() => !HasDynamicParameters() ? String.Empty : $@"dynamicparam {{ +{Indent}$parameterSet = $PSCmdlet.ParameterSetName +{GetParameterSetToCmdletMapping()} +{Indent}if (-not $mapping.ContainsKey($parameterSet)) {{ $parameterSet = @($mapping.Keys)[0] }} +{Indent}try {{ +{Indent}{Indent}$targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) +{Indent}{Indent}$dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object {{ $_.Value.IsDynamic }}) +{Indent}{Indent}if ($dynamicParams.Length -gt 0) {{ +{Indent}{Indent}{Indent}$paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() +{Indent}{Indent}{Indent}foreach ($param in $dynamicParams) {{ +{Indent}{Indent}{Indent}{Indent}$param = $param.Value +{Indent}{Indent}{Indent}{Indent}if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) {{ +{Indent}{Indent}{Indent}{Indent}{Indent}$dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) +{Indent}{Indent}{Indent}{Indent}{Indent}$paramDictionary.Add($param.Name, $dynParam) +{Indent}{Indent}{Indent}{Indent}}} +{Indent}{Indent}{Indent}}} +{Indent}{Indent}{Indent}return $paramDictionary +{Indent}{Indent}}} +{Indent}}} catch {{ +{Indent}{Indent}throw +{Indent}}} +}} + +"; + } + internal class BeginOutput : BaseOutput { public BeginOutput(VariantGroup variantGroup) : base(variantGroup) @@ -640,6 +693,8 @@ public static string ToSyntaxTypeName(this Type type) public static ParameterNameOutput ToParameterNameOutput(this string parameterName, bool isLast) => new ParameterNameOutput(parameterName, isLast); + public static DynamicParamOutput ToDynamicParamOutput(this VariantGroup variantGroup) => new DynamicParamOutput(variantGroup); + public static BeginOutput ToBeginOutput(this VariantGroup variantGroup) => new BeginOutput(variantGroup); public static ProcessOutput ToProcessOutput(this VariantGroup variantGroup) => new ProcessOutput(variantGroup); diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs index 18f201b95628..0a074ad5f1a9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs @@ -356,6 +356,20 @@ internal static Task CloneWithContentAndDispose(this HttpReq /// A clone of the HttpRequestMessage internal static HttpRequestMessage Clone(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null) { + // Resolve a relative target against the original request so same-origin relative nextLinks are not misclassified as cross-origin. + var effectiveTargetUri = requestUri; + if (effectiveTargetUri != null && !effectiveTargetUri.IsAbsoluteUri && original.RequestUri != null && original.RequestUri.IsAbsoluteUri) + { + System.Uri.TryCreate(original.RequestUri, effectiveTargetUri, out effectiveTargetUri); + } + // Keep credentials only for a same-origin (scheme+host+port) https target. A null target (no retarget, e.g. retry) + // or an unresolved relative target preserves existing behavior and keeps the headers. + var isSameOrigin = effectiveTargetUri == null || !effectiveTargetUri.IsAbsoluteUri || + (original.RequestUri != null && original.RequestUri.IsAbsoluteUri && + original.RequestUri.Scheme.Equals(effectiveTargetUri.Scheme, System.StringComparison.OrdinalIgnoreCase) && + original.RequestUri.Host.Equals(effectiveTargetUri.Host, System.StringComparison.OrdinalIgnoreCase) && + original.RequestUri.Port == effectiveTargetUri.Port && + effectiveTargetUri.Scheme.Equals(System.Uri.UriSchemeHttps, System.StringComparison.OrdinalIgnoreCase)); var clone = new HttpRequestMessage { Method = method ?? original.Method, @@ -376,6 +390,10 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage original, Syste */ if (!"x-ms-unique-id".Equals(header.Key) && !"x-ms-client-request-id".Equals(header.Key) && !"CommandName".Equals(header.Key) && !"FullCommandName".Equals(header.Key) && !"ParameterSetName".Equals(header.Key) && !"User-Agent".Equals(header.Key)) { + if (!isSameOrigin && ("Authorization".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase) || "Proxy-Authorization".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase) || "Cookie".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase))) + { + continue; + } clone.Headers.TryAddWithoutValidation(header.Key, header.Value); } } diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 index e182ba530b23..63bc59dc8987 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 @@ -142,6 +142,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Can = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_Can'; + CanExpanded = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanExpanded'; + CanViaJsonFilePath = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonFilePath'; + CanViaJsonString = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 index 6dfa2cc446b3..720239899189 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 @@ -152,6 +152,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Commit = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit'; + CommitViaIdentity = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_CommitViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 index 8ee393975d25..5968cd583a19 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 @@ -173,6 +173,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Migrate = 'Az.Cdn.private\Move-AzCdnProfile_Migrate'; + MigrateExpanded = 'Az.Cdn.private\Move-AzCdnProfile_MigrateExpanded'; + MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonFilePath'; + MigrateViaJsonString = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 index 6de7aabe2ff7..cf4c610b4199 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 @@ -205,6 +205,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Migrate = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_Migrate'; + MigrateExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateExpanded'; + MigrateViaIdentity = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity'; + MigrateViaIdentityExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded'; + MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath'; + MigrateViaJsonString = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 index c3b970ae51f6..684e92714893 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 @@ -259,6 +259,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnPolicy_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 index 1cc0507df01b..c9773a8fae8d 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 @@ -193,6 +193,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 index 87140bdcf4fd..735ddde2e972 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 @@ -138,6 +138,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Generate = 'Az.Cdn.private\New-AzCdnProfileSsoUri_Generate'; + GenerateViaIdentity = 'Az.Cdn.private\New-AzCdnProfileSsoUri_GenerateViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 index ce7b4b82ea73..0b02310ae8be 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 @@ -378,6 +378,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateExpanded'; + CreateViaIdentityAfdEndpoint = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint'; + CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 index 4c7a204eeca9..22416c369a6e 100644 --- a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -1902,6 +1902,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Can = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_Can'; + CanExpanded = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanExpanded'; + CanViaJsonFilePath = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonFilePath'; + CanViaJsonString = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -2098,6 +2126,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Commit = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit'; + CommitViaIdentity = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_CommitViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -2313,6 +2367,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Migrate = 'Az.Cdn.private\Move-AzCdnProfile_Migrate'; + MigrateExpanded = 'Az.Cdn.private\Move-AzCdnProfile_MigrateExpanded'; + MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonFilePath'; + MigrateViaJsonString = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -2562,6 +2644,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Migrate = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_Migrate'; + MigrateExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateExpanded'; + MigrateViaIdentity = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity'; + MigrateViaIdentityExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded'; + MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath'; + MigrateViaJsonString = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -2867,6 +2979,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnPolicy_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -3048,6 +3187,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Generate = 'Az.Cdn.private\New-AzCdnProfileSsoUri_Generate'; + GenerateViaIdentity = 'Az.Cdn.private\New-AzCdnProfileSsoUri_GenerateViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -3283,6 +3448,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -3704,6 +3896,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateExpanded'; + CreateViaIdentityAfdEndpoint = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint'; + CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded'; + CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfile'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded'; + CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -3892,6 +4115,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnPolicy_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnPolicy_DeleteViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -4089,6 +4338,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnProfile_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnProfile_DeleteViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -4742,6 +5017,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaIdentityExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -5015,6 +5318,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaIdentityExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -5268,6 +5599,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Upgrade = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_Upgrade'; + UpgradeExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentity'; + UpgradeViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 index 0e785db92213..015475a4b2ff 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 @@ -141,6 +141,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnPolicy_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnPolicy_DeleteViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 index 169a15355c03..ca207d90832a 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 @@ -155,6 +155,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.private\Remove-AzCdnProfile_Delete'; + DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnProfile_DeleteViaIdentity'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 index fe4e4e3b2ffa..e5848f5515c2 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 @@ -173,6 +173,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaIdentityExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 index e97ed7373d84..fc2fd7fcb91e 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 @@ -229,6 +229,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded'; + UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaIdentityExpanded'; + UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 index 537ee13f7e9a..33a65185f71b 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 @@ -209,6 +209,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Upgrade = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_Upgrade'; + UpgradeExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentity'; + UpgradeViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonString'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs index 4f6748f0eac8..aa75f44ba3ad 100644 --- a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs +++ b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Cdn")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("6.0.2")] -[assembly: System.Reflection.AssemblyVersionAttribute("6.0.2")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -[assembly: System.CLSCompliantAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] \ No newline at end of file diff --git a/src/Cdn/Cdn.Autorest/README.md b/src/Cdn/Cdn.Autorest/README.md index 1ad81df0b400..caf311366383 100644 --- a/src/Cdn/Cdn.Autorest/README.md +++ b/src/Cdn/Cdn.Autorest/README.md @@ -43,6 +43,8 @@ module-version: 0.1.0 # Normally, title is the service name title: Cdn subject-prefix: $(service-name) +# Change Safety: opt in -AcquirePolicyToken / -ChangeReference on write cmdlets +enable-change-safety: true commit: 9e9079a5d235e0c804e7fbb188258a84b4221571 # If there are post APIs for some kinds of actions in the RP, you may need to diff --git a/src/Cdn/Cdn.Autorest/custom/New-AzCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/New-AzCdnProfile.ps1 index d516768c3b67..10c685f3e7c3 100644 --- a/src/Cdn/Cdn.Autorest/custom/New-AzCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/New-AzCdnProfile.ps1 @@ -144,11 +144,27 @@ function New-AzCdnProfile { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) - - if(-Not (ISFrontDoorCdnProfile($PSBoundParameters['SkuName']))){ - Az.Cdn.internal\New-AzCdnProfile @PSBoundParameters - }else{ - throw "$($PSBoundParameters['SkuName']) is not a valid SKU. Please use a valid AzureCDN SkuName."; + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } + process { + if(-Not (ISFrontDoorCdnProfile($PSBoundParameters['SkuName']))){ + Az.Cdn.internal\New-AzCdnProfile @PSBoundParameters + }else{ + throw "$($PSBoundParameters['SkuName']) is not a valid SKU. Please use a valid AzureCDN SkuName."; + } } } \ No newline at end of file diff --git a/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnProfile.ps1 index ae2e2a576e28..e22d0b0a67a0 100644 --- a/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnProfile.ps1 @@ -190,6 +190,22 @@ function New-AzFrontDoorCdnProfile { ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } + process { if(ISFrontDoorCdnProfile($PSBoundParameters['SkuName'])) { diff --git a/src/Cdn/Cdn.Autorest/custom/Remove-AzCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/Remove-AzCdnProfile.ps1 index f9026c28fd8b..4f212a065d7a 100644 --- a/src/Cdn/Cdn.Autorest/custom/Remove-AzCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Remove-AzCdnProfile.ps1 @@ -153,6 +153,21 @@ function Remove-AzCdnProfile { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Remove-AzCdnProfile_Delete' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { $hasAsJob = $PSBoundParameters.Remove('AsJob') diff --git a/src/Cdn/Cdn.Autorest/custom/Remove-AzFrontDoorCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/Remove-AzFrontDoorCdnProfile.ps1 index 479246ea94a8..077d11bb2c39 100644 --- a/src/Cdn/Cdn.Autorest/custom/Remove-AzFrontDoorCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Remove-AzFrontDoorCdnProfile.ps1 @@ -154,6 +154,22 @@ function Remove-AzFrontDoorCdnProfile { ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Remove-AzCdnProfile_Delete' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } + process { $hasAsJob = $PSBoundParameters.Remove('AsJob') $hasNoWait = $PSBoundParameters.Remove('NoWait') diff --git a/src/Cdn/Cdn.Autorest/custom/Update-AzCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/Update-AzCdnProfile.ps1 index 0319db645741..e5496b364f7d 100644 --- a/src/Cdn/Cdn.Autorest/custom/Update-AzCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Update-AzCdnProfile.ps1 @@ -159,6 +159,21 @@ function Update-AzCdnProfile { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { $hasTag = $PSBoundParameters.Remove('Tag') diff --git a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfile.ps1 b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfile.ps1 index f7b508d913f1..4ccf861db0ce 100644 --- a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfile.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfile.ps1 @@ -215,6 +215,22 @@ function Update-AzFrontDoorCdnProfile { ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } + process { $hasTag = $PSBoundParameters.Remove('Tag') $hasOriginResponseTimeout = $PSBoundParameters.Remove('OriginResponseTimeoutSecond') diff --git a/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md b/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md index 0b66bff27f5e..da9cfca19edf 100644 --- a/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md +++ b/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md @@ -1,6 +1,6 @@ --- Module Name: Az.Cdn -Module Guid: ead40551-b7cf-4116-bc7c-ef684cadec24 +Module Guid: a21104cb-93cc-48ca-8033-fb5665bbb1a4 Download Help Link: https://learn.microsoft.com/powershell/module/az.cdn Help Version: 1.0.0.0 Locale: en-US diff --git a/src/Cdn/Cdn/ChangeLog.md b/src/Cdn/Cdn/ChangeLog.md index 139aa0170894..a08a56e4aeaf 100644 --- a/src/Cdn/Cdn/ChangeLog.md +++ b/src/Cdn/Cdn/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Opted in to Change Safety: `New/Remove/Update-AzCdnProfile` and `New/Remove/Update-AzFrontDoorCdnProfile` now support `-AcquirePolicyToken` and `-ChangeReference`. ## Version 6.1.0 * Upgraded API version to 2026-04-01-preview. diff --git a/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 b/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 new file mode 100644 index 000000000000..ea18a93ff82b --- /dev/null +++ b/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 @@ -0,0 +1,34 @@ +Invoke-LiveTestScenario -Name "Create CdnProfile with Change Safety" -Description "Test New-AzCdnProfile -AcquirePolicyToken" -ScenarioScript ` +{ + param ($rg) + + $rgName = $rg.ResourceGroupName + $profileName = New-LiveTestResourceName + + $actual = New-AzCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_Microsoft -Location Global -AcquirePolicyToken -Confirm:$false + Assert-AreEqual $profileName $actual.Name +} + +Invoke-LiveTestScenario -Name "Create FrontDoorCdnProfile with Change Safety" -Description "Test New-AzFrontDoorCdnProfile -AcquirePolicyToken" -ScenarioScript ` +{ + param ($rg) + + $rgName = $rg.ResourceGroupName + $profileName = New-LiveTestResourceName + + $actual = New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -AcquirePolicyToken -Confirm:$false + Assert-AreEqual $profileName $actual.Name +} + +Invoke-LiveTestScenario -Name "Create FrontDoorCdnEndpoint with Change Safety" -Description "Test New-AzFrontDoorCdnEndpoint -AcquirePolicyToken" -ScenarioScript ` +{ + param ($rg) + + $rgName = $rg.ResourceGroupName + $profileName = New-LiveTestResourceName + $endpointName = New-LiveTestResourceName + + New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -Confirm:$false | Out-Null + $actual = New-AzFrontDoorCdnEndpoint -ResourceGroupName $rgName -ProfileName $profileName -EndpointName $endpointName -Location Global -EnabledState Enabled -AcquirePolicyToken -Confirm:$false + Assert-AreEqual $endpointName $actual.Name +} From b825ea773d1091596fbe92139306e1f5776e031e Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 00:38:23 +1000 Subject: [PATCH 02/13] Fix Change Safety dynamicparam forwarding for Cdn custom-fronted profile cmdlets Regenerated Az.Cdn with the autorest.powershell generator fix (see Azure/autorest.powershell#1555): the outer proxy for custom-fronted write cmdlets (New/Remove/Update-Az{,FrontDoor}CdnProfile) now forwards the wrapped custom function's dynamicparam block, so -AcquirePolicyToken and -ChangeReference actually bind on these commands. Previously they were rejected with 'A parameter cannot be found that matches parameter name AcquirePolicyToken', even though the module was already opted into enable-change-safety. Live-validated: New-AzFrontDoorCdnProfile -AcquirePolicyToken now successfully creates a profile in a real subscription. --- .../exports/Add-AzCdnEdgeActionAttachment.ps1 | 6 +- .../exports/Clear-AzCdnEndpointContent.ps1 | 8 +- .../Clear-AzFrontDoorCdnEndpointContent.ps1 | 8 +- .../Deploy-AzCdnEdgeActionVersionCode.ps1 | 6 +- .../Disable-AzCdnCustomDomainCustomHttps.ps1 | 6 +- .../Enable-AzCdnCustomDomainCustomHttps.ps1 | 7 +- .../Enable-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../exports/Get-AzCdnCustomDomain.ps1 | 6 +- .../exports/Get-AzCdnEdgeAction.ps1 | 4 +- .../Get-AzCdnEdgeActionExecutionFilter.ps1 | 4 +- .../exports/Get-AzCdnEdgeActionVersion.ps1 | 4 +- .../Get-AzCdnEdgeActionVersionCode.ps1 | 4 +- .../exports/Get-AzCdnEdgeNode.ps1 | 4 +- .../exports/Get-AzCdnEndpoint.ps1 | 11 +- .../Get-AzCdnEndpointResourceUsage.ps1 | 4 +- .../exports/Get-AzCdnManagedRuleSet.ps1 | 4 +- .../Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 | 6 +- .../exports/Get-AzCdnOriginGroup.ps1 | 8 +- .../Cdn.Autorest/exports/Get-AzCdnProfile.ps1 | 8 +- .../exports/Get-AzCdnProfileResourceUsage.ps1 | 4 +- ...-AzCdnProfileSupportedOptimizationType.ps1 | 4 +- .../Get-AzCdnSubscriptionResourceUsage.ps1 | 4 +- .../Get-AzFrontDoorCdnCustomDomain.ps1 | 6 +- .../exports/Get-AzFrontDoorCdnEndpoint.ps1 | 7 +- ...et-AzFrontDoorCdnEndpointResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnOrigin.ps1 | 6 +- .../exports/Get-AzFrontDoorCdnOriginGroup.ps1 | 8 +- ...AzFrontDoorCdnOriginGroupResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnProfile.ps1 | 8 +- ...Get-AzFrontDoorCdnProfileResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnRoute.ps1 | 13 +- .../exports/Get-AzFrontDoorCdnRule.ps1 | 19 +- .../exports/Get-AzFrontDoorCdnRuleSet.ps1 | 6 +- ...Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnSecret.ps1 | 8 +- .../Get-AzFrontDoorCdnSecurityPolicy.ps1 | 13 +- .../exports/Import-AzCdnEndpointContent.ps1 | 8 +- ...Invoke-AzCdnAbortProfileToAFDMigration.ps1 | 6 +- ...nvoke-AzCdnCommitProfileToAFDMigration.ps1 | 4 +- .../exports/Move-AzCdnProfileToAFD.ps1 | 8 +- .../exports/New-AzCdnCustomDomain.ps1 | 6 +- ...eliveryRuleCacheExpirationActionObject.ps1 | 4 +- ...eryRuleCacheKeyQueryStringActionObject.ps1 | 4 +- ...zCdnDeliveryRuleCookiesConditionObject.ps1 | 4 +- ...DeliveryRuleHttpVersionConditionObject.ps1 | 4 +- ...CdnDeliveryRuleIsDeviceConditionObject.ps1 | 4 +- .../exports/New-AzCdnDeliveryRuleObject.ps1 | 11 +- ...CdnDeliveryRulePostArgsConditionObject.ps1 | 4 +- ...DeliveryRuleQueryStringConditionObject.ps1 | 4 +- ...liveryRuleRemoteAddressConditionObject.ps1 | 4 +- ...DeliveryRuleRequestBodyConditionObject.ps1 | 4 +- ...nDeliveryRuleRequestHeaderActionObject.ps1 | 4 +- ...liveryRuleRequestHeaderConditionObject.ps1 | 4 +- ...liveryRuleRequestMethodConditionObject.ps1 | 4 +- ...liveryRuleRequestSchemeConditionObject.ps1 | 4 +- ...nDeliveryRuleRequestUriConditionObject.ps1 | 4 +- ...DeliveryRuleResponseHeaderActionObject.ps1 | 4 +- ...eryRuleUrlFileExtensionConditionObject.ps1 | 4 +- ...DeliveryRuleUrlFileNameConditionObject.ps1 | 4 +- ...zCdnDeliveryRuleUrlPathConditionObject.ps1 | 4 +- .../exports/New-AzCdnEdgeAction.ps1 | 6 +- .../New-AzCdnEdgeActionExecutionFilter.ps1 | 6 +- .../exports/New-AzCdnEdgeActionVersion.ps1 | 6 +- .../exports/New-AzCdnEndpoint.ps1 | 10 +- .../New-AzCdnHealthProbeParametersObject.ps1 | 4 +- .../exports/New-AzCdnLoadParametersObject.ps1 | 5 +- .../New-AzCdnManagedHttpsParametersObject.ps1 | 4 +- ...ew-AzCdnMigrationEndpointMappingObject.ps1 | 4 +- .../Cdn.Autorest/exports/New-AzCdnOrigin.ps1 | 6 +- .../exports/New-AzCdnOriginGroup.ps1 | 8 +- ...w-AzCdnOriginGroupOverrideActionObject.ps1 | 4 +- .../Cdn.Autorest/exports/New-AzCdnProfile.ps1 | 29 +- .../New-AzCdnPurgeParametersObject.ps1 | 5 +- .../New-AzCdnResourceReferenceObject.ps1 | 4 +- ...edOriginErrorDetectionParametersObject.ps1 | 4 +- .../New-AzCdnUrlRedirectActionObject.ps1 | 4 +- .../New-AzCdnUrlRewriteActionObject.ps1 | 4 +- .../New-AzCdnUrlSigningActionObject.ps1 | 4 +- ...-AzCdnUserManagedHttpsParametersObject.ps1 | 4 +- .../New-AzFrontDoorCdnCustomDomain.ps1 | 9 +- ...CustomDomainTlsSettingParametersObject.ps1 | 6 +- .../exports/New-AzFrontDoorCdnEndpoint.ps1 | 6 +- ...zFrontDoorCdnMigrationParametersObject.ps1 | 4 +- ...ionWebApplicationFirewallMappingObject.ps1 | 5 +- .../exports/New-AzFrontDoorCdnOrigin.ps1 | 6 +- .../exports/New-AzFrontDoorCdnOriginGroup.ps1 | 8 +- ...CdnOriginGroupHealthProbeSettingObject.ps1 | 4 +- ...nOriginGroupLoadBalancingSettingObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnProfile.ps1 | 32 +- ...oorCdnProfileChangeSkuWafMappingObject.ps1 | 4 +- ...zFrontDoorCdnProfileLogScrubbingObject.ps1 | 6 +- ...rontDoorCdnProfileScrubbingRulesObject.ps1 | 4 +- ...tDoorCdnProfileUpgradeParametersObject.ps1 | 7 +- ...ew-AzFrontDoorCdnPurgeParametersObject.ps1 | 5 +- ...-AzFrontDoorCdnResourceReferenceObject.ps1 | 5 +- .../exports/New-AzFrontDoorCdnRoute.ps1 | 6 - .../exports/New-AzFrontDoorCdnRule.ps1 | 19 +- ...ntDoorCdnRuleClientPortConditionObject.ps1 | 4 +- ...FrontDoorCdnRuleCookiesConditionObject.ps1 | 4 +- ...rontDoorCdnRuleHostNameConditionObject.ps1 | 4 +- ...tDoorCdnRuleHttpVersionConditionObject.ps1 | 4 +- ...rontDoorCdnRuleIsDeviceConditionObject.ps1 | 4 +- ...rontDoorCdnRulePostArgsConditionObject.ps1 | 4 +- ...tDoorCdnRuleQueryStringConditionObject.ps1 | 4 +- ...oorCdnRuleRemoteAddressConditionObject.ps1 | 4 +- ...tDoorCdnRuleRequestBodyConditionObject.ps1 | 4 +- ...ntDoorCdnRuleRequestHeaderActionObject.ps1 | 4 +- ...oorCdnRuleRequestHeaderConditionObject.ps1 | 4 +- ...oorCdnRuleRequestMethodConditionObject.ps1 | 4 +- ...oorCdnRuleRequestSchemeConditionObject.ps1 | 4 +- ...ntDoorCdnRuleRequestUriConditionObject.ps1 | 4 +- ...tDoorCdnRuleResponseHeaderActionObject.ps1 | 4 +- ...RouteConfigurationOverrideActionObject.ps1 | 5 +- ...ntDoorCdnRuleServerPortConditionObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnRuleSet.ps1 | 6 +- ...ntDoorCdnRuleSocketAddrConditionObject.ps1 | 4 +- ...tDoorCdnRuleSslProtocolConditionObject.ps1 | 4 +- ...CdnRuleUrlFileExtensionConditionObject.ps1 | 4 +- ...tDoorCdnRuleUrlFileNameConditionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlPathConditionObject.ps1 | 4 +- ...rontDoorCdnRuleUrlRedirectActionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlRewriteActionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlSigningActionObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnSecret.ps1 | 8 +- ...retCustomerCertificateParametersObject.ps1 | 5 +- ...artyManagedCertificateParametersObject.ps1 | 4 +- ...cretManagedCertificateParametersObject.ps1 | 4 +- ...CdnSecretUrlSigningKeyParametersObject.ps1 | 4 +- .../New-AzFrontDoorCdnSecurityPolicy.ps1 | 11 +- ...ebApplicationFirewallAssociationObject.ps1 | 5 +- ...WebApplicationFirewallParametersObject.ps1 | 7 +- .../exports/ProxyCmdletDefinitions.ps1 | 1270 +++++++++-------- .../exports/Remove-AzCdnCustomDomain.ps1 | 6 +- .../exports/Remove-AzCdnEdgeAction.ps1 | 6 +- .../Remove-AzCdnEdgeActionAttachment.ps1 | 6 +- .../Remove-AzCdnEdgeActionExecutionFilter.ps1 | 6 +- .../exports/Remove-AzCdnEdgeActionVersion.ps1 | 6 +- .../exports/Remove-AzCdnEndpoint.ps1 | 6 +- .../exports/Remove-AzCdnOrigin.ps1 | 6 +- .../exports/Remove-AzCdnOriginGroup.ps1 | 6 +- .../exports/Remove-AzCdnProfile.ps1 | 30 +- .../Remove-AzFrontDoorCdnCustomDomain.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnEndpoint.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnOrigin.ps1 | 6 +- .../Remove-AzFrontDoorCdnOriginGroup.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnProfile.ps1 | 30 +- .../exports/Remove-AzFrontDoorCdnRoute.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnRule.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnRuleSet.ps1 | 6 +- .../exports/Remove-AzFrontDoorCdnSecret.ps1 | 6 +- .../Remove-AzFrontDoorCdnSecurityPolicy.ps1 | 7 +- .../exports/Start-AzCdnEndpoint.ps1 | 6 +- ...-AzFrontDoorCdnProfilePrepareMigration.ps1 | 25 +- .../exports/Stop-AzCdnEndpoint.ps1 | 6 +- .../Stop-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../Test-AzCdnEndpointCustomDomain.ps1 | 4 +- .../exports/Test-AzCdnNameAvailability.ps1 | 4 +- .../Cdn.Autorest/exports/Test-AzCdnProbe.ps1 | 4 +- ...est-AzCdnProfileMigrationCompatibility.ps1 | 4 +- ...est-AzFrontDoorCdnEndpointCustomDomain.ps1 | 4 +- ...AzFrontDoorCdnEndpointNameAvailability.ps1 | 4 +- ...rontDoorCdnProfileHostNameAvailability.ps1 | 4 +- .../Test-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../exports/Update-AzCdnEdgeAction.ps1 | 6 +- .../Update-AzCdnEdgeActionExecutionFilter.ps1 | 6 +- .../exports/Update-AzCdnEdgeActionVersion.ps1 | 6 +- .../exports/Update-AzCdnEndpoint.ps1 | 16 +- .../exports/Update-AzCdnOrigin.ps1 | 8 +- .../exports/Update-AzCdnOriginGroup.ps1 | 8 +- .../exports/Update-AzCdnProfile.ps1 | 38 +- .../Update-AzFrontDoorCdnCustomDomain.ps1 | 12 +- ...rontDoorCdnCustomDomainValidationToken.ps1 | 6 +- .../exports/Update-AzFrontDoorCdnEndpoint.ps1 | 6 +- .../exports/Update-AzFrontDoorCdnOrigin.ps1 | 8 +- .../Update-AzFrontDoorCdnOriginGroup.ps1 | 8 +- .../exports/Update-AzFrontDoorCdnProfile.ps1 | 57 +- .../Update-AzFrontDoorCdnProfileSku.ps1 | 19 +- .../exports/Update-AzFrontDoorCdnRoute.ps1 | 8 +- .../exports/Update-AzFrontDoorCdnRule.ps1 | 6 +- .../exports/Update-AzFrontDoorCdnRuleSet.ps1 | 16 +- .../exports/Update-AzFrontDoorCdnSecret.ps1 | 8 +- .../Update-AzFrontDoorCdnSecurityPolicy.ps1 | 21 +- .../BuildTime/Models/PsProxyOutputs.cs | 19 +- .../internal/Get-AzCdnProfile.ps1 | 8 +- .../Invoke-AzCdnCanProfileMigrate.ps1 | 2 +- .../Invoke-AzCdnCommitProfileMigration.ps1 | 2 +- .../internal/Move-AzCdnProfile.ps1 | 2 +- .../Move-AzFrontDoorCdnCdnProfilesTo.ps1 | 2 +- .../Cdn.Autorest/internal/New-AzCdnPolicy.ps1 | 2 +- .../internal/New-AzCdnProfile.ps1 | 6 +- .../internal/New-AzCdnProfileSsoUri.ps1 | 2 +- .../internal/New-AzFrontDoorCdnRoute.ps1 | 14 +- .../internal/ProxyCmdletDefinitions.ps1 | 85 +- .../internal/Remove-AzCdnPolicy.ps1 | 2 +- .../internal/Remove-AzCdnProfile.ps1 | 6 +- .../internal/Update-AzCdnPolicy.ps1 | 2 +- .../internal/Update-AzCdnProfile.ps1 | 14 +- .../Update-AzFrontDoorCdnProfileSku.ps1 | 21 +- 198 files changed, 1463 insertions(+), 1266 deletions(-) diff --git a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 index e8724dd7caf0..d6b32e5a2e5e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 @@ -20,7 +20,9 @@ A long-running operation for adding an EdgeAction attachment. .Description A long-running operation for adding an EdgeAction attachment. .Example -Add-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -197,7 +199,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 index 6fbaeff5cd2b..6fdbf7693d95 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 @@ -20,11 +20,9 @@ Removes a content from CDN. .Description Removes a content from CDN. .Example -Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentPath @("/movies/*","/pictures/pic1.jpg") +{{ Add code here }} .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -$contentFilePath = New-AzCdnPurgeParametersObject -ContentPath $contentPath -Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentFilePath $contentFilePath +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -250,7 +248,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 index a4fd8f10bf31..8b9ba3d3bc8e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 @@ -20,11 +20,9 @@ Removes a content from AzureFrontDoor. .Description Removes a content from AzureFrontDoor. .Example -Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -ContentPath /a +{{ Add code here }} .Example -$contentPath = "/a" -$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath -Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-afdx -ProfileName cdn001 -EndpointName endpointTest001 -Content $content +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdPurgeParameters @@ -260,7 +258,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 index b435b552335e..f379b365843a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 @@ -20,7 +20,9 @@ A long-running operation to deploy versioncode to EdgeActionVersion resource. .Description A long-running operation to deploy versioncode to EdgeActionVersion resource. .Example -Deploy-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Name edge_action.js -Content "Y29uc29sZS5sb2coJ0hlbGxvJyk7" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -247,7 +249,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 index 7aa7d2d5cfd9..d45a0b95865e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 @@ -20,7 +20,9 @@ Disable https delivery of the custom domain. .Description Disable https delivery of the custom domain. .Example -Disable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -219,7 +221,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 index 7c322bbda0e5..769f8b00cd03 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 @@ -20,8 +20,9 @@ Enable https delivery of the custom domain. .Description Enable https delivery of the custom domain. .Example -$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication -Enable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 -CustomDomainHttpsParameter $customDomainHttpsParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -291,7 +292,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 index 5ca5a7059d10..acce15092b3d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 @@ -20,9 +20,11 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} +{{ Add output here }} .Example -Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 index 557cdb3ad568..924326a84b0e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 @@ -20,11 +20,9 @@ Gets an existing custom domain within an endpoint. .Description Gets an existing custom domain within an endpoint. .Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} .Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -.Example -New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain010 -HostName 'testcm.dev.cdn.azure.cn' | Get-AzCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 index e3c1dd783999..78d45ca4cbe5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 @@ -20,9 +20,9 @@ Get EdgeAction resource .Description Get EdgeAction resource .Example -Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm +{{ Add code here }} .Example -Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 index 6d8d0a81cd1a..9684cdcf2d93 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,9 +20,9 @@ Get EdgeActionExecutionFilter resource .Description Get EdgeActionExecutionFilter resource .Example -Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Example -Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 index 182721bafc14..fa8ba0ee3e1d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 @@ -20,9 +20,9 @@ Get EdgeActionVersion resource .Description Get EdgeActionVersion resource .Example -Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Example -Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 index 54d35a6466f4..69ef220b9665 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 @@ -20,7 +20,9 @@ A long-running operation to get versioncode deployed to EdgeActionVersion resour .Description A long-running operation to get versioncode deployed to EdgeActionVersion resource. .Example -Get-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAny diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 index 9d5034865c49..b67cfc6dc6e1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 @@ -20,7 +20,9 @@ Edgenodes are the global Point of Presence (POP) locations used to deliver CDN c .Description Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. .Example -Get-AzCdnEdgeNode +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNode diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 index 1d118101b8d2..72fbd52e1e30 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 @@ -20,16 +20,9 @@ Gets an existing CDN endpoint with the specified endpoint name under the specifi .Description Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -.Example -$origin = @{ - Name = "origin1" - HostName = "host1.hello.com" -}; - -New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest010 -Location global -Origin $origin | Get-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 index 082735c177f5..04da00c733af 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and usage of geo filters and custom domains under the given end .Description Checks the quota and usage of geo filters and custom domains under the given endpoint. .Example -Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 index 280dde45c147..419bc1b932e6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 @@ -20,7 +20,9 @@ Lists all available managed rule sets. .Description Lists all available managed rule sets. .Example -Get-AzCdnManagedRuleSet +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedRuleSetDefinition diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 index 6860db409ca3..37468a669f91 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 @@ -20,11 +20,9 @@ Gets an existing origin within an endpoint. .Description Gets an existing origin within an endpoint. .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -.Example -New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -HostName "host1.hello.com" | Get-AzCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 index 904f5719d487..794ee5c23f1d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 @@ -20,13 +20,9 @@ Gets an existing origin group within an endpoint. .Description Gets an existing origin group within an endpoint. .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -.Example -$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) | Get-AzCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 index c9a4bcbb181e..e14c64a399c7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 @@ -20,13 +20,9 @@ Gets an CDN profile with the specified profile name under the specified subscrip .Description Gets an CDN profile with the specified profile name under the specified subscription and resource group. .Example -Get-AzCdnProfile +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -.Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 index ce2bf6ae0d5c..b7dcc5838bf6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile. .Example -Get-AzCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 index 793cd5162c46..cf94e513ec67 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 @@ -22,7 +22,9 @@ A user can list an endpoint with an optimization type from the listed values. Gets the supported optimization types for the current profile. A user can list an endpoint with an optimization type from the listed values. .Example -Get-AzCdnProfileSupportedOptimizationType -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISupportedOptimizationTypesListResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 index 2701cbde3737..0fc5def9820d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 @@ -20,7 +20,9 @@ Check the quota and actual usage of the CDN profiles under the given subscriptio .Description Check the quota and actual usage of the CDN profiles under the given subscription. .Example -Get-AzCdnSubscriptionResourceUsage +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 index 37d0f5e06c5a..e776623b9f52 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 @@ -20,11 +20,9 @@ Gets an existing AzureFrontDoor domain with the specified domain name under the .Description Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -.Example -New-AzFrontDoorCdnCustomDomain -CustomDomainName domain001 -ProfileName fdp-v542q6 -ResourceGroupName testps-rg-da16jm -HostName "pstest001.dev.cdn.azure.cn"| Get-AzFrontDoorCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 index bcb325498295..b219de7926e8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 @@ -20,12 +20,9 @@ Gets an existing AzureFrontDoor endpoint with the specified endpoint name under .Description Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -.Example -New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 -Location Global -EnabledState Enabled -| Get-AzFrontDoorCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 index cd15953cab73..2ff9910dd279 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 index 27ca37b3a5b0..98269dd5b0cf 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 @@ -20,11 +20,9 @@ Gets an existing origin within an origin group. .Description Gets an existing origin within an origin group. .Example - Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -.Example -New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 | Get-AzFrontDoorCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 index 7a6f4cd2d4da..45b19034e24f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 @@ -20,13 +20,9 @@ Gets an existing origin group within a profile. .Description Gets an existing origin group within a profile. .Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -.Example -$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" -$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 -New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting | Get-AzFrontDoorCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 index 94c1fc275ce9..433b4b62b840 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 index 42f6c87fb57f..97c10ea8af86 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 @@ -20,13 +20,9 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -Get-AzFrontDoorCdnProfile +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -.Example -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q7 -SkuName Standard_AzureFrontDoor -Location Global | Get-AzFrontDoorCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 index f44e3977d89f..e694c70b59de 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 index 58bceea20e42..7f141e31ff35 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 @@ -20,18 +20,9 @@ Gets an existing route with the specified route name under the specified subscri .Description Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -.Example -$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 - -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) | Get-AzFrontDoorCdnRoute +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 index 9a708451bfb2..283d8ec5a56f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 @@ -20,24 +20,9 @@ Gets an existing delivery rule within a rule set. .Description Gets an existing delivery rule within a rule set. .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -.Example -$conditions = @( - New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 - New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile - New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 -); - - -$actions = @( - New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest -); - -New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions | Get-AzFrontDoorCdnRule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 index ead84dcf1597..97451b7ae085 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 @@ -20,11 +20,9 @@ Gets an existing AzureFrontDoor rule set with the specified rule set name under .Description Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -.Example -New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Get-AzFrontDoorCdnRuleSet +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 index 00eb382fe196..7c7156840d11 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 @@ -20,7 +20,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnRuleSetResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 index 7a992cfbd242..c0d85a77ea59 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 @@ -20,13 +20,9 @@ Gets an existing Secret within a profile. .Description Gets an existing Secret within a profile. .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -.Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter | Get-AzFrontDoorCdnSecret +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 index a2fba177caf9..f786383b300f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,18 +20,9 @@ Gets an existing security policy within a profile. .Description Gets an existing security policy within a profile. .Example -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -.Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId -Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter | Get-AzFrontDoorCdnSecurityPolicy +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 index 92f74912ccaa..d91b2516284e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 @@ -22,11 +22,9 @@ Available for Verizon Profiles. Pre-loads a content to CDN. Available for Verizon Profiles. .Example -Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentPath @("/movies/hello","/pictures/pic1.jpg") +{{ Add code here }} .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -$contentFilePath = New-AzCdnLoadParametersObject -ContentPath $contentPath -Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentFilePath $contentFilePath +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -252,7 +250,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 index 15771462a6d0..f0d70df29e7e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 @@ -20,7 +20,9 @@ Abort the migration to Azure Frontdoor Premium/Standard. .Description Abort the migration to Azure Frontdoor Premium/Standard. .Example -Invoke-AzCdnAbortProfileToAFDMigration -ProfileName cli-test-profile -ResourceGroupName cli-test-rg +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -158,7 +160,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 index e927bf790251..fa10ebb7c13e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 @@ -20,9 +20,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} .Example -Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 index 9f67143b0547..71f5c196c44e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 @@ -22,13 +22,9 @@ This step prepares the profile for migration and will be followed by Commit to f Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 - -Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) +{{ Add code here }} .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 - -Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) -IdentityType "SystemAssigned" +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 index b6c7f38c5d73..d87f6169076f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 @@ -20,7 +20,9 @@ Create a new custom domain within an endpoint. .Description Create a new custom domain within an endpoint. .Example -New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -240,7 +242,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 index d20877709424..ca7f71226f00 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleCacheExpirationAction. .Description Create an in-memory object for DeliveryRuleCacheExpirationAction. .Example -New-AzCdnDeliveryRuleCacheExpirationActionObject -Name CacheExpiration -ParameterCacheBehavior SetIfMissing -ParameterCacheDuration 0.01:30:00 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheExpirationAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 index 8ea664c9677f..3c7c65f54375 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Description Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Example -New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject -Name CacheKeyQueryString -ParameterQueryStringBehavior IncludeAll +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheKeyQueryStringAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 index c6814cd5d227..cb6396a38951 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 index 24fdb9623f1a..40c15c16b597 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -New-AzCdnDeliveryRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 index 89e801ec4eb7..b2d05928da1e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -New-AzCdnDeliveryRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 index 1ae12643d48f..4bd65d1b3eb2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 @@ -20,14 +20,9 @@ Create an in-memory object for DeliveryRule. .Description Create an in-memory object for DeliveryRule. .Example -$cond1 = New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase -$action1 = New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 -$action2 = New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - - -$conditions = @($cond1) -$actions = @($action1, $action2) -New-AzCdnDeliveryRuleObject -Name "Rule1" -Condition $conditions -Action $actions -Order 1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRule diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 index ebf6ead2deaf..05c662c5b2c5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -New-AzCdnDeliveryRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 index 489848a3308c..1b57a6dc9a0a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -New-AzCdnDeliveryRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 index 009a3308fd7d..0ca567cf65ae 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -New-AzCdnDeliveryRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 index da1d4ad92195..49a3afd6f130 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -New-AzCdnDeliveryRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 index 5e0a2d6efd7e..52d5712fb1c9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 index e8ecb57c46ae..7a404d07c1d2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -New-AzCdnDeliveryRuleRequestHeaderConditionObject -Name RequestHeader -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 index 0c456f94eee4..a83506fc06e8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -New-AzCdnDeliveryRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 index 2704febafe6f..e9d3ec454766 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -New-AzCdnDeliveryRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 index ef6211211435..9f9fe599448c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -New-AzCdnDeliveryRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 index f3e2de5e4449..92a0a24ba25a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 index 11fb43610924..0ceb5b950131 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Description Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Example -New-AzCdnDeliveryRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 index c2bed35ddc3a..7bdd675240f8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -New-AzCdnDeliveryRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 index 1e4674d7080b..27de2b960dbe 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -New-AzCdnDeliveryRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 index 7fedbcf2fa12..c93b8fb5d09f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 @@ -20,7 +20,9 @@ Create EdgeAction resource .Description Create EdgeAction resource .Example -New-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Location global -SkuName Standard -SkuTier Standard +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -167,7 +169,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 index d2bdea11a322..75c084e2a720 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,7 +20,9 @@ Create EdgeActionExecutionFilter resource .Description Create EdgeActionExecutionFilter resource .Example -New-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -Location global -ExecutionFilterIdentifierHeaderName "X-Filter-Key" -ExecutionFilterIdentifierHeaderValue "FilterValue1" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -178,7 +180,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 index 7d06e2377b52..79a61f5bd92e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 @@ -20,7 +20,9 @@ Create EdgeActionVersion version .Description Create EdgeActionVersion version .Example -New-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Location global -DeploymentType zip -IsDefaultVersion True +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -174,7 +176,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 index 9e232dbf8a19..6599b4975479 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 @@ -20,11 +20,9 @@ Create a new CDN endpoint with the specified endpoint name under the specified s .Description Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -$origin = @{ - Name = "origin1" - HostName = "host1.hello.com" -}; -New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Location westus -Origin $origin +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -470,7 +468,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 index c4d31f8faafd..a0fe9d8d9cf0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 index 41806cad4d3f..2df62a862807 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for LoadParameters. .Description Create an in-memory object for LoadParameters. .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -New-AzCdnLoadParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 index 8c57ff1c94b9..d158b0a8e8ea 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for CdnManagedHttpsParameters. .Description Create an in-memory object for CdnManagedHttpsParameters. .Example -New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnManagedHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 index c01c4e3e1391..8f13aa22f6b4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for MigrationEndpointMapping. .Description Create an in-memory object for MigrationEndpointMapping. .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationEndpointMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 index d7ef0eaeb1fe..04880dda8a15 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 @@ -20,7 +20,9 @@ Create a new origin within the specified endpoint. .Description Create a new origin within the specified endpoint. .Example -New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -341,7 +343,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 index 97a6faadf237..a10124f3b4b2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Create a new origin group within the specified endpoint. .Description Create a new origin group within the specified endpoint. .Example -$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -298,7 +298,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 index 144a9705c3b2..51e2557b2b58 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for OriginGroupOverrideAction. .Description Create an in-memory object for OriginGroupOverrideAction. .Example -New-AzCdnOriginGroupOverrideActionObject -Name OriginGroupOverride -OriginGroupId 001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverrideAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 index 68092f2ea04b..8080d57a5616 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 @@ -20,7 +20,9 @@ Creates an CDN profile with the specified profile name under the specified subsc .Description Creates an CDN profile with the specified profile name under the specified subscription and resource group. .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -139,6 +141,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 index 11702fccb978..0674e235f0a8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for PurgeParameters. .Description Create an in-memory object for PurgeParameters. .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -New-AzCdnPurgeParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.PurgeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 index 5d028d992de1..a6d10929e448 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -New-AzCdnResourceReferenceObject -Id Idtest +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 index f4ca69b0c248..f2b9b05c003b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Description Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Example -New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResponseBasedOriginErrorDetectionParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 index 17151bc95c4a..9b5d7462db2b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 index bd54d91a52e2..aac73cfdf7c0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -New-AzCdnUrlRewriteActionObject -Name rewrite01 -ParameterDestination dest01 -ParameterSourcePattern pattern01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 index 8e124f6e8df8..edfa8807cb5a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -New-AzCdnUrlSigningActionObject -Name action01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 index e4f5cb4fc79f..59f2f94bceef 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UserManagedHttpsParameters. .Description Create an in-memory object for UserManagedHttpsParameters. .Example -New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UserManagedHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 index f62a7e3316ab..3c5761b92b15 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 @@ -20,10 +20,9 @@ Create a new domain within the specified profile. .Description Create a new domain within the specified profile. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$tlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure -New-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -HostName "pstest001.dev.cdn.azure.cn" -TlsSetting $tlsSetting +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomain @@ -265,7 +264,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 index 83195cb392d1..73475aafe04e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for AfdDomainHttpsParameters. .Description Create an in-memory object for AfdDomainHttpsParameters. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 index 9a9e6332ea1f..fdbd61e7c4e4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 @@ -20,7 +20,9 @@ Create a new AzureFrontDoor endpoint with the specified endpoint name under the .Description Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpoint @@ -239,7 +241,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 index a641f7c9514b..5a7178ba3207 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for MigrationParameters. .Description Create an in-memory object for MigrationParameters. .Example -New-AzFrontDoorCdnMigrationParametersObject -ProfileName test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 index 03e12ffab8cf..31825977080f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for MigrationWebApplicationFirewallMapping. .Description Create an in-memory object for MigrationWebApplicationFirewallMapping. .Example -New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId migrateFromId -MigratedToId migrateToId - +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationWebApplicationFirewallMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 index 88ed84f3c844..49276e124b6b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 @@ -20,7 +20,9 @@ Create a new origin within the specified origin group. .Description Create a new origin within the specified origin group. .Example - New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOrigin @@ -368,7 +370,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 index 29d580127148..869fb069242a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Create a new origin group within the specified profile. .Description Create a new origin group within the specified profile. .Example -$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" -$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 -New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroup @@ -282,7 +282,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 index 285dd59cf4b3..4f15f402e0fc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 index 6aea498eb9b5..47fa16c26fd1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for LoadBalancingSettingsParameters. .Description Create an in-memory object for LoadBalancingSettingsParameters. .Example -New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadBalancingSettingsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 index 14f91db03e3e..88dbfb0d2a7b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 @@ -20,10 +20,9 @@ Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profi .Description 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. .Example -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global +{{ Add code here }} .Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global -LogScrubbingRule $rule -LogScrubbingState Enabled +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -196,6 +195,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 index 30c74202dadc..13f656faec6d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for ProfileChangeSkuWafMapping. .Description Create an in-memory object for ProfileChangeSkuWafMapping. .Example -New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileChangeSkuWafMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 index a0ec188e7ed6..51d40031e1a1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for ProfileLogScrubbing. .Description Create an in-memory object for ProfileLogScrubbing. .Example -$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled -New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileLogScrubbing diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 index 5eea4d68765d..6529fcfe8067 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for ProfileScrubbingRules. .Description Create an in-memory object for ProfileScrubbingRules. .Example -New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +{{ Add code here }} .Example -New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileScrubbingRules diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 index a56d191602f4..caa89fcc1121 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 @@ -20,12 +20,9 @@ Create an in-memory object for ProfileUpgradeParameters. .Description Create an in-memory object for ProfileUpgradeParameters. .Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId -New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 +{{ Add code here }} .Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 -$upgrade.ToString() +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 index 20299d36ffc3..7916aec57cbc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for AfdPurgeParameters. .Description Create an in-memory object for AfdPurgeParameters. .Example -$contentPath = "/a" -$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdPurgeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 index 5283566880c1..49aed48424a0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 index f05fcfd49898..880c7f78c557 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 @@ -24,12 +24,6 @@ $originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm $ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 $customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) - - .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity .Inputs diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 index 187275b1cc18..cc2811d39286 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 @@ -20,20 +20,9 @@ Create a new delivery rule within the specified rule set. .Description Create a new delivery rule within the specified rule set. .Example -$conditions = @( - New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 - New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile - New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 -); - - -$actions = @( - New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest -); - -New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -296,7 +285,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 index 8e34f1d3e3ec..0c7595e77bd9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleClientPortCondition. .Description Create an in-memory object for DeliveryRuleClientPortCondition. .Example -New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleClientPortCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 index f24087696b54..1d5a880c2314 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -New-AzFrontDoorCdnRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 index a78fd2e990f9..2b3381e2bf8d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleHostNameCondition. .Description Create an in-memory object for DeliveryRuleHostNameCondition. .Example -New-AzFrontDoorCdnRuleHostNameConditionObject -Name HostName -ParameterOperator Equal -ParameterMatchValue azure.com +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHostNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 index 72c878ed26e5..26bed6e7481c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -New-AzFrontDoorCdnRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 index b0d6db72a803..93542ccffa89 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 index 6f45dcdbd439..f7a9f94dd1b1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -New-AzFrontDoorCdnRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 index 012ec62b6ff6..b8e3118e6e19 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -New-AzFrontDoorCdnRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 index 22d7db045862..a672fd438fd3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -New-AzFrontDoorCdnRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 index 0fafdd762d06..356f05890cec 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -New-AzFrontDoorCdnRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 index 5f3b616cacd7..706eba8c64c7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 index 31fe40f3e277..8996f8a70872 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 index 17dc975bff80..b1dc99b5d608 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -New-AzFrontDoorCdnRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 index a73a5a19e71b..4d76682a6a16 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -New-AzFrontDoorCdnRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 index c8af0038c51f..8515f46835a1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example - New-AzFrontDoorCdnRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 index b4eaa8528e59..cf552a6ceda3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 index 193e843028ba..e97ac08a6616 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Description Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Example -$originGroupId = "xxxx" -New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject -Name RouteConfigurationOverride -OriginGroupOverrideForwardingProtocol HttpOnly -OriginGroupId $originGroupId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRouteConfigurationOverrideAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 index 11a04e2d1cf7..b8c41f08704e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleServerPortCondition. .Description Create an in-memory object for DeliveryRuleServerPortCondition. .Example -New-AzFrontDoorCdnRuleServerPortConditionObject -Name ServerPort -ParameterOperator Equal -ParameterMatchValue 80,81 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleServerPortCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 index 3530748155a1..2390d8297570 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 @@ -20,7 +20,9 @@ Create or create a batch rule set within the specified profile along with the ru .Description Create or create a batch rule set within the specified profile along with the rules associate to it. .Example -New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -230,7 +232,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 index d89437972a5d..28e521084c44 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleSocketAddrCondition. .Description Create an in-memory object for DeliveryRuleSocketAddrCondition. .Example - New-AzFrontDoorCdnRuleSocketAddrConditionObject -Name SocketAddr -ParameterOperator IPMatch -ParameterMatchValue 222.10.0.1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSocketAddrCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 index 9cbaad380802..0069bc7fbf85 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleSslProtocolCondition. .Description Create an in-memory object for DeliveryRuleSslProtocolCondition. .Example -New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSslProtocolCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 index 6f321d82fe95..aa60c20ca7ed 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 index 427fbf8e6854..0b5c26f7fda2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -New-AzFrontDoorCdnRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 index e5ef3a08df81..3f345ecfc816 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example - New-AzFrontDoorCdnRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 index 1504dc7f5ff8..425952e2c7e7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 index 76bf7c247e61..d1c38f4e21fe 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -New-AzFrontDoorCdnRuleUrlRewriteActionObject -Name UrlRewrite -ParameterDestination /b -ParameterSourcePattern /a -ParameterPreserveUnmatchedPath $False +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 index efdefd02eb98..a63249bb89e8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -New-AzFrontDoorCdnRuleUrlSigningActionObject -Name rule01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 index 1e7083da6239..226bc606547f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Create a new Secret within the specified profile. .Description Create a new Secret within the specified profile. .Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -205,7 +205,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 index 672a0fa6dba1..1dbddf17b951 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for CustomerCertificateParameters. .Description Create an in-memory object for CustomerCertificateParameters. .Example -$secretSourceId = "xxxxxxxx" -New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomerCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 index 0b705b7e8d12..dc30bdc07994 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Description Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Example -New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject -Type BYOC +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AzureFirstPartyManagedCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 index 3969ec817ad8..ebcafb2024dd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for ManagedCertificateParameters. .Description Create an in-memory object for ManagedCertificateParameters. .Example -New-AzFrontDoorCdnSecretManagedCertificateParametersObject -Type ManagedCert +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 index 8bc01080eb32..ff60938d4df0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 @@ -20,7 +20,9 @@ Create an in-memory object for UrlSigningKeyParameters. .Description Create an in-memory object for UrlSigningKeyParameters. .Example -New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject -KeyId keyId01 -Type Byoc -SecretVersion v1.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningKeyParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 index 96ac10b1ab0e..e4b6fff4fd2b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,12 +20,9 @@ Create a new security policy within the specified profile. .Description Create a new security policy within the specified profile. .Example -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$wafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association -WafPolicyId $wafPolicyId - -New-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $wafParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -204,7 +201,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 index fd7c0f942c99..15af243a15d4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 @@ -20,8 +20,9 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallAssociation diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 index baa1088d90a2..7f86b07e8a5a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 @@ -20,10 +20,9 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association ` - -WafPolicyId $wafPolicyId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 index 53ed4d7cb8bc..0c3b4aedf0b1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -20,7 +20,9 @@ A long-running operation for adding an EdgeAction attachment. .Description A long-running operation for adding an EdgeAction attachment. .Example -Add-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -197,7 +199,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -322,11 +324,9 @@ Removes a content from CDN. .Description Removes a content from CDN. .Example -Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentPath @("/movies/*","/pictures/pic1.jpg") +{{ Add code here }} .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -$contentFilePath = New-AzCdnPurgeParametersObject -ContentPath $contentPath -Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentFilePath $contentFilePath +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -552,7 +552,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -679,11 +679,9 @@ Removes a content from AzureFrontDoor. .Description Removes a content from AzureFrontDoor. .Example -Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -ContentPath /a +{{ Add code here }} .Example -$contentPath = "/a" -$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath -Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-afdx -ProfileName cdn001 -EndpointName endpointTest001 -Content $content +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdPurgeParameters @@ -919,7 +917,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -1046,7 +1044,9 @@ A long-running operation to deploy versioncode to EdgeActionVersion resource. .Description A long-running operation to deploy versioncode to EdgeActionVersion resource. .Example -Deploy-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Name edge_action.js -Content "Y29uc29sZS5sb2coJ0hlbGxvJyk7" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1273,7 +1273,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -1400,7 +1400,9 @@ Disable https delivery of the custom domain. .Description Disable https delivery of the custom domain. .Example -Disable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1599,7 +1601,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -1722,8 +1724,9 @@ Enable https delivery of the custom domain. .Description Enable https delivery of the custom domain. .Example -$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication -Enable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 -CustomDomainHttpsParameter $customDomainHttpsParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1993,7 +1996,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -2120,11 +2123,9 @@ Gets an existing custom domain within an endpoint. .Description Gets an existing custom domain within an endpoint. .Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -.Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 +{{ Add code here }} .Example -New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain010 -HostName 'testcm.dev.cdn.azure.cn' | Get-AzCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -2412,9 +2413,9 @@ Get EdgeActionExecutionFilter resource .Description Get EdgeActionExecutionFilter resource .Example -Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Example -Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -2604,7 +2605,9 @@ A long-running operation to get versioncode deployed to EdgeActionVersion resour .Description A long-running operation to get versioncode deployed to EdgeActionVersion resource. .Example -Get-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAny @@ -2906,9 +2909,9 @@ Get EdgeActionVersion resource .Description Get EdgeActionVersion resource .Example -Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Example -Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -3098,9 +3101,9 @@ Get EdgeAction resource .Description Get EdgeAction resource .Example -Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm +{{ Add code here }} .Example -Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -3287,7 +3290,9 @@ Edgenodes are the global Point of Presence (POP) locations used to deliver CDN c .Description Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. .Example -Get-AzCdnEdgeNode +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNode @@ -3442,7 +3447,9 @@ Checks the quota and usage of geo filters and custom domains under the given end .Description Checks the quota and usage of geo filters and custom domains under the given endpoint. .Example -Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -3631,16 +3638,9 @@ Gets an existing CDN endpoint with the specified endpoint name under the specifi .Description Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -.Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -$origin = @{ - Name = "origin1" - HostName = "host1.hello.com" -}; - -New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest010 -Location global -Origin $origin | Get-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -3893,7 +3893,9 @@ Lists all available managed rule sets. .Description Lists all available managed rule sets. .Example -Get-AzCdnManagedRuleSet +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedRuleSetDefinition @@ -4063,13 +4065,9 @@ Gets an existing origin group within an endpoint. .Description Gets an existing origin group within an endpoint. .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +{{ Add code here }} .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -.Example -$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) | Get-AzCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4357,11 +4355,9 @@ Gets an existing origin within an endpoint. .Description Gets an existing origin within an endpoint. .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -.Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +{{ Add code here }} .Example -New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -HostName "host1.hello.com" | Get-AzCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4649,7 +4645,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile. .Example -Get-AzCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -4834,7 +4832,9 @@ A user can list an endpoint with an optimization type from the listed values. Gets the supported optimization types for the current profile. A user can list an endpoint with an optimization type from the listed values. .Example -Get-AzCdnProfileSupportedOptimizationType -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISupportedOptimizationTypesListResult @@ -5017,7 +5017,9 @@ Check the quota and actual usage of the CDN profiles under the given subscriptio .Description Check the quota and actual usage of the CDN profiles under the given subscription. .Example -Get-AzCdnSubscriptionResourceUsage +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -5187,11 +5189,9 @@ Gets an existing AzureFrontDoor domain with the specified domain name under the .Description Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -.Example -New-AzFrontDoorCdnCustomDomain -CustomDomainName domain001 -ProfileName fdp-v542q6 -ResourceGroupName testps-rg-da16jm -HostName "pstest001.dev.cdn.azure.cn"| Get-AzFrontDoorCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5443,7 +5443,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -5632,12 +5634,9 @@ Gets an existing AzureFrontDoor endpoint with the specified endpoint name under .Description Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -.Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} .Example -New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 -Location Global -EnabledState Enabled -| Get-AzFrontDoorCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5889,7 +5888,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -6078,13 +6079,9 @@ Gets an existing origin group within a profile. .Description Gets an existing origin group within a profile. .Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -.Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} .Example -$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" -$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 -New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting | Get-AzFrontDoorCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -6336,11 +6333,9 @@ Gets an existing origin within an origin group. .Description Gets an existing origin within an origin group. .Example - Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -.Example -New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 | Get-AzFrontDoorCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -6627,7 +6622,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -6810,18 +6807,9 @@ Gets an existing route with the specified route name under the specified subscri .Description Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -.Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 +{{ Add code here }} .Example -$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 - -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) | Get-AzFrontDoorCdnRoute +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7109,7 +7097,9 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -Get-AzFrontDoorCdnRuleSetResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -7298,11 +7288,9 @@ Gets an existing AzureFrontDoor rule set with the specified rule set name under .Description Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -.Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} .Example -New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Get-AzFrontDoorCdnRuleSet +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7555,24 +7543,9 @@ Gets an existing delivery rule within a rule set. .Description Gets an existing delivery rule within a rule set. .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -.Example -$conditions = @( - New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 - New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile - New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 -); - - -$actions = @( - New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest -); - -New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions | Get-AzFrontDoorCdnRule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7861,13 +7834,9 @@ Gets an existing Secret within a profile. .Description Gets an existing Secret within a profile. .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -.Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter | Get-AzFrontDoorCdnSecret +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8120,18 +8089,9 @@ Gets an existing security policy within a profile. .Description Gets an existing security policy within a profile. .Example -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -.Example -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 +{{ Add code here }} .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId -Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter | Get-AzFrontDoorCdnSecurityPolicy +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8386,11 +8346,9 @@ Available for Verizon Profiles. Pre-loads a content to CDN. Available for Verizon Profiles. .Example -Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentPath @("/movies/hello","/pictures/pic1.jpg") +{{ Add code here }} .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -$contentFilePath = New-AzCdnLoadParametersObject -ContentPath $contentPath -Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentFilePath $contentFilePath +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8616,7 +8574,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -8743,7 +8701,9 @@ Abort the migration to Azure Frontdoor Premium/Standard. .Description Abort the migration to Azure Frontdoor Premium/Standard. .Example -Invoke-AzCdnAbortProfileToAFDMigration -ProfileName cli-test-profile -ResourceGroupName cli-test-rg +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8881,7 +8841,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -9002,7 +8962,9 @@ Create a new custom domain within an endpoint. .Description Create a new custom domain within an endpoint. .Example -New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -9222,7 +9184,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -9348,7 +9310,9 @@ Create EdgeActionExecutionFilter resource .Description Create EdgeActionExecutionFilter resource .Example -New-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -Location global -ExecutionFilterIdentifierHeaderName "X-Filter-Key" -ExecutionFilterIdentifierHeaderValue "FilterValue1" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -9506,7 +9470,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -9628,7 +9592,9 @@ Create EdgeActionVersion version .Description Create EdgeActionVersion version .Example -New-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Location global -DeploymentType zip -IsDefaultVersion True +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -9782,7 +9748,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -9904,7 +9870,9 @@ Create EdgeAction resource .Description Create EdgeAction resource .Example -New-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Location global -SkuName Standard -SkuTier Standard +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -10051,7 +10019,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -10173,11 +10141,9 @@ Create a new CDN endpoint with the specified endpoint name under the specified s .Description Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -$origin = @{ - Name = "origin1" - HostName = "host1.hello.com" -}; -New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Location westus -Origin $origin +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -10623,7 +10589,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -10747,9 +10713,9 @@ Create a new origin group within the specified endpoint. .Description Create a new origin group within the specified endpoint. .Example -$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -11025,7 +10991,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -11151,7 +11117,9 @@ Create a new origin within the specified endpoint. .Description Create a new origin within the specified endpoint. .Example -New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -11472,7 +11440,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -11598,10 +11566,9 @@ Create a new domain within the specified profile. .Description Create a new domain within the specified profile. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$tlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure -New-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -HostName "pstest001.dev.cdn.azure.cn" -TlsSetting $tlsSetting +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomain @@ -11843,7 +11810,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -11967,7 +11934,9 @@ Create a new AzureFrontDoor endpoint with the specified endpoint name under the .Description Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpoint @@ -12186,7 +12155,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -12310,9 +12279,9 @@ Create a new origin group within the specified profile. .Description Create a new origin group within the specified profile. .Example -$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" -$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 -New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroup @@ -12572,7 +12541,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -12696,7 +12665,9 @@ Create a new origin within the specified origin group. .Description Create a new origin within the specified origin group. .Example - New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOrigin @@ -13044,7 +13015,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -13170,7 +13141,9 @@ Create or create a batch rule set within the specified profile along with the ru .Description Create or create a batch rule set within the specified profile along with the rules associate to it. .Example -New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -13380,7 +13353,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -13505,20 +13478,9 @@ Create a new delivery rule within the specified rule set. .Description Create a new delivery rule within the specified rule set. .Example -$conditions = @( - New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 - New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile - New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 -); - - -$actions = @( - New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest -); - -New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -13781,7 +13743,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -13907,9 +13869,9 @@ Create a new Secret within the specified profile. .Description Create a new Secret within the specified profile. .Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14092,7 +14054,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -14216,12 +14178,9 @@ Create a new security policy within the specified profile. .Description Create a new security policy within the specified profile. .Example -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$wafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association -WafPolicyId $wafPolicyId - -New-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $wafParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14400,7 +14359,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -14524,9 +14483,9 @@ Deletes an existing custom domain within an endpoint. .Description Deletes an existing custom domain within an endpoint. .Example -Remove-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 +{{ Add code here }} .Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 | Remove-AzCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14732,7 +14691,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -14855,7 +14814,9 @@ A long-running operation for deleting an EdgeAction attachment that returns no c .Description A long-running operation for deleting an EdgeAction attachment that returns no content. .Example -Remove-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -15032,7 +14993,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -15157,7 +15118,9 @@ Delete EdgeActionExecutionFilter resource .Description Delete EdgeActionExecutionFilter resource .Example -Remove-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -15269,7 +15232,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -15389,7 +15352,9 @@ Delete EdgeActionVersion resource .Description Delete EdgeActionVersion resource .Example -Remove-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -15501,7 +15466,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -15621,7 +15586,9 @@ Delete EdgeAction resource .Description Delete EdgeAction resource .Example -Remove-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -15728,7 +15695,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -15848,9 +15815,9 @@ Deletes an existing CDN endpoint with the specified endpoint name under the spec .Description Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Remove-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Remove-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16022,7 +15989,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -16144,9 +16111,9 @@ Deletes an existing origin group within an endpoint. .Description Deletes an existing origin group within an endpoint. .Example -Remove-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 +{{ Add code here }} .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001| Remove-AzCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16352,7 +16319,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -16475,9 +16442,9 @@ Deletes an existing origin within an endpoint. .Description Deletes an existing origin within an endpoint. .Example -Remove-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +{{ Add code here }} .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Remove-AzCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16683,7 +16650,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -16806,9 +16773,9 @@ Deletes an existing AzureFrontDoor domain with the specified domain name under t .Description Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Remove-AzFrontDoorCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16979,7 +16946,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -17101,9 +17068,9 @@ Deletes an existing AzureFrontDoor endpoint with the specified endpoint name und .Description Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Remove-AzFrontDoorCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17274,7 +17241,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -17396,9 +17363,9 @@ Deletes an existing origin group within a profile. .Description Deletes an existing origin group within a profile. .Example -Remove-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Remove-AzFrontDoorCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17569,7 +17536,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -17691,9 +17658,9 @@ Deletes an existing origin within an origin group. .Description Deletes an existing origin within an origin group. .Example -Remove-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Remove-AzFrontDoorCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17898,7 +17865,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -18021,9 +17988,9 @@ Deletes an existing route with the specified route name under the specified subs .Description Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Remove-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Remove-AzFrontDoorCdnRoute +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18229,7 +18196,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -18352,9 +18319,9 @@ Deletes an existing AzureFrontDoor rule set with the specified rule set name und .Description Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Remove-AzFrontDoorCdnRuleSet +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18526,7 +18493,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -18648,9 +18615,9 @@ Deletes an existing delivery rule within a rule set. .Description Deletes an existing delivery rule within a rule set. .Example -Remove-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Remove-AzFrontDoorCdnRule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18857,7 +18824,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -18980,9 +18947,9 @@ Deletes an existing Secret within profile. .Description Deletes an existing Secret within profile. .Example -Remove-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 | Remove-AzFrontDoorCdnSecret +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19154,7 +19121,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -19276,10 +19243,9 @@ Deletes an existing security policy within profile. .Description Deletes an existing security policy within profile. .Example -Remove-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 +{{ Add code here }} .Example - -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Remove-AzFrontDoorCdnSecurityPolicy +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19451,7 +19417,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -19573,9 +19539,9 @@ Starts an existing CDN endpoint that is on a stopped state. .Description Starts an existing CDN endpoint that is on a stopped state. .Example -Start-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Start-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19741,7 +19707,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -19863,9 +19829,9 @@ Stops an existing running CDN endpoint. .Description Stops an existing running CDN endpoint. .Example -Stop-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Stop-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -20031,7 +19997,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -20153,9 +20119,9 @@ Validates the custom domain mapping to ensure it maps to the correct CDN endpoin .Description Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. .Example -Test-AzCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Test-AzCdnEndpointCustomDomain -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -20450,7 +20416,9 @@ This is needed for resources where name is globally unique, such as a CDN endpoi Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. .Example -Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckNameAvailabilityOutput @@ -20654,7 +20622,9 @@ Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. .Example -Test-AzCdnProbe -ProbeUrl "https://azurecdn-files.azureedge.net/dsa-test/probe-v.txt" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IValidateProbeOutput @@ -20844,7 +20814,9 @@ Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profi .Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. .Example -Test-AzCdnProfileMigrationCompatibility -ProfileName cli-test-profile -ResourceGroupName cli-test-rg +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21071,9 +21043,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -Test-AzFrontDoorCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -HostName "pstest001.dev.cdn.azure.cn" +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Test-AzFrontDoorCdnEndpointCustomDomain -HostName "pstest001.dev.cdn.azure.cn" +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21368,7 +21340,9 @@ This is needed for resources where name is globally unique, such as a afdx endpo Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. .Example -Test-AzFrontDoorCdnEndpointNameAvailability -ResourceGroupName testps-rg-da16jm -Type "Microsoft.Cdn/Profiles/AfdEndpoints" -Name end001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckEndpointNameAvailabilityOutput @@ -21580,9 +21554,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -Test-AzFrontDoorCdnProfileHostNameAvailability -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -HostName hello1.dev.cdn.azure.cn +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Test-AzFrontDoorCdnProfileHostNameAvailability -HostName hello1.dev.cdn.azure.cn +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21824,7 +21798,9 @@ Update EdgeActionExecutionFilter resource .Description Update EdgeActionExecutionFilter resource .Example -Update-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -ExecutionFilterIdentifierHeaderName "X-Updated-Filter" -ExecutionFilterIdentifierHeaderValue "UpdatedValue" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -21969,7 +21945,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -22091,7 +22067,9 @@ Update EdgeActionVersion resource .Description Update EdgeActionVersion resource .Example -Update-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -DeploymentType zip -IsDefaultVersion False +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -22232,7 +22210,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -22354,7 +22332,9 @@ Update EdgeAction resource .Description Update EdgeAction resource .Example -Update-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Tag @{Environment="Staging"} +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -22488,7 +22468,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -22618,19 +22598,9 @@ To update origins, use the update Origin operation. To update origin groups, use the update Origin group operation. To update custom domains, use the update Custom Domain operation. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Tag $tags -DefaultOriginGroupId $originGroup.Id -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Update-AzCdnEndpoint -Tag $tags -DefaultOriginGroupId $originGroup.Id +{{ Add code here }} .Example -Update-AzCdnEndpoint -Name cdntestcert -ProfileName classicCDNtest -ResourceGroupName yaoshitest -IsCompressionEnabled:$true +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -23037,7 +23007,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -23162,11 +23132,9 @@ Update an existing origin group within an endpoint. .Description Update an existing origin group within an endpoint. .Example -$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters +{{ Add code here }} .Example -$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 | Update-AzCdnOriginGroup -HealthProbeSetting $updateHealthProbeParameters +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -23478,7 +23446,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -23605,11 +23573,9 @@ Update an existing origin within an endpoint. .Description Update an existing origin within an endpoint. .Example -Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 +{{ Add code here }} .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Update-AzCdnOrigin -HttpPort 456 -HttpsPort 789 -.Example -Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -23972,7 +23938,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -24099,9 +24065,9 @@ Refresh the domain validation token. .Description Refresh the domain validation token. .Example -Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomainValidationToken +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -24272,7 +24238,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -24394,15 +24360,9 @@ Update an existing domain within a profile. .Description Update an existing domain within a profile. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure -Update-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -TlsSetting $updateSetting +{{ Add code here }} .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomain -TlsSetting $updateSetting +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParameters @@ -24658,7 +24618,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -24791,9 +24751,9 @@ To 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. .Example -Update-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -EnabledState Disabled +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 | Update-AzFrontDoorCdnEndpoint -EnabledState Disabled +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParameters @@ -25026,7 +24986,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -25151,11 +25111,9 @@ Update an existing origin group within a profile. .Description Update an existing origin group within a profile. .Example -$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 -Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting +{{ Add code here }} .Example -$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Update-AzFrontDoorCdnOriginGroup -LoadBalancingSetting $updateLoadBalancingSetting +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParameters @@ -25453,7 +25411,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -25578,11 +25536,9 @@ Update an existing origin within an origin group. .Description Update an existing origin within an origin group. .Example -Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999 -.Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Update-AzFrontDoorCdnOrigin -Weight 999 +{{ Add code here }} .Example -Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -EnforceCertificateNameCheck:$false +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParameters @@ -25975,7 +25931,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -26102,11 +26058,9 @@ Update an existing route with the specified route name under the specified subsc .Description Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled" -.Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Update-AzFrontDoorCdnRoute -EnabledState "Enabled" +{{ Add code here }} .Example -Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -CompressionSettingIsCompressionEnabled:true +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -26515,7 +26469,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -26642,19 +26596,9 @@ Update or update a batch rule set within the specified profile along with the ru .Description Update or update a batch rule set within the specified profile along with the rules associate to it. .Example -$rule = @{ - RuleName = "rule1" - Order = 1 - MatchProcessingBehavior = "Continue" -} -Update-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Rule $rule +{{ Add code here }} .Example -$rule = @{ - RuleName = "rule1" - Order = 1 - MatchProcessingBehavior = "Continue" -} -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Update-AzFrontDoorCdnRuleSet -Rule $rule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -26860,7 +26804,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -26983,9 +26927,9 @@ Update an existing delivery rule within a rule set. .Description Update an existing delivery rule within a rule set. .Example -Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Update-AzFrontDoorCdnRule -Order 99 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -27284,7 +27228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -27411,9 +27355,9 @@ Update a new Secret within the specified profile. .Description Update a new Secret within the specified profile. .Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -Update-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -27605,7 +27549,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -27728,24 +27672,9 @@ Patch an existing security policy within a profile. .Description Patch an existing security policy within a profile. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId -Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter +{{ Add code here }} .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId - -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Update-AzFrontDoorCdnSecurityPolicy -Parameter $updateWafParameter +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -27955,7 +27884,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -28080,9 +28009,11 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} +{{ Add output here }} .Example -Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs System.Boolean @@ -28280,13 +28211,9 @@ Gets an CDN profile with the specified profile name under the specified subscrip .Description Gets an CDN profile with the specified profile name under the specified subscription and resource group. .Example -Get-AzCdnProfile -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +{{ Add code here }} .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -28505,13 +28432,9 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -Get-AzFrontDoorCdnProfile +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -.Example -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q7 -SkuName Standard_AzureFrontDoor -Location Global | Get-AzFrontDoorCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -28730,9 +28653,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} .Example -Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} .Outputs System.Boolean @@ -28932,13 +28855,9 @@ This step prepares the profile for migration and will be followed by Commit to f Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 - -Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) +{{ Add code here }} .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 - -Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) -IdentityType "SystemAssigned" +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -29234,7 +29153,9 @@ Create an in-memory object for DeliveryRuleCacheExpirationAction. .Description Create an in-memory object for DeliveryRuleCacheExpirationAction. .Example -New-AzCdnDeliveryRuleCacheExpirationActionObject -Name CacheExpiration -ParameterCacheBehavior SetIfMissing -ParameterCacheDuration 0.01:30:00 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheExpirationAction @@ -29357,7 +29278,9 @@ Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Description Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Example -New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject -Name CacheKeyQueryString -ParameterQueryStringBehavior IncludeAll +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheKeyQueryStringAction @@ -29479,7 +29402,9 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition @@ -29620,7 +29545,9 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -New-AzCdnDeliveryRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition @@ -29748,7 +29675,9 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -New-AzCdnDeliveryRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition @@ -29877,14 +29806,9 @@ Create an in-memory object for DeliveryRule. .Description Create an in-memory object for DeliveryRule. .Example -$cond1 = New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase -$action1 = New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 -$action2 = New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 - - -$conditions = @($cond1) -$actions = @($action1, $action2) -New-AzCdnDeliveryRuleObject -Name "Rule1" -Condition $conditions -Action $actions -Order 1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRule @@ -30024,7 +29948,9 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -New-AzCdnDeliveryRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition @@ -30165,7 +30091,9 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -New-AzCdnDeliveryRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition @@ -30300,7 +30228,9 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -New-AzCdnDeliveryRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition @@ -30437,7 +30367,9 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -New-AzCdnDeliveryRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition @@ -30572,7 +30504,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction @@ -30700,7 +30634,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -New-AzCdnDeliveryRuleRequestHeaderConditionObject -Name RequestHeader -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition @@ -30841,7 +30777,9 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -New-AzCdnDeliveryRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition @@ -30970,7 +30908,9 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -New-AzCdnDeliveryRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition @@ -31099,7 +31039,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -New-AzCdnDeliveryRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition @@ -31234,7 +31176,9 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction @@ -31362,7 +31306,9 @@ Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Description Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Example -New-AzCdnDeliveryRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition @@ -31497,7 +31443,9 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -New-AzCdnDeliveryRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition @@ -31632,7 +31580,9 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -New-AzCdnDeliveryRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition @@ -31767,7 +31717,9 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters @@ -31895,8 +31847,9 @@ Create an in-memory object for LoadParameters. .Description Create an in-memory object for LoadParameters. .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -New-AzCdnLoadParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadParameters @@ -32005,7 +31958,9 @@ Create an in-memory object for CdnManagedHttpsParameters. .Description Create an in-memory object for CdnManagedHttpsParameters. .Example -New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnManagedHttpsParameters @@ -32141,7 +32096,9 @@ Create an in-memory object for MigrationEndpointMapping. .Description Create an in-memory object for MigrationEndpointMapping. .Example -$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationEndpointMapping @@ -32256,7 +32213,9 @@ Create an in-memory object for OriginGroupOverrideAction. .Description Create an in-memory object for OriginGroupOverrideAction. .Example -New-AzCdnOriginGroupOverrideActionObject -Name OriginGroupOverride -OriginGroupId 001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverrideAction @@ -32371,7 +32330,9 @@ Creates an CDN profile with the specified profile name under the specified subsc .Description Creates an CDN profile with the specified profile name under the specified subscription and resource group. .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -32490,6 +32451,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -32592,8 +32578,9 @@ Create an in-memory object for PurgeParameters. .Description Create an in-memory object for PurgeParameters. .Example -$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") -New-AzCdnPurgeParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.PurgeParameters @@ -32702,7 +32689,9 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -New-AzCdnResourceReferenceObject -Id Idtest +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference @@ -32810,7 +32799,9 @@ Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Description Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Example -New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResponseBasedOriginErrorDetectionParameters @@ -32939,7 +32930,9 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction @@ -33095,7 +33088,9 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -New-AzCdnUrlRewriteActionObject -Name rewrite01 -ParameterDestination dest01 -ParameterSourcePattern pattern01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction @@ -33224,7 +33219,9 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -New-AzCdnUrlSigningActionObject -Name action01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction @@ -33355,7 +33352,9 @@ Create an in-memory object for UserManagedHttpsParameters. .Description Create an in-memory object for UserManagedHttpsParameters. .Example -New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UserManagedHttpsParameters @@ -33513,9 +33512,9 @@ Create an in-memory object for AfdDomainHttpsParameters. .Description Create an in-memory object for AfdDomainHttpsParameters. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainHttpsParameters @@ -33663,7 +33662,9 @@ Create an in-memory object for MigrationParameters. .Description Create an in-memory object for MigrationParameters. .Example -New-AzFrontDoorCdnMigrationParametersObject -ProfileName test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationParameters @@ -33798,8 +33799,9 @@ Create an in-memory object for MigrationWebApplicationFirewallMapping. .Description Create an in-memory object for MigrationWebApplicationFirewallMapping. .Example -New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId migrateFromId -MigratedToId migrateToId - +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationWebApplicationFirewallMapping @@ -33913,7 +33915,9 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters @@ -34041,7 +34045,9 @@ Create an in-memory object for LoadBalancingSettingsParameters. .Description Create an in-memory object for LoadBalancingSettingsParameters. .Example -New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadBalancingSettingsParameters @@ -34161,10 +34167,9 @@ Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profi .Description 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. .Example -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global +{{ Add code here }} .Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global -LogScrubbingRule $rule -LogScrubbingState Enabled +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -34337,6 +34342,33 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -34441,7 +34473,9 @@ Create an in-memory object for ProfileChangeSkuWafMapping. .Description Create an in-memory object for ProfileChangeSkuWafMapping. .Example -New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileChangeSkuWafMapping @@ -34555,9 +34589,9 @@ Create an in-memory object for ProfileLogScrubbing. .Description Create an in-memory object for ProfileLogScrubbing. .Example -$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled -New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileLogScrubbing @@ -34682,9 +34716,9 @@ Create an in-memory object for ProfileScrubbingRules. .Description Create an in-memory object for ProfileScrubbingRules. .Example -New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +{{ Add code here }} .Example -New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileScrubbingRules @@ -34807,12 +34841,9 @@ Create an in-memory object for ProfileUpgradeParameters. .Description Create an in-memory object for ProfileUpgradeParameters. .Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId -New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 +{{ Add code here }} .Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 -$upgrade.ToString() +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileUpgradeParameters @@ -34928,8 +34959,9 @@ Create an in-memory object for AfdPurgeParameters. .Description Create an in-memory object for AfdPurgeParameters. .Example -$contentPath = "/a" -$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdPurgeParameters @@ -35044,8 +35076,9 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference @@ -35157,12 +35190,6 @@ $originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm $ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 $customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) - - .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity .Inputs @@ -35617,7 +35644,9 @@ Create an in-memory object for DeliveryRuleClientPortCondition. .Description Create an in-memory object for DeliveryRuleClientPortCondition. .Example -New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleClientPortCondition @@ -35752,7 +35781,9 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -New-AzFrontDoorCdnRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition @@ -35893,7 +35924,9 @@ Create an in-memory object for DeliveryRuleHostNameCondition. .Description Create an in-memory object for DeliveryRuleHostNameCondition. .Example -New-AzFrontDoorCdnRuleHostNameConditionObject -Name HostName -ParameterOperator Equal -ParameterMatchValue azure.com +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHostNameCondition @@ -36028,7 +36061,9 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -New-AzFrontDoorCdnRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition @@ -36156,7 +36191,9 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition @@ -36285,7 +36322,9 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -New-AzFrontDoorCdnRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition @@ -36426,7 +36465,9 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -New-AzFrontDoorCdnRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition @@ -36561,7 +36602,9 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -New-AzFrontDoorCdnRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition @@ -36698,7 +36741,9 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -New-AzFrontDoorCdnRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition @@ -36833,7 +36878,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction @@ -36961,7 +37008,9 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition @@ -37102,7 +37151,9 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -New-AzFrontDoorCdnRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition @@ -37231,7 +37282,9 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -New-AzFrontDoorCdnRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition @@ -37360,7 +37413,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example - New-AzFrontDoorCdnRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition @@ -37495,7 +37550,9 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction @@ -37623,8 +37680,9 @@ Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Description Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Example -$originGroupId = "xxxx" -New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject -Name RouteConfigurationOverride -OriginGroupOverrideForwardingProtocol HttpOnly -OriginGroupId $originGroupId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRouteConfigurationOverrideAction @@ -37783,7 +37841,9 @@ Create an in-memory object for DeliveryRuleServerPortCondition. .Description Create an in-memory object for DeliveryRuleServerPortCondition. .Example -New-AzFrontDoorCdnRuleServerPortConditionObject -Name ServerPort -ParameterOperator Equal -ParameterMatchValue 80,81 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleServerPortCondition @@ -37918,7 +37978,9 @@ Create an in-memory object for DeliveryRuleSocketAddrCondition. .Description Create an in-memory object for DeliveryRuleSocketAddrCondition. .Example - New-AzFrontDoorCdnRuleSocketAddrConditionObject -Name SocketAddr -ParameterOperator IPMatch -ParameterMatchValue 222.10.0.1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSocketAddrCondition @@ -38053,7 +38115,9 @@ Create an in-memory object for DeliveryRuleSslProtocolCondition. .Description Create an in-memory object for DeliveryRuleSslProtocolCondition. .Example -New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSslProtocolCondition @@ -38182,7 +38246,9 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition @@ -38317,7 +38383,9 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -New-AzFrontDoorCdnRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition @@ -38452,7 +38520,9 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example - New-AzFrontDoorCdnRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition @@ -38587,7 +38657,9 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction @@ -38743,7 +38815,9 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -New-AzFrontDoorCdnRuleUrlRewriteActionObject -Name UrlRewrite -ParameterDestination /b -ParameterSourcePattern /a -ParameterPreserveUnmatchedPath $False +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction @@ -38872,7 +38946,9 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -New-AzFrontDoorCdnRuleUrlSigningActionObject -Name rule01 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction @@ -39003,8 +39079,9 @@ Create an in-memory object for CustomerCertificateParameters. .Description Create an in-memory object for CustomerCertificateParameters. .Example -$secretSourceId = "xxxxxxxx" -New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomerCertificateParameters @@ -39136,7 +39213,9 @@ Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Description Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Example -New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject -Type BYOC +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AzureFirstPartyManagedCertificateParameters @@ -39250,7 +39329,9 @@ Create an in-memory object for ManagedCertificateParameters. .Description Create an in-memory object for ManagedCertificateParameters. .Example -New-AzFrontDoorCdnSecretManagedCertificateParametersObject -Type ManagedCert +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedCertificateParameters @@ -39358,7 +39439,9 @@ Create an in-memory object for UrlSigningKeyParameters. .Description Create an in-memory object for UrlSigningKeyParameters. .Example -New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject -KeyId keyId01 -Type Byoc -SecretVersion v1.0 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningKeyParameters @@ -39485,8 +39568,9 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallAssociation @@ -39616,10 +39700,9 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association ` - -WafPolicyId $wafPolicyId +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallParameters @@ -39752,9 +39835,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu Deletes an existing CDN profile with the specified profile name under the specified subscription. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. .Example -Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -39883,6 +39966,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.custom\Remove-AzCdnProfile'; + DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -39988,9 +40097,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -Remove-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Remove-AzFrontDoorCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -40119,6 +40228,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; + DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -40226,30 +40361,9 @@ The change need to be committed after this. Migrate the classic AFD instance to Azure Front Door(Standard/Premium) profile. The change need to be committed after this. .Example -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -.Example -$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping -.Example -$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping -.Example -$wafMapping1 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01test - -$wafMapping2 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02test - -# enable Managed Identity via SystemAssigned and UserAssigned -$identityType = "SystemAssigned, UserAssigned" - -# UserIdentity information -$userInfo = @{ - "/subscriptions/testSubId/resourceGroups/rgName01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" = @{} - "/subscriptions/testSubId/resourceGroups/rgName02/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity02" = @{} -} - -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Premium_AzureFrontDoor -MigrationWebApplicationFirewallMapping @($wafMapping1, $wafMapping2) -IdentityType $identityType -IdentityUserAssignedIdentity $userInfo +{{ Add code here }} .Example -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResult @@ -40490,9 +40604,11 @@ Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted. .Example -Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} +{{ Add output here }} .Example -Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs System.Boolean @@ -40684,9 +40800,11 @@ Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Pre .Description Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile. .Example -Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName +{{ Add code here }} +{{ Add output here }} .Example -Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResult @@ -40878,17 +40996,9 @@ Updates an existing CDN profile with the specified profile name under the specif .Description Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags +{{ Add code here }} .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -41025,6 +41135,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; + UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -41128,34 +41264,9 @@ Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description 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. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -Tag $tags -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Update-AzFrontDoorCdnProfile -Tag $tags -.Example -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType SystemAssigned -.Example -$userId = @{"/subscriptions/subId/resourceGroups/testps-rg-da16jm/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcdnrpaadidentity" = @{}} -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType UserAssigned -IdentityUserAssignedIdentity $userId -.Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Enabled +{{ Add code here }} .Example -$rule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -$rule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable QueryStringArgNames -State Enabled -$rules = New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($rule1, $rule2) -State Enabled - -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rules.ScrubbingRule -LogScrubbingState Enabled -.Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Disabled -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Disabled +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -41352,6 +41463,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaJsonString = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaJsonFilePath = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -41457,24 +41596,9 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -$nullUpgradePara = @{} -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara +{{ Add code here }} .Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 -$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 index 75864ddb8abf..865fc4c8b2f8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 @@ -20,9 +20,9 @@ Deletes an existing custom domain within an endpoint. .Description Deletes an existing custom domain within an endpoint. .Example -Remove-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 +{{ Add code here }} .Example -Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 | Remove-AzCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -228,7 +228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 index f7e9986cacf6..f1465c33834d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 @@ -20,7 +20,9 @@ Delete EdgeAction resource .Description Delete EdgeAction resource .Example -Remove-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -127,7 +129,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 index 1b25025fd7e1..0178ba7bfe13 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 @@ -20,7 +20,9 @@ A long-running operation for deleting an EdgeAction attachment that returns no c .Description A long-running operation for deleting an EdgeAction attachment that returns no content. .Example -Remove-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -197,7 +199,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 index b4e89dadd604..4025631cd77d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,7 +20,9 @@ Delete EdgeActionExecutionFilter resource .Description Delete EdgeActionExecutionFilter resource .Example -Remove-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -132,7 +134,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 index 05e68310badd..5e2e2d66d14d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 @@ -20,7 +20,9 @@ Delete EdgeActionVersion resource .Description Delete EdgeActionVersion resource .Example -Remove-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs System.Boolean @@ -132,7 +134,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 index 5edbff5e8c9a..47f371ab9515 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Deletes an existing CDN endpoint with the specified endpoint name under the spec .Description Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Remove-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Remove-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -194,7 +194,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 index 079ad27b1685..759105b32edc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin within an endpoint. .Description Deletes an existing origin within an endpoint. .Example -Remove-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +{{ Add code here }} .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Remove-AzCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -228,7 +228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 index 7695ae0253fa..8932b5b6942e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin group within an endpoint. .Description Deletes an existing origin group within an endpoint. .Example -Remove-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 +{{ Add code here }} .Example -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001| Remove-AzCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -228,7 +228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 index a2d6df320cf3..cbbb106f4c04 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu Deletes an existing CDN profile with the specified profile name under the specified subscription. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. .Example -Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -153,6 +153,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.custom\Remove-AzCdnProfile'; + DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 index 895e992011e3..3f7755f59133 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor domain with the specified domain name under t .Description Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Remove-AzFrontDoorCdnCustomDomain +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -193,7 +193,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 index 1b1c2147e87f..b0411fc6e39d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor endpoint with the specified endpoint name und .Description Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Remove-AzFrontDoorCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -193,7 +193,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 index 9bf341688506..4b0b9796d459 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin within an origin group. .Description Deletes an existing origin within an origin group. .Example -Remove-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Remove-AzFrontDoorCdnOrigin +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -227,7 +227,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 index 9b8a227d2b2a..33dc4917f486 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin group within a profile. .Description Deletes an existing origin group within a profile. .Example -Remove-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Remove-AzFrontDoorCdnOriginGroup +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -193,7 +193,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 index cd2752355ac8..30d9645f73a4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -Remove-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Remove-AzFrontDoorCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -153,6 +153,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Delete = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; + DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 index 06ee13cba5eb..9256d7ed3705 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 @@ -20,9 +20,9 @@ Deletes an existing route with the specified route name under the specified subs .Description Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Remove-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Remove-AzFrontDoorCdnRoute +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -228,7 +228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 index 456ab25470c0..e3fb0c7bdfa7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,9 @@ Deletes an existing delivery rule within a rule set. .Description Deletes an existing delivery rule within a rule set. .Example -Remove-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Remove-AzFrontDoorCdnRule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -229,7 +229,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 index 400267832e36..36ad6cc4554a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor rule set with the specified rule set name und .Description Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -Remove-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Remove-AzFrontDoorCdnRuleSet +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -194,7 +194,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 index a0d4df33356e..e44720554c33 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Deletes an existing Secret within profile. .Description Deletes an existing Secret within profile. .Example -Remove-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 | Remove-AzFrontDoorCdnSecret +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -194,7 +194,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 index 0afd7b4558ba..c79f7ef01e13 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,10 +20,9 @@ Deletes an existing security policy within profile. .Description Deletes an existing security policy within profile. .Example -Remove-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 +{{ Add code here }} .Example - -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Remove-AzFrontDoorCdnSecurityPolicy +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -195,7 +194,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 index 23988e540102..5dcd56494447 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Starts an existing CDN endpoint that is on a stopped state. .Description Starts an existing CDN endpoint that is on a stopped state. .Example -Start-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Start-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -188,7 +188,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index 0301ba2b2370..b595e1bddc62 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -24,30 +24,9 @@ The change need to be committed after this. Migrate the classic AFD instance to Azure Front Door(Standard/Premium) profile. The change need to be committed after this. .Example -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor +{{ Add code here }} .Example -$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping -.Example -$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping -.Example -$wafMapping1 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01test - -$wafMapping2 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02test - -# enable Managed Identity via SystemAssigned and UserAssigned -$identityType = "SystemAssigned, UserAssigned" - -# UserIdentity information -$userInfo = @{ - "/subscriptions/testSubId/resourceGroups/rgName01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" = @{} - "/subscriptions/testSubId/resourceGroups/rgName02/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity02" = @{} -} - -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Premium_AzureFrontDoor -MigrationWebApplicationFirewallMapping @($wafMapping1, $wafMapping2) -IdentityType $identityType -IdentityUserAssignedIdentity $userInfo -.Example -Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01 +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 index a76a25a177eb..15d29764a9ae 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Stops an existing running CDN endpoint. .Description Stops an existing running CDN endpoint. .Example -Stop-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Stop-AzCdnEndpoint +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -188,7 +188,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 index 11e1c26c38cc..def01753a743 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 @@ -24,9 +24,11 @@ Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted. .Example -Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName +{{ Add code here }} +{{ Add output here }} .Example -Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 index 376e4d633edf..5adaba3f7d26 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct CDN endpoin .Description Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. .Example -Test-AzCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} .Example -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Test-AzCdnEndpointCustomDomain -HostName 'testcm.dev.cdn.azure.cn' +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 index f9ac77c6b5b8..1ec77affeb45 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 @@ -22,7 +22,9 @@ This is needed for resources where name is globally unique, such as a CDN endpoi Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. .Example -Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckNameAvailabilityOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 index 0e23f549d7a5..5d9967cc133e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 @@ -24,7 +24,9 @@ Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. .Example -Test-AzCdnProbe -ProbeUrl "https://azurecdn-files.azureedge.net/dsa-test/probe-v.txt" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IValidateProbeOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 index 484003679651..a5abb8a8ff8f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 @@ -20,7 +20,9 @@ Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profi .Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. .Example -Test-AzCdnProfileMigrationCompatibility -ProfileName cli-test-profile -ResourceGroupName cli-test-rg +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 index b4dc8ab9df98..bb5cc024100d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -Test-AzFrontDoorCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -HostName "pstest001.dev.cdn.azure.cn" +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Test-AzFrontDoorCdnEndpointCustomDomain -HostName "pstest001.dev.cdn.azure.cn" +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 index d0d895526fe6..7a536fd81c7e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 @@ -22,7 +22,9 @@ This is needed for resources where name is globally unique, such as a afdx endpo Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. .Example -Test-AzFrontDoorCdnEndpointNameAvailability -ResourceGroupName testps-rg-da16jm -Type "Microsoft.Cdn/Profiles/AfdEndpoints" -Name end001 +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckEndpointNameAvailabilityOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 index 5f3a38b4eb39..6ed5e380de99 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -Test-AzFrontDoorCdnProfileHostNameAvailability -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -HostName hello1.dev.cdn.azure.cn +{{ Add code here }} .Example -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Test-AzFrontDoorCdnProfileHostNameAvailability -HostName hello1.dev.cdn.azure.cn +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 index e1fc61b5eb10..4b7adab87308 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 @@ -20,9 +20,11 @@ Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Pre .Description Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile. .Example -Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName +{{ Add code here }} +{{ Add output here }} .Example -Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01 +{{ Add code here }} +{{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 index 6d27235f94b0..a5c6f0ca2395 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 @@ -20,7 +20,9 @@ Update EdgeAction resource .Description Update EdgeAction resource .Example -Update-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Tag @{Environment="Staging"} +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -154,7 +156,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 index d6dea61271bd..df6c31a1b137 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,7 +20,9 @@ Update EdgeActionExecutionFilter resource .Description Update EdgeActionExecutionFilter resource .Example -Update-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -ExecutionFilterIdentifierHeaderName "X-Updated-Filter" -ExecutionFilterIdentifierHeaderValue "UpdatedValue" +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -165,7 +167,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 index 6f34cb870bdc..c916fa4d0e49 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 @@ -20,7 +20,9 @@ Update EdgeActionVersion resource .Description Update EdgeActionVersion resource .Example -Update-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -DeploymentType zip -IsDefaultVersion False +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -161,7 +163,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 index fad14dd27a26..955b719e3af4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 @@ -28,19 +28,9 @@ To update origins, use the update Origin operation. To update origin groups, use the update Origin group operation. To update custom domains, use the update Custom Domain operation. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Tag $tags -DefaultOriginGroupId $originGroup.Id -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Update-AzCdnEndpoint -Tag $tags -DefaultOriginGroupId $originGroup.Id +{{ Add code here }} .Example -Update-AzCdnEndpoint -Name cdntestcert -ProfileName classicCDNtest -ResourceGroupName yaoshitest -IsCompressionEnabled:$true +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -447,7 +437,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 index 6f1834810108..ba77d584f320 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 @@ -20,11 +20,9 @@ Update an existing origin within an endpoint. .Description Update an existing origin within an endpoint. .Example -Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 +{{ Add code here }} .Example -Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Update-AzCdnOrigin -HttpPort 456 -HttpsPort 789 -.Example -Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -387,7 +385,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 index ad6e87b18e49..e683af635cd1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 @@ -20,11 +20,9 @@ Update an existing origin group within an endpoint. .Description Update an existing origin group within an endpoint. .Example -$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters +{{ Add code here }} .Example -$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" -Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 | Update-AzCdnOriginGroup -HealthProbeSetting $updateHealthProbeParameters +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -336,7 +334,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 index e036b46f878f..7f91f52ccbfc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 @@ -20,17 +20,9 @@ Updates an existing CDN profile with the specified profile name under the specif .Description Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags +{{ Add code here }} .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -167,6 +159,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; + UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 index 3e5649047959..519f182b64cc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 @@ -20,15 +20,9 @@ Update an existing domain within a profile. .Description Update an existing domain within a profile. .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure -Update-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -TlsSetting $updateSetting +{{ Add code here }} .Example -$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id -$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomain -TlsSetting $updateSetting +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParameters @@ -284,7 +278,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 index aa4c2cf84d4c..b85c3aeeb900 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 @@ -20,9 +20,9 @@ Refresh the domain validation token. .Description Refresh the domain validation token. .Example -Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +{{ Add code here }} .Example -Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomainValidationToken +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -193,7 +193,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 index 884b4cacaab4..d08e385fa132 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 @@ -28,9 +28,9 @@ To 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. .Example -Update-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -EnabledState Disabled +{{ Add code here }} .Example -Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 | Update-AzFrontDoorCdnEndpoint -EnabledState Disabled +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParameters @@ -263,7 +263,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 index 98da6af044f9..72299e780064 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 @@ -20,11 +20,9 @@ Update an existing origin within an origin group. .Description Update an existing origin within an origin group. .Example -Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999 +{{ Add code here }} .Example -Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Update-AzFrontDoorCdnOrigin -Weight 999 -.Example -Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -EnforceCertificateNameCheck:$false +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParameters @@ -417,7 +415,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 index 36b82e5e51f1..8e76d8b6757d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 @@ -20,11 +20,9 @@ Update an existing origin group within a profile. .Description Update an existing origin group within a profile. .Example -$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 -Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting +{{ Add code here }} .Example -$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 -Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Update-AzFrontDoorCdnOriginGroup -LoadBalancingSetting $updateLoadBalancingSetting +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParameters @@ -322,7 +320,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 index 24277ad7eef3..6f141cdf8fc2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 @@ -20,34 +20,9 @@ Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description 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. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -Tag $tags -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Update-AzFrontDoorCdnProfile -Tag $tags -.Example -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType SystemAssigned -.Example -$userId = @{"/subscriptions/subId/resourceGroups/testps-rg-da16jm/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcdnrpaadidentity" = @{}} -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType UserAssigned -IdentityUserAssignedIdentity $userId +{{ Add code here }} .Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Enabled -.Example -$rule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled -$rule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable QueryStringArgNames -State Enabled -$rules = New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($rule1, $rule2) -State Enabled - -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rules.ScrubbingRule -LogScrubbingState Enabled -.Example -$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Disabled -Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Disabled +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -244,6 +219,34 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + UpdateExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaJsonString = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaJsonFilePath = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 index 07cc8300ec6c..bc6a3f81fd0b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 @@ -20,24 +20,9 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -$nullUpgradePara = @{} -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara +{{ Add code here }} .Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 -$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 index c78453acd910..c500a07efecc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 @@ -20,11 +20,9 @@ Update an existing route with the specified route name under the specified subsc .Description Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled" +{{ Add code here }} .Example -Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Update-AzFrontDoorCdnRoute -EnabledState "Enabled" -.Example -Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -CompressionSettingIsCompressionEnabled:true +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -433,7 +431,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 index b8da5a8fbbe5..19531a432e6b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,9 @@ Update an existing delivery rule within a rule set. .Description Update an existing delivery rule within a rule set. .Example -Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99 +{{ Add code here }} .Example -Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Update-AzFrontDoorCdnRule -Order 99 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -321,7 +321,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 index e7604f75db4b..20acec2adea5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 @@ -20,19 +20,9 @@ Update or update a batch rule set within the specified profile along with the ru .Description Update or update a batch rule set within the specified profile along with the rules associate to it. .Example -$rule = @{ - RuleName = "rule1" - Order = 1 - MatchProcessingBehavior = "Continue" -} -Update-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Rule $rule +{{ Add code here }} .Example -$rule = @{ - RuleName = "rule1" - Order = 1 - MatchProcessingBehavior = "Continue" -} -Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Update-AzFrontDoorCdnRuleSet -Rule $rule +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -238,7 +228,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 index 9bdefbf6acd1..4b4bf4f751b6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Update a new Secret within the specified profile. .Description Update a new Secret within the specified profile. .Example -$secretSourceId = "xxxxxxxx" -$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId -Update-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -214,7 +214,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 index 176279c16f96..a4bc57cf1773 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,24 +20,9 @@ Patch an existing security policy within a profile. .Description Patch an existing security policy within a profile. .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId -Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter +{{ Add code here }} .Example -$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 -$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) -$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) - -$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" -$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId - -Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Update-AzFrontDoorCdnSecurityPolicy -Parameter $updateWafParameter +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -247,7 +232,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 30ad7b0b8e6f..82b4ef882a35 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Management.Automation; +using System.Management.Automation.Language; using System.Text; using System.Text.RegularExpressions; using static Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.PowerShell.PsProxyOutputExtensions; @@ -205,11 +206,21 @@ public DynamicParamOutput(VariantGroup variantGroup) : base(variantGroup) { } - // Change Safety: only emit a dynamicparam block when a wrapped (private) cmdlet actually declares - // dynamic parameters via IDynamicParameters. For every other cmdlet this emits nothing (zero diff), - // so it is a no-op that just forwards the private cmdlet's runtime parameters through the proxy. + // Change Safety: only emit a dynamicparam block when the wrapped command actually declares dynamic + // parameters, either via IDynamicParameters (compiled private cmdlets) or via its own `dynamicparam` + // block (custom-fronted cmdlets, which wrap a hand-written function in custom/ instead of a private + // cmdlet). For every other cmdlet this emits nothing (zero diff), so it is a no-op that just forwards + // the wrapped command's runtime parameters through the proxy. private bool HasDynamicParameters() => VariantGroup.Variants.Any(v => { + if (v.IsFunction) + { + // FunctionInfo.ScriptBlock.Ast is a FunctionDefinitionAst (the `function Name { ... }` wrapper); + // its Body (a ScriptBlockAst) is what actually exposes the DynamicParamBlock property. + var ast = (v.Info as FunctionInfo)?.ScriptBlock?.Ast; + var scriptBlockAst = ast as ScriptBlockAst ?? (ast as FunctionDefinitionAst)?.Body; + return scriptBlockAst?.DynamicParamBlock != null; + } var implementingType = (v.Info as CmdletInfo)?.ImplementingType; return implementingType != null && typeof(IDynamicParameters).IsAssignableFrom(implementingType); }); @@ -231,7 +242,7 @@ public override string ToString() => !HasDynamicParameters() ? String.Empty : $@ {GetParameterSetToCmdletMapping()} {Indent}if (-not $mapping.ContainsKey($parameterSet)) {{ $parameterSet = @($mapping.Keys)[0] }} {Indent}try {{ -{Indent}{Indent}$targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) +{Indent}{Indent}$targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) {Indent}{Indent}$dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object {{ $_.Value.IsDynamic }}) {Indent}{Indent}if ($dynamicParams.Length -gt 0) {{ {Indent}{Indent}{Indent}$paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 index 4c5686ae151b..b2e67685ef1e 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 @@ -20,13 +20,9 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -Get-AzCdnProfile +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -.Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 index 63bc59dc8987..c545d4fcca15 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 @@ -152,7 +152,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 index 720239899189..61c7d1c09123 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 @@ -160,7 +160,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 index 5968cd583a19..c5cae851016e 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 @@ -183,7 +183,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 index cf4c610b4199..707175021a90 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 @@ -217,7 +217,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 index 684e92714893..be6ad6f1b4e6 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 @@ -268,7 +268,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 index c9773a8fae8d..c9895213f8df 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 @@ -20,7 +20,9 @@ Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profil .Description Create 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. .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -202,7 +204,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 index 735ddde2e972..fbd490c5a195 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 @@ -146,7 +146,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 index 0b02310ae8be..0e1deb745bde 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 @@ -20,15 +20,9 @@ Create a new route with the specified route name under the specified subscriptio .Description Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 - -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) - +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -391,7 +385,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 index 22416c369a6e..938e3d1ce826 100644 --- a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -1594,13 +1594,9 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -Get-AzCdnProfile -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -.Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +{{ Add code here }} .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1912,7 +1908,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -2134,7 +2130,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -2377,7 +2373,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -2656,7 +2652,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -2988,7 +2984,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -3195,7 +3191,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -3275,7 +3271,9 @@ Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profil .Description Create 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. .Example -New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global +{{ Add code here }} +.Example +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -3457,7 +3455,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -3538,15 +3536,9 @@ Create a new route with the specified route name under the specified subscriptio .Description Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 - -$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id -$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id - -New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) - +{{ Add code here }} +.Example +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -3909,7 +3901,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -4123,7 +4115,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -4205,9 +4197,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4346,7 +4338,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -5027,7 +5019,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -5109,17 +5101,9 @@ Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description Update 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. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags +{{ Add code here }} .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5328,7 +5312,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() @@ -5410,24 +5394,9 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -$nullUpgradePara = @{} -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara -.Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 -$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +{{ Add code here }} .Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5611,7 +5580,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 index 015475a4b2ff..98e9b721ec81 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 @@ -149,7 +149,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 index ca207d90832a..4299027d0ec4 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 +{{ Add code here }} .Example -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -163,7 +163,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 index e5848f5515c2..f2945b58d089 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 @@ -183,7 +183,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 index fc2fd7fcb91e..ebc094ad7f2f 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 @@ -20,17 +20,9 @@ Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description Update 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. .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags +{{ Add code here }} .Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -239,7 +231,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 index 33a65185f71b..2cb8b71c415e 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 @@ -20,24 +20,9 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -$nullUpgradePara = @{} -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara +{{ Add code here }} .Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 -$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -.Example -$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName -$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf - -Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 +{{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -221,7 +206,7 @@ dynamicparam { } if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet, $PSBoundParameters) + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) if ($dynamicParams.Length -gt 0) { $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() From 0a6c2087a0a83fb4e4dc2e3259e73f198267fb3f Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 12:48:04 +1000 Subject: [PATCH 03/13] Fix regenerated examples regressing to placeholder text The manual regeneration used to apply the change-safety dynamicparam fix pointed -ExamplesFolder at generated/Cdn/Cdn.Autorest/examples, which does not exist (the real, hand-maintained example .md files live at src/Cdn/Cdn.Autorest/examples). Export-ProxyCmdlet found no matching example for any cmdlet and fell back to the '{{ Add code here }}' placeholder in every exported cmdlet's comment-based help. Re-ran the regeneration with the correct examples path to restore the real examples; the change-safety dynamicparam fix is unaffected. --- .../exports/Add-AzCdnEdgeActionAttachment.ps1 | 4 +- .../exports/Clear-AzCdnEndpointContent.ps1 | 6 +- .../Clear-AzFrontDoorCdnEndpointContent.ps1 | 6 +- .../Deploy-AzCdnEdgeActionVersionCode.ps1 | 4 +- .../Disable-AzCdnCustomDomainCustomHttps.ps1 | 4 +- .../Enable-AzCdnCustomDomainCustomHttps.ps1 | 5 +- .../Enable-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../exports/Get-AzCdnCustomDomain.ps1 | 6 +- .../exports/Get-AzCdnEdgeAction.ps1 | 4 +- .../Get-AzCdnEdgeActionExecutionFilter.ps1 | 4 +- .../exports/Get-AzCdnEdgeActionVersion.ps1 | 4 +- .../Get-AzCdnEdgeActionVersionCode.ps1 | 4 +- .../exports/Get-AzCdnEdgeNode.ps1 | 4 +- .../exports/Get-AzCdnEndpoint.ps1 | 11 +- .../Get-AzCdnEndpointResourceUsage.ps1 | 4 +- .../exports/Get-AzCdnManagedRuleSet.ps1 | 4 +- .../Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 | 6 +- .../exports/Get-AzCdnOriginGroup.ps1 | 8 +- .../Cdn.Autorest/exports/Get-AzCdnProfile.ps1 | 8 +- .../exports/Get-AzCdnProfileResourceUsage.ps1 | 4 +- ...-AzCdnProfileSupportedOptimizationType.ps1 | 4 +- .../Get-AzCdnSubscriptionResourceUsage.ps1 | 4 +- .../Get-AzFrontDoorCdnCustomDomain.ps1 | 6 +- .../exports/Get-AzFrontDoorCdnEndpoint.ps1 | 7 +- ...et-AzFrontDoorCdnEndpointResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnOrigin.ps1 | 6 +- .../exports/Get-AzFrontDoorCdnOriginGroup.ps1 | 8 +- ...AzFrontDoorCdnOriginGroupResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnProfile.ps1 | 8 +- ...Get-AzFrontDoorCdnProfileResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnRoute.ps1 | 13 +- .../exports/Get-AzFrontDoorCdnRule.ps1 | 19 +- .../exports/Get-AzFrontDoorCdnRuleSet.ps1 | 6 +- ...Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 | 4 +- .../exports/Get-AzFrontDoorCdnSecret.ps1 | 8 +- .../Get-AzFrontDoorCdnSecurityPolicy.ps1 | 13 +- .../exports/Import-AzCdnEndpointContent.ps1 | 6 +- ...Invoke-AzCdnAbortProfileToAFDMigration.ps1 | 4 +- ...nvoke-AzCdnCommitProfileToAFDMigration.ps1 | 4 +- .../exports/Move-AzCdnProfileToAFD.ps1 | 8 +- .../exports/New-AzCdnCustomDomain.ps1 | 4 +- ...eliveryRuleCacheExpirationActionObject.ps1 | 4 +- ...eryRuleCacheKeyQueryStringActionObject.ps1 | 4 +- ...zCdnDeliveryRuleCookiesConditionObject.ps1 | 4 +- ...DeliveryRuleHttpVersionConditionObject.ps1 | 4 +- ...CdnDeliveryRuleIsDeviceConditionObject.ps1 | 4 +- .../exports/New-AzCdnDeliveryRuleObject.ps1 | 11 +- ...CdnDeliveryRulePostArgsConditionObject.ps1 | 4 +- ...DeliveryRuleQueryStringConditionObject.ps1 | 4 +- ...liveryRuleRemoteAddressConditionObject.ps1 | 4 +- ...DeliveryRuleRequestBodyConditionObject.ps1 | 4 +- ...nDeliveryRuleRequestHeaderActionObject.ps1 | 4 +- ...liveryRuleRequestHeaderConditionObject.ps1 | 4 +- ...liveryRuleRequestMethodConditionObject.ps1 | 4 +- ...liveryRuleRequestSchemeConditionObject.ps1 | 4 +- ...nDeliveryRuleRequestUriConditionObject.ps1 | 4 +- ...DeliveryRuleResponseHeaderActionObject.ps1 | 4 +- ...eryRuleUrlFileExtensionConditionObject.ps1 | 4 +- ...DeliveryRuleUrlFileNameConditionObject.ps1 | 4 +- ...zCdnDeliveryRuleUrlPathConditionObject.ps1 | 4 +- .../exports/New-AzCdnEdgeAction.ps1 | 4 +- .../New-AzCdnEdgeActionExecutionFilter.ps1 | 4 +- .../exports/New-AzCdnEdgeActionVersion.ps1 | 4 +- .../exports/New-AzCdnEndpoint.ps1 | 8 +- .../New-AzCdnHealthProbeParametersObject.ps1 | 4 +- .../exports/New-AzCdnLoadParametersObject.ps1 | 5 +- .../New-AzCdnManagedHttpsParametersObject.ps1 | 4 +- ...ew-AzCdnMigrationEndpointMappingObject.ps1 | 4 +- .../Cdn.Autorest/exports/New-AzCdnOrigin.ps1 | 4 +- .../exports/New-AzCdnOriginGroup.ps1 | 6 +- ...w-AzCdnOriginGroupOverrideActionObject.ps1 | 4 +- .../Cdn.Autorest/exports/New-AzCdnProfile.ps1 | 4 +- .../New-AzCdnPurgeParametersObject.ps1 | 5 +- .../New-AzCdnResourceReferenceObject.ps1 | 4 +- ...edOriginErrorDetectionParametersObject.ps1 | 4 +- .../New-AzCdnUrlRedirectActionObject.ps1 | 4 +- .../New-AzCdnUrlRewriteActionObject.ps1 | 4 +- .../New-AzCdnUrlSigningActionObject.ps1 | 4 +- ...-AzCdnUserManagedHttpsParametersObject.ps1 | 4 +- .../New-AzFrontDoorCdnCustomDomain.ps1 | 7 +- ...CustomDomainTlsSettingParametersObject.ps1 | 6 +- .../exports/New-AzFrontDoorCdnEndpoint.ps1 | 4 +- ...zFrontDoorCdnMigrationParametersObject.ps1 | 4 +- ...ionWebApplicationFirewallMappingObject.ps1 | 5 +- .../exports/New-AzFrontDoorCdnOrigin.ps1 | 4 +- .../exports/New-AzFrontDoorCdnOriginGroup.ps1 | 6 +- ...CdnOriginGroupHealthProbeSettingObject.ps1 | 4 +- ...nOriginGroupLoadBalancingSettingObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnProfile.ps1 | 5 +- ...oorCdnProfileChangeSkuWafMappingObject.ps1 | 4 +- ...zFrontDoorCdnProfileLogScrubbingObject.ps1 | 6 +- ...rontDoorCdnProfileScrubbingRulesObject.ps1 | 4 +- ...tDoorCdnProfileUpgradeParametersObject.ps1 | 7 +- ...ew-AzFrontDoorCdnPurgeParametersObject.ps1 | 5 +- ...-AzFrontDoorCdnResourceReferenceObject.ps1 | 5 +- .../exports/New-AzFrontDoorCdnRoute.ps1 | 6 + .../exports/New-AzFrontDoorCdnRule.ps1 | 17 +- ...ntDoorCdnRuleClientPortConditionObject.ps1 | 4 +- ...FrontDoorCdnRuleCookiesConditionObject.ps1 | 4 +- ...rontDoorCdnRuleHostNameConditionObject.ps1 | 4 +- ...tDoorCdnRuleHttpVersionConditionObject.ps1 | 4 +- ...rontDoorCdnRuleIsDeviceConditionObject.ps1 | 4 +- ...rontDoorCdnRulePostArgsConditionObject.ps1 | 4 +- ...tDoorCdnRuleQueryStringConditionObject.ps1 | 4 +- ...oorCdnRuleRemoteAddressConditionObject.ps1 | 4 +- ...tDoorCdnRuleRequestBodyConditionObject.ps1 | 4 +- ...ntDoorCdnRuleRequestHeaderActionObject.ps1 | 4 +- ...oorCdnRuleRequestHeaderConditionObject.ps1 | 4 +- ...oorCdnRuleRequestMethodConditionObject.ps1 | 4 +- ...oorCdnRuleRequestSchemeConditionObject.ps1 | 4 +- ...ntDoorCdnRuleRequestUriConditionObject.ps1 | 4 +- ...tDoorCdnRuleResponseHeaderActionObject.ps1 | 4 +- ...RouteConfigurationOverrideActionObject.ps1 | 5 +- ...ntDoorCdnRuleServerPortConditionObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnRuleSet.ps1 | 4 +- ...ntDoorCdnRuleSocketAddrConditionObject.ps1 | 4 +- ...tDoorCdnRuleSslProtocolConditionObject.ps1 | 4 +- ...CdnRuleUrlFileExtensionConditionObject.ps1 | 4 +- ...tDoorCdnRuleUrlFileNameConditionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlPathConditionObject.ps1 | 4 +- ...rontDoorCdnRuleUrlRedirectActionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlRewriteActionObject.ps1 | 4 +- ...FrontDoorCdnRuleUrlSigningActionObject.ps1 | 4 +- .../exports/New-AzFrontDoorCdnSecret.ps1 | 6 +- ...retCustomerCertificateParametersObject.ps1 | 5 +- ...artyManagedCertificateParametersObject.ps1 | 4 +- ...cretManagedCertificateParametersObject.ps1 | 4 +- ...CdnSecretUrlSigningKeyParametersObject.ps1 | 4 +- .../New-AzFrontDoorCdnSecurityPolicy.ps1 | 9 +- ...ebApplicationFirewallAssociationObject.ps1 | 5 +- ...WebApplicationFirewallParametersObject.ps1 | 7 +- .../exports/ProxyCmdletDefinitions.ps1 | 996 +++++++++--------- .../exports/Remove-AzCdnCustomDomain.ps1 | 4 +- .../exports/Remove-AzCdnEdgeAction.ps1 | 4 +- .../Remove-AzCdnEdgeActionAttachment.ps1 | 4 +- .../Remove-AzCdnEdgeActionExecutionFilter.ps1 | 4 +- .../exports/Remove-AzCdnEdgeActionVersion.ps1 | 4 +- .../exports/Remove-AzCdnEndpoint.ps1 | 4 +- .../exports/Remove-AzCdnOrigin.ps1 | 4 +- .../exports/Remove-AzCdnOriginGroup.ps1 | 4 +- .../exports/Remove-AzCdnProfile.ps1 | 4 +- .../Remove-AzFrontDoorCdnCustomDomain.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnEndpoint.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnOrigin.ps1 | 4 +- .../Remove-AzFrontDoorCdnOriginGroup.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnProfile.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnRoute.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnRule.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnRuleSet.ps1 | 4 +- .../exports/Remove-AzFrontDoorCdnSecret.ps1 | 4 +- .../Remove-AzFrontDoorCdnSecurityPolicy.ps1 | 5 +- .../exports/Start-AzCdnEndpoint.ps1 | 4 +- ...-AzFrontDoorCdnProfilePrepareMigration.ps1 | 25 +- .../exports/Stop-AzCdnEndpoint.ps1 | 4 +- .../Stop-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../Test-AzCdnEndpointCustomDomain.ps1 | 4 +- .../exports/Test-AzCdnNameAvailability.ps1 | 4 +- .../Cdn.Autorest/exports/Test-AzCdnProbe.ps1 | 4 +- ...est-AzCdnProfileMigrationCompatibility.ps1 | 4 +- ...est-AzFrontDoorCdnEndpointCustomDomain.ps1 | 4 +- ...AzFrontDoorCdnEndpointNameAvailability.ps1 | 4 +- ...rontDoorCdnProfileHostNameAvailability.ps1 | 4 +- .../Test-AzFrontDoorCdnProfileMigration.ps1 | 6 +- .../exports/Update-AzCdnEdgeAction.ps1 | 4 +- .../Update-AzCdnEdgeActionExecutionFilter.ps1 | 4 +- .../exports/Update-AzCdnEdgeActionVersion.ps1 | 4 +- .../exports/Update-AzCdnEndpoint.ps1 | 14 +- .../exports/Update-AzCdnOrigin.ps1 | 6 +- .../exports/Update-AzCdnOriginGroup.ps1 | 6 +- .../exports/Update-AzCdnProfile.ps1 | 12 +- .../Update-AzFrontDoorCdnCustomDomain.ps1 | 10 +- ...rontDoorCdnCustomDomainValidationToken.ps1 | 4 +- .../exports/Update-AzFrontDoorCdnEndpoint.ps1 | 4 +- .../exports/Update-AzFrontDoorCdnOrigin.ps1 | 6 +- .../Update-AzFrontDoorCdnOriginGroup.ps1 | 6 +- .../exports/Update-AzFrontDoorCdnProfile.ps1 | 29 +- .../Update-AzFrontDoorCdnProfileSku.ps1 | 19 +- .../exports/Update-AzFrontDoorCdnRoute.ps1 | 6 +- .../exports/Update-AzFrontDoorCdnRule.ps1 | 4 +- .../exports/Update-AzFrontDoorCdnRuleSet.ps1 | 14 +- .../exports/Update-AzFrontDoorCdnSecret.ps1 | 6 +- .../Update-AzFrontDoorCdnSecurityPolicy.ps1 | 19 +- .../internal/Get-AzCdnProfile.ps1 | 8 +- .../internal/New-AzCdnProfile.ps1 | 4 +- .../internal/New-AzFrontDoorCdnRoute.ps1 | 12 +- .../internal/ProxyCmdletDefinitions.ps1 | 59 +- .../internal/Remove-AzCdnProfile.ps1 | 4 +- .../internal/Update-AzCdnProfile.ps1 | 12 +- .../Update-AzFrontDoorCdnProfileSku.ps1 | 19 +- 189 files changed, 1120 insertions(+), 990 deletions(-) diff --git a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 index d6b32e5a2e5e..7e5d7fa55437 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 @@ -20,9 +20,7 @@ A long-running operation for adding an EdgeAction attachment. .Description A long-running operation for adding an EdgeAction attachment. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Add-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 index 6fdbf7693d95..584dafe734c5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 @@ -20,9 +20,11 @@ Removes a content from CDN. .Description Removes a content from CDN. .Example -{{ Add code here }} +Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentPath @("/movies/*","/pictures/pic1.jpg") .Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +$contentFilePath = New-AzCdnPurgeParametersObject -ContentPath $contentPath +Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentFilePath $contentFilePath .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 index 8b9ba3d3bc8e..d8fca036e1ee 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 @@ -20,9 +20,11 @@ Removes a content from AzureFrontDoor. .Description Removes a content from AzureFrontDoor. .Example -{{ Add code here }} +Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -ContentPath /a .Example -{{ Add code here }} +$contentPath = "/a" +$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath +Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-afdx -ProfileName cdn001 -EndpointName endpointTest001 -Content $content .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdPurgeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 index f379b365843a..cee0ef867e20 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 @@ -20,9 +20,7 @@ A long-running operation to deploy versioncode to EdgeActionVersion resource. .Description A long-running operation to deploy versioncode to EdgeActionVersion resource. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Deploy-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Name edge_action.js -Content "Y29uc29sZS5sb2coJ0hlbGxvJyk7" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 index d45a0b95865e..dcda4e94c809 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 @@ -20,9 +20,7 @@ Disable https delivery of the custom domain. .Description Disable https delivery of the custom domain. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Disable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 index 769f8b00cd03..ed919d5dcef1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 @@ -20,9 +20,8 @@ Enable https delivery of the custom domain. .Description Enable https delivery of the custom domain. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication +Enable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 -CustomDomainHttpsParameter $customDomainHttpsParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 index acce15092b3d..5ca5a7059d10 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 @@ -20,11 +20,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -{{ Add code here }} -{{ Add output here }} +Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} -{{ Add output here }} +Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 index 924326a84b0e..557cdb3ad568 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnCustomDomain.ps1 @@ -20,9 +20,11 @@ Gets an existing custom domain within an endpoint. .Description Gets an existing custom domain within an endpoint. .Example -{{ Add code here }} +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Example -{{ Add code here }} +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 +.Example +New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain010 -HostName 'testcm.dev.cdn.azure.cn' | Get-AzCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 index 78d45ca4cbe5..e3c1dd783999 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeAction.ps1 @@ -20,9 +20,9 @@ Get EdgeAction resource .Description Get EdgeAction resource .Example -{{ Add code here }} +Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm .Example -{{ Add code here }} +Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 index 9684cdcf2d93..6d8d0a81cd1a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,9 +20,9 @@ Get EdgeActionExecutionFilter resource .Description Get EdgeActionExecutionFilter resource .Example -{{ Add code here }} +Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Example -{{ Add code here }} +Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 index fa8ba0ee3e1d..182721bafc14 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersion.ps1 @@ -20,9 +20,9 @@ Get EdgeActionVersion resource .Description Get EdgeActionVersion resource .Example -{{ Add code here }} +Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Example -{{ Add code here }} +Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 index 69ef220b9665..54d35a6466f4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeActionVersionCode.ps1 @@ -20,9 +20,7 @@ A long-running operation to get versioncode deployed to EdgeActionVersion resour .Description A long-running operation to get versioncode deployed to EdgeActionVersion resource. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAny diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 index b67cfc6dc6e1..9d5034865c49 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEdgeNode.ps1 @@ -20,9 +20,7 @@ Edgenodes are the global Point of Presence (POP) locations used to deliver CDN c .Description Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEdgeNode .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNode diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 index 72fbd52e1e30..1d118101b8d2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpoint.ps1 @@ -20,9 +20,16 @@ Gets an existing CDN endpoint with the specified endpoint name under the specifi .Description Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 +.Example +$origin = @{ + Name = "origin1" + HostName = "host1.hello.com" +}; + +New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest010 -Location global -Origin $origin | Get-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 index 04da00c733af..082735c177f5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnEndpointResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and usage of geo filters and custom domains under the given end .Description Checks the quota and usage of geo filters and custom domains under the given endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 index 419bc1b932e6..280dde45c147 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnManagedRuleSet.ps1 @@ -20,9 +20,7 @@ Lists all available managed rule sets. .Description Lists all available managed rule sets. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnManagedRuleSet .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedRuleSetDefinition diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 index 37468a669f91..6860db409ca3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOrigin.ps1 @@ -20,9 +20,11 @@ Gets an existing origin within an endpoint. .Description Gets an existing origin within an endpoint. .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +.Example +New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -HostName "host1.hello.com" | Get-AzCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 index 794ee5c23f1d..904f5719d487 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnOriginGroup.ps1 @@ -20,9 +20,13 @@ Gets an existing origin group within an endpoint. .Description Gets an existing origin group within an endpoint. .Example -{{ Add code here }} +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Example -{{ Add code here }} +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 +.Example +$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 +New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) | Get-AzCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 index e14c64a399c7..c9a4bcbb181e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfile.ps1 @@ -20,9 +20,13 @@ Gets an CDN profile with the specified profile name under the specified subscrip .Description Gets an CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} +Get-AzCdnProfile .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm +.Example +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +.Example +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 index b7dcc5838bf6..ce2bf6ae0d5c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 index cf94e513ec67..793cd5162c46 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnProfileSupportedOptimizationType.ps1 @@ -22,9 +22,7 @@ A user can list an endpoint with an optimization type from the listed values. Gets the supported optimization types for the current profile. A user can list an endpoint with an optimization type from the listed values. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnProfileSupportedOptimizationType -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISupportedOptimizationTypesListResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 index 0fc5def9820d..2701cbde3737 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzCdnSubscriptionResourceUsage.ps1 @@ -20,9 +20,7 @@ Check the quota and actual usage of the CDN profiles under the given subscriptio .Description Check the quota and actual usage of the CDN profiles under the given subscription. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnSubscriptionResourceUsage .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 index e776623b9f52..37d0f5e06c5a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnCustomDomain.ps1 @@ -20,9 +20,11 @@ Gets an existing AzureFrontDoor domain with the specified domain name under the .Description Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +.Example +New-AzFrontDoorCdnCustomDomain -CustomDomainName domain001 -ProfileName fdp-v542q6 -ResourceGroupName testps-rg-da16jm -HostName "pstest001.dev.cdn.azure.cn"| Get-AzFrontDoorCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 index b219de7926e8..bcb325498295 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpoint.ps1 @@ -20,9 +20,12 @@ Gets an existing AzureFrontDoor endpoint with the specified endpoint name under .Description Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +.Example +New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 -Location Global -EnabledState Enabled +| Get-AzFrontDoorCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 index 2ff9910dd279..cd15953cab73 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnEndpointResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 index 98269dd5b0cf..27ca37b3a5b0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOrigin.ps1 @@ -20,9 +20,11 @@ Gets an existing origin within an origin group. .Description Gets an existing origin within an origin group. .Example -{{ Add code here }} + Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 +.Example +New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 | Get-AzFrontDoorCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 index 45b19034e24f..7a6f4cd2d4da 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,13 @@ Gets an existing origin group within a profile. .Description Gets an existing origin group within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +.Example +$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting | Get-AzFrontDoorCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 index 433b4b62b840..94c1fc275ce9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnOriginGroupResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 index 97c10ea8af86..42f6c87fb57f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfile.ps1 @@ -20,9 +20,13 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm +.Example +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 +.Example +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q7 -SkuName Standard_AzureFrontDoor -Location Global | Get-AzFrontDoorCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 index e694c70b59de..f44e3977d89f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnProfileResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 index 7f141e31ff35..58bceea20e42 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRoute.ps1 @@ -20,9 +20,18 @@ Gets an existing route with the specified route name under the specified subscri .Description Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 +.Example +$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 + +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) | Get-AzFrontDoorCdnRoute .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 index 283d8ec5a56f..9a708451bfb2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,24 @@ Gets an existing delivery rule within a rule set. .Description Gets an existing delivery rule within a rule set. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 +.Example +$conditions = @( + New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 + New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile + New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +); + + +$actions = @( + New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +); + +New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions | Get-AzFrontDoorCdnRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 index 97451b7ae085..ead84dcf1597 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSet.ps1 @@ -20,9 +20,11 @@ Gets an existing AzureFrontDoor rule set with the specified rule set name under .Description Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +.Example +New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Get-AzFrontDoorCdnRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 index 7c7156840d11..00eb382fe196 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnRuleSetResourceUsage.ps1 @@ -20,9 +20,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSetResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 index c0d85a77ea59..7a992cfbd242 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,13 @@ Gets an existing Secret within a profile. .Description Gets an existing Secret within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +.Example +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter | Get-AzFrontDoorCdnSecret .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 index f786383b300f..a2fba177caf9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Get-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,9 +20,18 @@ Gets an existing security policy within a profile. .Description Gets an existing security policy within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 +.Example +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId +Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter | Get-AzFrontDoorCdnSecurityPolicy .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 index d91b2516284e..f461b862c5dd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 @@ -22,9 +22,11 @@ Available for Verizon Profiles. Pre-loads a content to CDN. Available for Verizon Profiles. .Example -{{ Add code here }} +Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentPath @("/movies/hello","/pictures/pic1.jpg") .Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +$contentFilePath = New-AzCdnLoadParametersObject -ContentPath $contentPath +Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentFilePath $contentFilePath .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 index f0d70df29e7e..5180f768d48f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 @@ -20,9 +20,7 @@ Abort the migration to Azure Frontdoor Premium/Standard. .Description Abort the migration to Azure Frontdoor Premium/Standard. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Invoke-AzCdnAbortProfileToAFDMigration -ProfileName cli-test-profile -ResourceGroupName cli-test-rg .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 index fa10ebb7c13e..e927bf790251 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 @@ -20,9 +20,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -{{ Add code here }} +Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} +Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 index 71f5c196c44e..9f67143b0547 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 @@ -22,9 +22,13 @@ This step prepares the profile for migration and will be followed by Commit to f Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. .Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 + +Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) .Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 + +Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) -IdentityType "SystemAssigned" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 index d87f6169076f..0f8da60bb49b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 @@ -20,9 +20,7 @@ Create a new custom domain within an endpoint. .Description Create a new custom domain within an endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn' .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 index ca7f71226f00..d20877709424 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheExpirationActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleCacheExpirationAction. .Description Create an in-memory object for DeliveryRuleCacheExpirationAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCacheExpirationActionObject -Name CacheExpiration -ParameterCacheBehavior SetIfMissing -ParameterCacheDuration 0.01:30:00 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheExpirationAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 index 3c7c65f54375..8ea664c9677f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Description Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject -Name CacheKeyQueryString -ParameterQueryStringBehavior IncludeAll .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheKeyQueryStringAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 index cb6396a38951..c6814cd5d227 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleCookiesConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 index 40c15c16b597..24fdb9623f1a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleHttpVersionConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 index b2d05928da1e..89e801ec4eb7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleIsDeviceConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 index 4bd65d1b3eb2..1ae12643d48f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleObject.ps1 @@ -20,9 +20,14 @@ Create an in-memory object for DeliveryRule. .Description Create an in-memory object for DeliveryRule. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$cond1 = New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +$action1 = New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +$action2 = New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + + +$conditions = @($cond1) +$actions = @($action1, $action2) +New-AzCdnDeliveryRuleObject -Name "Rule1" -Condition $conditions -Action $actions -Order 1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRule diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 index 05c662c5b2c5..ebf6ead2deaf 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRulePostArgsConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 index 1b57a6dc9a0a..489848a3308c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleQueryStringConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 index 0ca567cf65ae..009a3308fd7d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRemoteAddressConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 index 49a3afd6f130..da1d4ad92195 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestBodyConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 index 52d5712fb1c9..5e0a2d6efd7e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 index 7a404d07c1d2..e8ecb57c46ae 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestHeaderConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestHeaderConditionObject -Name RequestHeader -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 index a83506fc06e8..0c456f94eee4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestMethodConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 index e9d3ec454766..2704febafe6f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestSchemeConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 index 9f9fe599448c..ef6211211435 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleRequestUriConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 index 92a0a24ba25a..f3e2de5e4449 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleResponseHeaderActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 index 0ceb5b950131..11fb43610924 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Description Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 index 7bdd675240f8..c2bed35ddc3a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlFileNameConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 index 27de2b960dbe..1e4674d7080b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnDeliveryRuleUrlPathConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 index c93b8fb5d09f..12df72affe5e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 @@ -20,9 +20,7 @@ Create EdgeAction resource .Description Create EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Location global -SkuName Standard -SkuTier Standard .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 index 75c084e2a720..b00700ed7efc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,9 +20,7 @@ Create EdgeActionExecutionFilter resource .Description Create EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -Location global -ExecutionFilterIdentifierHeaderName "X-Filter-Key" -ExecutionFilterIdentifierHeaderValue "FilterValue1" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 index 79a61f5bd92e..bbb0918b40ff 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 @@ -20,9 +20,7 @@ Create EdgeActionVersion version .Description Create EdgeActionVersion version .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Location global -DeploymentType zip -IsDefaultVersion True .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 index 6599b4975479..1001aa5ecc20 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 @@ -20,9 +20,11 @@ Create a new CDN endpoint with the specified endpoint name under the specified s .Description Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$origin = @{ + Name = "origin1" + HostName = "host1.hello.com" +}; +New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Location westus -Origin $origin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 index a0fe9d8d9cf0..c4d31f8faafd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnHealthProbeParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 index 2df62a862807..41806cad4d3f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnLoadParametersObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for LoadParameters. .Description Create an in-memory object for LoadParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +New-AzCdnLoadParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 index d158b0a8e8ea..8c57ff1c94b9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnManagedHttpsParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for CdnManagedHttpsParameters. .Description Create an in-memory object for CdnManagedHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnManagedHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 index 8f13aa22f6b4..c01c4e3e1391 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnMigrationEndpointMappingObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for MigrationEndpointMapping. .Description Create an in-memory object for MigrationEndpointMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationEndpointMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 index 04880dda8a15..b72fd000455b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 @@ -20,9 +20,7 @@ Create a new origin within the specified endpoint. .Description Create a new origin within the specified endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 index a10124f3b4b2..215a5f19dae0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Create a new origin group within the specified endpoint. .Description Create a new origin group within the specified endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 index 51e2557b2b58..144a9705c3b2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroupOverrideActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for OriginGroupOverrideAction. .Description Create an in-memory object for OriginGroupOverrideAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnOriginGroupOverrideActionObject -Name OriginGroupOverride -OriginGroupId 001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverrideAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 index 8080d57a5616..873b43c05a33 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 @@ -20,9 +20,7 @@ Creates an CDN profile with the specified profile name under the specified subsc .Description Creates an CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 index 0674e235f0a8..11702fccb978 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnPurgeParametersObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for PurgeParameters. .Description Create an in-memory object for PurgeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +New-AzCdnPurgeParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.PurgeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 index a6d10929e448..5d028d992de1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResourceReferenceObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnResourceReferenceObject -Id Idtest .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 index f2b9b05c003b..f4ca69b0c248 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Description Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResponseBasedOriginErrorDetectionParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 index 9b5d7462db2b..17151bc95c4a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRedirectActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 index aac73cfdf7c0..bd54d91a52e2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlRewriteActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRewriteActionObject -Name rewrite01 -ParameterDestination dest01 -ParameterSourcePattern pattern01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 index edfa8807cb5a..8e124f6e8df8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUrlSigningActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlSigningActionObject -Name action01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 index 59f2f94bceef..e4f5cb4fc79f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnUserManagedHttpsParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UserManagedHttpsParameters. .Description Create an in-memory object for UserManagedHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UserManagedHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 index 3c5761b92b15..3198d6d46fff 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 @@ -20,9 +20,10 @@ Create a new domain within the specified profile. .Description Create a new domain within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$tlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure +New-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -HostName "pstest001.dev.cdn.azure.cn" -TlsSetting $tlsSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomain diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 index 73475aafe04e..83195cb392d1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for AfdDomainHttpsParameters. .Description Create an in-memory object for AfdDomainHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainHttpsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 index fdbd61e7c4e4..a89cf4e10ea0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 @@ -20,9 +20,7 @@ Create a new AzureFrontDoor endpoint with the specified endpoint name under the .Description Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpoint diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 index 5a7178ba3207..a641f7c9514b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for MigrationParameters. .Description Create an in-memory object for MigrationParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnMigrationParametersObject -ProfileName test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 index 31825977080f..03e12ffab8cf 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for MigrationWebApplicationFirewallMapping. .Description Create an in-memory object for MigrationWebApplicationFirewallMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId migrateFromId -MigratedToId migrateToId + .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationWebApplicationFirewallMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 index 49276e124b6b..9a73876d2531 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 @@ -20,9 +20,7 @@ Create a new origin within the specified origin group. .Description Create a new origin within the specified origin group. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOrigin diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 index 869fb069242a..393281fa8a79 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Create a new origin group within the specified profile. .Description Create a new origin group within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroup diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 index 4f15f402e0fc..285dd59cf4b3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 index 47fa16c26fd1..6aea498eb9b5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for LoadBalancingSettingsParameters. .Description Create an in-memory object for LoadBalancingSettingsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadBalancingSettingsParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 index 88dbfb0d2a7b..523d55becea2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 @@ -20,9 +20,10 @@ Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profi .Description 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. .Example -{{ Add code here }} +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global .Example -{{ Add code here }} +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global -LogScrubbingRule $rule -LogScrubbingState Enabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 index 13f656faec6d..30c74202dadc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileChangeSkuWafMappingObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for ProfileChangeSkuWafMapping. .Description Create an in-memory object for ProfileChangeSkuWafMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileChangeSkuWafMapping diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 index 51d40031e1a1..a0ec188e7ed6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileLogScrubbingObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for ProfileLogScrubbing. .Description Create an in-memory object for ProfileLogScrubbing. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled +New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileLogScrubbing diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 index 6529fcfe8067..5eea4d68765d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileScrubbingRulesObject.ps1 @@ -20,9 +20,9 @@ Create an in-memory object for ProfileScrubbingRules. .Description Create an in-memory object for ProfileScrubbingRules. .Example -{{ Add code here }} +New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled .Example -{{ Add code here }} +New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileScrubbingRules diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 index caa89fcc1121..a56d191602f4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfileUpgradeParametersObject.ps1 @@ -20,9 +20,12 @@ Create an in-memory object for ProfileUpgradeParameters. .Description Create an in-memory object for ProfileUpgradeParameters. .Example -{{ Add code here }} +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 .Example -{{ Add code here }} +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 +$upgrade.ToString() .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 index 7916aec57cbc..20299d36ffc3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnPurgeParametersObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for AfdPurgeParameters. .Description Create an in-memory object for AfdPurgeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = "/a" +$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdPurgeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 index 49aed48424a0..5283566880c1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnResourceReferenceObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 index 880c7f78c557..f05fcfd49898 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 @@ -24,6 +24,12 @@ $originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm $ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 $customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) + + .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity .Inputs diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 index cc2811d39286..99e011626137 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,20 @@ Create a new delivery rule within the specified rule set. .Description Create a new delivery rule within the specified rule set. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$conditions = @( + New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 + New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile + New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +); + + +$actions = @( + New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +); + +New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 index 0c7595e77bd9..8e34f1d3e3ec 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleClientPortConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleClientPortCondition. .Description Create an in-memory object for DeliveryRuleClientPortCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleClientPortCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 index 1d5a880c2314..f24087696b54 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleCookiesConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 index 2b3381e2bf8d..a78fd2e990f9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHostNameConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleHostNameCondition. .Description Create an in-memory object for DeliveryRuleHostNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleHostNameConditionObject -Name HostName -ParameterOperator Equal -ParameterMatchValue azure.com .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHostNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 index 26bed6e7481c..72c878ed26e5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleHttpVersionConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 index 93542ccffa89..b0d6db72a803 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleIsDeviceConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 index f7a9f94dd1b1..6f45dcdbd439 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRulePostArgsConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 index b8e3118e6e19..012ec62b6ff6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleQueryStringConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 index a672fd438fd3..22d7db045862 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 index 356f05890cec..0fafdd762d06 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestBodyConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 index 706eba8c64c7..5f3b616cacd7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 index 8996f8a70872..31fe40f3e277 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 index b1dc99b5d608..17dc975bff80 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestMethodConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 index 4d76682a6a16..a73a5a19e71b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 index 8515f46835a1..c8af0038c51f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRequestUriConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 index cf552a6ceda3..b4eaa8528e59 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleResponseHeaderActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 index e97ac08a6616..193e843028ba 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Description Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$originGroupId = "xxxx" +New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject -Name RouteConfigurationOverride -OriginGroupOverrideForwardingProtocol HttpOnly -OriginGroupId $originGroupId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRouteConfigurationOverrideAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 index b8c41f08704e..11a04e2d1cf7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleServerPortConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleServerPortCondition. .Description Create an in-memory object for DeliveryRuleServerPortCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleServerPortConditionObject -Name ServerPort -ParameterOperator Equal -ParameterMatchValue 80,81 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleServerPortCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 index 2390d8297570..a83ba334e92d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 @@ -20,9 +20,7 @@ Create or create a batch rule set within the specified profile along with the ru .Description Create or create a batch rule set within the specified profile along with the rules associate to it. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 index 28e521084c44..d89437972a5d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSocketAddrConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleSocketAddrCondition. .Description Create an in-memory object for DeliveryRuleSocketAddrCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleSocketAddrConditionObject -Name SocketAddr -ParameterOperator IPMatch -ParameterMatchValue 222.10.0.1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSocketAddrCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 index 0069bc7fbf85..9cbaad380802 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSslProtocolConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleSslProtocolCondition. .Description Create an in-memory object for DeliveryRuleSslProtocolCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSslProtocolCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 index aa60c20ca7ed..6f321d82fe95 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 index 0b5c26f7fda2..427fbf8e6854 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 index 3f345ecfc816..e5ef3a08df81 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlPathConditionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 index 425952e2c7e7..1504dc7f5ff8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRedirectActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 index d1c38f4e21fe..76bf7c247e61 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlRewriteActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlRewriteActionObject -Name UrlRewrite -ParameterDestination /b -ParameterSourcePattern /a -ParameterPreserveUnmatchedPath $False .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 index a63249bb89e8..efdefd02eb98 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleUrlSigningActionObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlSigningActionObject -Name rule01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 index 226bc606547f..83ac0d28f8d6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Create a new Secret within the specified profile. .Description Create a new Secret within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 index 1dbddf17b951..672a0fa6dba1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for CustomerCertificateParameters. .Description Create an in-memory object for CustomerCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomerCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 index dc30bdc07994..0b705b7e8d12 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Description Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject -Type BYOC .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AzureFirstPartyManagedCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 index ebcafb2024dd..3969ec817ad8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for ManagedCertificateParameters. .Description Create an in-memory object for ManagedCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretManagedCertificateParametersObject -Type ManagedCert .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedCertificateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 index ff60938d4df0..8bc01080eb32 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.ps1 @@ -20,9 +20,7 @@ Create an in-memory object for UrlSigningKeyParameters. .Description Create an in-memory object for UrlSigningKeyParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject -KeyId keyId01 -Type Byoc -SecretVersion v1.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningKeyParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 index e4b6fff4fd2b..64131578fd3f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,9 +20,12 @@ Create a new security policy within the specified profile. .Description Create a new security policy within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$wafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association -WafPolicyId $wafPolicyId + +New-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $wafParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 index 15af243a15d4..fd7c0f942c99 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.ps1 @@ -20,9 +20,8 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallAssociation diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 index 7f86b07e8a5a..baa1088d90a2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.ps1 @@ -20,9 +20,10 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association ` + -WafPolicyId $wafPolicyId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 index 0c3b4aedf0b1..dafdeab51e6f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -20,9 +20,7 @@ A long-running operation for adding an EdgeAction attachment. .Description A long-running operation for adding an EdgeAction attachment. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Add-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -324,9 +322,11 @@ Removes a content from CDN. .Description Removes a content from CDN. .Example -{{ Add code here }} +Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentPath @("/movies/*","/pictures/pic1.jpg") .Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +$contentFilePath = New-AzCdnPurgeParametersObject -ContentPath $contentPath +Clear-AzCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -ContentFilePath $contentFilePath .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -679,9 +679,11 @@ Removes a content from AzureFrontDoor. .Description Removes a content from AzureFrontDoor. .Example -{{ Add code here }} +Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -ContentPath /a .Example -{{ Add code here }} +$contentPath = "/a" +$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath +Clear-AzFrontDoorCdnEndpointContent -ResourceGroupName testps-rg-afdx -ProfileName cdn001 -EndpointName endpointTest001 -Content $content .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdPurgeParameters @@ -1044,9 +1046,7 @@ A long-running operation to deploy versioncode to EdgeActionVersion resource. .Description A long-running operation to deploy versioncode to EdgeActionVersion resource. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Deploy-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Name edge_action.js -Content "Y29uc29sZS5sb2coJ0hlbGxvJyk7" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1400,9 +1400,7 @@ Disable https delivery of the custom domain. .Description Disable https delivery of the custom domain. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Disable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -1724,9 +1722,8 @@ Enable https delivery of the custom domain. .Description Enable https delivery of the custom domain. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication +Enable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 -CustomDomainHttpsParameter $customDomainHttpsParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -2123,9 +2120,11 @@ Gets an existing custom domain within an endpoint. .Description Gets an existing custom domain within an endpoint. .Example -{{ Add code here }} +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +.Example +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 .Example -{{ Add code here }} +New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain010 -HostName 'testcm.dev.cdn.azure.cn' | Get-AzCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -2413,9 +2412,9 @@ Get EdgeActionExecutionFilter resource .Description Get EdgeActionExecutionFilter resource .Example -{{ Add code here }} +Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Example -{{ Add code here }} +Get-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -2605,9 +2604,7 @@ A long-running operation to get versioncode deployed to EdgeActionVersion resour .Description A long-running operation to get versioncode deployed to EdgeActionVersion resource. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEdgeActionVersionCode -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAny @@ -2909,9 +2906,9 @@ Get EdgeActionVersion resource .Description Get EdgeActionVersion resource .Example -{{ Add code here }} +Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Example -{{ Add code here }} +Get-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -3101,9 +3098,9 @@ Get EdgeAction resource .Description Get EdgeAction resource .Example -{{ Add code here }} +Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm .Example -{{ Add code here }} +Get-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -3290,9 +3287,7 @@ Edgenodes are the global Point of Presence (POP) locations used to deliver CDN c .Description Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEdgeNode .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNode @@ -3447,9 +3442,7 @@ Checks the quota and usage of geo filters and custom domains under the given end .Description Checks the quota and usage of geo filters and custom domains under the given endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -3638,9 +3631,16 @@ Gets an existing CDN endpoint with the specified endpoint name under the specifi .Description Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 +.Example +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +$origin = @{ + Name = "origin1" + HostName = "host1.hello.com" +}; + +New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest010 -Location global -Origin $origin | Get-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -3893,9 +3893,7 @@ Lists all available managed rule sets. .Description Lists all available managed rule sets. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnManagedRuleSet .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedRuleSetDefinition @@ -4065,9 +4063,13 @@ Gets an existing origin group within an endpoint. .Description Gets an existing origin group within an endpoint. .Example -{{ Add code here }} +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 +.Example +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 .Example -{{ Add code here }} +$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 +New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) | Get-AzCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4355,9 +4357,11 @@ Gets an existing origin within an endpoint. .Description Gets an existing origin within an endpoint. .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +.Example +New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest010 -Name origin1 -HostName "host1.hello.com" | Get-AzCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4645,9 +4649,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -4832,9 +4834,7 @@ A user can list an endpoint with an optimization type from the listed values. Gets the supported optimization types for the current profile. A user can list an endpoint with an optimization type from the listed values. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnProfileSupportedOptimizationType -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISupportedOptimizationTypesListResult @@ -5017,9 +5017,7 @@ Check the quota and actual usage of the CDN profiles under the given subscriptio .Description Check the quota and actual usage of the CDN profiles under the given subscription. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzCdnSubscriptionResourceUsage .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceUsage @@ -5189,9 +5187,11 @@ Gets an existing AzureFrontDoor domain with the specified domain name under the .Description Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +.Example +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 .Example -{{ Add code here }} +New-AzFrontDoorCdnCustomDomain -CustomDomainName domain001 -ProfileName fdp-v542q6 -ResourceGroupName testps-rg-da16jm -HostName "pstest001.dev.cdn.azure.cn"| Get-AzFrontDoorCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5443,9 +5443,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -5634,9 +5632,12 @@ Gets an existing AzureFrontDoor endpoint with the specified endpoint name under .Description Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +.Example +New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 -Location Global -EnabledState Enabled +| Get-AzFrontDoorCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5888,9 +5889,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -6079,9 +6078,13 @@ Gets an existing origin group within a profile. .Description Gets an existing origin group within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +.Example +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Example -{{ Add code here }} +$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting | Get-AzFrontDoorCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -6333,9 +6336,11 @@ Gets an existing origin within an origin group. .Description Gets an existing origin within an origin group. .Example -{{ Add code here }} + Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 +.Example +New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 | Get-AzFrontDoorCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -6622,9 +6627,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnProfileResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -6807,9 +6810,18 @@ Gets an existing route with the specified route name under the specified subscri .Description Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +.Example +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 .Example -{{ Add code here }} +$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 + +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) | Get-AzFrontDoorCdnRoute .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7097,9 +7109,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door .Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSetResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUsage @@ -7288,9 +7298,11 @@ Gets an existing AzureFrontDoor rule set with the specified rule set name under .Description Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +.Example +New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Get-AzFrontDoorCdnRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7543,9 +7555,24 @@ Gets an existing delivery rule within a rule set. .Description Gets an existing delivery rule within a rule set. .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +.Example +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 .Example -{{ Add code here }} +$conditions = @( + New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 + New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile + New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +); + + +$actions = @( + New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +); + +New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions | Get-AzFrontDoorCdnRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -7834,9 +7861,13 @@ Gets an existing Secret within a profile. .Description Gets an existing Secret within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +.Example +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 .Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter | Get-AzFrontDoorCdnSecret .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8089,9 +8120,18 @@ Gets an existing security policy within a profile. .Description Gets an existing security policy within a profile. .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 +.Example +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 .Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId +Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter | Get-AzFrontDoorCdnSecurityPolicy .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8346,9 +8386,11 @@ Available for Verizon Profiles. Pre-loads a content to CDN. Available for Verizon Profiles. .Example -{{ Add code here }} +Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentPath @("/movies/hello","/pictures/pic1.jpg") .Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +$contentFilePath = New-AzCdnLoadParametersObject -ContentPath $contentPath +Import-AzCdnEndpointContent -ResourceGroupName testps-rg-verizon -ProfileName verzioncdn001 -EndpointName verzionendptest001 -ContentFilePath $contentFilePath .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8701,9 +8743,7 @@ Abort the migration to Azure Frontdoor Premium/Standard. .Description Abort the migration to Azure Frontdoor Premium/Standard. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Invoke-AzCdnAbortProfileToAFDMigration -ProfileName cli-test-profile -ResourceGroupName cli-test-rg .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -8962,9 +9002,7 @@ Create a new custom domain within an endpoint. .Description Create a new custom domain within an endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn' .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -9310,9 +9348,7 @@ Create EdgeActionExecutionFilter resource .Description Create EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -Location global -ExecutionFilterIdentifierHeaderName "X-Filter-Key" -ExecutionFilterIdentifierHeaderValue "FilterValue1" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -9592,9 +9628,7 @@ Create EdgeActionVersion version .Description Create EdgeActionVersion version .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -Location global -DeploymentType zip -IsDefaultVersion True .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -9870,9 +9904,7 @@ Create EdgeAction resource .Description Create EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Location global -SkuName Standard -SkuTier Standard .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -10141,9 +10173,11 @@ Create a new CDN endpoint with the specified endpoint name under the specified s .Description Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$origin = @{ + Name = "origin1" + HostName = "host1.hello.com" +}; +New-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Location westus -Origin $origin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -10713,9 +10747,9 @@ Create a new origin group within the specified endpoint. .Description Create a new origin group within the specified endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 +New-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $healthProbeParameters -Origin @(@{ Id = $origin.Id }) .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -11117,9 +11151,7 @@ Create a new origin within the specified endpoint. .Description Create a new origin within the specified endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -11566,9 +11598,10 @@ Create a new domain within the specified profile. .Description Create a new domain within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$tlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure +New-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -HostName "pstest001.dev.cdn.azure.cn" -TlsSetting $tlsSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomain @@ -11934,9 +11967,7 @@ Create a new AzureFrontDoor endpoint with the specified endpoint name under the .Description Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpoint @@ -12279,9 +12310,9 @@ Create a new origin group within the specified profile. .Description Create a new origin group within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" +$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 +New-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $loadBalancingSetting -HealthProbeSetting $healthProbeSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroup @@ -12665,9 +12696,7 @@ Create a new origin within the specified origin group. .Description Create a new origin within the specified origin group. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOrigin @@ -13141,9 +13170,7 @@ Create or create a batch rule set within the specified profile along with the ru .Description Create or create a batch rule set within the specified profile along with the rules associate to it. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -13478,9 +13505,20 @@ Create a new delivery rule within the specified rule set. .Description Create a new delivery rule within the specified rule set. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$conditions = @( + New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 + New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile + New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 +); + + +$actions = @( + New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest +); + +New-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Action $actions -Condition $conditions .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -13869,9 +13907,9 @@ Create a new Secret within the specified profile. .Description Create a new Secret within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14178,9 +14216,12 @@ Create a new security policy within the specified profile. .Description Create a new security policy within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$wafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association -WafPolicyId $wafPolicyId + +New-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $wafParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14483,9 +14524,9 @@ Deletes an existing custom domain within an endpoint. .Description Deletes an existing custom domain within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 .Example -{{ Add code here }} +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 | Remove-AzCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -14814,9 +14855,7 @@ A long-running operation for deleting an EdgeAction attachment that returns no c .Description A long-running operation for deleting an EdgeAction attachment that returns no content. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -15118,9 +15157,7 @@ Delete EdgeActionExecutionFilter resource .Description Delete EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 .Outputs System.Boolean @@ -15352,9 +15389,7 @@ Delete EdgeActionVersion resource .Description Delete EdgeActionVersion resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Outputs System.Boolean @@ -15586,9 +15621,7 @@ Delete EdgeAction resource .Description Delete EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Outputs System.Boolean @@ -15815,9 +15848,9 @@ Deletes an existing CDN endpoint with the specified endpoint name under the spec .Description Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Remove-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16111,9 +16144,9 @@ Deletes an existing origin group within an endpoint. .Description Deletes an existing origin group within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 .Example -{{ Add code here }} +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001| Remove-AzCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16442,9 +16475,9 @@ Deletes an existing origin within an endpoint. .Description Deletes an existing origin within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Remove-AzCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -16773,9 +16806,9 @@ Deletes an existing AzureFrontDoor domain with the specified domain name under t .Description Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Remove-AzFrontDoorCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17068,9 +17101,9 @@ Deletes an existing AzureFrontDoor endpoint with the specified endpoint name und .Description Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Remove-AzFrontDoorCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17363,9 +17396,9 @@ Deletes an existing origin group within a profile. .Description Deletes an existing origin group within a profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Remove-AzFrontDoorCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17658,9 +17691,9 @@ Deletes an existing origin within an origin group. .Description Deletes an existing origin within an origin group. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Remove-AzFrontDoorCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -17988,9 +18021,9 @@ Deletes an existing route with the specified route name under the specified subs .Description Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Remove-AzFrontDoorCdnRoute .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18319,9 +18352,9 @@ Deletes an existing AzureFrontDoor rule set with the specified rule set name und .Description Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Remove-AzFrontDoorCdnRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18615,9 +18648,9 @@ Deletes an existing delivery rule within a rule set. .Description Deletes an existing delivery rule within a rule set. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Remove-AzFrontDoorCdnRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -18947,9 +18980,9 @@ Deletes an existing Secret within profile. .Description Deletes an existing Secret within profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 | Remove-AzFrontDoorCdnSecret .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19243,9 +19276,10 @@ Deletes an existing security policy within profile. .Description Deletes an existing security policy within profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 .Example -{{ Add code here }} + +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Remove-AzFrontDoorCdnSecurityPolicy .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19539,9 +19573,9 @@ Starts an existing CDN endpoint that is on a stopped state. .Description Starts an existing CDN endpoint that is on a stopped state. .Example -{{ Add code here }} +Start-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Start-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -19829,9 +19863,9 @@ Stops an existing running CDN endpoint. .Description Stops an existing running CDN endpoint. .Example -{{ Add code here }} +Stop-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Stop-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -20119,9 +20153,9 @@ Validates the custom domain mapping to ensure it maps to the correct CDN endpoin .Description Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. .Example -{{ Add code here }} +Test-AzCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -HostName 'testcm.dev.cdn.azure.cn' .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Test-AzCdnEndpointCustomDomain -HostName 'testcm.dev.cdn.azure.cn' .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -20416,9 +20450,7 @@ This is needed for resources where name is globally unique, such as a CDN endpoi Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckNameAvailabilityOutput @@ -20622,9 +20654,7 @@ Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnProbe -ProbeUrl "https://azurecdn-files.azureedge.net/dsa-test/probe-v.txt" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IValidateProbeOutput @@ -20814,9 +20844,7 @@ Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profi .Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnProfileMigrationCompatibility -ProfileName cli-test-profile -ResourceGroupName cli-test-rg .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21043,9 +21071,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -{{ Add code here }} +Test-AzFrontDoorCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -HostName "pstest001.dev.cdn.azure.cn" .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Test-AzFrontDoorCdnEndpointCustomDomain -HostName "pstest001.dev.cdn.azure.cn" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21340,9 +21368,7 @@ This is needed for resources where name is globally unique, such as a afdx endpo Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzFrontDoorCdnEndpointNameAvailability -ResourceGroupName testps-rg-da16jm -Type "Microsoft.Cdn/Profiles/AfdEndpoints" -Name end001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckEndpointNameAvailabilityOutput @@ -21554,9 +21580,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -{{ Add code here }} +Test-AzFrontDoorCdnProfileHostNameAvailability -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -HostName hello1.dev.cdn.azure.cn .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Test-AzFrontDoorCdnProfileHostNameAvailability -HostName hello1.dev.cdn.azure.cn .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -21798,9 +21824,7 @@ Update EdgeActionExecutionFilter resource .Description Update EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -ExecutionFilterIdentifierHeaderName "X-Updated-Filter" -ExecutionFilterIdentifierHeaderValue "UpdatedValue" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter @@ -22067,9 +22091,7 @@ Update EdgeActionVersion resource .Description Update EdgeActionVersion resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -DeploymentType zip -IsDefaultVersion False .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion @@ -22332,9 +22354,7 @@ Update EdgeAction resource .Description Update EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Tag @{Environment="Staging"} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction @@ -22598,9 +22618,19 @@ To update origins, use the update Origin operation. To update origin groups, use the update Origin group operation. To update custom domains, use the update Custom Domain operation. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Tag $tags -DefaultOriginGroupId $originGroup.Id +.Example +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Update-AzCdnEndpoint -Tag $tags -DefaultOriginGroupId $originGroup.Id .Example -{{ Add code here }} +Update-AzCdnEndpoint -Name cdntestcert -ProfileName classicCDNtest -ResourceGroupName yaoshitest -IsCompressionEnabled:$true .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -23132,9 +23162,11 @@ Update an existing origin group within an endpoint. .Description Update an existing origin group within an endpoint. .Example -{{ Add code here }} +$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters .Example -{{ Add code here }} +$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 | Update-AzCdnOriginGroup -HealthProbeSetting $updateHealthProbeParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -23573,9 +23605,11 @@ Update an existing origin within an endpoint. .Description Update an existing origin within an endpoint. .Example -{{ Add code here }} +Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 +.Example +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Update-AzCdnOrigin -HttpPort 456 -HttpsPort 789 .Example -{{ Add code here }} +Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -24065,9 +24099,9 @@ Refresh the domain validation token. .Description Refresh the domain validation token. .Example -{{ Add code here }} +Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomainValidationToken .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -24360,9 +24394,15 @@ Update an existing domain within a profile. .Description Update an existing domain within a profile. .Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure +Update-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -TlsSetting $updateSetting .Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomain -TlsSetting $updateSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParameters @@ -24751,9 +24791,9 @@ To 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. .Example -{{ Add code here }} +Update-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -EnabledState Disabled .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 | Update-AzFrontDoorCdnEndpoint -EnabledState Disabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParameters @@ -25111,9 +25151,11 @@ Update an existing origin group within a profile. .Description Update an existing origin group within a profile. .Example -{{ Add code here }} +$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 +Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting .Example -{{ Add code here }} +$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Update-AzFrontDoorCdnOriginGroup -LoadBalancingSetting $updateLoadBalancingSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParameters @@ -25536,9 +25578,11 @@ Update an existing origin within an origin group. .Description Update an existing origin within an origin group. .Example -{{ Add code here }} +Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999 +.Example +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Update-AzFrontDoorCdnOrigin -Weight 999 .Example -{{ Add code here }} +Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -EnforceCertificateNameCheck:$false .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParameters @@ -26058,9 +26102,11 @@ Update an existing route with the specified route name under the specified subsc .Description Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled" .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Update-AzFrontDoorCdnRoute -EnabledState "Enabled" +.Example +Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -CompressionSettingIsCompressionEnabled:true .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -26596,9 +26642,19 @@ Update or update a batch rule set within the specified profile along with the ru .Description Update or update a batch rule set within the specified profile along with the rules associate to it. .Example -{{ Add code here }} +$rule = @{ + RuleName = "rule1" + Order = 1 + MatchProcessingBehavior = "Continue" +} +Update-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Rule $rule .Example -{{ Add code here }} +$rule = @{ + RuleName = "rule1" + Order = 1 + MatchProcessingBehavior = "Continue" +} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Update-AzFrontDoorCdnRuleSet -Rule $rule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -26927,9 +26983,9 @@ Update an existing delivery rule within a rule set. .Description Update an existing delivery rule within a rule set. .Example -{{ Add code here }} +Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Update-AzFrontDoorCdnRule -Order 99 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -27355,9 +27411,9 @@ Update a new Secret within the specified profile. .Description Update a new Secret within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +Update-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -27672,9 +27728,24 @@ Patch an existing security policy within a profile. .Description Patch an existing security policy within a profile. .Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId +Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter .Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId + +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Update-AzFrontDoorCdnSecurityPolicy -Parameter $updateWafParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -28009,11 +28080,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -{{ Add code here }} -{{ Add output here }} +Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} -{{ Add output here }} +Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean @@ -28211,9 +28280,13 @@ Gets an CDN profile with the specified profile name under the specified subscrip .Description Gets an CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} +Get-AzCdnProfile .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm +.Example +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +.Example +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -28432,9 +28505,13 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile +.Example +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 +.Example +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q7 -SkuName Standard_AzureFrontDoor -Location Global | Get-AzFrontDoorCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -28653,9 +28730,9 @@ Commit the migrated Azure Front Door(Standard/Premium) profile.. .Description Commit the migrated Azure Front Door(Standard/Premium) profile.. .Example -{{ Add code here }} +Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} +Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean @@ -28855,9 +28932,13 @@ This step prepares the profile for migration and will be followed by Commit to f Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. .Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 + +Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) .Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 + +Move-AzCdnProfileToAFD -ProfileName cli-test-profile -ResourceGroupName cli-test-rg -SkuName Premium_AzureFrontDoor -MigrationEndpointMapping @($map1) -IdentityType "SystemAssigned" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -29153,9 +29234,7 @@ Create an in-memory object for DeliveryRuleCacheExpirationAction. .Description Create an in-memory object for DeliveryRuleCacheExpirationAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCacheExpirationActionObject -Name CacheExpiration -ParameterCacheBehavior SetIfMissing -ParameterCacheDuration 0.01:30:00 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheExpirationAction @@ -29278,9 +29357,7 @@ Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Description Create an in-memory object for DeliveryRuleCacheKeyQueryStringAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCacheKeyQueryStringActionObject -Name CacheKeyQueryString -ParameterQueryStringBehavior IncludeAll .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCacheKeyQueryStringAction @@ -29402,9 +29479,7 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition @@ -29545,9 +29620,7 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition @@ -29675,9 +29748,7 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition @@ -29806,9 +29877,14 @@ Create an in-memory object for DeliveryRule. .Description Create an in-memory object for DeliveryRule. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$cond1 = New-AzCdnDeliveryRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase +$action1 = New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 +$action2 = New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 + + +$conditions = @($cond1) +$actions = @($action1, $action2) +New-AzCdnDeliveryRuleObject -Name "Rule1" -Condition $conditions -Action $actions -Order 1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRule @@ -29948,9 +30024,7 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition @@ -30091,9 +30165,7 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition @@ -30228,9 +30300,7 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition @@ -30367,9 +30437,7 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition @@ -30504,9 +30572,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction @@ -30634,9 +30700,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestHeaderConditionObject -Name RequestHeader -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition @@ -30777,9 +30841,7 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition @@ -30908,9 +30970,7 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition @@ -31039,9 +31099,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition @@ -31176,9 +31234,7 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction @@ -31306,9 +31362,7 @@ Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Description Create an in-memory object for DeliveryRuleUrlFileExtensionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition @@ -31443,9 +31497,7 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition @@ -31580,9 +31632,7 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnDeliveryRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition @@ -31717,9 +31767,7 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters @@ -31847,9 +31895,8 @@ Create an in-memory object for LoadParameters. .Description Create an in-memory object for LoadParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +New-AzCdnLoadParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadParameters @@ -31958,9 +32005,7 @@ Create an in-memory object for CdnManagedHttpsParameters. .Description Create an in-memory object for CdnManagedHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CdnManagedHttpsParameters @@ -32096,9 +32141,7 @@ Create an in-memory object for MigrationEndpointMapping. .Description Create an in-memory object for MigrationEndpointMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationEndpointMapping @@ -32213,9 +32256,7 @@ Create an in-memory object for OriginGroupOverrideAction. .Description Create an in-memory object for OriginGroupOverrideAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnOriginGroupOverrideActionObject -Name OriginGroupOverride -OriginGroupId 001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverrideAction @@ -32330,9 +32371,7 @@ Creates an CDN profile with the specified profile name under the specified subsc .Description Creates an CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -32578,9 +32617,8 @@ Create an in-memory object for PurgeParameters. .Description Create an in-memory object for PurgeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = @("/movies/amazing.mp4","/pictures/pic1.jpg") +New-AzCdnPurgeParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.PurgeParameters @@ -32689,9 +32727,7 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnResourceReferenceObject -Id Idtest .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference @@ -32799,9 +32835,7 @@ Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Description Create an in-memory object for ResponseBasedOriginErrorDetectionParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResponseBasedOriginErrorDetectionParameters @@ -32930,9 +32964,7 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction @@ -33088,9 +33120,7 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRewriteActionObject -Name rewrite01 -ParameterDestination dest01 -ParameterSourcePattern pattern01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction @@ -33219,9 +33249,7 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlSigningActionObject -Name action01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction @@ -33352,9 +33380,7 @@ Create an in-memory object for UserManagedHttpsParameters. .Description Create an in-memory object for UserManagedHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnUrlRedirectActionObject -Name rule01 -ParameterRedirectType redirect .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UserManagedHttpsParameters @@ -33512,9 +33538,9 @@ Create an in-memory object for AfdDomainHttpsParameters. .Description Create an in-memory object for AfdDomainHttpsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainHttpsParameters @@ -33662,9 +33688,7 @@ Create an in-memory object for MigrationParameters. .Description Create an in-memory object for MigrationParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnMigrationParametersObject -ProfileName test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationParameters @@ -33799,9 +33823,8 @@ Create an in-memory object for MigrationWebApplicationFirewallMapping. .Description Create an in-memory object for MigrationWebApplicationFirewallMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId migrateFromId -MigratedToId migrateToId + .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrationWebApplicationFirewallMapping @@ -33915,9 +33938,7 @@ Create an in-memory object for HealthProbeParameters. .Description Create an in-memory object for HealthProbeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HealthProbeParameters @@ -34045,9 +34066,7 @@ Create an in-memory object for LoadBalancingSettingsParameters. .Description Create an in-memory object for LoadBalancingSettingsParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.LoadBalancingSettingsParameters @@ -34167,9 +34186,10 @@ Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profi .Description 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. .Example -{{ Add code here }} +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global .Example -{{ Add code here }} +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +New-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -SkuName Standard_AzureFrontDoor -Location Global -LogScrubbingRule $rule -LogScrubbingState Enabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -34473,9 +34493,7 @@ Create an in-memory object for ProfileChangeSkuWafMapping. .Description Create an in-memory object for ProfileChangeSkuWafMapping. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileChangeSkuWafMapping @@ -34589,9 +34607,9 @@ Create an in-memory object for ProfileLogScrubbing. .Description Create an in-memory object for ProfileLogScrubbing. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled +New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileLogScrubbing @@ -34716,9 +34734,9 @@ Create an in-memory object for ProfileScrubbingRules. .Description Create an in-memory object for ProfileScrubbingRules. .Example -{{ Add code here }} +New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled .Example -{{ Add code here }} +New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileScrubbingRules @@ -34841,9 +34859,12 @@ Create an in-memory object for ProfileUpgradeParameters. .Description Create an in-memory object for ProfileUpgradeParameters. .Example -{{ Add code here }} +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 .Example -{{ Add code here }} +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1 +$upgrade.ToString() .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileUpgradeParameters @@ -34959,9 +34980,8 @@ Create an in-memory object for AfdPurgeParameters. .Description Create an in-memory object for AfdPurgeParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$contentPath = "/a" +$content = New-AzFrontDoorCdnPurgeParametersObject -ContentPath $contentPath .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdPurgeParameters @@ -35076,9 +35096,8 @@ Create an in-memory object for ResourceReference. .Description Create an in-memory object for ResourceReference. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference @@ -35190,6 +35209,12 @@ $originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm $ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 $customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) + + .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity .Inputs @@ -35644,9 +35669,7 @@ Create an in-memory object for DeliveryRuleClientPortCondition. .Description Create an in-memory object for DeliveryRuleClientPortCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleClientPortCondition @@ -35781,9 +35804,7 @@ Create an in-memory object for DeliveryRuleCookiesCondition. .Description Create an in-memory object for DeliveryRuleCookiesCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleCookiesConditionObject -Name Cookies -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleCookiesCondition @@ -35924,9 +35945,7 @@ Create an in-memory object for DeliveryRuleHostNameCondition. .Description Create an in-memory object for DeliveryRuleHostNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleHostNameConditionObject -Name HostName -ParameterOperator Equal -ParameterMatchValue azure.com .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHostNameCondition @@ -36061,9 +36080,7 @@ Create an in-memory object for DeliveryRuleHttpVersionCondition. .Description Create an in-memory object for DeliveryRuleHttpVersionCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleHttpVersionConditionObject -Name HttpVersion -ParameterMatchValue 2.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleHttpVersionCondition @@ -36191,9 +36208,7 @@ Create an in-memory object for DeliveryRuleIsDeviceCondition. .Description Create an in-memory object for DeliveryRuleIsDeviceCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleIsDeviceConditionObject -Name IsDevice -ParameterMatchValue Mobile .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleIsDeviceCondition @@ -36322,9 +36337,7 @@ Create an in-memory object for DeliveryRulePostArgsCondition. .Description Create an in-memory object for DeliveryRulePostArgsCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRulePostArgsConditionObject -Name PostArgs -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterSelector test -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRulePostArgsCondition @@ -36465,9 +36478,7 @@ Create an in-memory object for DeliveryRuleQueryStringCondition. .Description Create an in-memory object for DeliveryRuleQueryStringCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleQueryStringConditionObject -Name QueryString -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleQueryStringCondition @@ -36602,9 +36613,7 @@ Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Description Create an in-memory object for DeliveryRuleRemoteAddressCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRemoteAddressCondition @@ -36741,9 +36750,7 @@ Create an in-memory object for DeliveryRuleRequestBodyCondition. .Description Create an in-memory object for DeliveryRuleRequestBodyCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestBodyConditionObject -Name RequestBody -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestBodyCondition @@ -36878,9 +36885,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderAction. .Description Create an in-memory object for DeliveryRuleRequestHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderAction @@ -37008,9 +37013,7 @@ Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Description Create an in-memory object for DeliveryRuleRequestHeaderCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestHeaderCondition @@ -37151,9 +37154,7 @@ Create an in-memory object for DeliveryRuleRequestMethodCondition. .Description Create an in-memory object for DeliveryRuleRequestMethodCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestMethodConditionObject -Name RequestMethod -ParameterMatchValue GET .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestMethodCondition @@ -37282,9 +37283,7 @@ Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Description Create an in-memory object for DeliveryRuleRequestSchemeCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleRequestSchemeConditionObject -Name RequestScheme -ParameterMatchValue HTTP .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestSchemeCondition @@ -37413,9 +37412,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleRequestUriConditionObject -Name RequestUri -ParameterOperator Equal -ParameterMatchValue /test .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRequestUriCondition @@ -37550,9 +37547,7 @@ Create an in-memory object for DeliveryRuleResponseHeaderAction. .Description Create an in-memory object for DeliveryRuleResponseHeaderAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleResponseHeaderAction @@ -37680,9 +37675,8 @@ Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Description Create an in-memory object for DeliveryRuleRouteConfigurationOverrideAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$originGroupId = "xxxx" +New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject -Name RouteConfigurationOverride -OriginGroupOverrideForwardingProtocol HttpOnly -OriginGroupId $originGroupId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleRouteConfigurationOverrideAction @@ -37841,9 +37835,7 @@ Create an in-memory object for DeliveryRuleServerPortCondition. .Description Create an in-memory object for DeliveryRuleServerPortCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleServerPortConditionObject -Name ServerPort -ParameterOperator Equal -ParameterMatchValue 80,81 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleServerPortCondition @@ -37978,9 +37970,7 @@ Create an in-memory object for DeliveryRuleSocketAddrCondition. .Description Create an in-memory object for DeliveryRuleSocketAddrCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleSocketAddrConditionObject -Name SocketAddr -ParameterOperator IPMatch -ParameterMatchValue 222.10.0.1 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSocketAddrCondition @@ -38115,9 +38105,7 @@ Create an in-memory object for DeliveryRuleSslProtocolCondition. .Description Create an in-memory object for DeliveryRuleSslProtocolCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleSslProtocolConditionObject -Name SslProtocol -ParameterMatchValue TLSv1.2 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleSslProtocolCondition @@ -38246,9 +38234,7 @@ Create an in-memory object for DeliveryRuleRequestUriCondition. .Description Create an in-memory object for DeliveryRuleRequestUriCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject -Name UrlFileExtension -ParameterOperator Equal -ParameterMatchValue txt -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileExtensionCondition @@ -38383,9 +38369,7 @@ Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Description Create an in-memory object for DeliveryRuleUrlFileNameCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlFileNameConditionObject -Name UrlFileName -ParameterOperator Equal -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlFileNameCondition @@ -38520,9 +38504,7 @@ Create an in-memory object for DeliveryRuleUrlPathCondition. .Description Create an in-memory object for DeliveryRuleUrlPathCondition. .Example -{{ Add code here }} -.Example -{{ Add code here }} + New-AzFrontDoorCdnRuleUrlPathConditionObject -Name UrlPath -ParameterOperator Equal -ParameterMatchValue /a .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeliveryRuleUrlPathCondition @@ -38657,9 +38639,7 @@ Create an in-memory object for UrlRedirectAction. .Description Create an in-memory object for UrlRedirectAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlRedirectActionObject -Name UrlRedirect -ParameterRedirectType Moved -ParameterDestinationProtocol MatchRequest .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRedirectAction @@ -38815,9 +38795,7 @@ Create an in-memory object for UrlRewriteAction. .Description Create an in-memory object for UrlRewriteAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlRewriteActionObject -Name UrlRewrite -ParameterDestination /b -ParameterSourcePattern /a -ParameterPreserveUnmatchedPath $False .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlRewriteAction @@ -38946,9 +38924,7 @@ Create an in-memory object for UrlSigningAction. .Description Create an in-memory object for UrlSigningAction. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnRuleUrlSigningActionObject -Name rule01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningAction @@ -39079,9 +39055,8 @@ Create an in-memory object for CustomerCertificateParameters. .Description Create an in-memory object for CustomerCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomerCertificateParameters @@ -39213,9 +39188,7 @@ Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Description Create an in-memory object for AzureFirstPartyManagedCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject -Type BYOC .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AzureFirstPartyManagedCertificateParameters @@ -39329,9 +39302,7 @@ Create an in-memory object for ManagedCertificateParameters. .Description Create an in-memory object for ManagedCertificateParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretManagedCertificateParametersObject -Type ManagedCert .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedCertificateParameters @@ -39439,9 +39410,7 @@ Create an in-memory object for UrlSigningKeyParameters. .Description Create an in-memory object for UrlSigningKeyParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject -KeyId keyId01 -Type Byoc -SecretVersion v1.0 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.UrlSigningKeyParameters @@ -39568,9 +39537,8 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallAssociation @@ -39700,9 +39668,10 @@ Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Description Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association $association ` + -WafPolicyId $wafPolicyId .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyWebApplicationFirewallParameters @@ -39835,9 +39804,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu Deletes an existing CDN profile with the specified profile name under the specified subscription. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. .Example -{{ Add code here }} +Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -40097,9 +40066,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Remove-AzFrontDoorCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -40361,9 +40330,30 @@ The change need to be committed after this. Migrate the classic AFD instance to Azure Front Door(Standard/Premium) profile. The change need to be committed after this. .Example -{{ Add code here }} +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor .Example -{{ Add code here }} +$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping +.Example +$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping +.Example +$wafMapping1 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01test + +$wafMapping2 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02test + +# enable Managed Identity via SystemAssigned and UserAssigned +$identityType = "SystemAssigned, UserAssigned" + +# UserIdentity information +$userInfo = @{ + "/subscriptions/testSubId/resourceGroups/rgName01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" = @{} + "/subscriptions/testSubId/resourceGroups/rgName02/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity02" = @{} +} + +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Premium_AzureFrontDoor -MigrationWebApplicationFirewallMapping @($wafMapping1, $wafMapping2) -IdentityType $identityType -IdentityUserAssignedIdentity $userInfo +.Example +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResult @@ -40604,11 +40594,9 @@ Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted. .Example -{{ Add code here }} -{{ Add output here }} +Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} -{{ Add output here }} +Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean @@ -40800,11 +40788,9 @@ Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Pre .Description Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile. .Example -{{ Add code here }} -{{ Add output here }} +Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName .Example -{{ Add code here }} -{{ Add output here }} +Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResult @@ -40996,9 +40982,17 @@ Updates an existing CDN profile with the specified profile name under the specif .Description Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -41264,9 +41258,34 @@ Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description 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. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -Tag $tags .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Update-AzFrontDoorCdnProfile -Tag $tags +.Example +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType SystemAssigned +.Example +$userId = @{"/subscriptions/subId/resourceGroups/testps-rg-da16jm/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcdnrpaadidentity" = @{}} +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType UserAssigned -IdentityUserAssignedIdentity $userId +.Example +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Enabled +.Example +$rule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +$rule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable QueryStringArgNames -State Enabled +$rules = New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($rule1, $rule2) -State Enabled + +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rules.ScrubbingRule -LogScrubbingState Enabled +.Example +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Disabled +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Disabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -41596,9 +41615,24 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -{{ Add code here }} +$nullUpgradePara = @{} +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara .Example -{{ Add code here }} +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 +$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 index 865fc4c8b2f8..e60fd6acd874 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 @@ -20,9 +20,9 @@ Deletes an existing custom domain within an endpoint. .Description Deletes an existing custom domain within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 .Example -{{ Add code here }} +Get-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 | Remove-AzCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 index f1465c33834d..d4c77a06cc52 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 @@ -20,9 +20,7 @@ Delete EdgeAction resource .Description Delete EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 index 0178ba7bfe13..bb37a110afcc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 @@ -20,9 +20,7 @@ A long-running operation for deleting an EdgeAction attachment that returns no c .Description A long-running operation for deleting an EdgeAction attachment that returns no content. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionAttachment -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -AttachedResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testps-rg-da16jm/providers/Microsoft.Cdn/profiles/fdp001/ruleSets/ruleset001/rules/rule001" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 index 4025631cd77d..e8d03e17adc9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,9 +20,7 @@ Delete EdgeActionExecutionFilter resource .Description Delete EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 index 5e2e2d66d14d..35e22b47aa30 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 @@ -20,9 +20,7 @@ Delete EdgeActionVersion resource .Description Delete EdgeActionVersion resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Remove-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 index 47f371ab9515..337e61b10b82 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Deletes an existing CDN endpoint with the specified endpoint name under the spec .Description Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Remove-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 index 759105b32edc..94d812f25f7d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin within an endpoint. .Description Deletes an existing origin within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Remove-AzCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 index 8932b5b6942e..003add57635c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin group within an endpoint. .Description Deletes an existing origin group within an endpoint. .Example -{{ Add code here }} +Remove-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 .Example -{{ Add code here }} +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001| Remove-AzCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 index cbbb106f4c04..e8b26182e81a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu Deletes an existing CDN profile with the specified profile name under the specified subscription. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. .Example -{{ Add code here }} +Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 index 3f7755f59133..8d64e9828831 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor domain with the specified domain name under t .Description Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Remove-AzFrontDoorCdnCustomDomain .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 index b0411fc6e39d..e9ce689790dc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor endpoint with the specified endpoint name und .Description Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Remove-AzFrontDoorCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 index 4b0b9796d459..dfdb338b46b5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin within an origin group. .Description Deletes an existing origin within an origin group. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Remove-AzFrontDoorCdnOrigin .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 index 33dc4917f486..1368df6caaeb 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,9 @@ Deletes an existing origin group within a profile. .Description Deletes an existing origin group within a profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Remove-AzFrontDoorCdnOriginGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 index 30d9645f73a4..54d81d6eb6db 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Remove-AzFrontDoorCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 index 9256d7ed3705..26d9f908f0b4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 @@ -20,9 +20,9 @@ Deletes an existing route with the specified route name under the specified subs .Description Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Remove-AzFrontDoorCdnRoute .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 index e3fb0c7bdfa7..d369d252e328 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,9 @@ Deletes an existing delivery rule within a rule set. .Description Deletes an existing delivery rule within a rule set. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Remove-AzFrontDoorCdnRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 index 36ad6cc4554a..e8959830d475 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 @@ -20,9 +20,9 @@ Deletes an existing AzureFrontDoor rule set with the specified rule set name und .Description Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Remove-AzFrontDoorCdnRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 index e44720554c33..3f11c3c62afd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Deletes an existing Secret within profile. .Description Deletes an existing Secret within profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 | Remove-AzFrontDoorCdnSecret .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 index c79f7ef01e13..e6a0f5367ea4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,9 +20,10 @@ Deletes an existing security policy within profile. .Description Deletes an existing security policy within profile. .Example -{{ Add code here }} +Remove-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 .Example -{{ Add code here }} + +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Remove-AzFrontDoorCdnSecurityPolicy .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 index 5dcd56494447..8f5c69d23f0a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Starts an existing CDN endpoint that is on a stopped state. .Description Starts an existing CDN endpoint that is on a stopped state. .Example -{{ Add code here }} +Start-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Start-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index b595e1bddc62..0301ba2b2370 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -24,9 +24,30 @@ The change need to be committed after this. Migrate the classic AFD instance to Azure Front Door(Standard/Premium) profile. The change need to be committed after this. .Example -{{ Add code here }} +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor .Example -{{ Add code here }} +$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping +.Example +$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -MigrationWebApplicationFirewallMapping $wafMapping +.Example +$wafMapping1 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01test + +$wafMapping2 = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02 -MigratedToId /subscriptions/testSubId/resourcegroups/rgName02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf02test + +# enable Managed Identity via SystemAssigned and UserAssigned +$identityType = "SystemAssigned, UserAssigned" + +# UserIdentity information +$userInfo = @{ + "/subscriptions/testSubId/resourceGroups/rgName01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" = @{} + "/subscriptions/testSubId/resourceGroups/rgName02/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity02" = @{} +} + +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Premium_AzureFrontDoor -MigrationWebApplicationFirewallMapping @($wafMapping1, $wafMapping2) -IdentityType $identityType -IdentityUserAssignedIdentity $userInfo +.Example +Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 index 15d29764a9ae..c819cea6248c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 @@ -20,9 +20,9 @@ Stops an existing running CDN endpoint. .Description Stops an existing running CDN endpoint. .Example -{{ Add code here }} +Stop-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Stop-AzCdnEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 index def01753a743..11e1c26c38cc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzFrontDoorCdnProfileMigration.ps1 @@ -24,11 +24,9 @@ Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted. .Example -{{ Add code here }} -{{ Add output here }} +Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName .Example -{{ Add code here }} -{{ Add output here }} +Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01 .Outputs System.Boolean diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 index 5adaba3f7d26..376e4d633edf 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnEndpointCustomDomain.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct CDN endpoin .Description Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. .Example -{{ Add code here }} +Test-AzCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -HostName 'testcm.dev.cdn.azure.cn' .Example -{{ Add code here }} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Test-AzCdnEndpointCustomDomain -HostName 'testcm.dev.cdn.azure.cn' .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 index 1ec77affeb45..f9ac77c6b5b8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnNameAvailability.ps1 @@ -22,9 +22,7 @@ This is needed for resources where name is globally unique, such as a CDN endpoi Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckNameAvailabilityOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 index 5d9967cc133e..0e23f549d7a5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProbe.ps1 @@ -24,9 +24,7 @@ Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnProbe -ProbeUrl "https://azurecdn-files.azureedge.net/dsa-test/probe-v.txt" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IValidateProbeOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 index a5abb8a8ff8f..484003679651 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzCdnProfileMigrationCompatibility.ps1 @@ -20,9 +20,7 @@ Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profi .Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzCdnProfileMigrationCompatibility -ProfileName cli-test-profile -ResourceGroupName cli-test-rg .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 index bb5cc024100d..b4dc8ab9df98 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointCustomDomain.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -{{ Add code here }} +Test-AzFrontDoorCdnEndpointCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -HostName "pstest001.dev.cdn.azure.cn" .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 | Test-AzFrontDoorCdnEndpointCustomDomain -HostName "pstest001.dev.cdn.azure.cn" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 index 7a536fd81c7e..d0d895526fe6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnEndpointNameAvailability.ps1 @@ -22,9 +22,7 @@ This is needed for resources where name is globally unique, such as a afdx endpo Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +Test-AzFrontDoorCdnEndpointNameAvailability -ResourceGroupName testps-rg-da16jm -Type "Microsoft.Cdn/Profiles/AfdEndpoints" -Name end001 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICheckEndpointNameAvailabilityOutput diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 index 6ed5e380de99..5f3a38b4eb39 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileHostNameAvailability.ps1 @@ -20,9 +20,9 @@ Validates the custom domain mapping to ensure it maps to the correct Azure Front .Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS. .Example -{{ Add code here }} +Test-AzFrontDoorCdnProfileHostNameAvailability -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -HostName hello1.dev.cdn.azure.cn .Example -{{ Add code here }} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Test-AzFrontDoorCdnProfileHostNameAvailability -HostName hello1.dev.cdn.azure.cn .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 index 4b7adab87308..e1fc61b5eb10 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 @@ -20,11 +20,9 @@ Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Pre .Description Check if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile. .Example -{{ Add code here }} -{{ Add output here }} +Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName .Example -{{ Add code here }} -{{ Add output here }} +Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01 .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResult diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 index a5c6f0ca2395..18f332d3b4c3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 @@ -20,9 +20,7 @@ Update EdgeAction resource .Description Update EdgeAction resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeAction -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Tag @{Environment="Staging"} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeAction diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 index df6c31a1b137..a64cd24bd56a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 @@ -20,9 +20,7 @@ Update EdgeActionExecutionFilter resource .Description Update EdgeActionExecutionFilter resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeActionExecutionFilter -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -ExecutionFilter filter001 -ExecutionFilterIdentifierHeaderName "X-Updated-Filter" -ExecutionFilterIdentifierHeaderValue "UpdatedValue" .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionExecutionFilter diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 index c916fa4d0e49..b33d20bf8a2e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 @@ -20,9 +20,7 @@ Update EdgeActionVersion resource .Description Update EdgeActionVersion resource .Example -{{ Add code here }} -.Example -{{ Add code here }} +Update-AzCdnEdgeActionVersion -ResourceGroupName testps-rg-da16jm -EdgeActionName edgeaction001 -Version v1 -DeploymentType zip -IsDefaultVersion False .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeActionVersion diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 index 955b719e3af4..bc967b0cdf6b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 @@ -28,9 +28,19 @@ To update origins, use the update Origin operation. To update origin groups, use the update Origin group operation. To update custom domains, use the update Custom Domain operation. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 -Tag $tags -DefaultOriginGroupId $originGroup.Id +.Example +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -Name endptest001 | Update-AzCdnEndpoint -Tag $tags -DefaultOriginGroupId $originGroup.Id .Example -{{ Add code here }} +Update-AzCdnEndpoint -Name cdntestcert -ProfileName classicCDNtest -ResourceGroupName yaoshitest -IsCompressionEnabled:$true .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 index ba77d584f320..ac6c85997cd4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 @@ -20,9 +20,11 @@ Update an existing origin within an endpoint. .Description Update an existing origin within an endpoint. .Example -{{ Add code here }} +Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 .Example -{{ Add code here }} +Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 | Update-AzCdnOrigin -HttpPort 456 -HttpsPort 789 +.Example +Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 index e683af635cd1..c06f0da86866 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 @@ -20,9 +20,11 @@ Update an existing origin group within an endpoint. .Description Update an existing origin group within an endpoint. .Example -{{ Add code here }} +$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters .Example -{{ Add code here }} +$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD" +Get-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 | Update-AzCdnOriginGroup -HealthProbeSetting $updateHealthProbeParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 index 7f91f52ccbfc..2be4a1a634be 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 @@ -20,9 +20,17 @@ Updates an existing CDN profile with the specified profile name under the specif .Description Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 index 519f182b64cc..501a72c34888 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 @@ -20,9 +20,15 @@ Update an existing domain within a profile. .Description Update an existing domain within a profile. .Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure +Update-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 -TlsSetting $updateSetting .Example -{{ Add code here }} +$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 +$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id +$updateTlsSetting = New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS10" -Secret $secretResoure +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomain -TlsSetting $updateSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 index b85c3aeeb900..27739ab20197 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 @@ -20,9 +20,9 @@ Refresh the domain validation token. .Description Refresh the domain validation token. .Example -{{ Add code here }} +Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 .Example -{{ Add code here }} +Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 | Update-AzFrontDoorCdnCustomDomainValidationToken .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 index d08e385fa132..75df20a5f713 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 @@ -28,9 +28,9 @@ To 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. .Example -{{ Add code here }} +Update-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -EnabledState Disabled .Example -{{ Add code here }} +Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end011 | Update-AzFrontDoorCdnEndpoint -EnabledState Disabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 index 72299e780064..0f9a09ba80be 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 @@ -20,9 +20,11 @@ Update an existing origin within an origin group. .Description Update an existing origin within an origin group. .Example -{{ Add code here }} +Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999 .Example -{{ Add code here }} +Get-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 | Update-AzFrontDoorCdnOrigin -Weight 999 +.Example +Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -EnforceCertificateNameCheck:$false .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 index 8e76d8b6757d..9c3a428e55ba 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 @@ -20,9 +20,11 @@ Update an existing origin group within a profile. .Description Update an existing origin group within a profile. .Example -{{ Add code here }} +$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 +Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting .Example -{{ Add code here }} +$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3 +Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 | Update-AzFrontDoorCdnOriginGroup -LoadBalancingSetting $updateLoadBalancingSetting .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 index 6f141cdf8fc2..9fa75d4b137a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 @@ -20,9 +20,34 @@ Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description 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. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -Tag $tags +.Example +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 | Update-AzFrontDoorCdnProfile -Tag $tags +.Example +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType SystemAssigned +.Example +$userId = @{"/subscriptions/subId/resourceGroups/testps-rg-da16jm/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcdnrpaadidentity" = @{}} +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -IdentityType UserAssigned -IdentityUserAssignedIdentity $userId +.Example +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Enabled +.Example +$rule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled +$rule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable QueryStringArgNames -State Enabled +$rules = New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($rule1, $rule2) -State Enabled + +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rules.ScrubbingRule -LogScrubbingState Enabled .Example -{{ Add code here }} +$rule = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Disabled +Update-AzFrontDoorCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-v542q6 -LogScrubbingRule $rule -LogScrubbingState Disabled .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 index bc6a3f81fd0b..07cc8300ec6c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 @@ -20,9 +20,24 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -{{ Add code here }} +$nullUpgradePara = @{} +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara .Example -{{ Add code here }} +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 +$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpgradeParameters diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 index c500a07efecc..903720b160fc 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 @@ -20,9 +20,11 @@ Update an existing route with the specified route name under the specified subsc .Description Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} +Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled" .Example -{{ Add code here }} +Get-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 | Update-AzFrontDoorCdnRoute -EnabledState "Enabled" +.Example +Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -CompressionSettingIsCompressionEnabled:true .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 index 19531a432e6b..7f32e7f14707 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 @@ -20,9 +20,9 @@ Update an existing delivery rule within a rule set. .Description Update an existing delivery rule within a rule set. .Example -{{ Add code here }} +Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99 .Example -{{ Add code here }} +Get-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 | Update-AzFrontDoorCdnRule -Order 99 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 index 20acec2adea5..dd43eb62994c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 @@ -20,9 +20,19 @@ Update or update a batch rule set within the specified profile along with the ru .Description Update or update a batch rule set within the specified profile along with the rules associate to it. .Example -{{ Add code here }} +$rule = @{ + RuleName = "rule1" + Order = 1 + MatchProcessingBehavior = "Continue" +} +Update-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Rule $rule .Example -{{ Add code here }} +$rule = @{ + RuleName = "rule1" + Order = 1 + MatchProcessingBehavior = "Continue" +} +Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 | Update-AzFrontDoorCdnRuleSet -Rule $rule .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 index 4b4bf4f751b6..b2ae4081a079 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 @@ -20,9 +20,9 @@ Update a new Secret within the specified profile. .Description Update a new Secret within the specified profile. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$secretSourceId = "xxxxxxxx" +$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId +Update-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 index a4bc57cf1773..ad29608d3fe2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 @@ -20,9 +20,24 @@ Patch an existing security policy within a profile. .Description Patch an existing security policy within a profile. .Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId +Update-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 -Parameter $updateWafParameter .Example -{{ Add code here }} +$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 +$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002 +$updateAssociation = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)}) +$updateAssociation2 = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint2.Id)}) + +$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01" +$updateWafParameter = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject -Association @($updateAssociation, $updateAssociation2) -WafPolicyId $wafPolicyId + +Get-AzFrontDoorCdnSecurityPolicy -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name policy001 | Update-AzFrontDoorCdnSecurityPolicy -Parameter $updateWafParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 index b2e67685ef1e..4c5686ae151b 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Get-AzCdnProfile.ps1 @@ -20,9 +20,13 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -{{ Add code here }} +Get-AzCdnProfile .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm +.Example +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +.Example +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 index c9895213f8df..a55172415538 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 @@ -20,9 +20,7 @@ Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profil .Description Create 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. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 index 0e1deb745bde..844551835341 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 @@ -20,9 +20,15 @@ Create a new route with the specified route name under the specified subscriptio .Description Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 + +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) + .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 index 938e3d1ce826..53f917354a95 100644 --- a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -1594,9 +1594,13 @@ Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile wit .Description 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. .Example -{{ Add code here }} +Get-AzCdnProfile .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm +.Example +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 +.Example +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -3271,9 +3275,7 @@ Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profil .Description Create 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. .Example -{{ Add code here }} -.Example -{{ Add code here }} +New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global .Outputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile @@ -3536,9 +3538,15 @@ Create a new route with the specified route name under the specified subscriptio .Description Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. .Example -{{ Add code here }} -.Example -{{ Add code here }} +$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 +$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 +$customdomain = Get-AzFrontDoorCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001 + +$ruleSetResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $ruleSet.Id +$customdomainResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $customdomain.Id + +New-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -OriginGroupId $originGroup.Id -RuleSet @($ruleSetResoure) -PatternsToMatch "/*" -LinkToDefaultDomain "Enabled" -EnabledState "Enabled" -CustomDomain @($customdomainResoure) + .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -4197,9 +4205,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -{{ Add code here }} +Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5101,9 +5109,17 @@ Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description Update 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. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity @@ -5394,9 +5410,24 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -{{ Add code here }} +$nullUpgradePara = @{} +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara .Example -{{ Add code here }} +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 +$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 index 4299027d0ec4..a6952cb9cda8 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 @@ -22,9 +22,9 @@ Deleting a profile will result in the deletion of all of the sub-resources inclu 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. .Example -{{ Add code here }} +Remove-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn-001 .Example -{{ Add code here }} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name fdp-cdn001 | Remove-AzCdnProfile .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 index ebc094ad7f2f..8473ccb9b270 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 @@ -20,9 +20,17 @@ Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN .Description Update 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. .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags .Example -{{ Add code here }} +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 index 2cb8b71c415e..517e5dc0a2a4 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 @@ -20,9 +20,24 @@ Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor. .Example -{{ Add code here }} +$nullUpgradePara = @{} +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $nullUpgradePara .Example -{{ Add code here }} +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/newWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1 +$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2 +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList @($waf1, $waf2) + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade +.Example +$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName +$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf + +Update-AzFrontDoorCdnProfileSku -ProfileName profileName -ResourceGroupName rgName -ProfileUpgradeParameter $upgrade -SubscriptionId testSubId01 .Inputs Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity From d1e51508b67a733f12550bd7f996b52a67618444 Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 13:44:51 +1000 Subject: [PATCH 04/13] Restore Az.Cdn assembly version regressed by regeneration The bare autorest run in the earlier regeneration (68ff900deb) reset src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs's AssemblyVersion/ AssemblyFileVersion from the real released 6.0.2 to AutoRest's default placeholder 0.1.0.0. The generated/ copy (the one actually compiled into the shipped Az.Cdn.private.dll) was unaffected and still correctly says 6.0.2; this only restores the stray src/ copy so it doesn't poison a future regeneration cycle. --- src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs index aa75f44ba3ad..5b4d56877efd 100644 --- a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs +++ b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Cdn")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("6.0.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("6.0.2")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] \ No newline at end of file From 94c61a16a3a6c9afb1d7b06ff71d1de3bb123eda Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 13:48:39 +1000 Subject: [PATCH 05/13] Revert local-machine path leaked into a generated code comment The regeneration used the local autorest.powershell generator (via a directory junction into the AutoRest extension cache) instead of the officially published @autorest/powershell@4.0.754 npm package that CI uses. The generator embeds its own source file path into a diagnostic comment (a limitation note about deserializeFromResponse and headers), so this comment picked up my local dev machine's absolute path instead of the original CI path. Purely cosmetic/non-functional; reverted to keep the diff free of unrelated, machine-specific noise. --- generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs index 138decdf73d9..079a5e975ab1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs +++ b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs @@ -47853,7 +47853,7 @@ public partial class Cdn case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\workplace\azure-ps-workspace\autorest.powershell\powershell\dist\llcsharp\schema\object.js*/); + await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\Users\cloudtest\.autorest\@autorest_powershell@4.0.754\node_modules\@autorest\powershell\dist\llcsharp\schema\object.js*/); break; } default: From d00a963bae1c93215d2b68c63480d5ea4753a350 Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 14:25:56 +1000 Subject: [PATCH 06/13] Add live test scenario for a purely-generated (non-custom-fronted) cmdlet New-AzFrontDoorCdnRuleSet has no custom/*.ps1 front, so its dynamicparam forwarding was already working before this PR's fix (only the custom-fronted profile cmdlets were broken). Adding this scenario alongside the existing custom-fronted ones gives explicit regression coverage for both code paths going forward. Live-validated: created a real Front Door rule set end-to-end with -AcquirePolicyToken in the BAMI tenant. --- .../LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 b/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 index ea18a93ff82b..84f3ee0a4b49 100644 --- a/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 +++ b/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 @@ -32,3 +32,16 @@ Invoke-LiveTestScenario -Name "Create FrontDoorCdnEndpoint with Change Safety" - $actual = New-AzFrontDoorCdnEndpoint -ResourceGroupName $rgName -ProfileName $profileName -EndpointName $endpointName -Location Global -EnabledState Enabled -AcquirePolicyToken -Confirm:$false Assert-AreEqual $endpointName $actual.Name } + +Invoke-LiveTestScenario -Name "Create FrontDoorCdnRuleSet with Change Safety" -Description "Test New-AzFrontDoorCdnRuleSet -AcquirePolicyToken (fully generated, non-custom-fronted cmdlet)" -ScenarioScript ` +{ + param ($rg) + + $rgName = $rg.ResourceGroupName + $profileName = New-LiveTestResourceName + $ruleSetName = New-LiveTestResourceName + + New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -Confirm:$false | Out-Null + $actual = New-AzFrontDoorCdnRuleSet -ResourceGroupName $rgName -ProfileName $profileName -Name $ruleSetName -AcquirePolicyToken -Confirm:$false + Assert-AreEqual $ruleSetName $actual.Name +} From 4be82dcd157856e2392f5c19903666474849d4af Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 15:36:24 +1000 Subject: [PATCH 07/13] Restore trailing newline in AssemblyInfo.cs --- src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs index 5b4d56877efd..4f6748f0eac8 100644 --- a/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs +++ b/src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs @@ -23,4 +23,4 @@ [assembly: System.Reflection.AssemblyFileVersionAttribute("6.0.2")] [assembly: System.Reflection.AssemblyVersionAttribute("6.0.2")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -[assembly: System.CLSCompliantAttribute(false)] \ No newline at end of file +[assembly: System.CLSCompliantAttribute(false)] From 63e7baaa7889ad79118ec4683df9e547cc1e452c Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 15:49:32 +1000 Subject: [PATCH 08/13] Correct ChangeLog.md scope: change safety opt-in applies to all write cmdlets, not just profile cmdlets --- src/Cdn/Cdn/ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cdn/Cdn/ChangeLog.md b/src/Cdn/Cdn/ChangeLog.md index a08a56e4aeaf..a96246b9cfdb 100644 --- a/src/Cdn/Cdn/ChangeLog.md +++ b/src/Cdn/Cdn/ChangeLog.md @@ -19,7 +19,7 @@ --> ## Upcoming Release -* Opted in to Change Safety: `New/Remove/Update-AzCdnProfile` and `New/Remove/Update-AzFrontDoorCdnProfile` now support `-AcquirePolicyToken` and `-ChangeReference`. +* Opted in to Change Safety: all write cmdlets in `Az.Cdn` (CDN and Azure Front Door profiles, endpoints, origins, origin groups, custom domains, routes, rules, rule sets, secrets, security policies, and edge actions) now support `-AcquirePolicyToken` and `-ChangeReference` to automatically acquire and attach an Azure Policy evaluation token to the request. ## Version 6.1.0 * Upgraded API version to 2026-04-01-preview. From 4bc10e1afefc393697762ccf4bb14ab50a6f7471 Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 16:11:10 +1000 Subject: [PATCH 09/13] Align Cdn ChangeLog wording with established ChangeSafety convention (matches Aks/ContainerRegistry/EventHub/ServiceBus) --- src/Cdn/Cdn/ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cdn/Cdn/ChangeLog.md b/src/Cdn/Cdn/ChangeLog.md index a96246b9cfdb..6231222fa3d3 100644 --- a/src/Cdn/Cdn/ChangeLog.md +++ b/src/Cdn/Cdn/ChangeLog.md @@ -19,7 +19,7 @@ --> ## Upcoming Release -* Opted in to Change Safety: all write cmdlets in `Az.Cdn` (CDN and Azure Front Door profiles, endpoints, origins, origin groups, custom domains, routes, rules, rule sets, secrets, security policies, and edge actions) now support `-AcquirePolicyToken` and `-ChangeReference` to automatically acquire and attach an Azure Policy evaluation token to the request. +* Added ChangeSafety Support ## Version 6.1.0 * Upgraded API version to 2026-04-01-preview. From 6bac0a567b5b6041864e5e749b1cebe9192d4e44 Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 13 Aug 2026 16:39:58 +1000 Subject: [PATCH 10/13] Fix Change Safety dynamicparam forwarding for 7 more custom-fronted Cdn migration/route/sku cmdlets --- .../Enable-AzFrontDoorCdnProfileMigration.ps1 | 25 +++ ...nvoke-AzCdnCommitProfileToAFDMigration.ps1 | 25 +++ .../exports/Move-AzCdnProfileToAFD.ps1 | 30 +++ .../exports/New-AzFrontDoorCdnRoute.ps1 | 31 +++ .../exports/ProxyCmdletDefinitions.ps1 | 187 ++++++++++++++++++ ...-AzFrontDoorCdnProfilePrepareMigration.ps1 | 26 +++ .../Test-AzFrontDoorCdnProfileMigration.ps1 | 25 +++ .../Update-AzFrontDoorCdnProfileSku.ps1 | 25 +++ .../Enable-AzFrontDoorCdnProfileMigration.ps1 | 15 ++ ...nvoke-AzCdnCommitProfileToAFDMigration.ps1 | 15 ++ .../custom/Move-AzCdnProfileToAFD.ps1 | 15 ++ .../custom/New-AzFrontDoorCdnRoute.ps1 | 15 ++ ...-AzFrontDoorCdnProfilePrepareMigration.ps1 | 15 ++ .../Test-AzFrontDoorCdnProfileMigration.ps1 | 15 ++ .../Update-AzFrontDoorCdnProfileSku.ps1 | 15 ++ 15 files changed, 479 insertions(+) diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 index 5ca5a7059d10..32efea90defa 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 @@ -118,6 +118,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Enable-AzFrontDoorCdnProfileMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 index e927bf790251..c3f620fcbca8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 @@ -118,6 +118,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Invoke-AzCdnCommitProfileToAFDMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 index 9f67143b0547..3050391bc020 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 @@ -217,6 +217,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + MigrateExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaJsonString = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaJsonFilePath = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + Migrate = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaIdentityExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaIdentity = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 index f05fcfd49898..7181778a1959 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 @@ -376,6 +376,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityProfile = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityAfdEndpoint = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 index dafdeab51e6f..3d8cae3881e9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -28178,6 +28178,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Enable-AzFrontDoorCdnProfileMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -28828,6 +28853,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Invoke-AzCdnCommitProfileToAFDMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -29127,6 +29177,36 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + MigrateExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaJsonString = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaJsonFilePath = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + Migrate = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaIdentityExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + MigrateViaIdentity = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -35561,6 +35641,37 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityProfileExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityProfile = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + CreateViaIdentityAfdEndpoint = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -40487,6 +40598,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + MigrateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; + CreateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -40880,6 +41017,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null @@ -41740,6 +41902,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfileSku'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index 0301ba2b2370..29add4445232 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -181,6 +181,32 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + MigrateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; + CreateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 index e1fc61b5eb10..610c66d00d22 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 @@ -112,6 +112,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 index 07cc8300ec6c..9b0877959698 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 @@ -145,6 +145,31 @@ param( ${ProxyUseDefaultCredentials} ) +dynamicparam { + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + __AllParameterSets = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfileSku'; + } + if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } + try { + $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) + $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) + if ($dynamicParams.Length -gt 0) { + $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + foreach ($param in $dynamicParams) { + $param = $param.Value + if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { + $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) + $paramDictionary.Add($param.Name, $dynParam) + } + } + return $paramDictionary + } + } catch { + throw + } +} + begin { try { $outBuffer = $null diff --git a/src/Cdn/Cdn.Autorest/custom/Enable-AzFrontDoorCdnProfileMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Enable-AzFrontDoorCdnProfileMigration.ps1 index 129fdec5cd69..50a388b749fd 100644 --- a/src/Cdn/Cdn.Autorest/custom/Enable-AzFrontDoorCdnProfileMigration.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Enable-AzFrontDoorCdnProfileMigration.ps1 @@ -118,6 +118,21 @@ function Enable-AzFrontDoorCdnProfileMigration { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { Write-Host("Start to migrate.") diff --git a/src/Cdn/Cdn.Autorest/custom/Invoke-AzCdnCommitProfileToAFDMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Invoke-AzCdnCommitProfileToAFDMigration.ps1 index 645195e8f81a..6ff7e32ba334 100644 --- a/src/Cdn/Cdn.Autorest/custom/Invoke-AzCdnCommitProfileToAFDMigration.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Invoke-AzCdnCommitProfileToAFDMigration.ps1 @@ -113,6 +113,21 @@ function Invoke-AzCdnCommitProfileToAFDMigration { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { Write-Host("Start to migrate.") diff --git a/src/Cdn/Cdn.Autorest/custom/Move-AzCdnProfileToAFD.ps1 b/src/Cdn/Cdn.Autorest/custom/Move-AzCdnProfileToAFD.ps1 index 2c2cf43f9db8..76d5ac30a5d8 100644 --- a/src/Cdn/Cdn.Autorest/custom/Move-AzCdnProfileToAFD.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Move-AzCdnProfileToAFD.ps1 @@ -205,6 +205,21 @@ function Move-AzCdnProfileToAFD { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { ValidateIdentityType Write-Host("Start the initial progress of migration of CDN profile to Azure Front Door.") diff --git a/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnRoute.ps1 b/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnRoute.ps1 index a77a06d6c984..56d8a5098603 100644 --- a/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnRoute.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/New-AzFrontDoorCdnRoute.ps1 @@ -368,6 +368,21 @@ function New-AzFrontDoorCdnRoute { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { if (${CompressionSettingIsCompressionEnabled}.IsPresent) { diff --git a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index 36915fa91ae9..96c317ad7d69 100644 --- a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -166,6 +166,21 @@ function Start-AzFrontDoorCdnProfilePrepareMigration { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Move-AzCdnProfile_MigrateExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { if (!(Get-Module -ListAvailable -Name Az.FrontDoor)) { diff --git a/src/Cdn/Cdn.Autorest/custom/Test-AzFrontDoorCdnProfileMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Test-AzFrontDoorCdnProfileMigration.ps1 index 3a4791abeb41..4f2801efbdea 100644 --- a/src/Cdn/Cdn.Autorest/custom/Test-AzFrontDoorCdnProfileMigration.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Test-AzFrontDoorCdnProfileMigration.ps1 @@ -112,6 +112,21 @@ function Test-AzFrontDoorCdnProfileMigration { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanExpanded' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { Write-Host("This could take a few seconds to a few mins depending on the complexity of your resource.") diff --git a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1 b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1 index 1e5889aeae4d..1744da22db9a 100644 --- a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1 @@ -138,6 +138,21 @@ function Update-AzFrontDoorCdnProfileSku { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) + dynamicparam { + # Change Safety: forward the wrapped generated cmdlet's dynamic parameters (-AcquirePolicyToken / -ChangeReference). + # Self-gates on enable-change-safety: the private cmdlet implements IDynamicParameters only when the module opted in. + $dynamicParameters = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() + $wrapped = Get-Command -Name 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_Upgrade' -ErrorAction Ignore + if ($wrapped -and [System.Management.Automation.IDynamicParameters].IsAssignableFrom($wrapped.ImplementingType)) { + $instance = [System.Activator]::CreateInstance($wrapped.ImplementingType) + foreach ($entry in $instance.GetDynamicParameters().GetEnumerator()) { + if (-not $dynamicParameters.ContainsKey($entry.Key)) { + $dynamicParameters.Add($entry.Key, $entry.Value) + } + } + } + return $dynamicParameters + } process { if (!(Get-Module -ListAvailable -Name Az.FrontDoor)) { From 4d09951c3758191cac4b6bed4e527b53bb9df2c9 Mon Sep 17 00:00:00 2001 From: Yang An Date: Fri, 14 Aug 2026 09:51:07 +1000 Subject: [PATCH 11/13] Remove generated/ content from PR per contribution guidelines (CI archive-bot regenerates separately) --- generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 | 2 - .../exports/Add-AzCdnEdgeActionAttachment.ps1 | 30 - .../exports/Clear-AzCdnEndpointContent.ps1 | 32 - .../Clear-AzFrontDoorCdnEndpointContent.ps1 | 32 - .../Deploy-AzCdnEdgeActionVersionCode.ps1 | 32 - .../Disable-AzCdnCustomDomainCustomHttps.ps1 | 28 - .../Enable-AzCdnCustomDomainCustomHttps.ps1 | 32 - .../Enable-AzFrontDoorCdnProfileMigration.ps1 | 25 - .../exports/Import-AzCdnEndpointContent.ps1 | 32 - ...Invoke-AzCdnAbortProfileToAFDMigration.ps1 | 26 - ...nvoke-AzCdnCommitProfileToAFDMigration.ps1 | 25 - .../exports/Move-AzCdnProfileToAFD.ps1 | 30 - .../exports/New-AzCdnCustomDomain.ps1 | 31 - .../exports/New-AzCdnEdgeAction.ps1 | 27 - .../New-AzCdnEdgeActionExecutionFilter.ps1 | 27 - .../exports/New-AzCdnEdgeActionVersion.ps1 | 27 - .../exports/New-AzCdnEndpoint.ps1 | 29 - .../Cdn.Autorest/exports/New-AzCdnOrigin.ps1 | 31 - .../exports/New-AzCdnOriginGroup.ps1 | 31 - .../Cdn.Autorest/exports/New-AzCdnProfile.ps1 | 25 - .../New-AzFrontDoorCdnCustomDomain.ps1 | 29 - .../exports/New-AzFrontDoorCdnEndpoint.ps1 | 29 - .../exports/New-AzFrontDoorCdnOrigin.ps1 | 31 - .../exports/New-AzFrontDoorCdnOriginGroup.ps1 | 29 - .../exports/New-AzFrontDoorCdnProfile.ps1 | 27 - .../exports/New-AzFrontDoorCdnRoute.ps1 | 31 - .../exports/New-AzFrontDoorCdnRule.ps1 | 31 - .../exports/New-AzFrontDoorCdnRuleSet.ps1 | 30 - .../exports/New-AzFrontDoorCdnSecret.ps1 | 29 - .../New-AzFrontDoorCdnSecurityPolicy.ps1 | 29 - .../exports/ProxyCmdletDefinitions.ps1 | 2501 ++--------------- .../exports/Remove-AzCdnCustomDomain.ps1 | 28 - .../exports/Remove-AzCdnEdgeAction.ps1 | 25 - .../Remove-AzCdnEdgeActionAttachment.ps1 | 30 - .../Remove-AzCdnEdgeActionExecutionFilter.ps1 | 25 - .../exports/Remove-AzCdnEdgeActionVersion.ps1 | 25 - .../exports/Remove-AzCdnEndpoint.ps1 | 27 - .../exports/Remove-AzCdnOrigin.ps1 | 28 - .../exports/Remove-AzCdnOriginGroup.ps1 | 28 - .../exports/Remove-AzCdnProfile.ps1 | 26 - .../Remove-AzFrontDoorCdnCustomDomain.ps1 | 27 - .../exports/Remove-AzFrontDoorCdnEndpoint.ps1 | 27 - .../exports/Remove-AzFrontDoorCdnOrigin.ps1 | 28 - .../Remove-AzFrontDoorCdnOriginGroup.ps1 | 27 - .../exports/Remove-AzFrontDoorCdnProfile.ps1 | 26 - .../exports/Remove-AzFrontDoorCdnRoute.ps1 | 28 - .../exports/Remove-AzFrontDoorCdnRule.ps1 | 28 - .../exports/Remove-AzFrontDoorCdnRuleSet.ps1 | 27 - .../exports/Remove-AzFrontDoorCdnSecret.ps1 | 27 - .../Remove-AzFrontDoorCdnSecurityPolicy.ps1 | 27 - .../exports/Start-AzCdnEndpoint.ps1 | 27 - ...-AzFrontDoorCdnProfilePrepareMigration.ps1 | 26 - .../exports/Stop-AzCdnEndpoint.ps1 | 27 - .../Test-AzFrontDoorCdnProfileMigration.ps1 | 25 - .../exports/Update-AzCdnEdgeAction.ps1 | 27 - .../Update-AzCdnEdgeActionExecutionFilter.ps1 | 27 - .../exports/Update-AzCdnEdgeActionVersion.ps1 | 27 - .../exports/Update-AzCdnEndpoint.ps1 | 30 - .../exports/Update-AzCdnOrigin.ps1 | 32 - .../exports/Update-AzCdnOriginGroup.ps1 | 32 - .../exports/Update-AzCdnProfile.ps1 | 26 - .../Update-AzFrontDoorCdnCustomDomain.ps1 | 30 - ...rontDoorCdnCustomDomainValidationToken.ps1 | 27 - .../exports/Update-AzFrontDoorCdnEndpoint.ps1 | 30 - .../exports/Update-AzFrontDoorCdnOrigin.ps1 | 32 - .../Update-AzFrontDoorCdnOriginGroup.ps1 | 30 - .../exports/Update-AzFrontDoorCdnProfile.ps1 | 28 - .../Update-AzFrontDoorCdnProfileSku.ps1 | 25 - .../exports/Update-AzFrontDoorCdnRoute.ps1 | 32 - .../exports/Update-AzFrontDoorCdnRule.ps1 | 32 - .../exports/Update-AzFrontDoorCdnRuleSet.ps1 | 28 - .../exports/Update-AzFrontDoorCdnSecret.ps1 | 28 - .../Update-AzFrontDoorCdnSecurityPolicy.ps1 | 30 - .../Cdn/Cdn.Autorest/generated/Module.cs | 7 - .../AddAzCdnEdgeActionAttachment_Add.cs | 17 +- ...ddAzCdnEdgeActionAttachment_AddExpanded.cs | 17 +- ...zCdnEdgeActionAttachment_AddViaIdentity.cs | 17 +- ...ActionAttachment_AddViaIdentityExpanded.cs | 17 +- ...EdgeActionAttachment_AddViaJsonFilePath.cs | 17 +- ...dnEdgeActionAttachment_AddViaJsonString.cs | 17 +- .../ClearAzCdnEndpointContent_Purge.cs | 17 +- ...ClearAzCdnEndpointContent_PurgeExpanded.cs | 17 +- ...arAzCdnEndpointContent_PurgeViaIdentity.cs | 17 +- ...ndpointContent_PurgeViaIdentityExpanded.cs | 17 +- ...EndpointContent_PurgeViaIdentityProfile.cs | 17 +- ...Content_PurgeViaIdentityProfileExpanded.cs | 17 +- ...CdnEndpointContent_PurgeViaJsonFilePath.cs | 17 +- ...AzCdnEndpointContent_PurgeViaJsonString.cs | 17 +- ...learAzFrontDoorCdnEndpointContent_Purge.cs | 17 +- ...ontDoorCdnEndpointContent_PurgeExpanded.cs | 17 +- ...DoorCdnEndpointContent_PurgeViaIdentity.cs | 17 +- ...ndpointContent_PurgeViaIdentityExpanded.cs | 17 +- ...EndpointContent_PurgeViaIdentityProfile.cs | 17 +- ...Content_PurgeViaIdentityProfileExpanded.cs | 17 +- ...CdnEndpointContent_PurgeViaJsonFilePath.cs | 17 +- ...orCdnEndpointContent_PurgeViaJsonString.cs | 17 +- ...DeployAzCdnEdgeActionVersionCode_Deploy.cs | 17 +- ...CdnEdgeActionVersionCode_DeployExpanded.cs | 17 +- ...EdgeActionVersionCode_DeployViaIdentity.cs | 17 +- ...VersionCode_DeployViaIdentityEdgeAction.cs | 17 +- ...ode_DeployViaIdentityEdgeActionExpanded.cs | 17 +- ...onVersionCode_DeployViaIdentityExpanded.cs | 17 +- ...ActionVersionCode_DeployViaJsonFilePath.cs | 17 +- ...geActionVersionCode_DeployViaJsonString.cs | 17 +- ...bleAzCdnCustomDomainCustomHttps_Disable.cs | 17 +- ...tomDomainCustomHttps_DisableViaIdentity.cs | 17 +- ...nCustomHttps_DisableViaIdentityEndpoint.cs | 17 +- ...inCustomHttps_DisableViaIdentityProfile.cs | 17 +- ...ableAzCdnCustomDomainCustomHttps_Enable.cs | 17 +- ...stomDomainCustomHttps_EnableViaIdentity.cs | 17 +- ...inCustomHttps_EnableViaIdentityEndpoint.cs | 17 +- ...Https_EnableViaIdentityEndpointExpanded.cs | 17 +- ...ainCustomHttps_EnableViaIdentityProfile.cs | 17 +- ...mHttps_EnableViaIdentityProfileExpanded.cs | 17 +- ...DomainCustomHttps_EnableViaJsonFilePath.cs | 17 +- ...omDomainCustomHttps_EnableViaJsonString.cs | 17 +- .../ImportAzCdnEndpointContent_Load.cs | 17 +- ...ImportAzCdnEndpointContent_LoadExpanded.cs | 17 +- ...ortAzCdnEndpointContent_LoadViaIdentity.cs | 17 +- ...EndpointContent_LoadViaIdentityExpanded.cs | 17 +- ...nEndpointContent_LoadViaIdentityProfile.cs | 17 +- ...tContent_LoadViaIdentityProfileExpanded.cs | 17 +- ...zCdnEndpointContent_LoadViaJsonFilePath.cs | 17 +- ...tAzCdnEndpointContent_LoadViaJsonString.cs | 17 +- ...keAzCdnAbortProfileToAFDMigration_Abort.cs | 17 +- ...tProfileToAFDMigration_AbortViaIdentity.cs | 17 +- .../InvokeAzCdnCanProfileMigrate_Can.cs | 17 +- ...nvokeAzCdnCanProfileMigrate_CanExpanded.cs | 17 +- ...CdnCanProfileMigrate_CanViaJsonFilePath.cs | 17 +- ...AzCdnCanProfileMigrate_CanViaJsonString.cs | 17 +- ...nvokeAzCdnCommitProfileMigration_Commit.cs | 17 +- ...ommitProfileMigration_CommitViaIdentity.cs | 17 +- .../cmdlets/MoveAzCdnProfile_Migrate.cs | 17 +- .../MoveAzCdnProfile_MigrateExpanded.cs | 17 +- ...MoveAzCdnProfile_MigrateViaJsonFilePath.cs | 17 +- .../MoveAzCdnProfile_MigrateViaJsonString.cs | 17 +- ...MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs | 17 +- ...ontDoorCdnCdnProfilesTo_MigrateExpanded.cs | 17 +- ...DoorCdnCdnProfilesTo_MigrateViaIdentity.cs | 17 +- ...dnProfilesTo_MigrateViaIdentityExpanded.cs | 17 +- ...CdnCdnProfilesTo_MigrateViaJsonFilePath.cs | 17 +- ...orCdnCdnProfilesTo_MigrateViaJsonString.cs | 17 +- .../NewAzCdnCustomDomain_CreateExpanded.cs | 17 +- ...nCustomDomain_CreateViaIdentityEndpoint.cs | 17 +- ...omain_CreateViaIdentityEndpointExpanded.cs | 17 +- ...dnCustomDomain_CreateViaIdentityProfile.cs | 17 +- ...Domain_CreateViaIdentityProfileExpanded.cs | 17 +- ...AzCdnCustomDomain_CreateViaJsonFilePath.cs | 17 +- ...ewAzCdnCustomDomain_CreateViaJsonString.cs | 17 +- ...dgeActionExecutionFilter_CreateExpanded.cs | 17 +- ...onExecutionFilter_CreateViaJsonFilePath.cs | 17 +- ...tionExecutionFilter_CreateViaJsonString.cs | 17 +- ...ewAzCdnEdgeActionVersion_CreateExpanded.cs | 17 +- ...EdgeActionVersion_CreateViaJsonFilePath.cs | 17 +- ...dnEdgeActionVersion_CreateViaJsonString.cs | 17 +- .../NewAzCdnEdgeAction_CreateExpanded.cs | 17 +- ...ewAzCdnEdgeAction_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnEdgeAction_CreateViaJsonString.cs | 17 +- .../NewAzCdnEndpoint_CreateExpanded.cs | 17 +- ...wAzCdnEndpoint_CreateViaIdentityProfile.cs | 17 +- ...dpoint_CreateViaIdentityProfileExpanded.cs | 17 +- .../NewAzCdnEndpoint_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnEndpoint_CreateViaJsonString.cs | 17 +- .../NewAzCdnOriginGroup_CreateExpanded.cs | 17 +- ...dnOriginGroup_CreateViaIdentityEndpoint.cs | 17 +- ...Group_CreateViaIdentityEndpointExpanded.cs | 17 +- ...CdnOriginGroup_CreateViaIdentityProfile.cs | 17 +- ...nGroup_CreateViaIdentityProfileExpanded.cs | 17 +- ...wAzCdnOriginGroup_CreateViaJsonFilePath.cs | 17 +- ...NewAzCdnOriginGroup_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnOrigin_CreateExpanded.cs | 17 +- ...ewAzCdnOrigin_CreateViaIdentityEndpoint.cs | 17 +- ...rigin_CreateViaIdentityEndpointExpanded.cs | 17 +- ...NewAzCdnOrigin_CreateViaIdentityProfile.cs | 17 +- ...Origin_CreateViaIdentityProfileExpanded.cs | 17 +- .../NewAzCdnOrigin_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnOrigin_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnPolicy_CreateExpanded.cs | 17 +- .../NewAzCdnPolicy_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnPolicy_CreateViaJsonString.cs | 17 +- .../cmdlets/NewAzCdnProfileSsoUri_Generate.cs | 17 +- ...wAzCdnProfileSsoUri_GenerateViaIdentity.cs | 17 +- .../cmdlets/NewAzCdnProfile_CreateExpanded.cs | 17 +- .../NewAzCdnProfile_CreateViaJsonFilePath.cs | 17 +- .../NewAzCdnProfile_CreateViaJsonString.cs | 17 +- ...FrontDoorCdnCustomDomain_CreateExpanded.cs | 17 +- ...dnCustomDomain_CreateViaIdentityProfile.cs | 17 +- ...Domain_CreateViaIdentityProfileExpanded.cs | 17 +- ...orCdnCustomDomain_CreateViaJsonFilePath.cs | 17 +- ...DoorCdnCustomDomain_CreateViaJsonString.cs | 17 +- ...ewAzFrontDoorCdnEndpoint_CreateExpanded.cs | 17 +- ...oorCdnEndpoint_CreateViaIdentityProfile.cs | 17 +- ...dpoint_CreateViaIdentityProfileExpanded.cs | 17 +- ...ntDoorCdnEndpoint_CreateViaJsonFilePath.cs | 17 +- ...rontDoorCdnEndpoint_CreateViaJsonString.cs | 17 +- ...zFrontDoorCdnOriginGroup_CreateExpanded.cs | 17 +- ...CdnOriginGroup_CreateViaIdentityProfile.cs | 17 +- ...nGroup_CreateViaIdentityProfileExpanded.cs | 17 +- ...oorCdnOriginGroup_CreateViaJsonFilePath.cs | 17 +- ...tDoorCdnOriginGroup_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnOrigin_CreateExpanded.cs | 17 +- ...rCdnOrigin_CreateViaIdentityOriginGroup.cs | 17 +- ...in_CreateViaIdentityOriginGroupExpanded.cs | 17 +- ...tDoorCdnOrigin_CreateViaIdentityProfile.cs | 17 +- ...Origin_CreateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnOrigin_CreateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnOrigin_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRoute_CreateExpanded.cs | 17 +- ...orCdnRoute_CreateViaIdentityAfdEndpoint.cs | 17 +- ...te_CreateViaIdentityAfdEndpointExpanded.cs | 17 +- ...ntDoorCdnRoute_CreateViaIdentityProfile.cs | 17 +- ...nRoute_CreateViaIdentityProfileExpanded.cs | 17 +- ...FrontDoorCdnRoute_CreateViaJsonFilePath.cs | 17 +- ...AzFrontDoorCdnRoute_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRuleSet_Create.cs | 17 +- ...NewAzFrontDoorCdnRuleSet_CreateExpanded.cs | 17 +- ...DoorCdnRuleSet_CreateViaIdentityProfile.cs | 17 +- ...uleSet_CreateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRuleSet_CreateViaJsonFilePath.cs | 17 +- ...FrontDoorCdnRuleSet_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnRule_CreateExpanded.cs | 17 +- ...ontDoorCdnRule_CreateViaIdentityProfile.cs | 17 +- ...dnRule_CreateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRule_CreateViaIdentityRuleSet.cs | 17 +- ...dnRule_CreateViaIdentityRuleSetExpanded.cs | 17 +- ...zFrontDoorCdnRule_CreateViaJsonFilePath.cs | 17 +- ...wAzFrontDoorCdnRule_CreateViaJsonString.cs | 17 +- .../NewAzFrontDoorCdnSecret_CreateExpanded.cs | 17 +- ...tDoorCdnSecret_CreateViaIdentityProfile.cs | 17 +- ...Secret_CreateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnSecret_CreateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnSecret_CreateViaJsonString.cs | 17 +- ...ontDoorCdnSecurityPolicy_CreateExpanded.cs | 17 +- ...SecurityPolicy_CreateViaIdentityProfile.cs | 17 +- ...Policy_CreateViaIdentityProfileExpanded.cs | 17 +- ...CdnSecurityPolicy_CreateViaJsonFilePath.cs | 17 +- ...orCdnSecurityPolicy_CreateViaJsonString.cs | 17 +- .../cmdlets/RemoveAzCdnCustomDomain_Delete.cs | 17 +- ...moveAzCdnCustomDomain_DeleteViaIdentity.cs | 17 +- ...nCustomDomain_DeleteViaIdentityEndpoint.cs | 17 +- ...dnCustomDomain_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzCdnEdgeActionAttachment_Delete.cs | 17 +- ...zCdnEdgeActionAttachment_DeleteExpanded.cs | 17 +- ...nEdgeActionAttachment_DeleteViaIdentity.cs | 17 +- ...ionAttachment_DeleteViaIdentityExpanded.cs | 17 +- ...eActionAttachment_DeleteViaJsonFilePath.cs | 17 +- ...dgeActionAttachment_DeleteViaJsonString.cs | 17 +- ...veAzCdnEdgeActionExecutionFilter_Delete.cs | 17 +- .../RemoveAzCdnEdgeActionVersion_Delete.cs | 17 +- .../cmdlets/RemoveAzCdnEdgeAction_Delete.cs | 17 +- .../cmdlets/RemoveAzCdnEndpoint_Delete.cs | 17 +- .../RemoveAzCdnEndpoint_DeleteViaIdentity.cs | 17 +- ...eAzCdnEndpoint_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnOriginGroup_Delete.cs | 17 +- ...emoveAzCdnOriginGroup_DeleteViaIdentity.cs | 17 +- ...dnOriginGroup_DeleteViaIdentityEndpoint.cs | 17 +- ...CdnOriginGroup_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnOrigin_Delete.cs | 17 +- .../RemoveAzCdnOrigin_DeleteViaIdentity.cs | 17 +- ...veAzCdnOrigin_DeleteViaIdentityEndpoint.cs | 17 +- ...oveAzCdnOrigin_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/RemoveAzCdnPolicy_Delete.cs | 17 +- .../RemoveAzCdnPolicy_DeleteViaIdentity.cs | 17 +- .../cmdlets/RemoveAzCdnProfile_Delete.cs | 17 +- .../RemoveAzCdnProfile_DeleteViaIdentity.cs | 17 +- ...RemoveAzFrontDoorCdnCustomDomain_Delete.cs | 17 +- ...ntDoorCdnCustomDomain_DeleteViaIdentity.cs | 17 +- ...dnCustomDomain_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnEndpoint_Delete.cs | 17 +- ...zFrontDoorCdnEndpoint_DeleteViaIdentity.cs | 17 +- ...oorCdnEndpoint_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnOriginGroup_Delete.cs | 17 +- ...ontDoorCdnOriginGroup_DeleteViaIdentity.cs | 17 +- ...CdnOriginGroup_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnOrigin_Delete.cs | 17 +- ...eAzFrontDoorCdnOrigin_DeleteViaIdentity.cs | 17 +- ...rCdnOrigin_DeleteViaIdentityOriginGroup.cs | 17 +- ...tDoorCdnOrigin_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRoute_Delete.cs | 17 +- ...veAzFrontDoorCdnRoute_DeleteViaIdentity.cs | 17 +- ...orCdnRoute_DeleteViaIdentityAfdEndpoint.cs | 17 +- ...ntDoorCdnRoute_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRuleSet_Delete.cs | 17 +- ...AzFrontDoorCdnRuleSet_DeleteViaIdentity.cs | 17 +- ...DoorCdnRuleSet_DeleteViaIdentityProfile.cs | 17 +- .../RemoveAzFrontDoorCdnRule_Delete.cs | 17 +- ...oveAzFrontDoorCdnRule_DeleteViaIdentity.cs | 17 +- ...ontDoorCdnRule_DeleteViaIdentityProfile.cs | 17 +- ...ontDoorCdnRule_DeleteViaIdentityRuleSet.cs | 17 +- .../RemoveAzFrontDoorCdnSecret_Delete.cs | 17 +- ...eAzFrontDoorCdnSecret_DeleteViaIdentity.cs | 17 +- ...tDoorCdnSecret_DeleteViaIdentityProfile.cs | 17 +- ...moveAzFrontDoorCdnSecurityPolicy_Delete.cs | 17 +- ...DoorCdnSecurityPolicy_DeleteViaIdentity.cs | 17 +- ...SecurityPolicy_DeleteViaIdentityProfile.cs | 17 +- .../cmdlets/StartAzCdnEndpoint_Start.cs | 17 +- .../StartAzCdnEndpoint_StartViaIdentity.cs | 17 +- ...rtAzCdnEndpoint_StartViaIdentityProfile.cs | 17 +- .../cmdlets/StopAzCdnEndpoint_Stop.cs | 17 +- .../StopAzCdnEndpoint_StopViaIdentity.cs | 17 +- ...topAzCdnEndpoint_StopViaIdentityProfile.cs | 17 +- ...dgeActionExecutionFilter_UpdateExpanded.cs | 17 +- ...onExecutionFilter_UpdateViaJsonFilePath.cs | 17 +- ...tionExecutionFilter_UpdateViaJsonString.cs | 17 +- ...teAzCdnEdgeActionVersion_UpdateExpanded.cs | 17 +- ...EdgeActionVersion_UpdateViaJsonFilePath.cs | 17 +- ...dnEdgeActionVersion_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnEdgeAction_UpdateExpanded.cs | 17 +- ...teAzCdnEdgeAction_UpdateViaJsonFilePath.cs | 17 +- ...dateAzCdnEdgeAction_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnEndpoint_UpdateExpanded.cs | 17 +- ...AzCdnEndpoint_UpdateViaIdentityExpanded.cs | 17 +- ...eAzCdnEndpoint_UpdateViaIdentityProfile.cs | 17 +- ...dpoint_UpdateViaIdentityProfileExpanded.cs | 17 +- ...dateAzCdnEndpoint_UpdateViaJsonFilePath.cs | 17 +- ...UpdateAzCdnEndpoint_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnOriginGroup_UpdateExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityEndpoint.cs | 17 +- ...Group_UpdateViaIdentityEndpointExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityExpanded.cs | 17 +- ...CdnOriginGroup_UpdateViaIdentityProfile.cs | 17 +- ...nGroup_UpdateViaIdentityProfileExpanded.cs | 17 +- ...eAzCdnOriginGroup_UpdateViaJsonFilePath.cs | 17 +- ...ateAzCdnOriginGroup_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnOrigin_UpdateExpanded.cs | 17 +- ...teAzCdnOrigin_UpdateViaIdentityEndpoint.cs | 17 +- ...rigin_UpdateViaIdentityEndpointExpanded.cs | 17 +- ...teAzCdnOrigin_UpdateViaIdentityExpanded.cs | 17 +- ...ateAzCdnOrigin_UpdateViaIdentityProfile.cs | 17 +- ...Origin_UpdateViaIdentityProfileExpanded.cs | 17 +- ...UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnOrigin_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnPolicy_UpdateExpanded.cs | 17 +- ...teAzCdnPolicy_UpdateViaIdentityExpanded.cs | 17 +- ...UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnPolicy_UpdateViaJsonString.cs | 17 +- .../UpdateAzCdnProfile_UpdateExpanded.cs | 17 +- ...eAzCdnProfile_UpdateViaIdentityExpanded.cs | 17 +- ...pdateAzCdnProfile_UpdateViaJsonFilePath.cs | 17 +- .../UpdateAzCdnProfile_UpdateViaJsonString.cs | 17 +- ...rCdnCustomDomainValidationToken_Refresh.cs | 17 +- ...omainValidationToken_RefreshViaIdentity.cs | 17 +- ...lidationToken_RefreshViaIdentityProfile.cs | 17 +- ...FrontDoorCdnCustomDomain_UpdateExpanded.cs | 17 +- ...nCustomDomain_UpdateViaIdentityExpanded.cs | 17 +- ...dnCustomDomain_UpdateViaIdentityProfile.cs | 17 +- ...Domain_UpdateViaIdentityProfileExpanded.cs | 17 +- ...orCdnCustomDomain_UpdateViaJsonFilePath.cs | 17 +- ...DoorCdnCustomDomain_UpdateViaJsonString.cs | 17 +- ...teAzFrontDoorCdnEndpoint_UpdateExpanded.cs | 17 +- ...orCdnEndpoint_UpdateViaIdentityExpanded.cs | 17 +- ...oorCdnEndpoint_UpdateViaIdentityProfile.cs | 17 +- ...dpoint_UpdateViaIdentityProfileExpanded.cs | 17 +- ...ntDoorCdnEndpoint_UpdateViaJsonFilePath.cs | 17 +- ...rontDoorCdnEndpoint_UpdateViaJsonString.cs | 17 +- ...zFrontDoorCdnOriginGroup_UpdateExpanded.cs | 17 +- ...dnOriginGroup_UpdateViaIdentityExpanded.cs | 17 +- ...CdnOriginGroup_UpdateViaIdentityProfile.cs | 17 +- ...nGroup_UpdateViaIdentityProfileExpanded.cs | 17 +- ...oorCdnOriginGroup_UpdateViaJsonFilePath.cs | 17 +- ...tDoorCdnOriginGroup_UpdateViaJsonString.cs | 17 +- ...dateAzFrontDoorCdnOrigin_UpdateExpanded.cs | 17 +- ...DoorCdnOrigin_UpdateViaIdentityExpanded.cs | 17 +- ...rCdnOrigin_UpdateViaIdentityOriginGroup.cs | 17 +- ...in_UpdateViaIdentityOriginGroupExpanded.cs | 17 +- ...tDoorCdnOrigin_UpdateViaIdentityProfile.cs | 17 +- ...Origin_UpdateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnOrigin_UpdateViaJsonFilePath.cs | 17 +- ...zFrontDoorCdnOrigin_UpdateViaJsonString.cs | 17 +- .../UpdateAzFrontDoorCdnProfileSku_Upgrade.cs | 17 +- ...zFrontDoorCdnProfileSku_UpgradeExpanded.cs | 17 +- ...ontDoorCdnProfileSku_UpgradeViaIdentity.cs | 17 +- ...dnProfileSku_UpgradeViaIdentityExpanded.cs | 17 +- ...oorCdnProfileSku_UpgradeViaJsonFilePath.cs | 17 +- ...tDoorCdnProfileSku_UpgradeViaJsonString.cs | 17 +- ...pdateAzFrontDoorCdnRoute_UpdateExpanded.cs | 17 +- ...orCdnRoute_UpdateViaIdentityAfdEndpoint.cs | 17 +- ...te_UpdateViaIdentityAfdEndpointExpanded.cs | 17 +- ...tDoorCdnRoute_UpdateViaIdentityExpanded.cs | 17 +- ...ntDoorCdnRoute_UpdateViaIdentityProfile.cs | 17 +- ...nRoute_UpdateViaIdentityProfileExpanded.cs | 17 +- ...FrontDoorCdnRoute_UpdateViaJsonFilePath.cs | 17 +- ...AzFrontDoorCdnRoute_UpdateViaJsonString.cs | 17 +- ...ateAzFrontDoorCdnRuleSet_UpdateExpanded.cs | 17 +- ...oorCdnRuleSet_UpdateViaIdentityExpanded.cs | 17 +- ...DoorCdnRuleSet_UpdateViaIdentityProfile.cs | 17 +- ...uleSet_UpdateViaIdentityProfileExpanded.cs | 17 +- ...UpdateAzFrontDoorCdnRule_UpdateExpanded.cs | 17 +- ...ntDoorCdnRule_UpdateViaIdentityExpanded.cs | 17 +- ...ontDoorCdnRule_UpdateViaIdentityProfile.cs | 17 +- ...dnRule_UpdateViaIdentityProfileExpanded.cs | 17 +- ...ontDoorCdnRule_UpdateViaIdentityRuleSet.cs | 17 +- ...dnRule_UpdateViaIdentityRuleSetExpanded.cs | 17 +- ...zFrontDoorCdnRule_UpdateViaJsonFilePath.cs | 17 +- ...eAzFrontDoorCdnRule_UpdateViaJsonString.cs | 17 +- ...dateAzFrontDoorCdnSecret_UpdateExpanded.cs | 17 +- ...DoorCdnSecret_UpdateViaIdentityExpanded.cs | 17 +- ...tDoorCdnSecret_UpdateViaIdentityProfile.cs | 17 +- ...Secret_UpdateViaIdentityProfileExpanded.cs | 17 +- ...rontDoorCdnSecurityPolicy_PatchExpanded.cs | 17 +- ...SecurityPolicy_PatchViaIdentityExpanded.cs | 17 +- ...nSecurityPolicy_PatchViaIdentityProfile.cs | 17 +- ...yPolicy_PatchViaIdentityProfileExpanded.cs | 17 +- ...rCdnSecurityPolicy_PatchViaJsonFilePath.cs | 17 +- ...oorCdnSecurityPolicy_PatchViaJsonString.cs | 17 +- .../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 1 - .../BuildTime/Models/PsProxyOutputs.cs | 66 - .../generated/runtime/ISendAsync.cs | 18 - .../Invoke-AzCdnCanProfileMigrate.ps1 | 28 - .../Invoke-AzCdnCommitProfileMigration.ps1 | 26 - .../internal/Move-AzCdnProfile.ps1 | 28 - .../Move-AzFrontDoorCdnCdnProfilesTo.ps1 | 30 - .../Cdn.Autorest/internal/New-AzCdnPolicy.ps1 | 27 - .../internal/New-AzCdnProfile.ps1 | 27 - .../internal/New-AzCdnProfileSsoUri.ps1 | 26 - .../internal/New-AzFrontDoorCdnRoute.ps1 | 31 - .../internal/ProxyCmdletDefinitions.ps1 | 361 --- .../internal/Remove-AzCdnPolicy.ps1 | 26 - .../internal/Remove-AzCdnProfile.ps1 | 26 - .../internal/Update-AzCdnPolicy.ps1 | 28 - .../internal/Update-AzCdnProfile.ps1 | 28 - .../Update-AzFrontDoorCdnProfileSku.ps1 | 30 - src/Cdn/Cdn.Autorest/docs/Az.Cdn.md | 2 +- 423 files changed, 573 insertions(+), 10392 deletions(-) diff --git a/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 b/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 index bd51151ff891..c1cf393c6cb9 100644 --- a/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 +++ b/generated/Cdn/Cdn.Autorest/Az.Cdn.psm1 @@ -63,8 +63,6 @@ # Tweaks the pipeline per call $instance.OnNewRequest = $VTable.OnNewRequest - # Tweaks the pipeline per call (Change Safety policy-token step) - $instance.AddChangeSafetyPolicyTokenHandler = $VTable.AddChangeSafetyPolicyTokenHandler # Gets shared parameter values $instance.GetParameterValue = $VTable.GetParameterValue diff --git a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 index 7e5d7fa55437..7fa2f6007da7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Add-AzCdnEdgeActionAttachment.ps1 @@ -185,36 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Add = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_Add'; - AddExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddExpanded'; - AddViaIdentity = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentity'; - AddViaIdentityExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentityExpanded'; - AddViaJsonFilePath = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonFilePath'; - AddViaJsonString = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 index 584dafe734c5..9fb821bacdd5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzCdnEndpointContent.ps1 @@ -236,38 +236,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Purge = 'Az.Cdn.private\Clear-AzCdnEndpointContent_Purge'; - PurgeExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeExpanded'; - PurgeViaIdentity = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentity'; - PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityExpanded'; - PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfile'; - PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfileExpanded'; - PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonFilePath'; - PurgeViaJsonString = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 index d8fca036e1ee..6159b1f341fd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Clear-AzFrontDoorCdnEndpointContent.ps1 @@ -246,38 +246,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Purge = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_Purge'; - PurgeExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeExpanded'; - PurgeViaIdentity = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentity'; - PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded'; - PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile'; - PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded'; - PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath'; - PurgeViaJsonString = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 index cee0ef867e20..c3291425c9d7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Deploy-AzCdnEdgeActionVersionCode.ps1 @@ -233,38 +233,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Deploy = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_Deploy'; - DeployExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployExpanded'; - DeployViaIdentity = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentity'; - DeployViaIdentityEdgeAction = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction'; - DeployViaIdentityEdgeActionExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded'; - DeployViaIdentityExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityExpanded'; - DeployViaJsonFilePath = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonFilePath'; - DeployViaJsonString = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 index dcda4e94c809..d3c796035310 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Disable-AzCdnCustomDomainCustomHttps.ps1 @@ -209,34 +209,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Disable = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_Disable'; - DisableViaIdentity = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentity'; - DisableViaIdentityEndpoint = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint'; - DisableViaIdentityProfile = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 index ed919d5dcef1..9a1ee16238c5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzCdnCustomDomainCustomHttps.ps1 @@ -277,38 +277,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Enable = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_Enable'; - EnableViaIdentity = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentity'; - EnableViaIdentityEndpoint = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint'; - EnableViaIdentityEndpointExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded'; - EnableViaIdentityProfile = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfile'; - EnableViaIdentityProfileExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded'; - EnableViaJsonFilePath = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonFilePath'; - EnableViaJsonString = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 index 32efea90defa..5ca5a7059d10 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Enable-AzFrontDoorCdnProfileMigration.ps1 @@ -118,31 +118,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Enable-AzFrontDoorCdnProfileMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 index f461b862c5dd..ea7a9ec462a1 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Import-AzCdnEndpointContent.ps1 @@ -238,38 +238,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Load = 'Az.Cdn.private\Import-AzCdnEndpointContent_Load'; - LoadExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadExpanded'; - LoadViaIdentity = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentity'; - LoadViaIdentityExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityExpanded'; - LoadViaIdentityProfile = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfile'; - LoadViaIdentityProfileExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfileExpanded'; - LoadViaJsonFilePath = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonFilePath'; - LoadViaJsonString = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 index 5180f768d48f..11429e111568 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnAbortProfileToAFDMigration.ps1 @@ -150,32 +150,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Abort = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_Abort'; - AbortViaIdentity = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_AbortViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 index c3f620fcbca8..e927bf790251 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Invoke-AzCdnCommitProfileToAFDMigration.ps1 @@ -118,31 +118,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Invoke-AzCdnCommitProfileToAFDMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 index 3050391bc020..9f67143b0547 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Move-AzCdnProfileToAFD.ps1 @@ -217,36 +217,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - MigrateExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaJsonString = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaJsonFilePath = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - Migrate = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaIdentityExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaIdentity = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 index 0f8da60bb49b..ca5118f5f4c9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 @@ -227,37 +227,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 index 12df72affe5e..ba7394648b72 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeAction.ps1 @@ -158,33 +158,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 index b00700ed7efc..12c8a97902a4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionExecutionFilter.ps1 @@ -169,33 +169,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 index bbb0918b40ff..d19c282f8f6f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEdgeActionVersion.ps1 @@ -165,33 +165,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 index 1001aa5ecc20..88e7c9eae57d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 @@ -459,35 +459,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 index b72fd000455b..0d1cb7bdaa9e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 @@ -328,37 +328,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 index 215a5f19dae0..d646d379f33d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 @@ -285,37 +285,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 index 873b43c05a33..68092f2ea04b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnProfile.ps1 @@ -139,31 +139,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 index 3198d6d46fff..c9aed5b92ae5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 @@ -254,35 +254,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 index a89cf4e10ea0..e7f20d45e5b5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 @@ -228,35 +228,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 index 9a73876d2531..fa115e8e55b0 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 @@ -355,37 +355,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateExpanded'; - CreateViaIdentityOriginGroup = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup'; - CreateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 index 393281fa8a79..1c75b25c6cf3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 @@ -271,35 +271,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 index 523d55becea2..14f91db03e3e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnProfile.ps1 @@ -196,33 +196,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 index 7181778a1959..f05fcfd49898 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 @@ -376,37 +376,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityProfile = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityAfdEndpoint = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 index 99e011626137..a7c32ee3e1a2 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 @@ -283,37 +283,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfileExpanded'; - CreateViaIdentityRuleSet = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSet'; - CreateViaIdentityRuleSetExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 index a83ba334e92d..af0eb0ff7d5f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 @@ -218,36 +218,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Create = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_Create'; - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 index 83ac0d28f8d6..f91cd3c96282 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 @@ -194,35 +194,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 index 64131578fd3f..19a0ed089567 100644 --- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 @@ -193,35 +193,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 index 3d8cae3881e9..38c213675698 100644 --- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -185,36 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Add = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_Add'; - AddExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddExpanded'; - AddViaIdentity = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentity'; - AddViaIdentityExpanded = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaIdentityExpanded'; - AddViaJsonFilePath = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonFilePath'; - AddViaJsonString = 'Az.Cdn.private\Add-AzCdnEdgeActionAttachment_AddViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -538,38 +508,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Purge = 'Az.Cdn.private\Clear-AzCdnEndpointContent_Purge'; - PurgeExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeExpanded'; - PurgeViaIdentity = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentity'; - PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityExpanded'; - PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfile'; - PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaIdentityProfileExpanded'; - PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonFilePath'; - PurgeViaJsonString = 'Az.Cdn.private\Clear-AzCdnEndpointContent_PurgeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -905,38 +843,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Purge = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_Purge'; - PurgeExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeExpanded'; - PurgeViaIdentity = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentity'; - PurgeViaIdentityExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded'; - PurgeViaIdentityProfile = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile'; - PurgeViaIdentityProfileExpanded = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded'; - PurgeViaJsonFilePath = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath'; - PurgeViaJsonString = 'Az.Cdn.private\Clear-AzFrontDoorCdnEndpointContent_PurgeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -1259,38 +1165,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Deploy = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_Deploy'; - DeployExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployExpanded'; - DeployViaIdentity = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentity'; - DeployViaIdentityEdgeAction = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction'; - DeployViaIdentityEdgeActionExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded'; - DeployViaIdentityExpanded = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaIdentityExpanded'; - DeployViaJsonFilePath = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonFilePath'; - DeployViaJsonString = 'Az.Cdn.private\Deploy-AzCdnEdgeActionVersionCode_DeployViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -1589,34 +1463,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Disable = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_Disable'; - DisableViaIdentity = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentity'; - DisableViaIdentityEndpoint = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint'; - DisableViaIdentityProfile = 'Az.Cdn.private\Disable-AzCdnCustomDomainCustomHttps_DisableViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -1979,38 +1825,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Enable = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_Enable'; - EnableViaIdentity = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentity'; - EnableViaIdentityEndpoint = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint'; - EnableViaIdentityEndpointExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded'; - EnableViaIdentityProfile = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfile'; - EnableViaIdentityProfileExpanded = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded'; - EnableViaJsonFilePath = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonFilePath'; - EnableViaJsonString = 'Az.Cdn.private\Enable-AzCdnCustomDomainCustomHttps_EnableViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -8602,38 +8416,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Load = 'Az.Cdn.private\Import-AzCdnEndpointContent_Load'; - LoadExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadExpanded'; - LoadViaIdentity = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentity'; - LoadViaIdentityExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityExpanded'; - LoadViaIdentityProfile = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfile'; - LoadViaIdentityProfileExpanded = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaIdentityProfileExpanded'; - LoadViaJsonFilePath = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonFilePath'; - LoadViaJsonString = 'Az.Cdn.private\Import-AzCdnEndpointContent_LoadViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -8873,32 +8655,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Abort = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_Abort'; - AbortViaIdentity = 'Az.Cdn.private\Invoke-AzCdnAbortProfileToAFDMigration_AbortViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -9209,37 +8965,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnCustomDomain_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -9497,33 +9222,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionExecutionFilter_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -9773,33 +9471,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeActionVersion_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -10042,33 +9713,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEdgeAction_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -10612,35 +10256,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnEndpoint_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -11012,37 +10627,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOriginGroup_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -11459,37 +11043,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateExpanded'; - CreateViaIdentityEndpoint = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpoint'; - CreateViaIdentityEndpointExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnOrigin_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -11832,35 +11385,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnCustomDomain_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -12175,35 +11699,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnEndpoint_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -12561,35 +12056,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOriginGroup_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -13031,37 +12497,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateExpanded'; - CreateViaIdentityOriginGroup = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup'; - CreateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnOrigin_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -13368,36 +12803,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Create = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_Create'; - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRuleSet_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -13768,37 +13173,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityProfileExpanded'; - CreateViaIdentityRuleSet = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSet'; - CreateViaIdentityRuleSetExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRule_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -14081,35 +13455,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecret_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -14389,35 +13734,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnSecurityPolicy_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -14722,34 +14038,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnCustomDomain_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -15020,36 +14308,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_Delete'; - DeleteExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteExpanded'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentity'; - DeleteViaIdentityExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentityExpanded'; - DeleteViaJsonFilePath = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonFilePath'; - DeleteViaJsonString = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -15262,31 +14520,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionExecutionFilter_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -15494,31 +14727,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionVersion_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -15721,31 +14929,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeAction_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -16013,33 +15196,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEndpoint_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -16342,34 +15498,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnOriginGroup_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -16673,34 +15801,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnOrigin_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -16970,33 +16070,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -17265,33 +16338,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -17560,33 +16606,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -17888,34 +16907,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentity'; - DeleteViaIdentityOriginGroup = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -18219,34 +17210,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentity'; - DeleteViaIdentityAfdEndpoint = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -18517,33 +17480,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -18847,34 +17783,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityProfile'; - DeleteViaIdentityRuleSet = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityRuleSet'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -19145,33 +18053,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -19442,33 +18323,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -19732,33 +18586,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Start = 'Az.Cdn.private\Start-AzCdnEndpoint_Start'; - StartViaIdentity = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentity'; - StartViaIdentityProfile = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -20022,33 +18849,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Stop = 'Az.Cdn.private\Stop-AzCdnEndpoint_Stop'; - StopViaIdentity = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentity'; - StopViaIdentityProfile = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -21960,33 +20760,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -22223,33 +20996,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -22479,33 +21225,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -23025,36 +21744,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -23464,38 +22153,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateExpanded'; - UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpoint'; - UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -23958,38 +22615,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateExpanded'; - UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpoint'; - UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -24263,33 +22888,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Refresh = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_Refresh'; - RefreshViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity'; - RefreshViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -24646,36 +23244,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -25014,36 +23582,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -25441,36 +23979,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -25961,38 +24469,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityExpanded'; - UpdateViaIdentityOriginGroup = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup'; - UpdateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -26501,38 +24977,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateExpanded'; - UpdateViaIdentityAfdEndpoint = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint'; - UpdateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -26850,34 +25294,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -27270,38 +25686,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded'; - UpdateViaIdentityRuleSet = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSet'; - UpdateViaIdentityRuleSetExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -27595,34 +25979,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -27943,36 +26299,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - PatchExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchExpanded'; - PatchViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded'; - PatchViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile'; - PatchViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded'; - PatchViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath'; - PatchViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -28178,31 +26504,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Enable-AzFrontDoorCdnProfileMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -28853,31 +27154,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Invoke-AzCdnCommitProfileToAFDMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -29177,36 +27453,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - MigrateExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaJsonString = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaJsonFilePath = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - Migrate = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaIdentityExpanded = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - MigrateViaIdentity = 'Az.Cdn.custom\Move-AzCdnProfileToAFD'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -32570,31 +30816,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -34442,33 +32663,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -35641,37 +33835,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaJsonString = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaJsonFilePath = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityProfile = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - CreateViaIdentityAfdEndpoint = 'Az.Cdn.custom\New-AzFrontDoorCdnRoute'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -40046,32 +38209,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.custom\Remove-AzCdnProfile'; - DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -40308,32 +38445,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; - DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -40598,32 +38709,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - MigrateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; - CreateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -41017,306 +39102,255 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - - $context = Get-AzContext - if (-not $context -and -not $testPlayback) { - throw "No Azure login detected. Please run 'Connect-AzAccount' to log in." - } - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; - } - if (('CanExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) - } - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - if ($wrappedCmd -eq $null) { - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) - } - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. -.Description -Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags -.Example -$tags = @{ - Tag1 = 11 - Tag2 = 22 -} -Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - [CustomDomainName ]: Name of the domain under the profile which is unique globally. - [EdgeActionName ]: The name of the Edge Action - [EndpointName ]: Name of the endpoint under the profile which is unique globally. - [ExecutionFilter ]: The name of the execution filter - [Id ]: Resource identity path - [OriginGroupName ]: Name of the origin group which is unique within the endpoint. - [OriginName ]: Name of the origin which is unique within the endpoint. - [PolicyName ]: The name of the CdnWebApplicationFirewallPolicy. - [ProfileName ]: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [RouteName ]: Name of the routing rule. - [RuleName ]: Name of the delivery rule which is unique within the endpoint. - [RuleSetName ]: Name of the rule set under the profile which is unique globally. - [SecretName ]: Name of the Secret under the profile. - [SecurityPolicyName ]: Name of the security policy under the profile. - [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. - [Version ]: The name of the Edge Action version -.Link -https://learn.microsoft.com/powershell/module/az.cdn/update-azcdnprofile -#> -function Update-AzCdnProfile { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Alias('ProfileName')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] - [System.String] - # Name of the CDN profile which is unique within the resource group. - ${Name}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] - [System.String] - # Name of the Resource group within the Azure subscription. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # Azure Subscription ID. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Body')] - [System.Int32] - # Send and receive timeout on forwarding request to the origin. - # When timeout is reached, the request fails and returns. - ${OriginResponseTimeoutSecond}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersTags]))] - [System.Collections.Hashtable] - # Profile tags - ${Tag}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; - UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } +begin { try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + + $context = Get-AzContext + if (-not $context -and -not $testPlayback) { + throw "No Azure login detected. Please run 'Connect-AzAccount' to log in." + } + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name } - return $paramDictionary + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; + } + if (('CanExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + if ($wrappedCmd -eq $null) { + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) + } + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } +} } +<# +.Synopsis +Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. +.Description +Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. +.Example +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Update-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -Tag $tags +.Example +$tags = @{ + Tag1 = 11 + Tag2 = 22 +} +Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 | Update-AzCdnProfile -Tag $tags + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + [CustomDomainName ]: Name of the domain under the profile which is unique globally. + [EdgeActionName ]: The name of the Edge Action + [EndpointName ]: Name of the endpoint under the profile which is unique globally. + [ExecutionFilter ]: The name of the execution filter + [Id ]: Resource identity path + [OriginGroupName ]: Name of the origin group which is unique within the endpoint. + [OriginName ]: Name of the origin which is unique within the endpoint. + [PolicyName ]: The name of the CdnWebApplicationFirewallPolicy. + [ProfileName ]: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [RouteName ]: Name of the routing rule. + [RuleName ]: Name of the delivery rule which is unique within the endpoint. + [RuleSetName ]: Name of the rule set under the profile which is unique globally. + [SecretName ]: Name of the Secret under the profile. + [SecurityPolicyName ]: Name of the security policy under the profile. + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [Version ]: The name of the Edge Action version +.Link +https://learn.microsoft.com/powershell/module/az.cdn/update-azcdnprofile +#> +function Update-AzCdnProfile { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfile])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Alias('ProfileName')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] + [System.String] + # Name of the CDN profile which is unique within the resource group. + ${Name}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] + [System.String] + # Name of the Resource group within the Azure subscription. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Azure Subscription ID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Body')] + [System.Int32] + # Send and receive timeout on forwarding request to the origin. + # When timeout is reached, the request fails and returns. + ${OriginResponseTimeoutSecond}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersTags]))] + [System.Collections.Hashtable] + # Profile tags + ${Tag}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Cdn.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + begin { try { $outBuffer = $null @@ -41644,34 +39678,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaJsonString = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaJsonFilePath = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -41902,31 +39908,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfileSku'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 index e60fd6acd874..4cd4e598eb0b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnCustomDomain.ps1 @@ -218,34 +218,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnCustomDomain_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnCustomDomain_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 index d4c77a06cc52..20850b0c12a4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeAction.ps1 @@ -120,31 +120,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeAction_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 index bb37a110afcc..2b5650218395 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionAttachment.ps1 @@ -185,36 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_Delete'; - DeleteExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteExpanded'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentity'; - DeleteViaIdentityExpanded = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaIdentityExpanded'; - DeleteViaJsonFilePath = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonFilePath'; - DeleteViaJsonString = 'Az.Cdn.private\Remove-AzCdnEdgeActionAttachment_DeleteViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 index e8d03e17adc9..39bdc350594e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionExecutionFilter.ps1 @@ -125,31 +125,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionExecutionFilter_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 index 35e22b47aa30..c4c3e6d7f247 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEdgeActionVersion.ps1 @@ -125,31 +125,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEdgeActionVersion_Delete'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 index 337e61b10b82..21c6e5ed3858 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnEndpoint.ps1 @@ -185,33 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnEndpoint_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnEndpoint_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 index 94d812f25f7d..92c6e403bbf6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOrigin.ps1 @@ -218,34 +218,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnOrigin_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOrigin_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 index 003add57635c..c2b191e4c2e7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnOriginGroup.ps1 @@ -218,34 +218,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnOriginGroup_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentity'; - DeleteViaIdentityEndpoint = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzCdnOriginGroup_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 index e8b26182e81a..a2d6df320cf3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzCdnProfile.ps1 @@ -153,32 +153,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.custom\Remove-AzCdnProfile'; - DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 index 8d64e9828831..d1648eafe217 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnCustomDomain.ps1 @@ -184,33 +184,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 index e9ce689790dc..a7b44e0cb336 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnEndpoint.ps1 @@ -184,33 +184,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnEndpoint_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 index dfdb338b46b5..97323023bfa7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOrigin.ps1 @@ -217,34 +217,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentity'; - DeleteViaIdentityOriginGroup = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOrigin_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 index 1368df6caaeb..1320ae14b75b 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnOriginGroup.ps1 @@ -184,33 +184,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 index 54d81d6eb6db..cd2752355ac8 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnProfile.ps1 @@ -153,32 +153,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; - DeleteViaIdentity = 'Az.Cdn.custom\Remove-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 index 26d9f908f0b4..355005f12b36 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRoute.ps1 @@ -218,34 +218,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentity'; - DeleteViaIdentityAfdEndpoint = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRoute_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 index d369d252e328..2af42aa74785 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRule.ps1 @@ -219,34 +219,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityProfile'; - DeleteViaIdentityRuleSet = 'Az.Cdn.private\Remove-AzFrontDoorCdnRule_DeleteViaIdentityRuleSet'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 index e8959830d475..969c5ace8466 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnRuleSet.ps1 @@ -185,33 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnRuleSet_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 index 3f11c3c62afd..ff9d573fe42a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecret.ps1 @@ -185,33 +185,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecret_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 index e6a0f5367ea4..d9b6ea1bafe3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Remove-AzFrontDoorCdnSecurityPolicy.ps1 @@ -186,33 +186,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentity'; - DeleteViaIdentityProfile = 'Az.Cdn.private\Remove-AzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 index 8f5c69d23f0a..2cf889464fa9 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzCdnEndpoint.ps1 @@ -179,33 +179,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Start = 'Az.Cdn.private\Start-AzCdnEndpoint_Start'; - StartViaIdentity = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentity'; - StartViaIdentityProfile = 'Az.Cdn.private\Start-AzCdnEndpoint_StartViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index 29add4445232..0301ba2b2370 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -181,32 +181,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - MigrateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; - CreateExpanded = 'Az.Cdn.custom\Start-AzFrontDoorCdnProfilePrepareMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 index c819cea6248c..cdcf00052b9e 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Stop-AzCdnEndpoint.ps1 @@ -179,33 +179,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Stop = 'Az.Cdn.private\Stop-AzCdnEndpoint_Stop'; - StopViaIdentity = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentity'; - StopViaIdentityProfile = 'Az.Cdn.private\Stop-AzCdnEndpoint_StopViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 index 610c66d00d22..e1fc61b5eb10 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Test-AzFrontDoorCdnProfileMigration.ps1 @@ -112,31 +112,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CanExpanded = 'Az.Cdn.custom\Test-AzFrontDoorCdnProfileMigration'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 index 18f332d3b4c3..7199ac78ffb6 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeAction.ps1 @@ -145,33 +145,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeAction_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 index a64cd24bd56a..459bdc09d321 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionExecutionFilter.ps1 @@ -156,33 +156,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionExecutionFilter_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 index b33d20bf8a2e..404157b0891d 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEdgeActionVersion.ps1 @@ -152,33 +152,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEdgeActionVersion_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 index bc967b0cdf6b..ae09c1c148e5 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 @@ -435,36 +435,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnEndpoint_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 index ac6c85997cd4..c0e067c66126 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 @@ -373,38 +373,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateExpanded'; - UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpoint'; - UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOrigin_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 index c06f0da86866..8a40ee108627 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 @@ -322,38 +322,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateExpanded'; - UpdateViaIdentityEndpoint = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpoint'; - UpdateViaIdentityEndpointExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnOriginGroup_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 index 2be4a1a634be..e036b46f878f 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnProfile.ps1 @@ -167,32 +167,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; - UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 index 501a72c34888..4201b75107c4 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 @@ -272,36 +272,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomain_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 index 27739ab20197..015ddb83a110 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 @@ -184,33 +184,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Refresh = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_Refresh'; - RefreshViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity'; - RefreshViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 index 75df20a5f713..d571d1e7b329 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 @@ -251,36 +251,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnEndpoint_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 index 0f9a09ba80be..fe3ff9ed7f37 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 @@ -403,38 +403,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityExpanded'; - UpdateViaIdentityOriginGroup = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup'; - UpdateViaIdentityOriginGroupExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOrigin_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 index 9c3a428e55ba..2f38bc4ef125 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 @@ -310,36 +310,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnOriginGroup_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 index 9fa75d4b137a..24277ad7eef3 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfile.ps1 @@ -244,34 +244,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaJsonString = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaJsonFilePath = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - UpdateViaIdentityExpanded = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfile'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 index 9b0877959698..07cc8300ec6c 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnProfileSku.ps1 @@ -145,31 +145,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - __AllParameterSets = 'Az.Cdn.custom\Update-AzFrontDoorCdnProfileSku'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 index 903720b160fc..a9c6e9112125 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 @@ -419,38 +419,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateExpanded'; - UpdateViaIdentityAfdEndpoint = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint'; - UpdateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRoute_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 index 7f32e7f14707..fed529029e2a 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 @@ -307,38 +307,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded'; - UpdateViaIdentityRuleSet = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSet'; - UpdateViaIdentityRuleSetExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnRule_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 index dd43eb62994c..9c5b15627042 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRuleSet.ps1 @@ -228,34 +228,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 index b2ae4081a079..14e5dce718d7 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 @@ -204,34 +204,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityExpanded'; - UpdateViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfile'; - UpdateViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 index ad29608d3fe2..8aad201f17cd 100644 --- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 @@ -235,36 +235,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - PatchExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchExpanded'; - PatchViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded'; - PatchViaIdentityProfile = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile'; - PatchViaIdentityProfileExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded'; - PatchViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath'; - PatchViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnSecurityPolicy_PatchViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/generated/Module.cs b/generated/Cdn/Cdn.Autorest/generated/Module.cs index c03dd37f7fcc..627d46258f16 100644 --- a/generated/Cdn/Cdn.Autorest/generated/Module.cs +++ b/generated/Cdn/Cdn.Autorest/generated/Module.cs @@ -14,7 +14,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn using GetTelemetryIdDelegate = global::System.Func; using TelemetryDelegate = global::System.Action; using NewRequestPipelineDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>, global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; - using ChangeSafetyPolicyTokenDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; using SignalDelegate = global::System.Func, global::System.Threading.Tasks.Task>; using EventListenerDelegate = global::System.Func, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>; using NextDelegate = global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>; @@ -47,11 +46,6 @@ public partial class Module public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy(); - /// - /// Change Safety: delegate called after OnNewRequest to (conditionally) add the policy-token pipeline step. - /// - public ChangeSafetyPolicyTokenDelegate AddChangeSafetyPolicyTokenHandler { get; set; } - /// Gets completion data for azure specific fields public ArgumentCompleterDelegate ArgumentCompleter { get; set; } @@ -121,7 +115,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.HttpPipeline CreatePipelin AfterCreatePipeline(invocationInfo, ref pipeline); pipeline.Append(new Runtime.CmdInfoHandler(processRecordId, invocationInfo, parameterSetName).SendAsync); OnNewRequest?.Invoke( invocationInfo, correlationId,processRecordId, (step)=> { pipeline.Prepend(step); } , (step)=> { pipeline.Append(step); } ); - AddChangeSafetyPolicyTokenHandler?.Invoke( invocationInfo, (step)=> { pipeline.Append(step); } ); return pipeline; } diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs index a307d7908f13..63570ab9ad89 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_Add.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_Add : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,20 +278,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs index a3ad7fcf28ff..4074dcd05bd0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,20 +278,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs index b4209e818f76..a4d6a91821d1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,20 +236,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs index 00c5d5b967e4..a61ff0651dfc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment", ApiVersion = "2024-07-22-preview")] public partial class AddAzCdnEdgeActionAttachment_AddViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,20 +236,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs index 31a1972a9844..a19f23cef174 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class AddAzCdnEdgeActionAttachment_AddViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -282,20 +281,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs index 680312cae80e..6eba684fe8f4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/AddAzCdnEdgeActionAttachment_AddViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class AddAzCdnEdgeActionAttachment_AddViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs index be36c44a5648..99ed0d211e30 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_Purge.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_Purge : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,20 +301,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs index 157b509e19ec..2f110f20656d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs index 5c716226f572..b9610204a0cc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -243,20 +242,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs index 09a720a697a2..9f8e8ff5e9ca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs index 853a46792d06..3f7e764afa54 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -258,20 +257,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs index a0e1496770ec..5f37848653f3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzCdnEndpointContent_PurgeViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,20 +262,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs index 65347a383f95..9a4fb05ace24 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzCdnEndpointContent_PurgeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,20 +303,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs index f5b5288e6766..adc6ff15c7ef 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzCdnEndpointContent_PurgeViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzCdnEndpointContent_PurgeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,20 +301,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs index 201762b31a8b..4285b2f1d57c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_Purge.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_Purge : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,20 +301,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs index 31935e50615e..ae3a74af3c3d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -317,20 +316,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs index a0792a2c7409..63693dc182d7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -243,20 +242,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs index e1425eef801a..abeb20617257 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs index 5662af5bacdb..e7b1cfd8d86c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs index 118444932ae2..6e77da485ccb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge", ApiVersion = "2026-04-01-preview")] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,20 +275,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs index 14bbb02ee3f9..755e63bce53b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,20 +303,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs index 477935e0cc8d..027496b34e19 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ClearAzFrontDoorCdnEndpointContent_PurgeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -302,20 +301,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs index c2dc1fc23bc4..534d6140a862 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_Deploy.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_Deploy : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,20 +294,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs index 5aad8abe68c8..446fb89a7f74 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs index bffef9e1a8df..ccd1cf766f25 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -238,20 +237,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs index 1e087f7f5d5e..a04914bfa0de 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeAction : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -255,20 +254,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs index c1fa576c374f..536e252728f3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityEdgeActionExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -267,20 +266,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs index 2d2148bad180..216a15605ed6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode", ApiVersion = "2024-07-22-preview")] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -251,20 +250,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs index 485835d0ef4e..72aa447fcde5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -297,20 +296,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs index 68b19c0ca1e7..514fbdc11862 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DeployAzCdnEdgeActionVersionCode_DeployViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class DeployAzCdnEdgeActionVersionCode_DeployViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,20 +294,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs index 1e380a13031d..b6d849d71dee 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_Disable.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_Disable : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -297,20 +296,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs index 338b30a560ba..7cf2dcdb03fa 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -223,20 +222,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs index 8ae45fe804e3..d3891aa4011f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -241,20 +240,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs index cc4ef8ed12e6..c5a56cec1b2c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class DisableAzCdnCustomDomainCustomHttps_DisableViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -256,20 +255,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs index 6413f6a2eb1e..2992d22b83d2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_Enable.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_Enable : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -312,20 +311,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs index 351d22cecc60..5dfbe6baf710 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -238,20 +237,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs index c6042ab6b9e9..5213f4c8b917 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -255,20 +254,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs index e9b000d7c4f7..65675003efbb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -281,20 +280,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs index 78a86c60da99..79e63acbc3ed 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -270,20 +269,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs index ff3dad9c5d88..6cb914d32516 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", ApiVersion = "2026-04-01-preview")] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs index 8c180bc09318..54b9e96592f1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -316,20 +315,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs index 98437f349a5a..b0454c3f6ec9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class EnableAzCdnCustomDomainCustomHttps_EnableViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -312,20 +311,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs index 295faa4f1492..c0619e49ddbc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_Load.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_Load : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs index ade983bdc0c0..8d2d9961924f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -297,20 +296,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs index 7c302c1cac87..12a68a2da632 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -235,20 +234,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs index 26a6a7295356..d6236a817bd6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -238,20 +237,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs index a4d415d6292e..c521e82c3f41 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,20 +249,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs index e6385a1b922f..27fcc0d0df2f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load", ApiVersion = "2026-04-01-preview")] public partial class ImportAzCdnEndpointContent_LoadViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -255,20 +254,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs index 7b584407e6c6..8b94aaeed272 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ImportAzCdnEndpointContent_LoadViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs index 5b6a46fa0cd7..06434e7df609 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/ImportAzCdnEndpointContent_LoadViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class ImportAzCdnEndpointContent_LoadViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs index 338101b00378..3d87ed38f69e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_Abort.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnAbortProfileToAFDMigration_Abort : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -266,20 +265,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs index 4f9d838ce321..8157bc95d23b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnAbortProfileToAFDMigration_AbortViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -222,20 +221,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs index 3600264768f8..ee2825bb19ca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_Can.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCanProfileMigrate_Can : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs index 39cfe581f316..c0690e4ab707 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCanProfileMigrate_CanExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs index f7ed7d14ae35..33bf98b8f1fb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class InvokeAzCdnCanProfileMigrate_CanViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,20 +261,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs index 386efdaca088..10c6b8f7704c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCanProfileMigrate_CanViaJsonString.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class InvokeAzCdnCanProfileMigrate_CanViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs index 2101a666f5d0..6908c6734adc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_Commit.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationCommit", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCommitProfileMigration_Commit : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -265,20 +264,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs index fe4660deeab4..b25a4ed9d015 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/InvokeAzCdnCommitProfileMigration_CommitViaIdentity.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationCommit", ApiVersion = "2026-04-01-preview")] public partial class InvokeAzCdnCommitProfileMigration_CommitViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -221,20 +220,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// /// Initializes a new instance of the cmdlet class. /// diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs index c568cd0df489..7f995a159d50 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_Migrate.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate", ApiVersion = "2026-04-01-preview")] public partial class MoveAzCdnProfile_Migrate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs index f1fe3ab53642..69c028125ead 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate", ApiVersion = "2026-04-01-preview")] public partial class MoveAzCdnProfile_MigrateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs index 85c4606ebb6d..a503c8dd0a6b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzCdnProfile_MigrateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,20 +262,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs index 177806cbe323..029c7005f818 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzCdnProfile_MigrateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzCdnProfile_MigrateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs index 6822b6d8b00e..e7977da60979 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_Migrate.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_Migrate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,20 +277,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs index 266b1046c50a..46dbf11bb5cf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs index 132e66d4173a..dbf95626e3d2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -234,20 +233,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs index 67a11ddd1ba3..40b04c30b9fd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd", ApiVersion = "2026-04-01-preview")] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs index a6f563c66c2e..381cf338500a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs index 5c7787d0c14a..2c09d351385d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class MoveAzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,20 +277,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs index 7ec03e851c59..1cca41383198 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs index cb29acba9635..a7ad2fc5a7e5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs index 670598361106..bdf206c65f18 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs index fb59d8d62eb8..aacebc8b1103 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs index 7addd213cf11..7378fee06958 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnCustomDomain_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs index 7f5d0ede4b1c..47030b891f2f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnCustomDomain_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs index 6b9d269de99a..550b68d3e6ff 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnCustomDomain_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnCustomDomain_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs index 44b0e01a3344..552a99d189ad 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeActionExecutionFilter_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -346,20 +345,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs index 162fcc02a303..f2116d0addac 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionExecutionFilter_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs index c5fe9d18149a..d502e77d3823 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionExecutionFilter_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -287,20 +286,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs index 7c1153df0dd5..e1ee5a07ff39 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeActionVersion_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -337,20 +336,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs index acfa147cc1be..6f5f70c45164 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionVersion_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs index 63dfccc0db25..c0c649dca71d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeActionVersion_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeActionVersion_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -287,20 +286,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs index 5177f58ea8f0..92f9989665cd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class NewAzCdnEdgeAction_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -321,20 +320,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs index f79b3ec7592c..4176d550d456 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeAction_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,20 +274,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs index 0d60ccbba4d8..354d34288f4f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEdgeAction_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEdgeAction_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,20 +272,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs index a61d302d3002..6dc7a0679d26 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -535,20 +534,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs index 4c76c04e598c..5861a773b14f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfile.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -251,20 +250,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs index 3574713daad0..52bdc9f00a11 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaIdentityProfileExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnEndpoint_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -491,20 +490,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs index c969eb7c0829..47583a9d485a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonFilePath.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEndpoint_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs index 1c590170de68..42dade74a9cb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnEndpoint_CreateViaJsonString.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnEndpoint_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs index 92fb6ea772cb..0dc9ca824f43 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -349,20 +348,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs index 73b9d54294e6..b52fcb69a54a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs index ecbaf61fdbce..aa30043becdd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs index e10039d93844..ab2a904e31c4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,20 +262,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs index df7f6b851d82..a978e3bbb47e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOriginGroup_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs index 73870a0b5217..3656b34c537c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOriginGroup_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs index d1684fc994e6..9f1e4b970b0d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOriginGroup_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOriginGroup_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs index 501fe537f97d..bd8e9f91ba3a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -438,20 +437,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs index c97062ef66de..9166809526af 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs index e5f80252d6d4..4658fcb18718 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -379,20 +378,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs index 511c29ab742c..2f0610735c35 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -264,20 +263,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs index b9de3169332a..641ccd7c3149 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnOrigin_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -394,20 +393,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs index 637e2e86fb38..73162e09376a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOrigin_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs index 9b1f93a23448..196960b2db17 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnOrigin_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnOrigin_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs index 8c067d7ce476..284d9fcb9b0c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateExpanded.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -423,20 +422,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs index 2af140184105..c4d39f1386ad 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonFilePath.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnPolicy_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,20 +275,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs index d7d17ec49083..3d776f8ec217 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnPolicy_CreateViaJsonString.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnPolicy_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,20 +273,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs index 6c47bad604ad..73ee9fca7771 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_Generate.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfileSsoUri_Generate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -243,20 +242,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs index 83fe5f6b917e..d0547ea32b47 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfileSsoUri_GenerateViaIdentity.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfileSsoUri_GenerateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -202,20 +201,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs index 0359180fdb8f..06a3b7c6a82a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateExpanded.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzCdnProfile_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -371,20 +370,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs index 4537b6d6fca6..9fec580fe7bf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonFilePath.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnProfile_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -282,20 +281,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs index 37c0adccf66a..dbf839dc3cca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzCdnProfile_CreateViaJsonString.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzCdnProfile_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs index 91fdb89ccd73..ac2da94e3380 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -351,20 +350,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs index 4ead7641e048..c9cebaf16a34 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,20 +246,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs index 82dd9e1462c8..2e86b6d39544 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -309,20 +308,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs index a558c27210c6..112fb9215a42 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs index 2c2ee1d00615..38d18cbdb9ee 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnCustomDomain_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnCustomDomain_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs index 1bc587b7e69e..43450c1e8810 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -347,20 +346,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs index 488a2d0b74bf..b4718081bb7c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -251,20 +250,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs index 915570753119..0d8d469ced2d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnEndpoint_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs index 105becb69ada..18451f087a5d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnEndpoint_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs index 2b6e8ae24f51..1585a27e154b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnEndpoint_CreateViaJsonString.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnEndpoint_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs index 715db768b39d..b39019cf3d84 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -384,20 +383,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs index 084e20edc963..9cc557294ba7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs index ff901af5b458..95c228e4fd05 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -342,20 +341,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs index 698e62a3a83f..4fc927dfe7da 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs index 09b1758c8e04..279c1ea5ea76 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOriginGroup_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOriginGroup_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs index d6817f79d9b4..835ea8dd8653 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -473,20 +472,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs index d99de20be3b9..8fbf0c3585a9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs index 892f7d3af35c..08d6cfc0416f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityOriginGroupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -416,20 +415,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs index d591191a10a0..c2e88f2f5a18 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,20 +262,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs index c4cf25abd176..14843375a523 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnOrigin_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -431,20 +430,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs index 422d410f29b2..5e7a263f8106 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOrigin_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs index 64a84599edf3..36f42b6a3010 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnOrigin_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnOrigin_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,20 +303,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs index d02fcc118128..fc84c7b4d4b1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -479,20 +478,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs index a79b3c804fa2..1821914b1675 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,20 +249,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs index 029205c2eae0..8747a8f1aa78 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -422,20 +421,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs index 198fe5bb9504..44fed60b5576 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfile.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -265,20 +264,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs index dfb36929cc6b..5b7a1b9bf40b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -435,20 +434,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs index 8f39b9886e44..263175c4d1ed 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRoute_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -311,20 +310,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs index 8d1d3ef04d8f..0f2e215901fd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRoute_CreateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRoute_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -309,20 +308,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs index e375cbf74e3c..ea0c260c6e84 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_Create.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs index 6a02c63b3d7c..7b9ad68ac037 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -312,20 +311,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs index e6ef6b239a52..990dd3f243ca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs index 2a5703de870e..ab71adae5c23 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRuleSet_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -270,20 +269,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs index 69d524a77218..3ea94d70d14a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRuleSet_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs index b77b40a27e93..3c7226db879f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRuleSet_CreateViaJsonString.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRuleSet_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs index 47f04915caea..5f244244c8ba 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -351,20 +350,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs index f0b7f6ab5b97..66ebc7ea7323 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,20 +261,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs index 9a01f7f0ffcc..2d8265ffdf17 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs index 73dfb311529e..da4ac7233615 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs index bcc9c7068329..7559b3dbd4e6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnRule_CreateViaIdentityRuleSetExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs index 34394cffb31f..447b041295b7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRule_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,20 +307,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs index 86b59922c9bb..c71b66b284d1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnRule_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnRule_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs index 77f395ddc199..cff5a5f577d4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs index fa235497b2f9..5702b660043b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs index 537d96fad73a..9c99a3b66a6d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecret_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs index 33d2aa39fabb..4324a3ff2e69 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecret_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs index a5475dd50392..ea2e5d8cbf44 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecret_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecret_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs index f86a42229bd1..a988606f88ca 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs index 651044d4b34c..93d5b4712ad1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs index f40642dace0f..a6e907ea2a99 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs index 38535c1aa59e..7d09e8258d3f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs index 39ac2228561c..e331cd52dc51 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class NewAzFrontDoorCdnSecurityPolicy_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs index 08911f01f398..5a671a420046 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs index 3183e4fccd65..cce8dd0f5434 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs index 4fdaf7c9590d..717c7bc473c1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs index 089d7d2e9da0..c5362aa2ee78 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnCustomDomain_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnCustomDomain_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs index cc18927bbc70..f2bea2ab436d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_Delete.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,20 +272,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs index 3aea8411a2c1..9ed2fa388f89 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,20 +272,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs index 94563ec43b8c..365d86c3c1fe 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -231,20 +230,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs index ea37b9de9b00..2cd1d3db5687 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs index 4d1db00919d9..c5a5a87bc59e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,20 +275,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs index 2555de6cfeae..7e80848a627b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class RemoveAzCdnEdgeActionAttachment_DeleteViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -274,20 +273,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs index 3e0d52f95425..b2edc980eaff 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionExecutionFilter_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionExecutionFilter_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -287,20 +286,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs index 39b7297965b0..3c5aa13bac42 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeActionVersion_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeActionVersion_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -287,20 +286,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs index 4ab1bac75954..78cd588141a1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEdgeAction_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class RemoveAzCdnEdgeAction_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,20 +272,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs index c4dcaff90f22..21ecff89d359 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_Delete.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,20 +292,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs index 1bd7498c3580..22984104c0f7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentity.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs index d9e4a84e12a5..41b9c8ccacd4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnEndpoint_DeleteViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnEndpoint_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs index 2ba5c351f3c4..57c1f0b458c7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs index c17015074bea..cf5f2508f575 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs index 5328f403bb16..0648257bb44b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs index 7e0df4e84c35..633401aa0a25 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOriginGroup_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOriginGroup_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs index 59d46039230d..f98f0a8007b3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs index cd2da7563848..ce7148716f8c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs index a4de74c04a3e..6efd71e9f110 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs index 7aa6dbaa3786..987570a0119a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnOrigin_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnOrigin_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs index f17679ec6a7c..18f0889511db 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_Delete.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -252,20 +251,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs index 8fa41a6405e7..c948b5f94da4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnPolicy_DeleteViaIdentity.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -212,20 +211,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs index 347f08cc240c..f481eff4c6dc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_Delete.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnProfile_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs index fa008573925e..715bcb8bf16c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzCdnProfile_DeleteViaIdentity.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzCdnProfile_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -235,20 +234,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs index 13041f798a52..26bc3c20d038 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_Delete.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs index 8c64fbb75268..b94b62a45a82 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs index b62e76e03b50..c466ad5aa24a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnCustomDomain_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,20 +249,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs index 197332004130..b75e1bdb5fcd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_Delete.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs index 14e6844e7c7d..c37f4d556c2a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs index 369036900d3e..d7715c7af837 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnEndpoint_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs index d2f4e21e3373..1c96c3760778 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs index 7f2f404d5904..f3e646de97f2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs index 160213672010..d409550b7e14 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOriginGroup_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,20 +246,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs index 1bfa8bd0008e..d22b7587af19 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,20 +303,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs index 4b6f120f92b3..ec92b571c7f4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs index 8d31ce8eb11b..2a193f8cf89b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,20 +244,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs index 9d31f626a580..a59485fca14b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnOrigin_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs index c1fafa34f6c8..c3c696b150b2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_Delete.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,20 +307,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs index 57d22dbb2b9b..53444a346255 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentity.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs index c9ec70ccf843..f3469c69885c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs index c2088ca44641..60f7b72f4bb9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRoute_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -264,20 +263,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs index b9e8419b1d11..23258c7ddd0c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_Delete.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,20 +292,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs index 10567d4263a9..9cd2cb6b121a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -233,20 +232,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs index 52bb7efe0168..db9ff7c3a770 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRuleSet_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs index 158f81a80b50..a22198bb1485 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs index 5786bc3cfa5f..18e58f63b6e3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs index a913679545b0..f63b6942b981 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,20 +261,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs index 4abbfdf3cabd..f2b5e0f161bc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnRule_DeleteViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs index 1a94b61ae668..bac2228abbb1 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs index 59f1cdb2656b..3bc52fc5f5b8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs index b4820163e80f..6bc914165d14 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecret_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs index ee337e71a31b..f4a7eb4ae661 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_Delete.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs index fd00c8f50f28..e854b128554e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs index cd1b139b2f10..c84a4684d35a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class RemoveAzFrontDoorCdnSecurityPolicy_DeleteViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs index a17818e5fd6a..8ed4648aedb7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_Start.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_Start : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,20 +274,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs index 4405c369ca3f..f14e1b72b86d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_StartViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -215,20 +214,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs index af1f2d298b4a..9f70d0554e7f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StartAzCdnEndpoint_StartViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start", ApiVersion = "2026-04-01-preview")] public partial class StartAzCdnEndpoint_StartViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -231,20 +230,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs index d4e36b46fd64..7d02b6b080f9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_Stop.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_Stop : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,20 +274,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs index ea0217614b89..b0b972e6708f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -215,20 +214,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs index cab1ea776525..697f0274f5cc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/StopAzCdnEndpoint_StopViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop", ApiVersion = "2026-04-01-preview")] public partial class StopAzCdnEndpoint_StopViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -231,20 +230,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs index e0112e48d01d..8a990cb7e214 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -321,20 +320,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs index 65a1fb55fafe..ae4bd5779810 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs index 24209a2ea6a8..f829e6165423 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionExecutionFilter_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs index 7571ab510ed5..3e1009663788 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeActionVersion_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -312,20 +311,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs index 4eddc762cc78..a2567bbf59dd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionVersion_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs index f0453242f361..50eca276a911 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeActionVersion_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeActionVersion_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -287,20 +286,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs index 05cf776e1714..f6aa65230ea4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}", ApiVersion = "2024-07-22-preview")] public partial class UpdateAzCdnEdgeAction_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs index dc3d6d412870..c93ae41dad1b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeAction_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,20 +274,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs index 59f163fc1f93..b47a0d9c57b8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEdgeAction_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEdgeAction_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -273,20 +272,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs index 050415e0af13..186a20e9922e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -497,20 +496,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs index b49e4bf21acc..d6a746bc15f4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -437,20 +436,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs index 11c2d0246c40..d00d13f0346f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfile.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -250,20 +249,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs index f4040a4916cd..2af4cddcfb2d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnEndpoint_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -453,20 +452,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs index 11684b22c545..73ec9ad676e0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEndpoint_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs index a4f11043cb91..1affa0298d4d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnEndpoint_UpdateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnEndpoint_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -294,20 +293,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs index b42ada57f7cb..841d1001bc83 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -347,20 +346,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs index 6d21393a188d..cd9d80c238db 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs index ff5cbe3b39dd..7e8f6c0b2dbf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs index 365c567ce457..a83e42b91a5b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -272,20 +271,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs index baa9fc893f95..144920241045 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs index 1048d2d47c66..f21b6b430e93 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOriginGroup_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,20 +302,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs index d79b976f318f..07725b81abc2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOriginGroup_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs index 17db58ecb500..702115ff2b75 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOriginGroup_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOriginGroup_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs index b8d28a7501cf..11e652446710 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -435,20 +434,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs index 243059613e3a..17b9226e5331 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpoint.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs index 0b2df0921a0a..ef4f91722a3a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -376,20 +375,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs index a04c6657916c..334aecfc8685 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -360,20 +359,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs index 34709c7d9e8e..da0b5aab7af7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -261,20 +260,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs index a03d062b273f..ae12c36452c2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnOrigin_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -391,20 +390,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs index ae0ce423f187..d28fbd500cbd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOrigin_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -307,20 +306,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs index 89074e457e31..e2e8b561e32a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnOrigin_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnOrigin_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -305,20 +304,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs index fceeb1c571d9..ddb1e055a907 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnPolicy_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,20 +277,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs index bbc7429947f2..5665c4b012b3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaIdentityExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnPolicy_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -235,20 +234,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs index 7507ae285c2a..c2f829f5f19e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnPolicy_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,20 +278,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs index db582e3e42b3..45e3e8617f6f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnPolicy_UpdateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnPolicy_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -277,20 +276,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs index 2b01cb3ceabe..e9382e48ac39 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateExpanded.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnProfile_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -348,20 +347,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs index fd8d496384e4..e840c21e6012 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaIdentityExpanded.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzCdnProfile_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -303,20 +302,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs index 72f06480225e..460f8a8b604f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonFilePath.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnProfile_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -282,20 +281,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs index e41f052c8c9a..732694a8bb85 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzCdnProfile_UpdateViaJsonString.cs @@ -27,8 +27,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzCdnProfile_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs index 3b8a6771f449..b34d10142759 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_Refresh : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,20 +278,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs index a4a5bcafcb30..e7354ca0846a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -222,20 +221,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs index 860fb51a9255..92dee71283f5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomainValidationToken_RefreshViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,20 +236,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs index 037ae209427c..e369405667eb 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -326,20 +325,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs index 0494452ac9a3..c757b353918f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -269,20 +268,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs index 732319925f27..4926400c0044 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,20 +246,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs index 3df7cebd5250..68d81baf56cd 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -284,20 +283,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs index 9ac7ce4d660c..deb8e1a15bc5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs index b6337e522491..6de807e92c33 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnCustomDomain_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs index 1466f6c231e2..6d76def6fb6a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -322,20 +321,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs index b21385287262..72545bfd9c24 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -263,20 +262,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs index e7cab771bb36..6ac7e33c95c6 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs index a26110cf689b..93bd8ac4ee0e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -280,20 +279,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs index 08cfd5fa87cd..1832eae92193 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -295,20 +294,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs index 39077ee86431..71617d23575e 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString.cs @@ -26,8 +26,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnEndpoint_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,20 +292,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs index 280ab9c8cfe9..74ff9b116adc 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -381,20 +380,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs index e411d8af0050..5c29af439c09 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -324,20 +323,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs index fbb3778aaa13..f1fc3fd0694d 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -247,20 +246,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs index cbbf38123a4d..e8794768db14 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -339,20 +338,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs index a5a54f6685f8..e11d0ab7e9a9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -291,20 +290,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs index a5666f99cf48..36a0b748e3e5 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOriginGroup_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -289,20 +288,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs index 596ff53a28ca..11938c80ade2 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -470,20 +469,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs index 626308f7f275..23ea66925d5f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -396,20 +395,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs index a0803b75752d..c4808328723b 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -245,20 +244,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs index bbbc420bc575..e82545ec1357 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityOriginGroupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -413,20 +412,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs index 4a6b92073bc7..2566c02ebf5f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -260,20 +259,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs index 5bded837c3ae..f2d9c08da4ed 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -428,20 +427,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs index 3ab441f82837..c1ec8864f01c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs index 415cbd602c65..7e193dbb0ea3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnOrigin_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -304,20 +303,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs index 665307cf0bbb..09c337bf46f9 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_Upgrade.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_Upgrade : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,20 +275,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs index 478c2c817b97..4388d4638a85 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -279,20 +278,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs index a029f8c9ff12..d370cf5eda23 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,20 +231,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs index ba2658cba628..b6fe7e4cb88f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -237,20 +236,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs index f5d4fcfabee5..bfcfa7ff9b45 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -278,20 +277,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs index 54a898384d53..63e9a7d48258 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnProfileSku_UpgradeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -276,20 +275,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs index 575c605e87a5..66b8fbcca5ef 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -478,20 +477,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs index 1c9831481edd..8d107092c802 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpoint : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -249,20 +248,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs index 5f11b3ac5414..4e407e592a89 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityAfdEndpointExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -421,20 +420,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs index bfc2d939ff4b..62fed37cfe0c 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -403,20 +402,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs index 7ed7a3b42df8..458855690656 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -264,20 +263,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs index 26b3e376ccac..482bb69d5cf0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded.cs @@ -24,8 +24,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -436,20 +435,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs index a99f45bc83ed..8b18f3c39dc0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -310,20 +309,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs index b777db71e590..acba6b94ba7a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRoute_UpdateViaJsonString.cs @@ -25,8 +25,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRoute_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,20 +307,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs index 0b9ad3d31da0..ab5b6e17469a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -296,20 +295,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs index 867c5681483c..37034ead6211 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -236,20 +235,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs index 092935950033..d5ce2e430aac 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs index 6fc50982d6c5..25da5c0a2838 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded.cs @@ -23,8 +23,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnRuleSet_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -254,20 +253,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs index ec3a72cabd1f..f823f3fbb1f0 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -351,20 +350,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs index 1723b06a8220..c303cce520a4 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -275,20 +274,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs index ee2b42b64f34..26693d82f9ff 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -262,20 +261,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs index 4a8c911bea02..b9a29bce00f7 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -309,20 +308,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs index 6f2fa31991e5..b9dc959f9af3 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSet : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs index 8b17681bdc0b..25ad932c1145 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnRule_UpdateViaIdentityRuleSetExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -293,20 +292,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs index 44de625ffd94..08a947aa6c08 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRule_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -308,20 +307,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs index a0c71c173205..afeb3bb9d96f 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnRule_UpdateViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnRule_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -306,20 +305,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs index 80c0b998429b..1e6c6c688aaf 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs index a903de93a518..1aa9e18504de 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -230,20 +229,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs index d9cdd8bcbed4..5ca2a8784e27 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -246,20 +245,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs index 643acfd414fe..d7cfef099d85 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.Generated] public partial class UpdateAzFrontDoorCdnSecret_UpdateViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs index 48dd0bc46b90..bba1ffda3e58 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs index 4f38374d1135..3e2af0f63e88 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -232,20 +231,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs index 036e85d4cf45..09bbacdcbcd8 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfile : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs index bca521440a80..4d3880fd0b5a 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded.cs @@ -21,8 +21,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}", ApiVersion = "2026-04-01-preview")] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaIdentityProfileExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -248,20 +247,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs index 9e479812c1b9..31ceedf4a009 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -292,20 +291,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs index beff83821295..c46f5a5d3094 100644 --- a/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs +++ b/generated/Cdn/Cdn.Autorest/generated/cmdlets/UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString.cs @@ -22,8 +22,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Cdn.NotSuggestDefaultParameterSet] public partial class UpdateAzFrontDoorCdnSecurityPolicy_PatchViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IEventListener, - Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext, - System.Management.Automation.IDynamicParameters + Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IContext { /// A unique id generatd for the this cmdlet when it is instantiated. private string __correlationId = System.Guid.NewGuid().ToString(); @@ -290,20 +289,6 @@ protected override void EndProcessing() } } - /// - /// Returns the Change Safety dynamic parameters (-AcquirePolicyToken / -ChangeReference) for this write cmdlet. - /// - /// - /// A containing the Change Safety parameters. - /// - public object GetDynamicParameters() - { - var parameters = new global::System.Management.Automation.RuntimeDefinedParameterDictionary(); - parameters.Add("AcquirePolicyToken", new global::System.Management.Automation.RuntimeDefinedParameter("AcquirePolicyToken", typeof(global::System.Management.Automation.SwitchParameter), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "Acquire an Azure Policy token automatically for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - parameters.Add("ChangeReference", new global::System.Management.Automation.RuntimeDefinedParameter("ChangeReference", typeof(string), new global::System.Collections.ObjectModel.Collection { new global::System.Management.Automation.ParameterAttribute { HelpMessage = "The change reference resource ID for this resource operation.", ParameterSetName = global::System.Management.Automation.ParameterAttribute.AllParameterSets } })); - return parameters; - } - /// Handles/Dispatches events during the call to the REST service. /// The message id /// The message cancellation token. When this call is cancelled, this should be true diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index 96ceb88ea3d1..b337b2aa4455 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -139,7 +139,6 @@ protected override void ProcessRecord() } sb.Append($"){Environment.NewLine}{Environment.NewLine}"); - sb.Append(variantGroup.ToDynamicParamOutput()); sb.Append(variantGroup.ToBeginOutput()); sb.Append(variantGroup.ToProcessOutput()); sb.Append(variantGroup.ToEndOutput()); diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 82b4ef882a35..ee29446b4b40 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Linq; using System.Management.Automation; -using System.Management.Automation.Language; using System.Text; using System.Text.RegularExpressions; using static Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.PowerShell.PsProxyOutputExtensions; @@ -200,69 +199,6 @@ public string ClearTelemetryContext() } } - internal class DynamicParamOutput : BaseOutput - { - public DynamicParamOutput(VariantGroup variantGroup) : base(variantGroup) - { - } - - // Change Safety: only emit a dynamicparam block when the wrapped command actually declares dynamic - // parameters, either via IDynamicParameters (compiled private cmdlets) or via its own `dynamicparam` - // block (custom-fronted cmdlets, which wrap a hand-written function in custom/ instead of a private - // cmdlet). For every other cmdlet this emits nothing (zero diff), so it is a no-op that just forwards - // the wrapped command's runtime parameters through the proxy. - private bool HasDynamicParameters() => VariantGroup.Variants.Any(v => - { - if (v.IsFunction) - { - // FunctionInfo.ScriptBlock.Ast is a FunctionDefinitionAst (the `function Name { ... }` wrapper); - // its Body (a ScriptBlockAst) is what actually exposes the DynamicParamBlock property. - var ast = (v.Info as FunctionInfo)?.ScriptBlock?.Ast; - var scriptBlockAst = ast as ScriptBlockAst ?? (ast as FunctionDefinitionAst)?.Body; - return scriptBlockAst?.DynamicParamBlock != null; - } - var implementingType = (v.Info as CmdletInfo)?.ImplementingType; - return implementingType != null && typeof(IDynamicParameters).IsAssignableFrom(implementingType); - }); - - private string GetParameterSetToCmdletMapping() - { - var sb = new StringBuilder(); - sb.AppendLine($"{Indent}$mapping = @{{"); - foreach (var variant in VariantGroup.Variants) - { - sb.AppendLine($@"{Indent}{Indent}{variant.VariantName} = '{variant.PrivateModuleName}\{variant.PrivateCmdletName}';"); - } - sb.Append($"{Indent}}}"); - return sb.ToString(); - } - - public override string ToString() => !HasDynamicParameters() ? String.Empty : $@"dynamicparam {{ -{Indent}$parameterSet = $PSCmdlet.ParameterSetName -{GetParameterSetToCmdletMapping()} -{Indent}if (-not $mapping.ContainsKey($parameterSet)) {{ $parameterSet = @($mapping.Keys)[0] }} -{Indent}try {{ -{Indent}{Indent}$targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) -{Indent}{Indent}$dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object {{ $_.Value.IsDynamic }}) -{Indent}{Indent}if ($dynamicParams.Length -gt 0) {{ -{Indent}{Indent}{Indent}$paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() -{Indent}{Indent}{Indent}foreach ($param in $dynamicParams) {{ -{Indent}{Indent}{Indent}{Indent}$param = $param.Value -{Indent}{Indent}{Indent}{Indent}if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) {{ -{Indent}{Indent}{Indent}{Indent}{Indent}$dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) -{Indent}{Indent}{Indent}{Indent}{Indent}$paramDictionary.Add($param.Name, $dynParam) -{Indent}{Indent}{Indent}{Indent}}} -{Indent}{Indent}{Indent}}} -{Indent}{Indent}{Indent}return $paramDictionary -{Indent}{Indent}}} -{Indent}}} catch {{ -{Indent}{Indent}throw -{Indent}}} -}} - -"; - } - internal class BeginOutput : BaseOutput { public BeginOutput(VariantGroup variantGroup) : base(variantGroup) @@ -704,8 +640,6 @@ public static string ToSyntaxTypeName(this Type type) public static ParameterNameOutput ToParameterNameOutput(this string parameterName, bool isLast) => new ParameterNameOutput(parameterName, isLast); - public static DynamicParamOutput ToDynamicParamOutput(this VariantGroup variantGroup) => new DynamicParamOutput(variantGroup); - public static BeginOutput ToBeginOutput(this VariantGroup variantGroup) => new BeginOutput(variantGroup); public static ProcessOutput ToProcessOutput(this VariantGroup variantGroup) => new ProcessOutput(variantGroup); diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs index 0a074ad5f1a9..18f201b95628 100644 --- a/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs +++ b/generated/Cdn/Cdn.Autorest/generated/runtime/ISendAsync.cs @@ -356,20 +356,6 @@ internal static Task CloneWithContentAndDispose(this HttpReq /// A clone of the HttpRequestMessage internal static HttpRequestMessage Clone(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null) { - // Resolve a relative target against the original request so same-origin relative nextLinks are not misclassified as cross-origin. - var effectiveTargetUri = requestUri; - if (effectiveTargetUri != null && !effectiveTargetUri.IsAbsoluteUri && original.RequestUri != null && original.RequestUri.IsAbsoluteUri) - { - System.Uri.TryCreate(original.RequestUri, effectiveTargetUri, out effectiveTargetUri); - } - // Keep credentials only for a same-origin (scheme+host+port) https target. A null target (no retarget, e.g. retry) - // or an unresolved relative target preserves existing behavior and keeps the headers. - var isSameOrigin = effectiveTargetUri == null || !effectiveTargetUri.IsAbsoluteUri || - (original.RequestUri != null && original.RequestUri.IsAbsoluteUri && - original.RequestUri.Scheme.Equals(effectiveTargetUri.Scheme, System.StringComparison.OrdinalIgnoreCase) && - original.RequestUri.Host.Equals(effectiveTargetUri.Host, System.StringComparison.OrdinalIgnoreCase) && - original.RequestUri.Port == effectiveTargetUri.Port && - effectiveTargetUri.Scheme.Equals(System.Uri.UriSchemeHttps, System.StringComparison.OrdinalIgnoreCase)); var clone = new HttpRequestMessage { Method = method ?? original.Method, @@ -390,10 +376,6 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage original, Syste */ if (!"x-ms-unique-id".Equals(header.Key) && !"x-ms-client-request-id".Equals(header.Key) && !"CommandName".Equals(header.Key) && !"FullCommandName".Equals(header.Key) && !"ParameterSetName".Equals(header.Key) && !"User-Agent".Equals(header.Key)) { - if (!isSameOrigin && ("Authorization".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase) || "Proxy-Authorization".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase) || "Cookie".Equals(header.Key, System.StringComparison.OrdinalIgnoreCase))) - { - continue; - } clone.Headers.TryAddWithoutValidation(header.Key, header.Value); } } diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 index c545d4fcca15..e182ba530b23 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCanProfileMigrate.ps1 @@ -142,34 +142,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Can = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_Can'; - CanExpanded = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanExpanded'; - CanViaJsonFilePath = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonFilePath'; - CanViaJsonString = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 index 61c7d1c09123..6dfa2cc446b3 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Invoke-AzCdnCommitProfileMigration.ps1 @@ -152,32 +152,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Commit = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit'; - CommitViaIdentity = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_CommitViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 index c5cae851016e..8ee393975d25 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzCdnProfile.ps1 @@ -173,34 +173,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Migrate = 'Az.Cdn.private\Move-AzCdnProfile_Migrate'; - MigrateExpanded = 'Az.Cdn.private\Move-AzCdnProfile_MigrateExpanded'; - MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonFilePath'; - MigrateViaJsonString = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 index 707175021a90..6de7aabe2ff7 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Move-AzFrontDoorCdnCdnProfilesTo.ps1 @@ -205,36 +205,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Migrate = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_Migrate'; - MigrateExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateExpanded'; - MigrateViaIdentity = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity'; - MigrateViaIdentityExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded'; - MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath'; - MigrateViaJsonString = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 index be6ad6f1b4e6..c3b970ae51f6 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnPolicy.ps1 @@ -259,33 +259,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnPolicy_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 index a55172415538..1cc0507df01b 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 @@ -193,33 +193,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 index fbd490c5a195..87140bdcf4fd 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfileSsoUri.ps1 @@ -138,32 +138,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Generate = 'Az.Cdn.private\New-AzCdnProfileSsoUri_Generate'; - GenerateViaIdentity = 'Az.Cdn.private\New-AzCdnProfileSsoUri_GenerateViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 index 844551835341..ce7b4b82ea73 100644 --- a/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/New-AzFrontDoorCdnRoute.ps1 @@ -378,37 +378,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateExpanded'; - CreateViaIdentityAfdEndpoint = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint'; - CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 index 53f917354a95..4c7a204eeca9 100644 --- a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -1902,34 +1902,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Can = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_Can'; - CanExpanded = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanExpanded'; - CanViaJsonFilePath = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonFilePath'; - CanViaJsonString = 'Az.Cdn.private\Invoke-AzCdnCanProfileMigrate_CanViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -2126,32 +2098,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Commit = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_Commit'; - CommitViaIdentity = 'Az.Cdn.private\Invoke-AzCdnCommitProfileMigration_CommitViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -2367,34 +2313,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Migrate = 'Az.Cdn.private\Move-AzCdnProfile_Migrate'; - MigrateExpanded = 'Az.Cdn.private\Move-AzCdnProfile_MigrateExpanded'; - MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonFilePath'; - MigrateViaJsonString = 'Az.Cdn.private\Move-AzCdnProfile_MigrateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -2644,36 +2562,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Migrate = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_Migrate'; - MigrateExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateExpanded'; - MigrateViaIdentity = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentity'; - MigrateViaIdentityExpanded = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaIdentityExpanded'; - MigrateViaJsonFilePath = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonFilePath'; - MigrateViaJsonString = 'Az.Cdn.private\Move-AzFrontDoorCdnCdnProfilesTo_MigrateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -2979,33 +2867,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnPolicy_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnPolicy_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -3187,32 +3048,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Generate = 'Az.Cdn.private\New-AzCdnProfileSsoUri_Generate'; - GenerateViaIdentity = 'Az.Cdn.private\New-AzCdnProfileSsoUri_GenerateViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -3448,33 +3283,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzCdnProfile_CreateExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzCdnProfile_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -3896,37 +3704,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - CreateExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateExpanded'; - CreateViaIdentityAfdEndpoint = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpoint'; - CreateViaIdentityAfdEndpointExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityAfdEndpointExpanded'; - CreateViaIdentityProfile = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfile'; - CreateViaIdentityProfileExpanded = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaIdentityProfileExpanded'; - CreateViaJsonFilePath = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.Cdn.private\New-AzFrontDoorCdnRoute_CreateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -4115,32 +3892,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnPolicy_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnPolicy_DeleteViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -4338,32 +4089,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnProfile_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnProfile_DeleteViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -5017,34 +4742,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaIdentityExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -5318,34 +5015,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaIdentityExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null @@ -5599,36 +5268,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Upgrade = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_Upgrade'; - UpgradeExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeExpanded'; - UpgradeViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentity'; - UpgradeViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded'; - UpgradeViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath'; - UpgradeViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 index 98e9b721ec81..0e785db92213 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnPolicy.ps1 @@ -141,32 +141,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnPolicy_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnPolicy_DeleteViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 index a6952cb9cda8..169a15355c03 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Remove-AzCdnProfile.ps1 @@ -155,32 +155,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Delete = 'Az.Cdn.private\Remove-AzCdnProfile_Delete'; - DeleteViaIdentity = 'Az.Cdn.private\Remove-AzCdnProfile_DeleteViaIdentity'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 index f2945b58d089..fe4e4e3b2ffa 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnPolicy.ps1 @@ -173,34 +173,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaIdentityExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnPolicy_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 index 8473ccb9b270..e97ed7373d84 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 @@ -229,34 +229,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - UpdateExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaIdentityExpanded'; - UpdateViaJsonFilePath = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.Cdn.private\Update-AzCdnProfile_UpdateViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 index 517e5dc0a2a4..537ee13f7e9a 100644 --- a/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 +++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzFrontDoorCdnProfileSku.ps1 @@ -209,36 +209,6 @@ param( ${ProxyUseDefaultCredentials} ) -dynamicparam { - $parameterSet = $PSCmdlet.ParameterSetName - $mapping = @{ - Upgrade = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_Upgrade'; - UpgradeExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeExpanded'; - UpgradeViaIdentity = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentity'; - UpgradeViaIdentityExpanded = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaIdentityExpanded'; - UpgradeViaJsonFilePath = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonFilePath'; - UpgradeViaJsonString = 'Az.Cdn.private\Update-AzFrontDoorCdnProfileSku_UpgradeViaJsonString'; - } - if (-not $mapping.ContainsKey($parameterSet)) { $parameterSet = @($mapping.Keys)[0] } - try { - $targetCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet -bor [System.Management.Automation.CommandTypes]::Function, $PSBoundParameters) - $dynamicParams = @($targetCmd.Parameters.GetEnumerator() | Microsoft.PowerShell.Core\Where-Object { $_.Value.IsDynamic }) - if ($dynamicParams.Length -gt 0) { - $paramDictionary = [System.Management.Automation.RuntimeDefinedParameterDictionary]::new() - foreach ($param in $dynamicParams) { - $param = $param.Value - if (-not $MyInvocation.MyCommand.Parameters.ContainsKey($param.Name)) { - $dynParam = [System.Management.Automation.RuntimeDefinedParameter]::new($param.Name, $param.ParameterType, $param.Attributes) - $paramDictionary.Add($param.Name, $dynParam) - } - } - return $paramDictionary - } - } catch { - throw - } -} - begin { try { $outBuffer = $null diff --git a/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md b/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md index da9cfca19edf..0b66bff27f5e 100644 --- a/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md +++ b/src/Cdn/Cdn.Autorest/docs/Az.Cdn.md @@ -1,6 +1,6 @@ --- Module Name: Az.Cdn -Module Guid: a21104cb-93cc-48ca-8033-fb5665bbb1a4 +Module Guid: ead40551-b7cf-4116-bc7c-ef684cadec24 Download Help Link: https://learn.microsoft.com/powershell/module/az.cdn Help Version: 1.0.0.0 Locale: en-US From 7798d02d4991138d89461b66e25a8254c7b56251 Mon Sep 17 00:00:00 2001 From: Yang An Date: Fri, 14 Aug 2026 09:52:02 +1000 Subject: [PATCH 12/13] Bump Cdn.Autorest generate_Id to signal regeneration is needed --- src/Cdn/Cdn.Autorest/generate-info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cdn/Cdn.Autorest/generate-info.json b/src/Cdn/Cdn.Autorest/generate-info.json index 9cbc2828538f..e8d11f117004 100644 --- a/src/Cdn/Cdn.Autorest/generate-info.json +++ b/src/Cdn/Cdn.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "93c4dd87-c726-443a-9d3b-2dc823cd4a6b" + "generate_Id": "39d7c1e4-7bfb-4e14-a49a-ba3e1c9354f5" } From 280fd1687b9897ba0db9e90d9948b39c50eeaaff Mon Sep 17 00:00:00 2001 From: Yang An Date: Mon, 24 Aug 2026 15:42:44 +1000 Subject: [PATCH 13/13] Remove live test scenarios for now; will add back separately --- .../Cdn.Autorest/TestLiveScenarios.ps1 | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 diff --git a/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 b/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 deleted file mode 100644 index 84f3ee0a4b49..000000000000 --- a/src/Cdn/LiveTests/Cdn.Autorest/TestLiveScenarios.ps1 +++ /dev/null @@ -1,47 +0,0 @@ -Invoke-LiveTestScenario -Name "Create CdnProfile with Change Safety" -Description "Test New-AzCdnProfile -AcquirePolicyToken" -ScenarioScript ` -{ - param ($rg) - - $rgName = $rg.ResourceGroupName - $profileName = New-LiveTestResourceName - - $actual = New-AzCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_Microsoft -Location Global -AcquirePolicyToken -Confirm:$false - Assert-AreEqual $profileName $actual.Name -} - -Invoke-LiveTestScenario -Name "Create FrontDoorCdnProfile with Change Safety" -Description "Test New-AzFrontDoorCdnProfile -AcquirePolicyToken" -ScenarioScript ` -{ - param ($rg) - - $rgName = $rg.ResourceGroupName - $profileName = New-LiveTestResourceName - - $actual = New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -AcquirePolicyToken -Confirm:$false - Assert-AreEqual $profileName $actual.Name -} - -Invoke-LiveTestScenario -Name "Create FrontDoorCdnEndpoint with Change Safety" -Description "Test New-AzFrontDoorCdnEndpoint -AcquirePolicyToken" -ScenarioScript ` -{ - param ($rg) - - $rgName = $rg.ResourceGroupName - $profileName = New-LiveTestResourceName - $endpointName = New-LiveTestResourceName - - New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -Confirm:$false | Out-Null - $actual = New-AzFrontDoorCdnEndpoint -ResourceGroupName $rgName -ProfileName $profileName -EndpointName $endpointName -Location Global -EnabledState Enabled -AcquirePolicyToken -Confirm:$false - Assert-AreEqual $endpointName $actual.Name -} - -Invoke-LiveTestScenario -Name "Create FrontDoorCdnRuleSet with Change Safety" -Description "Test New-AzFrontDoorCdnRuleSet -AcquirePolicyToken (fully generated, non-custom-fronted cmdlet)" -ScenarioScript ` -{ - param ($rg) - - $rgName = $rg.ResourceGroupName - $profileName = New-LiveTestResourceName - $ruleSetName = New-LiveTestResourceName - - New-AzFrontDoorCdnProfile -ResourceGroupName $rgName -Name $profileName -SkuName Standard_AzureFrontDoor -Location Global -Confirm:$false | Out-Null - $actual = New-AzFrontDoorCdnRuleSet -ResourceGroupName $rgName -ProfileName $profileName -Name $ruleSetName -AcquirePolicyToken -Confirm:$false - Assert-AreEqual $ruleSetName $actual.Name -}