你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Az.Accounts
Get-AzAccessToken
- Cmdlet 的重大变更将影响所有参数集
- 默认输出类型从
PSAccessToken
更改为PSSecureAccessToken
。即将纯文本PSAccessToken.Token
更改为SecureString PSSecureAccessToken.Token
- 此更改预计将从 Az.Accounts 版本:5.0.0 和 Az 版本:14.0.0 生效
- 默认输出类型从
之前
$authHeader = @{
'Content-Type' = 'application/json'
'Authorization' = 'Bearer ' + (Get-AccessToken)
}
$respone = Invoke-RestMethod -Method Get -Headers $authHeader -Uri $uri" "$secureToken = (Get-AzAccessToken).Token
之后
$ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($Securetoken)
try {
$plaintextToken = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ssPtr)
}
finally {
[System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ssPtr)
}
$authHeader = @{
'Content-Type' = 'application/json'
'Authorization' = 'Bearer ' + $plaintextToken
}
$respone = Invoke-RestMethod -Method Get -Headers $authHeader -Uri $uri
Az.Aks
Get-AzAksMaintenanceConfiguration
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration'
- 输出类型中的以下属性已弃用:'TimeInWeek Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek' 'NotAllowedTime Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan'
- 将以下属性添加到输出类型:“TimeInWeek System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]' 'NotAllowedTime System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]” - 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration'的属性'TimeInWeek'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek[]'更改为'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]',The type of property 'NotAllowedTime' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan' to 'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]' - 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAksMaintenanceConfiguration -ResourceGroupName mygroup -ResourceName myCluster
之后
Get-AzAksMaintenanceConfiguration -ResourceGroupName mygroup -ResourceName myCluster
Get-AzAksManagedClusterOSOption
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOSOptionProfile' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProfile'
- 输出类型中的以下属性已弃用:“OSOptionPropertyList Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty”
- 将以下属性添加到输出类型:'OSOptionPropertyList System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty]'
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOSOptionProfile'的属性'OSOptionPropertyList'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty]'。
- 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAksManagedClusterOSOption -Location eastus
之后
Get-AzAksManagedClusterOSOption -Location eastus
Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOutboundEnvironmentEndpoint' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOutboundEnvironmentEndpoint'
- 输出类型中的以下属性即将弃用:'Endpoint Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency'
- 将以下属性添加到输出类型:'Endpoint System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency]'
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOutboundEnvironmentEndpoint'的属性'Endpoint'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency]'。
- 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
$result = Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint -ResourceGroupName mygroup -ResourceName mycluster
$result | select Category,Endpoint
之后
$result = Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint -ResourceGroupName mygroup -ResourceName mycluster
$result | select Category,Endpoint
Get-AzAksNodePoolUpgradeProfile
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IAgentPoolUpgradeProfile'更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfile'
- 输出类型中的以下属性即将弃用:'Upgrade Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem'
- 将以下属性添加到输出类型:'Upgrade System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem]'
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IAgentPoolUpgradeProfile'的属性'Upgrade'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem]'。
- 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default
之后
Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default
Get-AzAksUpgradeProfile
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfile'
- 输出类型中的以下属性已被弃用:'AgentPoolProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile' 'ControlPlaneProfileUpgrade Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem'
- 将以下属性添加到输出类型:'AgentPoolProfile System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile]' 'ControlPlaneProfileUpgrade System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem]' - 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile'的属性'AgentPoolProfile'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile'更改为'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile]'.,The type of property 'ControlPlaneProfileUpgrade' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem' to 'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem]'。 - 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster
之后
Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster
Get-AzAksVersion
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfileListResult'
- 输出类型中的以下属性已弃用:“Orchestrator Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfile”
- 将以下属性添加到输出类型:“Orchestrator System.Collections.Generic.List1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfile]”
- 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAksVersion -___location eastus
之后
Get-AzAksVersion -___location eastus
New-AzAksCluster
- Cmdlet 的重大变更将影响所有参数集
- 在 'Standard_D2_V2' 中,New-AzAksCluster 的 -NodeVmSize 参数和 New-AzAksNodePool 的 -VmSize 参数的默认值由 AKS 资源提供程序根据配额和容量动态选择。
- 此更改预计将从 Az.Aks 版本:7.0.0 和 Az 版本:14.0.0 生效
之前
If '-NodeVmSize' is not provided, the default NodeVmSize is ‘Standard_D2_V2’。
之后
If '-NodeVmSize' is not provided, the default NodeVmSize is dynamically selected by the AKS resource provider based on quota and capacity.
New-AzAksNodePool
- Cmdlet 的重大变更将影响所有参数集
- 在 'Standard_D2_V2' 中,New-AzAksCluster 的 -NodeVmSize 参数和 New-AzAksNodePool 的 -VmSize 参数的默认值由 AKS 资源提供程序根据配额和容量动态选择。
- 此更改预计将从 Az.Aks 版本:7.0.0 和 Az 版本:14.0.0 生效
之前
If '-VmSize' is not provided, the default VmSize is ‘Standard_D2_V2’。
之后
If '-VmSize' is not provided, the default VmSize is dynamically selected by the AKS resource provider based on quota and capacity.
New-AzAksMaintenanceConfiguration
- 输出类型从现有类型 :'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' 更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration'
- 输出类型中的以下属性已弃用:'TimeInWeek Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek' 'NotAllowedTime Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan'
- 将以下属性添加到输出类型:“TimeInWeek System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]' 'NotAllowedTime System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]” - 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration'的属性'TimeInWeek'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek[]'更改为'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]',The type of property 'NotAllowedTime' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan' to 'System.Collections.Generic.List
1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]' - 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 1) -End (Get-Date -Year 2023 -Month 3 -Day 2)
$TimeInWeek = New-AzAksTimeInWeekObject -Day 'Sunday' -HourSlot 1,2
$MaintenanceConfig = New-AzAksMaintenanceConfiguration -ResourceGroupName mygroup -ResourceName myCluster -ConfigName 'aks_maintenance_config' -TimeInWeek $TimeInWeek -NotAllowedTime $TimeSpan
之后
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 1) -End (Get-Date -Year 2023 -Month 3 -Day 2)
$TimeInWeek = New-AzAksTimeInWeekObject -Day Sunday -HourSlot 1,2
$MaintenanceConfig = New-AzAksMaintenanceConfiguration -ResourceGroupName mygroup -ResourceName myCluster -ConfigName 'aks_maintenance_config' -TimeInWeek $TimeInWeek -NotAllowedTime $TimeSpan
Az.AppConfiguration
Get-AzAppConfigurationStore
- 输出类型从现有类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore'更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStore'
- 输出类型中的以下属性已弃用:“PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference”
- 将以下属性添加到输出类型:'PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]'
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore'的属性'PrivateEndpointConnection'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]'
- 此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
- 此变更预计从版本“2.0.0”开始生效
之前
Get-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp
之后
Get-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp
New-AzAppConfigurationStore
将删除 IdentityType。 EnableSystemAssignedIdentity 将用于启用/禁用系统分配的标识,而 UserAssignedIdentity 将用于指定用户分配的标识。
此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
此变更预计从版本“2.0.0”开始生效
输出类型从现有类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore'更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStore'
输出类型中的以下属性已弃用:“PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference”
将以下属性添加到输出类型:“PrivateEndpointConnection System.Collections.Generic.List1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]”
此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
此变更预计从版本“2.0.0”开始生效
之前
$storeName = "azpstest-appstore-recover"
$resourceGroupName = "azpstest_gp"
$___location = "eastus"
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $___location -Sku Standard
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
Get-AzAppConfigurationDeletedStore -Location $___location -Name $storeName
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $___location -Sku Standard -CreateMode 'Recover' -IdentityType SystemAssigned -UserAssignedIdentity "/subscriptions/xxxx/resourceGroups/azpstest_gp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azpstest-uai"
之后
$storeName = "azpstest-appstore-recover"
$resourceGroupName = "azpstest_gp"
$___location = "eastus"
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $___location -Sku Standard
Remove-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName
Get-AzAppConfigurationDeletedStore -Location $___location -Name $storeName
New-AzAppConfigurationStore -Name $storeName -ResourceGroupName $resourceGroupName -Location $___location -Sku Standard -CreateMode 'Recover' -EnableSystemAssignedIdentity:$true -UserAssignedIdentity "/subscriptions/xxxx/resourceGroups/azpstest_gp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azpstest-uai"
Update-AzAppConfigurationStore
将删除 IdentityType。 EnableSystemAssignedIdentity 将用于启用/禁用系统分配的标识,而 UserAssignedIdentity 将用于指定用户分配的标识。
此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
此变更预计从版本“2.0.0”开始生效
输出类型从现有类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IConfigurationStore'更改为新类型:'Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStore'
输出类型中的以下属性已弃用:“PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference”
将以下属性添加到输出类型:“PrivateEndpointConnection System.Collections.Generic.List1[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReference]”
此更改将于2025-05-19生效。此更改预计将从 Az 版本14.0.0开始生效。
此变更预计从版本“2.0.0”开始生效
之前
Update-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -DisableLocalAuth -EnablePurgeProtection -PublicNetworkAccess 'Enabled' -IdentityType SystemAssigned -UserAssignedIdentity "/subscriptions/xxxx/resourceGroups/azpstest_gp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azpstest-uai"
之后
Update-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -DisableLocalAuth -EnablePurgeProtection -PublicNetworkAccess 'Enabled' -EnableSystemAssignedIdentity:$true -UserAssignedIdentity "/subscriptions/xxxx/resourceGroups/azpstest_gp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azpstest-uai"
Az.Cdn
Clear-AzCdnEndpointContent
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IPurgeParameters'的属性'ContentPath, Domain'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Clear-AzCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]>
之后
Clear-AzCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]>
Clear-AzFrontDoorCdnEndpointContent
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IPurgeParameters'的属性'ContentPath, Domain'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Clear-AzFrontDoorCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]> [-Domain <String[]>]
之后
Clear-AzFrontDoorCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]> [-Domain <String[]>]
Get-AzCdnEdgeNode
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IEdgeNode'的属性'IPAddressGroup'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIPAddressGroup'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIPAddressGroup]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzCdnEdgeNode
之后
Get-AzCdnEdgeNode
Get-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzCdnEndpoint -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
之后
Get-AzCdnEndpoint -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
Get-AzCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzCdnOriginGroup -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>]
之后
Get-AzCdnOriginGroup -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>]
Get-AzFrontDoorCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzFrontDoorCdnEndpoint -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
之后
Get-AzFrontDoorCdnEndpoint -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
Get-AzFrontDoorCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzFrontDoorCdnOriginGroup -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
之后
Get-AzFrontDoorCdnOriginGroup -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
Get-AzFrontDoorCdnRoute
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute'的属性'PatternsToMatch, CompressionSettingContentTypesToCompress'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzFrontDoorCdnRoute -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>]
之后
Get-AzFrontDoorCdnRoute -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String[]>]
Get-AzFrontDoorCdnRule
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule'的属性'Condition'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Get-AzFrontDoorCdnRule -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String[]>]
之后
Get-AzFrontDoorCdnRule -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String[]>]
Import-AzCdnEndpointContent
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IPurgeParameters'的属性'ContentPath, Domain'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Import-AzCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]>
之后
Import-AzCdnEndpointContent -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -ContentPath <String[]>
New-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-Location <String> [-ContentTypesToCompress <String[]>] [-DefaultOriginGroupId <String>]
[-DeliveryPolicyDescription <String>] [-DeliveryPolicyRule <IDeliveryRule[]>] [-GeoFilter <IGeoFilter[]>]
[-IsCompressionEnabled] [-IsHttpAllowed] [-IsHttpsAllowed] [-OptimizationType <OptimizationType>]
[-Origin <IDeepCreatedOrigin[]>] [-OriginGroup <IDeepCreatedOriginGroup[]>] [-OriginHostHeader <String>]
[-OriginPath <String>] [-ProbePath <String>] [-QueryStringCachingBehavior <QueryStringCachingBehavior>]
[-Tag <Hashtable>] [-UrlSigningKey <IUrlSigningKey[]>] [-WebApplicationFirewallPolicyLinkId <String>]
之后
New-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-Location <String> [-ContentTypesToCompress <String[]>] [-DefaultOriginGroupId <String>]
[-DeliveryPolicyDescription <String>] [-DeliveryPolicyRule <IDeliveryRule[]>] [-GeoFilter <IGeoFilter[]>]
[-IsCompressionEnabled] [-IsHttpAllowed] [-IsHttpsAllowed] [-OptimizationType <String>]
[-Origin <IDeepCreatedOrigin[]>] [-OriginGroup <IDeepCreatedOriginGroup[]>] [-OriginHostHeader <String>]
[-OriginPath <String>] [-ProbePath <String>] [-QueryStringCachingBehavior <String>] [-Tag <Hashtable>]
[-UrlSigningKey <IUrlSigningKey[]>] [-WebApplicationFirewallPolicyLinkId <String>]
New-AzCdnManagedHttpsParametersObject
- 即将对所有参数集进行重大更改。添加新的必需参数 CertificateSourceParameterTypeName。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType <CertificateType>
-CertificateSource <CertificateSource> -ProtocolType <ProtocolType> [-MinimumTlsVersion <MinimumTlsVersion>]
之后
New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType <String>
-CertificateSourceParameterTypeName <String> -ProtocolType <String> -CertificateSource <String>
[-MinimumTlsVersion <String>]
New-AzCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzCdnOriginGroup -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>] [-Origin <IResourceReference[]>]
[-ResponseBasedOriginErrorDetectionSetting <IResponseBasedOriginErrorDetectionParameters>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
之后
New-AzCdnOriginGroup -Name <String> -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>] [-Origin <IResourceReference[]>]
[-ResponseBasedOriginErrorDetectionSetting <IResponseBasedOriginErrorDetectionParameters>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
New-AzCdnUserManagedHttpsParametersObject
- 即将对所有参数集进行重大更改。添加新的必需参数 CertificateSourceParameterTypeName。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzCdnUserManagedHttpsParametersObject -CertificateSourceParameterResourceGroupName <String>
-CertificateSourceParameterSecretName <String> -CertificateSourceParameterSubscriptionId <String>
-CertificateSourceParameterVaultName <String> -CertificateSource <CertificateSource>
-ProtocolType <ProtocolType> [-CertificateSourceParameterSecretVersion <String>]
[-MinimumTlsVersion <MinimumTlsVersion>]
之后
New-AzCdnUserManagedHttpsParametersObject -CertificateSourceParameterResourceGroupName <String>
-CertificateSourceParameterSecretName <String> -CertificateSourceParameterSubscriptionId <String>
-CertificateSourceParameterTypeName <String> -CertificateSourceParameterVaultName <String>
-CertificateSource <String> -ProtocolType <String> [-CertificateSourceParameterSecretVersion <String>]
[-MinimumTlsVersion <String>]
New-AzFrontDoorCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -Location <String>
[-AutoGeneratedDomainNameLabelScope <AutoGeneratedDomainNameLabelScope>] [-EnabledState <EnabledState>]
[-Tag <Hashtable>]
之后
New-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] -Location <String> [-AutoGeneratedDomainNameLabelScope <String>]
[-EnabledState <String>] [-Tag <Hashtable>]
New-AzFrontDoorCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>]
[-LoadBalancingSetting <ILoadBalancingSettingsParameters>] [-SessionAffinityState <EnabledState>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
之后
New-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>]
[-LoadBalancingSetting <ILoadBalancingSettingsParameters>] [-SessionAffinityState <String>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
New-AzFrontDoorCdnRoute
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute'的属性'PatternsToMatch, CompressionSettingContentTypesToCompress'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzFrontDoorCdnRoute -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-CacheConfigurationQueryParameter <String>]
[-CacheConfigurationQueryStringCachingBehavior <AfdQueryStringCachingBehavior>]
[-CompressionSettingContentTypesToCompress <String[]>] [-CompressionSettingIsCompressionEnabled]
[-CustomDomain <IActivatedResourceReference[]>] [-EnabledState <EnabledState>]
[-ForwardingProtocol <ForwardingProtocol>] [-HttpsRedirect <HttpsRedirect>]
[-LinkToDefaultDomain <LinkToDefaultDomain>] [-OriginGroupId <String>] [-OriginPath <String>]
[-PatternsToMatch <String[]>] [-RuleSet <IResourceReference[]>] [-SupportedProtocol <AfdEndpointProtocols[]>]
之后
New-AzFrontDoorCdnRoute -Name <String> -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-CacheConfigurationQueryParameter <String>]
[-CacheConfigurationQueryStringCachingBehavior <String>]
[-CompressionSettingContentTypesToCompress <String[]>] [-CompressionSettingIsCompressionEnabled]
[-CustomDomain <IActivatedResourceReference[]>] [-EnabledState <String>] [-ForwardingProtocol <String>]
[-HttpsRedirect <String>] [-LinkToDefaultDomain <String>] [-OriginGroupId <String>] [-OriginPath <String>]
[-PatternsToMatch <String[]>] [-RuleSet <IResourceReference[]>] [-SupportedProtocol <String[]>]
New-AzFrontDoorCdnRule
所有参数集都将发生 Cmdlet 中断性变更
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule'的属性'Condition'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
所有参数集都将发生参数中断性变更
-Action
- 参数:“动作”正在发生变化。 参数的类型从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleAction1'更改为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleAction'。
- 更改说明:参数“Action”的元素类型已从“Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleAction1”更改为“Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleAction”。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
New-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>] [-Action <IDeliveryRuleAction1[]>] [-Condition <IDeliveryRuleCondition[]>]
[-MatchProcessingBehavior <MatchProcessingBehavior>] [-Order <Int32>]
之后
New-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>] [-Action <IDeliveryRuleAction[]>] [-Condition <IDeliveryRuleCondition[]>]
[-MatchProcessingBehavior <String>] [-Order <Int32>]
Remove-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
之后
Remove-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
Remove-AzCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzCdnOriginGroup -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
之后
Remove-AzCdnOriginGroup -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
Remove-AzFrontDoorCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
之后
Remove-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
Remove-AzFrontDoorCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
之后
Remove-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>]
Remove-AzFrontDoorCdnRoute
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute'的属性'PatternsToMatch, CompressionSettingContentTypesToCompress'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzFrontDoorCdnRoute -EndpointName <String> -Name <String> -ProfileName <String>
-ResourceGroupName <String> [-SubscriptionId <String>]
之后
Remove-AzFrontDoorCdnRoute -EndpointName <String> -Name <String> -ProfileName <String>
-ResourceGroupName <String> [-SubscriptionId <String>]
Remove-AzFrontDoorCdnRule
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule'的属性'Condition'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Remove-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>]
之后
Remove-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>]
Start-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Start-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
之后
Start-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
Stop-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Stop-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
之后
Stop-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
Update-AzCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-ContentTypesToCompress <String[]>] [-DefaultOriginGroupId <String>]
[-DeliveryPolicyDescription <String>] [-DeliveryPolicyRule <IDeliveryRule[]>] [-GeoFilter <IGeoFilter[]>]
[-IsCompressionEnabled] [-IsHttpAllowed] [-IsHttpsAllowed] [-OptimizationType <OptimizationType>]
[-OriginHostHeader <String>] [-OriginPath <String>] [-ProbePath <String>]
[-QueryStringCachingBehavior <QueryStringCachingBehavior>] [-Tag <Hashtable>]
[-UrlSigningKey <IUrlSigningKey[]>] [-WebApplicationFirewallPolicyLinkId <String>]
之后
Update-AzCdnEndpoint -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-ContentTypesToCompress <String[]>] [-DefaultOriginGroupId <String>]
[-DeliveryPolicyDescription <String>] [-DeliveryPolicyRule <IDeliveryRule[]>] [-GeoFilter <IGeoFilter[]>]
[-IsCompressionEnabled] [-IsHttpAllowed] [-IsHttpsAllowed] [-OptimizationType <String>]
[-OriginHostHeader <String>] [-OriginPath <String>] [-ProbePath <String>]
[-QueryStringCachingBehavior <String>] [-Tag <Hashtable>] [-UrlSigningKey <IUrlSigningKey[]>]
[-WebApplicationFirewallPolicyLinkId <String>]
Update-AzCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzCdnOriginGroup -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>] [-Origin <IResourceReference[]>]
[-ResponseBasedOriginErrorDetectionSetting <IResponseBasedOriginErrorDetectionParameters>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
之后
Update-AzCdnOriginGroup -EndpointName <String> -Name <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>] [-Origin <IResourceReference[]>]
[-ResponseBasedOriginErrorDetectionSetting <IResponseBasedOriginErrorDetectionParameters>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
Update-AzFrontDoorCdnEndpoint
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeepCreatedOriginGroup'的属性'Origin'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-EnabledState <EnabledState>] [-Tag <Hashtable>]
之后
Update-AzFrontDoorCdnEndpoint -EndpointName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-EnabledState <String>] [-Tag <Hashtable>]
Update-AzFrontDoorCdnOriginGroup
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters'的属性'HttpErrorRange'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpErrorRangeParameters]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>]
[-LoadBalancingSetting <ILoadBalancingSettingsParameters>] [-SessionAffinityState <EnabledState>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
之后
Update-AzFrontDoorCdnOriginGroup -OriginGroupName <String> -ProfileName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-HealthProbeSetting <IHealthProbeParameters>]
[-LoadBalancingSetting <ILoadBalancingSettingsParameters>] [-SessionAffinityState <String>]
[-TrafficRestorationTimeToHealedOrNewEndpointsInMinute <Int32>]
Update-AzFrontDoorCdnRoute
- Cmdlet 的重大变更将影响所有参数集
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRoute'的属性'PatternsToMatch, CompressionSettingContentTypesToCompress'的类型已从'System.String[]'更改为'System.Collections.Generic.List`1[System.String]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzFrontDoorCdnRoute -EndpointName <String> -Name <String> -ProfileName <String>
-ResourceGroupName <String> [-SubscriptionId <String>] [-CacheConfigurationQueryParameter <String>]
[-CacheConfigurationQueryStringCachingBehavior <AfdQueryStringCachingBehavior>]
[-CompressionSettingContentTypesToCompress <String[]>] [-CompressionSettingIsCompressionEnabled]
[-CustomDomain <IActivatedResourceReference[]>] [-EnabledState <EnabledState>]
[-ForwardingProtocol <ForwardingProtocol>] [-HttpsRedirect <HttpsRedirect>]
[-LinkToDefaultDomain <LinkToDefaultDomain>] [-OriginGroupId <String>] [-OriginPath <String>]
[-PatternsToMatch <String[]>] [-RuleSet <IResourceReference[]>] [-SupportedProtocol <AfdEndpointProtocols[]>]
之后
Update-AzFrontDoorCdnRoute -EndpointName <String> -Name <String> -ProfileName <String>
-ResourceGroupName <String> [-SubscriptionId <String>] [-CacheConfigurationQueryParameter <String>]
[-CacheConfigurationQueryStringCachingBehavior <String>]
[-CompressionSettingContentTypesToCompress <String[]>] [-CompressionSettingIsCompressionEnabled]
[-CustomDomain <IActivatedResourceReference[]>] [-EnabledState <String>] [-ForwardingProtocol <String>]
[-HttpsRedirect <String>] [-LinkToDefaultDomain <String>] [-OriginGroupId <String>] [-OriginPath <String>]
[-PatternsToMatch <String[]>] [-RuleSet <IResourceReference[]>] [-SupportedProtocol <String[]>]
Update-AzFrontDoorCdnRule
所有参数集都将发生 Cmdlet 中断性变更
- 更改说明:类型为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule'的属性'Condition'的类型已从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition'更改为'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCondition]'。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
所有参数集都将发生参数中断性变更
-Action
- 参数:“动作”正在发生变化。 参数的类型从'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleAction1'更改为'Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleAction'。
- 更改说明:参数“Action”的元素类型已从“Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleAction1”更改为“Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleAction”。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“5.0.0”生效
之前
Update-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>] [-Action <IDeliveryRuleAction1[]>] [-Condition <IDeliveryRuleCondition[]>]
[-MatchProcessingBehavior <MatchProcessingBehavior>] [-Order <Int32>]
之后
Update-AzFrontDoorCdnRule -Name <String> -ProfileName <String> -ResourceGroupName <String> -SetName <String>
[-SubscriptionId <String>] [-Action <IDeliveryRuleAction[]>] [-Condition <IDeliveryRuleCondition[]>]
[-MatchProcessingBehavior <String>] [-Order <Int32>]
Az.Compute
Get-AzVMSize
- Cmdlet 的重大变更将影响所有参数集
- “参数集‘ListVirtualMachineSize’将被弃用,因为其 API ‘虚拟机大小 - 列表’已被弃用。” 若要按订阅或位置列出可用的 VM 大小,请改用“Get-AzComputeResourceSku”。 其他参数集:“列出可用性集的可用大小”和“列出虚拟机的可用大小”将继续受支持。
- 此更改预计将从 Az.Compute 版本:10.0.0 和 Az 版本:14.0.0 生效
之前
Get-AzVMSize -Location <string>
之后
Get-AzComputeResourceSku -Location <string>
Az.Resources
Get-AzResource
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
Invoke-AzResourceAction
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
- 在大多数情况下,此更改不会造成任何中断。 如果看到任何意外内容,可以手动指定使用的 API 版本。
之前
Invoke-AzResourceAction -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -Action <action>
之后
Invoke-AzResourceAction -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -Action <action> -ApiVersion <api version>
New-AzResource
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
- 在大多数情况下,此更改不会造成任何中断。 如果看到任何意外内容,可以手动指定使用的 API 版本。
之前
New-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type>
之后
New-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -ApiVersion <api version>
Move-AzResource
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
- 在大多数情况下,此更改不会造成任何中断。 如果看到任何意外内容,可以手动指定使用的 API 版本。
之前
Move-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type>
之后
Move-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -ApiVersion <api version>
Remove-AzResource
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
之前
Remove-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type>
之后
Remove-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -ApiVersion <api version>
Set-AzResource
- Cmdlet 的重大变更将影响所有参数集
- 将更新资源类型的 API 版本,以使用默认版本而不是最新版本。
- 此更改预计将从 Az.Resources 版本:8.0.0 和 Az 版本:14.0.0 生效
- 在大多数情况下,此更改不会造成任何中断。 如果看到任何意外内容,可以手动指定使用的 API 版本。
之前
Set-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type>
之后
Set-AzResource -ResourceGroupName <resource group> -Name <resource> -ResourceType <resource type> -ApiVersion <api version>
Az.Storage
Set-AzStorageFileContent
- Cmdlet 的重大变更将影响所有参数集
- 当文件大小为 > 1TB,或使用 OAuth 凭据上传,或使用 -DisAllowTrailingDot 上传时,ContentHash 属性将从上传的 Azure 文件中移除。
- 此更改预计将从 Az.Storage 版本:9.0.0 和 Az 版本:14.0.0 生效
之前
Set-AzStorageFileContent -ShareName $shareName -Path $filename -Source $localSrcFile -Context $ctxoauth
之后
# If need contenthash in MD5, need set it after upload file
$file = Set-AzStorageFileContent -ShareName $shareName -Path $filename -Source $localSrcFile -Context $ctxoauth -PassThru
$md5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider
$filems5 = $md5.ComputeHash([System.IO.File]::ReadAllBytes($localSrcFile))
$file.ShareFileClient.SetHttpHeaders(@{"HttpHeaders" = @{"ContentHash" = $filems5}})
Start-AzStorageAccountMigration
- 即将对所有参数集进行重大更改。转换帐户的冗余配置时,将添加需要用户确认的提示。 使用 -Force 可以禁止显示该提示。
- 此更改将在“2025/5/19”生效- 此更改预计将从 Az 版本:“14.0.0”生效
- 更改应从版本“9.0.0”生效
之前
Start-AzStorageAccountMigration -AccountName myaccount -ResourceGroupName myresourcegroup -TargetSku Standard_LRS -Name migration1 -AsJob
之后
Start-AzStorageAccountMigration -AccountName myaccount -ResourceGroupName myresourcegroup -TargetSku Standard_LRS -Name migration1 -Force -AsJob