Az 12.0.0 的移轉指南
Az.Accounts
Clear-AzConfig
- 所有參數集都會發生 Cmdlet 中斷變更
- 參數
DisableErrorRecordsPersistence
將被取代,將會改為新增參數EnableErrorRecordsPersistence
。 將錯誤記錄寫入檔案系統將會變成選擇加入,而不是退出。這項變更將在 2024 年 5 月左右發生 - 這項變更預期會從 Az.Accounts 版本:2.X 和 Az 版本:12.0.0 生效
- 參數
之前
Clear-AzConfig -DisableErrorRecordsPersistence
之後
error record will be disabled by default. New parameter 'EnableErrorRecordsPersistence' added to enable erro record.
Get-AzConfig
- 所有參數集都會發生 Cmdlet 中斷變更
- 參數
DisableErrorRecordsPersistence
將被取代,將會改為新增參數EnableErrorRecordsPersistence
。 將錯誤記錄寫入檔案系統將會變成選擇加入,而不是退出。這項變更將在 2024 年 5 月左右發生 - 這項變更預期會從 Az.Accounts 版本:2.X 和 Az 版本:12.0.0 生效
- 參數
之前
Get-AzConfig -DisableErrorRecordsPersistence
之後
error record will be disabled by default. New parameter 'EnableErrorRecordsPersistence' added to enable erro record.
Update-AzConfig
- 所有參數集都會發生 Cmdlet 中斷變更
- 參數
DisableErrorRecordsPersistence
將被取代,將會改為新增參數EnableErrorRecordsPersistence
。 將錯誤記錄寫入檔案系統將會變成選擇加入,而不是退出。這項變更將在 2024 年 5 月左右發生 - 這項變更預期會從 Az.Accounts 版本:2.X 和 Az 版本:12.0.0 生效
- 參數
之前
Update-AzConfig -DisableErrorRecordsPersistence
之後
error record will be disabled by default. New parameter 'EnableErrorRecordsPersistence' added to enable erro record.
Az.Compute
Get-AzVmss
- 所有參數集都會發生 Cmdlet 中斷變更
- 從 2024 年 5 月開始,“Get-AzVmss” Cmdlet 將不再允許資源組名和虛擬機擴展集名稱的空白值。
- 這項變更預期會從 Az.Compute 版本:8.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzVmss -ResourceGroupName ""
# Returned an empty list.
之後
Get-AzVmss -ResourceGroupName ""
# Will return an error from empty string validation in the parameter.
New-AzGalleryImageDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 從 2024 年 5 月開始,“New-AzGalleryImage” Cmdlet 預設會部署信賴啟動組態和 Gen2 Hyper V 世代。 若要深入瞭解受信任的啟動,請造訪 https://learn.microsoft.com/azure/virtual-machines/trusted-launch
- 這項變更預期會從 Az.Compute 版本:8.0.0 和 Az 版本:12.0.0 生效
之前
New-AzGalleryImageDefinition -ResourceGroupName $rgName -GalleryName $galleryName -Name $galleryImageDefinitionName -Location $location -Publisher $publisherName -Offer $offerName -Sku $skuName -OsState "Specialized" -OsType "Linux"
# Defaulted to HyperVGeneration: Gen1 and SecurityType: Standard in the service side .
之後
New-AzGalleryImageDefinition -ResourceGroupName $rgName -GalleryName $galleryName -Name $galleryImageDefinitionName -Location $location -Publisher $publisherName -Offer $offerName -Sku $skuName -OsState "Specialized" -OsType "Linux"
# Defaults to HyperVGeneration: Gen2 and SecurityType: TrustedLaunchSupported at the PowerShell level.
New-AzVM
- 所有參數集都會發生 Cmdlet 中斷變更
- 從 2024 年 5 月開始,“New-AzVM” Cmdlet 預設會部署映射 'Windows Server 2022 Azure Edition'。 這可讓未來更容易移轉至信任的啟動。 若要深入瞭解受信任的啟動,請造訪 https://learn.microsoft.com/azure/virtual-machines/trusted-launch
- 這項變更預期會從 Az.Compute 版本:8.0.0 和 Az 版本:12.0.0 生效
之前
$vm = New-AzVM -ResourceGroupName $rgname -Name $vmname -Credential $cred -SecurityType "Standard" -DomainNameLabel $domainNameLabel
# Creates a VM with the image Windows 2016 Datacenter.
之後
$vm = New-AzVM -ResourceGroupName $rgname -Name $vmname -Credential $cred -SecurityType "Standard" -DomainNameLabel $domainNameLabel
# Now generates with the Windows 2022 Azure Edition image.
New-AzVmss
- 所有參數集都會發生 Cmdlet 中斷變更
- 從 2024 年 5 月開始,“New-AzVmss” Cmdlet 預設會部署映射 'Windows Server 2022 Azure Edition'。 這可讓未來更容易移轉至信任的啟動。 若要深入瞭解受信任的啟動,請造訪 https://learn.microsoft.com/azure/virtual-machines/trusted-launch
- 這項變更預期會從 Az.Compute 版本:8.0.0 和 Az 版本:12.0.0 生效
之前
$vmss = New-AzVmss -ResourceGroupName $rgname -Credential $cred -VMScaleSetName $vmssName -SecurityType "Standard" -DomainNameLabel $domainNameLabel1
# would create a VMSS with a Windows 2016 Datacenter image.
之後
$vmss = New-AzVmss -ResourceGroupName $rgname -Credential $cred -VMScaleSetName $vmssName -SecurityType "Standard" -DomainNameLabel $domainNameLabel1
# Now it will generate with a Windows 2022 Azure Edition image.
Az.EventGrid
Get-AzEventGridChannel
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridChannel -ResourceGroup MyResourceGroupName -PartnerNamespaceName PartnerNamespace1 -Name Channel1
之後
Get-AzEventGridChannel -ResourceGroupName azps_test_group_eventgrid -PartnerNamespaceName azps-partnernamespace
Get-AzEventGridDomain
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridDomain -ResourceGroup MyResourceGroupName -Name Domain1
之後
Get-AzEventGridDomain -ResourceGroupName azps_test_group_eventgrid -Name azps-domain
Get-AzEventGridDomainTopic
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridDomainTopic -ResourceGroup MyResourceGroupName -DomainName Domain1 -DomainTopicName DomainTopic1
之後
Get-AzEventGridDomainTopic -DomainName azps-domain -ResourceGroupName azps_test_group_eventgrid -Name azps-domaintopics
Get-AzEventGridFullUrlForPartnerTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridFullUrlForPartnerTopicEventSubscription -ResourceGroupName MyResourceGroupName -PartnerTopicName Topic1 -EventSubscriptionName EventSubscription1
之後
Get-AzEventGridFullUrlForPartnerTopicEventSubscription -ResourceGroupName azps_test_group_eventgrid -PartnerTopicName default -EventSubscriptionName azps-eventsubname
Get-AzEventGridPartnerConfiguration
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridPartnerConfiguration -ResourceGroupName ResourceGroup1
之後
Get-AzEventGridPartnerConfiguration -ResourceGroupName azps_test_group_eventgrid
Get-AzEventGridPartnerNamespace
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridPartnerNamespace -ResourceGroup MyResourceGroupName -Name PartnerNamespace1
之後
Get-AzEventGridPartnerNamespace -ResourceGroupName azps_test_group_eventgrid -Name azps-partnernamespace
Get-AzEventGridPartnerRegistration
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridPartnerRegistration -ResourceGroupName MyResourceGroupName -Name PartnerRegistration1
之後
Get-AzEventGridPartnerRegistration -ResourceGroupName azps_test_group_eventgrid -Name azps-registration
Get-AzEventGridPartnerTopic
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridPartnerTopic -ResourceGroupName MyResourceGroupName -Name PartnerTopic1
之後
Get-AzEventGridPartnerTopic -Name default -ResourceGroupName azps_test_group_eventgrid
Get-AzEventGridPartnerTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-IncludeFullEndpointUrl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridPartnerTopicEventSubscription -ResourceGroupName MyResourceGroupName -PartnerTopicName Topic1 -EventSubscriptionName EventSubscription1 -IncludeFullEndpointUrl
之後
Get-AzEventGridPartnerTopicEventSubscription -ResourceGroupName azps_test_group_eventgrid -PartnerTopicName default -EventSubscriptionName azps-eventsubname
Get-AzEventGridSubscription
- 所有參數集都會發生參數中斷變更
-IncludeFullEndpointUrl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Location
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-TopicTypeName
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridSubscription -ResourceId "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.EventHub/namespaces/$namespaceName"
之後
Get-AzEventGridSubscription -Name azps-eventsub -Scope "/subscriptions/{subId}/resourceGroups/azps_test_group_eventgrid/providers/Microsoft.EventGrid/topics/azps-topic"
Get-AzEventGridSystemTopic
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridSystemTopic -ResourceGroup MyResourceGroupName -Name Topic1
之後
Get-AzEventGridSystemTopic -ResourceGroupName azps_test_group_eventgrid -Name azps-systopic
Get-AzEventGridSystemTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-IncludeFullEndpointUrl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridSystemTopicEventSubscription -ResourceGroupName MyResourceGroupName -SystemTopicName Topic1 -EventSubscriptionName EventSubscription1 -IncludeFullEndpointUrl
之後
Get-AzEventGridSystemTopicEventSubscription -ResourceGroupName azps_test_group_eventgrid -SystemTopicName azps-systopic -EventSubscriptionName azps-evnetsub
Get-AzEventGridTopic
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1
之後
Get-AzEventGridTopic -ResourceGroupName azps_test_group_eventgrid -Name azps-topic
Get-AzEventGridTopicType
- 所有參數集都會發生參數中斷變更
-IncludeEventTypeData
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridTopicType -Name "Microsoft.Storage.StorageAccounts"
之後
Get-AzEventGridTopicType -Name Microsoft.EventGrid.Namespaces
Get-AzEventGridVerifiedPartner
- 所有參數集都會發生參數中斷變更
-NextLink
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ODataQuery
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzEventGridVerifiedPartner -Name VerifiedPartner1
之後
Get-AzEventGridVerifiedPartner -Name MicrosoftGraphAPI
New-AzEventGridDomain
- 所有參數集都會發生參數中斷變更
-IdentityType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InboundIpRule
- 參數 :'InboundIpRule' 正在變更。 參數的類型從 'System.Collections.Hashtable' 變更為 'IInboundIPRule[]'。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InputMappingDefaultValue
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InputMappingField
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridDomain -ResourceGroupName MyResourceGroupName -Name Domain1 -Location westus2 -Tag @{ Department="Finance"; Environment="Test" }
之後
$inboundIpRule = New-AzEventGridInboundIPRuleObject -Action Allow -IPMask "12.18.176.1"
New-AzEventGridDomain -Name azps-domain -ResourceGroupName azps_test_group_eventgrid -Location westus2 -PublicNetworkAccess Enabled -InboundIPRule $inboundIpRule
New-AzEventGridPartnerConfiguration
- 所有參數集都會發生參數中斷變更
-AuthorizedPartner
- 參數 :'AuthorizedPartner' 正在變更。 參數的類型從 'System.Collections.Hashtable[]' 變更為 'IPartner[]'。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridPartnerConfiguration -ResourceGroupName MyResourceGroupName -MaxExpirationTimeInDays 14
之後
$partnerRegistration = Get-AzEventGridPartnerRegistration -ResourceGroupName azps_test_group_eventgrid -Name azps-registration
$partner = New-AzEventGridPartnerObject -AuthorizationExpirationTimeInUtc "2023-11-19T09:31:42.521Z" -RegistrationImmutableId $partnerRegistration.ImmutableId
New-AzEventGridPartnerConfiguration -ResourceGroupName azps_test_group_eventgrid -Location global -PartnerAuthorizationDefaultMaximumExpirationTimeInDay 10 -PartnerAuthorizationAuthorizedPartnersList $partner
New-AzEventGridPartnerNamespace
- 所有參數集都會發生參數中斷變更
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InboundIpRule
- 參數 :'InboundIpRule' 正在變更。 參數的類型從 'Microsoft.Azure.Commands.EventGrid.Models.PSInboundIpRule[]' 變更為 'IInboundIPRule[]'。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-PrivateEndpointConnection
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridPartnerNamespace -ResourceGroupName MyResourceGroupName -Name PartnerNamespace1 -Location westus2 -PartnerRegistrationFullyQualifiedId 23e0092b-f336-4833-9ab3-9353a15650fc
之後
New-AzEventGridPartnerNamespace -Name azps-partnernamespace -ResourceGroupName azps_test_group_eventgrid -Location eastus -PartnerTopicRoutingMode ChannelNameHeader -PartnerRegistrationFullyQualifiedId "/subscriptions/{subId}/resourceGroups/azps_test_group_eventgrid/providers/Microsoft.EventGrid/partnerRegistrations/azps-registration"
New-AzEventGridPartnerRegistration
- 所有參數集都會發生 Cmdlet 中斷變更
- 已新增必要的參數:位置
<String>
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
- 已新增必要的參數:位置
之前
New-AzEventGridPartnerRegistration -ResourceGroupName MyResourceGroupName -Name PartnerRegistration1
之後
New-AzEventGridPartnerRegistration -Name azps-registration -ResourceGroupName azps_test_group_eventgrid -Location global
New-AzEventGridPartnerTopic
- 所有參數集都會發生參數中斷變更
-IdentityType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridPartnerTopic -ResourceGroupName MyResourceGroupName -Name PartnerTopic1 -Source ContosoCorp.Accounts.User1 -Location westus2 -PartnerRegistrationImmutableId 23e0092b-f336-4833-9ab3-9353a15650fc
之後
$partnerRegistration = Get-AzEventGridPartnerRegistration -ResourceGroupName azps_test_group_eventgrid -Name azps-registration
New-AzEventGridPartnerTopic -Name default -ResourceGroupName azps_test_group_eventgrid -Location eastus -partnerRegistrationImmutableId $partnerRegistration.ImmutableId -Source "ContosoCorp.Accounts.User1" -ExpirationTimeIfNotActivatedUtc "2023-11-17T11:06:13.109Z" -PartnerTopicFriendlyDescription "Example description" -MessageForActivation "Example message for activation"
New-AzEventGridPartnerTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-AdvancedFilter
- 參數 :'AdvancedFilter' 正在變更。 參數的類型從 'System.Collections.Hashtable[]' 變更為 'IAdvancedFilter[]'。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-AzureActiveDirectoryApplicationIdOrUri
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-AzureActiveDirectoryTenantId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-EndpointType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-MaxEventsPerBatch
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredBatchSizeInKiloByte
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-StorageQueueMessageTtl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
$includedEventTypes = "Microsoft.Resources.ResourceWriteFailure", "Microsoft.Resources.ResourceWriteSuccess"
$labels = "Finance", "HR"
New-AzEventGridPartnerTopicEventSubscription -ResourceGroup MyResourceGroup -PartnerTopicName Topic1 -EventSubscriptionName EventSubscription1 -Endpoint https://requestb.in/19qlscd1 -SubjectBeginsWith "TestPrefix" -SubjectEndsWith "TestSuffix" -IncludedEventType $includedEventTypes -Label $labels
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net"
New-AzEventGridPartnerTopicEventSubscription -EventSubscriptionName azps-eventsub -ResourceGroupName azps_test_group_eventgrid -PartnerTopicName default -FilterIsSubjectCaseSensitive:$false -FilterSubjectBeginsWith "ExamplePrefix" -FilterSubjectEndsWith "ExampleSuffix" -EventDeliverySchema CloudEventSchemaV1_0 -Destination $obj
New-AzEventGridSubscription
- 所有參數集都會發生參數中斷變更
-AzureActiveDirectoryApplicationIdOrUri
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-AzureActiveDirectoryTenantId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-MaxEventsPerBatch
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredBatchSizeInKiloByte
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-StorageQueueMessageTtl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
$includedEventTypes = "Microsoft.Resources.ResourceWriteFailure", "Microsoft.Resources.ResourceWriteSuccess"
$labels = "Finance", "HR"
New-AzEventGridSubscription -Endpoint https://requestb.in/19qlscd1 -EventSubscriptionName EventSubscription1 -SubjectBeginsWith "TestPrefix" -SubjectEndsWith "TestSuffix" -IncludedEventType $includedEventTypes -Label $labels
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net/api/updates"
$topic = Get-AzEventGridTopic -ResourceGroupName azps_test_group_eventgrid -Name azps-topic
New-AzEventGridSubscription -Name azps-eventsub -Scope $topic.Id -Destination $obj -FilterIsSubjectCaseSensitive:$false -FilterSubjectBeginsWith "ExamplePrefix" -FilterSubjectEndsWith "ExampleSuffix"
New-AzEventGridSystemTopic
- 所有參數集都會發生參數中斷變更
-IdentityType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridSystemTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Source ServiceBusNamespaceResourceId -TopicType 'Microsoft.ServiceBus.Namespaces' -Location westus2 -Tag @{ Department="Finance"; Environment="Test" }
之後
New-AzEventGridSystemTopic -Name azps-systopic -ResourceGroupName azps_test_group_eventgrid -Location eastus -Source "/subscriptions/{subId}/resourcegroups/azps_test_group_eventgrid/providers/Microsoft.Storage/storageAccounts/azpssa" -TopicType "microsoft.storage.storageaccounts"
New-AzEventGridSystemTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-AzureActiveDirectoryApplicationIdOrUri
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-AzureActiveDirectoryTenantId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-EndpointType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-MaxEventsPerBatch
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredBatchSizeInKiloByte
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-StorageQueueMessageTtl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
$includedEventTypes = "Microsoft.Resources.ResourceWriteFailure", "Microsoft.Resources.ResourceWriteSuccess"
$labels = "Finance", "HR"
New-AzEventGridSystemTopicEventSubscription -ResourceGroupName MyResourceGroup -SystemTopicName Topic1 -EventSubscriptionName EventSubscription1 -Endpoint https://requestb.in/19qlscd1 -SubjectBeginsWith "TestPrefix" -SubjectEndsWith "TestSuffix" -IncludedEventType $includedEventTypes -Label $labels
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net"
New-AzEventGridSystemTopicEventSubscription -EventSubscriptionName azps-evnetsub -ResourceGroupName azps_test_group_eventgrid -SystemTopicName azps-systopic -FilterIsSubjectCaseSensitive:$false -FilterSubjectBeginsWith "ExamplePrefix" -FilterSubjectEndsWith "ExampleSuffix" -Destination $obj
New-AzEventGridTopic
- 所有參數集都會發生參數中斷變更
-IdentityType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InboundIpRule
- 參數 :'InboundIpRule' 正在變更。 參數的類型從 'System.Collections.Hashtable' 變更為 'IInboundIPRule[]'。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InputMappingDefaultValue
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-InputMappingField
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzEventGridTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Location westus2 -Tag @{ Department="Finance"; Environment="Test" }
之後
$inboundIpRule = New-AzEventGridInboundIPRuleObject -Action Allow -IPMask "12.18.176.1"
New-AzEventGridTopic -Name azps-topic -ResourceGroupName azps_test_group_eventgrid -Location eastus -PublicNetworkAccess Enabled -InboundIPRule $inboundIpRule
Remove-AzEventGridSubscription
- 所有參數集都會發生參數中斷變更
-DomainInputObject
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DomainName
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DomainTopicInputObject
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DomainTopicName
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceGroupName
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-ResourceId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-TopicName
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Remove-AzEventGridSubscription -ResourceGroup MyResourceGroup -TopicName Topic1 -EventSubscriptionName EventSubscription1
之後
Remove-AzEventGridSubscription -Name azps-eventsub -Scope "subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
Set-AzEventGridTopic
- 所有參數集都會發生 Cmdlet 中斷變更
- Cmdlet 即將淘汰。 不會取代它。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Set-AzEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1 -Tag @{ Department="Finance"; Environment="Test" }
之後
Update-AzEventGridPartnerTopic
所有參數集都會發生 Cmdlet 中斷變更
- 將會擴充現有的語法。 新的語法將支援更新更多屬性。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
所有參數集都會發生參數中斷變更
-IdentityType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Update-AzEventGridPartnerTopic -ResourceGroup MyResourceGroupName -Name Topic1 -IdentityType "SystemAssigned"
之後
Update-AzEventGridPartnerTopic -Name default -ResourceGroupName azps_test_group_eventgrid -UserAssignedIdentity "/subscriptions/{subId}/resourcegroups/azps_test_group_eventgrid/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami"
Update-AzEventGridPartnerTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-EndpointType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-StorageQueueMessageTtl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Update-AzEventGridPartnerTopicEventSubscription -EventSubscriptionName ES1 -PartnerTopicName Topic1 -ResourceGroup MyResourceGroupName -Endpoint https://requestb.in/1kxxoui1 -SubjectEndsWith "jpg"
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net/api/updates"
Update-AzEventGridPartnerTopicEventSubscription -EventSubscriptionName azps-eventsubname -ResourceGroupName azps_test_group_eventgrid -PartnerTopicName default -FilterIsSubjectCaseSensitive:$false -FilterSubjectBeginsWith "ExamplePrefix" -FilterSubjectEndsWith "ExampleSuffix" -EventDeliverySchema CloudEventSchemaV1_0 -Destination $obj
Update-AzEventGridSubscription
- 所有參數集都會發生參數中斷變更
-AzureActiveDirectoryApplicationIdOrUri
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-AzureActiveDirectoryTenantId
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-EndpointType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-MaxEventsPerBatch
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredBatchSizeInKiloByte
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Update-AzEventGridSubscription -EventSubscriptionName ES1 -TopicName Topic1 -ResourceGroup MyResourceGroupName -Endpoint https://requestb.in/1kxxoui1
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net/api/updates"
Update-AzEventGridSubscription -Name azps-eventsub -Scope "subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -Destination $obj -FilterIsSubjectCaseSensitive:$false
Update-AzEventGridSystemTopicEventSubscription
- 所有參數集都會發生參數中斷變更
-DeadLetterEndpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-DeliveryAttributeMapping
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-Endpoint
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-EndpointType
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
-StorageQueueMessageTtl
- 此參數將被取代。
- 這項變更預期會從 Az.EventGrid 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Update-AzEventGridSystemTopicEventSubscription -EventSubscriptionName ES1 -SystemTopicName Topic1 -ResourceGroupName MyResourceGroupName -Endpoint https://requestb.in/1kxxoui1 -SubjectEndsWith "jpg"
之後
$obj = New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net/api/updates"
Update-AzEventGridSystemTopicEventSubscription -EventSubscriptionName azps-evnetsub -ResourceGroupName azps_test_group_eventgrid -SystemTopicName azps-systopic -FilterIsSubjectCaseSensitive:$false -FilterSubjectBeginsWith "ExamplePrefix" -FilterSubjectEndsWith "ExampleSuffix" -Destination $obj
Az.EventHub
New-AzEventHub
- 所有參數集都會發生參數中斷變更
-CleanupPolicy
- 參數 :'CleanupPolicy' 正在變更。 參數的類型從 'CleanupPolicyRetentionDescription' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-Encoding
- 參數:『Encoding』 正在變更。 參數的類型從 'EncodingCaptureDescription' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-IdentityType
- 參數 :'IdentityType' 正在變更。 參數的類型從 'CaptureIdentityType' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-Status
- 參數 :'Status' 正在變更。 參數的類型從 'EntityStatus' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHub -Name $env.eventHub9 -ResourceGroupName $env.resourceGroup -NamespaceName $eventHubNamespace.Name -PartitionCount 2 -CleanupPolicy Delete -IdentityType UserAssigned
(CleanupPolicy type is CleanupPolicyRetentionDescription),
(Status type is EntityStatus),
(IdentityType type is CaptureIdentiType),
(EncodingType type is EncodingCaptureDescription)
之後
New-AzEventHub -Name $env.eventHub9 -ResourceGroupName $env.resourceGroup -NamespaceName $eventHubNamespace.Name -PartitionCount 2 -CleanupPolicy Delete -IdentityType UserAssigned
(CleanupPolicy type is String),
(Status type is String),
(IdentityType type is String),
(EncodingType type is String)
New-AzEventHubAuthorizationRule
- 所有參數集都會發生參數中斷變更
-Rights
- 參數 :'Rights' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type AccessRights[])
之後
New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type System.String[])
New-AzEventHubIPRuleConfig
- 所有參數集都會發生參數中斷變更
-Action
- 參數:『Action』 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
(Action is of type NetworkRuleIPAction )
之後
(Action is of type String)
New-AzEventHubKey
- 所有參數集都會發生參數中斷變更
-KeyType
- 參數 :'KeyType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHubKey -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule -KeyType PrimaryKey
(KeyType is of type KeyType)
之後
New-AzEventHubKey -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule -KeyType PrimaryKey
(KeyType is of type String)
New-AzEventHubNamespace
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
( SkuName is of type SkuName)
之後
New-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is String),
(PublicNetworkAccess is of type String),
( SkuName is of type String)
New-AzEventHubNamespaceV2
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
( SkuName is of type SkuName)
之後
New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is String),
(PublicNetworkAccess is of type String),
( SkuName is of type String)
New-AzEventHubSchemaGroup
- 所有參數集都會發生參數中斷變更
-SchemaCompatibility
- 參數 :'SchemaCompatibility' 正在變更。 參數的類型從 'SchemaCompatibility' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-SchemaType
- 參數 :'SchemaType' 正在變更。 參數的類型從 'SchemaType' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
New-AzEventHubSchemaGroup -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.schemaGroup2 -SchemaCompatibility Forward -SchemaType Avro -GroupProperty @{a='b'; c='d'}
(SchemaCompatibility is of type SchemaCompatibility)
(SchemaType is of type SchemaType)
之後
New-AzEventHubSchemaGroup -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.schemaGroup2 -SchemaCompatibility Forward -SchemaType Avro -GroupProperty @{a='b'; c='d'}
(SchemaCompatibility is of type String),
(SchemaType is of type String)
New-AzEventHubThrottlingPolicyConfig
- 所有參數集都會發生參數中斷變更
-MetricId
- 參數 :'MetricId' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
(MetricId is of type MetricId)
之後
(MetricId is of type String)
Set-AzEventHub
- 所有參數集都會發生參數中斷變更
-Encoding
- 參數:『Encoding』 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-Status
- 參數 :'Status' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
Set-AzEventHub -Name $env.eventHub9 -ResourceGroupName $env.resourceGroup -NamespaceName $eventHubNamespace.Name -IdentityType UserAssigned
(Status type is EntityStatus),
(IdentityType type is CaptureIdentiType),
(Encoding type is EncodingCaptureDescription)
之後
Set-AzEventHub -Name $env.eventHub9 -ResourceGroupName $env.resourceGroup -NamespaceName $eventHubNamespace.Name -IdentityType UserAssigned
(Status type is String),
(IdentityType type is String),
(Encoding type is String)
Set-AzEventHubAuthorizationRule
- 所有參數集都會發生參數中斷變更
-Rights
- 參數 :'Rights' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
Set-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type AccessRights[])
之後
Set-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type System.String[])
Set-AzEventHubNamespace
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
Set-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess)
之後
Set-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type String),
(PublicNetworkAccess is of type String)
Set-AzEventHubNamespaceV2
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
Set-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess)
之後
Set-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type String),
(PublicNetworkAccess is of type String)
Set-AzEventHubNetworkRuleSet
- 所有參數集都會發生參數中斷變更
-DefaultAction
- 參數 :'DefaultAction' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 變更應該從版本生效: '5.0.0'
之前
Set-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -PublicNetworkAccess Disabled -DefaultAction deny
( DefaultAction is of type DefaultAction),
( PublicNetworkAccess is of type PublicNetworkAccess)
之後
Set-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -PublicNetworkAccess Disabled -DefaultAction deny
( DefaultAction is of type String),
( PublicNetworkAccess is of type String)
Az.KeyVault
Add-AzKeyVaultKey
- 所有參數集都會發生參數中斷變更
-UseDefaultCVMPolicy
- 將會移除脫機後援原則。 如果無法從 MAA 服務探索 API 取得區域預設 CVM SKR 原則,密鑰建立將會失敗。
- 這項變更預期會從 Az.KeyVault 版本:6.0.0 和 Az 版本:12.0.0 生效
Invoke-AzKeyVaultKeyOperation
從 Invoke-AzKeyVaultKeyOperation 中移除參數值,並從輸出類型 PSKeyOperationResult 中移除 Result 屬性
之前
$encryptedData = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String "test" -AsPlainText -Force)
之後
"$plainText = ""test""
$byteArray = [system.Text.Encoding]::UTF8.GetBytes($plainText)
$encryptedData = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -ByteArrayValue $byteArray"
New-AzKeyVault
New-AzKeyVault 和 Update-AzKeyVault 中的 DisableRbacAuthorization 取代 EnableRbacAuthorization 參數 RbacAuthorization,預設會啟用 RbacAuthorization
之前
New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' -DisableRbacAuthorization
之後
New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US'
Update-AzKeyVault
Update-AzKeyVault 中的 DisableRbacAuthorization 取代 EnableRbacAuthorization 参數 EnableRbacAuthorization
之前
Get-AzKeyVault -VaultName $keyVaultName -ResourceGroupName $resourceGroupName | Update-AzKeyVault -EnableRbacAuthorization $true
之後
Get-AzKeyVault -VaultName $keyVaultName -ResourceGroupName $resourceGroupName | Update-AzKeyVault -DisableRbacAuthorization $false
Az.RecoveryServices
Get-AzRecoveryServicesAsrVaultContext
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVault 設定' 正在變更
- 輸出類型中的下列屬性即將淘汰: 'ResouceType'
- 下列屬性會新增至輸出類型: 'ResourceType'
- 這項變更預期會從 Az.RecoveryServices 版本:7.0.0 和 Az 版本:12.0.0 生效
之前
$VaultSettings = Get-AzRecoveryServicesAsrVaultContext
$ResourceType = $VaultSettings.ResouceType
之後
$VaultSettings = Get-AzRecoveryServicesAsrVaultContext
$ResourceType = $VaultSettings.ResourceType
Import-AzRecoveryServicesAsrVaultSettingsFile
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVault 設定' 正在變更
- 輸出類型中的下列屬性即將淘汰: 'ResouceType'
- 下列屬性會新增至輸出類型: 'ResourceType'
- 這項變更預期會從 Az.RecoveryServices 版本:7.0.0 和 Az 版本:12.0.0 生效
之前
$VaultSettings = Import-AzRecoveryServicesAsrVaultSettingsFile -Path $FilePath
$ResourceType = $VaultSettings.ResouceType
之後
$VaultSettings = Import-AzRecoveryServicesAsrVaultSettingsFile -Path $FilePath
$ResourceType = $VaultSettings.ResourceType
Set-AzRecoveryServicesAsrVaultContext
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVault 設定' 正在變更
- 輸出類型中的下列屬性即將淘汰: 'ResouceType'
- 下列屬性會新增至輸出類型: 'ResourceType'
- 這項變更預期會從 Az.RecoveryServices 版本:7.0.0 和 Az 版本:12.0.0 生效
之前
$vaultSettings = Set-AzRecoveryServicesAsrVaultContext -Vault $RecoveryServicesVault
$ResourceType = $VaultSettings.ResouceType
之後
$vaultSettings = Set-AzRecoveryServicesAsrVaultContext -Vault $RecoveryServicesVault
$ResourceType = $VaultSettings.ResourceType
Az.Resources
Get-AzPolicyAssignment
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 『Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyAssignment』 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'Identity'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyAssignmentId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'EnforcementMode' 'Metadata' 'NonComplianceMessages' 'NotScopes' 'Parameters' 'PolicyDefinitionId' 'Scope'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyAssignment = Get-AzPolicyAssignment -Name MyAssignment
$description = $policyAssignment.Properties.Description
$principalId = $policyAssignment.Identity.PrincipalId
之後
$policyAssignment = Get-AzPolicyAssignment -Name MyAssignment
$description = $policyAssignment.Description
$principalId = $policyAssignment.PrincipalId
Compatible option:
$policyAssignment = Get-AzPolicyAssignment -Name MyAssignment -BackwardCompatible
$description = $policyAssignment.Properties.Description
$principalId = $policyAssignment.Identity.PrincipalId
Get-AzPolicyDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Mode' 'Parameters' 'PolicyRule' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyDefinition = Get-AzPolicyDefinition -Builtin | select -First 1
$policyRule = $policyDefinition.Properties.PolicyRule
之後
$policyDefinition = Get-AzPolicyDefinition -Builtin | select -First 1
$policyRule = $policyDefinition.PolicyRule
Compatible option:
$policyDefinition = Get-AzPolicyDefinition -Builtin -BackwardCompatible | select -First 1
$policyRule = $policyDefinition.Properties.PolicyRule
Get-AzPolicyExemption
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyExemption' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'ExemptionCategory' 'ExpiresOn' 'Metadata' 'PolicyAssignmentId' 'PolicyDefinitionReferenceIds'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyExemption = Get-AzPolicyExemption -Scope /providers/Microsoft.Management/managementGroups/myManagementGroup -Name MyExemption
$expiresOn = $policyExemption.Properties.ExpiresOn
之後
$policyExemption = Get-AzPolicyExemption -Scope /providers/Microsoft.Management/managementGroups/myManagementGroup -Name MyExemption
$expiresOn = $policyExemption.ExpiresOn
Compatible option:
$policyExemption = Get-AzPolicyExemption -Scope /providers/Microsoft.Management/managementGroups/myManagementGroup -Name MyExemption -BackwardCompatible
$expiresOn = $policyExemption.Properties.ExpiresOn
Get-AzPolicySetDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicySetDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicySetDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Parameter' 'PolicyDefinitionGroup' 'PolicyDefinition' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policySetDefinition = Get-AzPolicySetDefinition -Builtin | select -First 1
$policySetParameters = $policySetDefinition.Properties.Parameters
之後
$policySetDefinition = Get-AzPolicySetDefinition -Builtin | select -First 1
$policySetParameters = $policySetDefinition.Parameter
Compatible option:
$policySetDefinition = Get-AzPolicySetDefinition -Builtin -BackwardCompatible | select -First 1
$policySetParameters = $policySetDefinition.Properties.Parameters
New-AzPolicyAssignment
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 『Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyAssignment』 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'Identity'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyAssignmentId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'EnforcementMode' 'Metadata' 'NonComplianceMessages' 'NotScopes' 'Parameters' 'PolicyDefinitionId' 'Scope'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyAssignment = New-AzPolicyAssignment -Name MyAssignment -PolicyDefinition MyPolicyDefinition
$enforcementMode = $policyAssignment.Properties.EnforcementMode
$principalId = $policyAssignment.Identity.PrincipalId
之後
$policyAssignment = New-AzPolicyAssignment -Name MyAssignment -PolicyDefinition MyPolicyDefinition
$enforcementMode = $policyAssignment.EnforcementMode
$principalId = $policyAssignment.PrincipalId
Compatible option:
$policyAssignment = New-AzPolicyAssignment -Name MyAssignment -PolicyDefinition MyPolicyDefinition -BackwardCompatible
$enforcementMode = $policyAssignment.Properties.EnforcementMode
$principalId = $policyAssignment.Identity.PrincipalId
New-AzPolicyDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Mode' 'Parameters' 'PolicyRule' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyRule = '{ "if": { "field": "type", "like": "Microsoft.DesktopVirtualization/*" }, "then": { "effect": "deny" } }'
$policyDefinition = New-AzPolicyDefinition -Name MyDefinition -Policy $policyRule
$policyType = $policyDefinition.Properties.PolicyType
之後
$policyRule = '{ "if": { "field": "type", "like": "Microsoft.DesktopVirtualization/*" }, "then": { "effect": "deny" } }'
$policyDefinition = New-AzPolicyDefinition -Name MyDefinition -Policy $policyRule
$policyType = $policyDefinition.PolicyType
Compatible option:
$policyDefinition = New-AzPolicyDefinition -Name MyDefinition -Policy $policyRule -BackwardCompatible
$policyType = $policyDefinition.Properties.PolicyType
New-AzPolicyExemption
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyExemption' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'ExemptionCategory' 'ExpiresOn' 'Metadata' 'PolicyAssignmentId' 'PolicyDefinitionReferenceIds'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyExemption = Get-AzPolicyAssignment -Name MyAssignment | New-AzPolicyExemption -Name MyExemption -ExemptionCategory Mitigated
$policyDefinitionId = $policyExemption.Properties.PolicyAssignmentId
之後
$policyExemption = Get-AzPolicyAssignment -Name MyAssignment | New-AzPolicyExemption -Name MyExemption -ExemptionCategory Mitigated
$policyDefinitionId = $policyExemption.PolicyAssignmentId
Compatible option:
$policyExemption = Get-AzPolicyAssignment -Name MyAssignment | New-AzPolicyExemption -Name MyExemption -ExemptionCategory Mitigated -BackwardCompatible
$policyDefinitionId = $policyExemption.Properties.PolicyAssignmentId
New-AzPolicySetDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicySetDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicySetDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Parameters' 'PolicyDefinitionGroups' 'PolicyDefinitions' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyDefinitionReferences = ('[{ "policyDefinitionId": "' + (Get-AzPolicyDefinition -Name MyDefinition).ResourceId + '"}]')
$policySetDefinition = New-AzPolicySetDefinition -Name MySetDefinition -PolicyDefinition $policyDefinitionReferences
$policyDefinitionReferenceId = $policySetDefinition.Properties.PolicyDefinitions[0].policyDefinitionReferenceId
之後
$policyDefinitionReferences = ('[{ "policyDefinitionId": "' + (Get-AzPolicyDefinition -Name MyDefinition).ResourceId + '"}]')
$policySetDefinition = New-AzPolicySetDefinition -Name MySetDefinition -PolicyDefinition $policyDefinitionReferences
$policyDefinitionReferenceId = $policySetDefinition.PolicyDefinition[0].policyDefinitionReferenceId
Compatible option:
$policySetDefinition = New-AzPolicySetDefinition -Name MySetDefinition -PolicyDefinition $policyDefinitionReferences
$policyDefinitionReferenceId = $policySetDefinition.Properties.PolicyDefinitions[0].policyDefinitionReferenceId
Set-AzPolicyAssignment
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 『Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyAssignment』 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'Identity'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyAssignmentId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'EnforcementMode' 'Metadata' 'NonComplianceMessages' 'NotScopes' 'Parameters' 'PolicyDefinitionId' 'Scope'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyAssignment = Set-AzPolicyAssignment -Name MyAssignment -DisplayName 'My cool assignment'
$displayName = $policyAssignment.Properties.DisplayName
$principalId = $policyAssignment.Identity.PrincipalId
之後
$policyAssignment = Update-AzPolicyAssignment -Name MyAssignment -DisplayName 'My cool assignment'
$displayName = $policyAssignment.DisplayName
$principalId = $policyAssignment.PrincipalId
Compatible option:
$policyAssignment = Set-AzPolicyAssignment -Name MyAssignment -DisplayName 'My cool assignment' -BackwardCompatible
$displayName = $policyAssignment.Properties.DisplayName
$principalId = $policyAssignment.Identity.PrincipalId
Set-AzPolicyDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicyDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Mode' 'Parameters' 'PolicyRule' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyDefinition = Set-AzPolicyDefinition -Name MyDefinition -Description 'A much better policy definition'
$description = $policyDefinition.Properties.Description
之後
$policyDefinition = Update-AzPolicyDefinition -Name MyDefinition -Description 'A much better policy definition'
$description = $policyDefinition.Description
Compatible option:
$policyDefinition = Set-AzPolicyDefinition -Name MyDefinition -Description 'A much better policy definition' -BackwardCompatible
$description = $policyDefinition.Properties.Description
Set-AzPolicyExemption
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyExemption' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'ExemptionCategory' 'ExpiresOn' 'Metadata' 'PolicyAssignmentId' 'PolicyDefinitionReferenceIds'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policyExemption = Set-AzPolicyExemption -Name MyExemption -ExemptionCategory Waiver
$exemptionCategory = $policyExemption.Properties.ExemptionCategory
之後
$policyExemption = Update-AzPolicyExemption -Name MyExemption -ExemptionCategory Waiver
$exemptionCategory = $policyExemption.ExemptionCategory
Compatbile option:
$policyExemption = Update-AzPolicyExemption -Name MyExemption -ExemptionCategory Waiver -BackwardCompatible
$exemptionCategory = $policyExemption.Properties.ExemptionCategory
Set-AzPolicySetDefinition
- 所有參數集都會發生 Cmdlet 中斷變更
- 輸出類型 'Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicySetDefinition' 正在變更
- 輸出類型中的下列屬性已被取代:'Properties'、'ResourceId'、'ResourceName'、'ResourceType'、'PolicySetDefinitionId'
- 下列屬性會新增至輸出類型:'Description' 'DisplayName' 'Metadata' 'Parameters' 'PolicyDefinitionGroups' 'PolicyDefinitions' 'PolicyType'
- 這項變更預期會從 Az.Resources 版本:7.1.0 和 Az 版本:12.0.0 生效
之前
$policySetDefinition = Set-AzPolicySetDefinition -Name MySetDefinition -Metadata '{ "MyThing": "A really good thing" }'
$myThing = $policySetDefinition.Properties.Metadata.MyThing
之後
$policySetDefinition = Update-AzPolicySetDefinition -Name MySetDefinition -Metadata '{ "MyThing": "A really good thing" }'
$myThing = $policySetDefinition.Metadata.MyThing
Compatible option:
$policySetDefinition = Set-AzPolicySetDefinition -Name MySetDefinition -Metadata '{ "MyThing": "A really good thing" }' -BackwardCompatible
$myThing = $policySetDefinition.Properties.Metadata.MyThing
Az.ServiceBus
New-AzServiceBusAuthorizationRule
- 所有參數集都會發生參數中斷變更
-Rights
- 參數 :'Rights' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
New-AzServiceBusAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type AccessRights[])
之後
New-AzServiceBusAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type System.String[])
New-AzServiceBusIPRuleConfig
- 所有參數集都會發生參數中斷變更
-Action
- 參數:『Action』 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Action is of type NetworkRuleIPAction )
之後
(Action is of type String )
New-AzServiceBusKey
- 所有參數集都會發生參數中斷變更
-KeyType
- 參數 :'KeyType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
New-AzServiceBusKey -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule -KeyType PrimaryKey
(KeyType is of type KeyType)
之後
New-AzServiceBusKey -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule -KeyType PrimaryKey
(KeyType is of type String)
New-AzServiceBusNamespace
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
New-ServiceBusNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
( SkuName is of type SkuName)
之後
New-ServiceBusNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is String),
(PublicNetworkAccess is of type String),
( SkuName is of type String)
New-AzServiceBusNamespaceV2
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
New-ServiceBusNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
( SkuName is of type SkuName)
之後
New-ServiceBusNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is String),
(PublicNetworkAccess is of type String),
( SkuName is of type String)
New-AzServiceBusQueue
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。 參數的類型從 'EntityStatus' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String)
New-AzServiceBusSubscription
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。 參數的類型從 'EntityStatus' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String)
New-AzServiceBusTopic
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。 參數的類型從 'EntityStatus' 變更為 'String'。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String)
Set-AzServiceBusAuthorizationRule
- 所有參數集都會發生參數中斷變更
-Rights
- 參數 :'Rights' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
Set-AzServiceBusAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type AccessRights[])
之後
Set-AzServiceBusAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen")
(Rights is of type System.String[])
Set-AzServiceBusNamespace
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
Set-AzServiceBusNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
(SkuName is of type SkuName)
之後
Set-AzServiceBusNamespace -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type String),
(PublicNetworkAccess is of type String),
(SkuName is of type String)
Set-AzServiceBusNamespaceV2
- 所有參數集都會發生參數中斷變更
-IdentityType
- 參數 :'IdentityType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-SkuName
- 參數 :'SkuName' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
Set-AzServiceBusNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type ManagedServiceIdentityType),
(PublicNetworkAccess is of type PublicNetworkAccess),
(SkuName is of type SkuName)
之後
Set-AzServiceBusNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -IdentityType SystemAssigned -PublicNetworkAccess Disabled
( IdentityType is of type String),
(PublicNetworkAccess is of type String),
(SkuName is of type String)
Set-AzServiceBusNetworkRuleSet
- 所有參數集都會發生參數中斷變更
-DefaultAction
- 參數 :'DefaultAction' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
-PublicNetworkAccess
- 參數 :'PublicNetworkAccess' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
Set-AzServiceBusNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -PublicNetworkAccess Disabled -DefaultAction deny
( DefaultAction is of type DefaultAction),
( PublicNetworkAccess is of type PublicNetworkAccess)
之後
Set-AzServiceBusNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -PublicNetworkAccess Disabled -DefaultAction deny
( DefaultAction is of type String),
( PublicNetworkAccess is of type String)
Set-AzServiceBusQueue
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String.)
Set-AzServiceBusRule
- 所有參數集都會發生參數中斷變更
-FilterType
- 參數 :'FilterType' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
Set-AzServiceBusRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -TopicName topic1 -SubscriptionName subscription1 -Name sqlRule2 -FilterType SqlFilter -SqlExpression x=y
( FilterType is of type FilterType)
之後
Set-AzServiceBusRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -TopicName topic1 -SubscriptionName subscription1 -Name sqlRule2 -FilterType SqlFilter -SqlExpression x=y
( FilterType is of type String)
Set-AzServiceBusSubscription
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String)
Set-AzServiceBusTopic
- 所有參數集都會發生參數中斷變更
-Status
- 參數 :'Status' 正在變更。
- 這項變更將在 '5/21/2024' 生效- 此變更預計將從 Az 版本生效:'12.0.0'
- 這項變更預期會從版本生效:'4.0.0'
之前
(Status is of type EntityStatus)
之後
(Status is of type String)
Az.Sql
New-AzSqlDatabaseFailoverGroup
- 所有參數集都會發生 Cmdlet 中斷變更
- FailoverPolicy 的預設值將從 [自動] 變更為 [手動]
- 這項變更預期會從 Az.Sql 版本:5.0.0 和 Az 版本:12.0.0 生效
之前
New-AzSqlDatabaseFailoverGroup -ServerName example-primary-server -ResourceGroupName example-rg -PartnerServerName example-secondary-server -FailoverGroupName example-fg (FailoverPolicy defaults to Automatic)
之後
New-AzSqlDatabaseFailoverGroup -ServerName example-primary-server -ResourceGroupName example-rg -PartnerServerName example-secondary-server -FailoverGroupName example-fg (FailoverPolicy defaults to Manual)
Set-AzSqlDatabaseFailoverGroup
- 所有參數集都會發生 Cmdlet 中斷變更
- FailoverPolicy 的預設值將從 [自動] 變更為 [手動]
- 這項變更預期會從 Az.Sql 版本:5.0.0 和 Az 版本:12.0.0 生效
之前
Get-Help Set-AzSqlDatabaseFailoverGroup -Parameter FailoverPolicy (Output shows default value = Automatic)
之後
Get-Help Set-AzSqlDatabaseFailoverGroup -Parameter FailoverPolicy (Output shows default value = Manual)
Az.Storage
Get-AzStorageQueue
- 所有參數集都會發生 Cmdlet 中斷變更
- 將會移除來自已取代 v11 SDK 的 CloudQueue 和 EncodeMessage 子屬性。 使用子屬性 QueueClient,而不是 CloudQueue。
- 這項變更預期會從 Az.儲存體 版本生效:7.0.0 和 Az 版本:12.0.0
之前
PS C:\WINDOWS\system32> $queue = Get-AzStorageQueue -Context $ctx-Name myqueue
PS C:\WINDOWS\system32> $queue | fl
CloudQueue : Microsoft.Azure.Storage.Queue.CloudQueue
Uri : https://mystorageaccount.queue.core.windows.net/myqueue
ApproximateMessageCount : 0
EncodeMessage : True
QueueClient : Azure.Storage.Queues.QueueClient
QueueProperties : Azure.Storage.Queues.Models.QueueProperties
Context : Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Name : myqueue
PS C:\WINDOWS\system32> $queueMessage = [Microsoft.Azure.Storage.Queue.CloudQueueMessage]::new("This is message 1")
PS C:\WINDOWS\system32> $queue.CloudQueue.AddMessageAsync($queueMessage)
之後
PS C:\WINDOWS\system32> $queue = Get-AzStorageQueue -Context $ctx-Name myqueue
PS C:\WINDOWS\system32> $queue | fl
QueueClient : Azure.Storage.Queues.QueueClient
Uri : https://mystorageaccount.queue.core.windows.net/myqueue
ApproximateMessageCount : 0
QueueProperties : Azure.Storage.Queues.Models.QueueProperties
Context : Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Name : myqueue
PS C:\WINDOWS\system32> $queueMessage = "This is message 1"
PS C:\WINDOWS\system32> $queue.QueueClient.SendMessage($queueMessage)
New-AzStorageQueue
- 所有參數集都會發生 Cmdlet 中斷變更
- 將會移除來自已取代 v11 SDK 的 CloudQueue 和 EncodeMessage 子屬性。 使用子屬性 QueueClient,而不是 CloudQueue。
- 這項變更預期會從 Az.儲存體 版本生效:7.0.0 和 Az 版本:12.0.0
之前
PS C:\WINDOWS\system32> $queue = New-AzStorageQueue -Name myqueue -Context $ctx
PS C:\WINDOWS\system32> $queue | fl
CloudQueue : Microsoft.Azure.Storage.Queue.CloudQueue
Uri : https://mystorageaccount.queue.core.windows.net/myqueue
ApproximateMessageCount : 0
EncodeMessage : True
QueueClient : Azure.Storage.Queues.QueueClient
QueueProperties : Azure.Storage.Queues.Models.QueueProperties
Context :
Name : myqueue
之後
PS C:\WINDOWS\system32> $queue = New-AzStorageQueue -Name myqueue -Context $ctx
PS C:\WINDOWS\system32> $queue | fl
QueueClient : Azure.Storage.Queues.QueueClient
Uri : https://mystorageaccount.queue.core.windows.net/myqueue
ApproximateMessageCount : 0
QueueProperties : Azure.Storage.Queues.Models.QueueProperties
Context : Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Name : myqueue
New-AzStorageQueueSASToken
- 所有參數集都會發生參數中斷變更
-Protocol
- 參數通訊協議的類型將從 SharedAccessProtocol 變更為字串。
- 這項變更預期會從 Az.儲存體 版本生效:7.0.0 和 Az 版本:12.0.0
之前
New-AzStorageQueueSASToken -Name testq1 -Permission ruap -Protocol HttpsOnly -Context $ctx
(The parameter Protocol is of type SharedAccessProtocol)
之後
New-AzStorageQueueSASToken -Name testq1 -Permission ruap -Protocol HttpsOnly -Context $ctx
(The parameter Protocol is of type string)
Set-AzStorageAccount
- 所有參數集都會發生參數中斷變更
-UpgradeToStorageV2
- 將記憶體帳戶從 儲存體 V1 或 儲存體 Blob 升級至 儲存體 V2 時,將會新增需要使用者確認的提示。 使用 -Force 隱藏它。
- 這項變更預期會從 Az.儲存體 版本生效:7.0.0 和 Az 版本:12.0.0
之前
No prompt when upgrading to StorageV2:
Set-AzStorageAccount -ResourceGroupName $rgname -Name $stoname -UpgradeToStorageV2
之後
Add -Force to skip the prompt when upgrading to StorageV2
Set-AzStorageAccount -ResourceGroupName $rgname -Name $stoname -UpgradeToStorageV2 -Force
Set-AzStorageFileContent
- 所有參數集都會發生參數中斷變更
-Path
- 在沒有讀取許可權的情況下使用SAS令牌上傳時,目的地路徑會當作檔案路徑,而不是先前的目錄路徑。
- 這項變更預期會從 Az.儲存體 版本生效:7.0.0 和 Az 版本:12.0.0
之前
When uploading Azure File using SAS token without Read permission, the Path parameter will be taken as parent directory path, and will take source file name as destination file name.
$ctxsas = New-AzStorageContext -StorageAccountName $accountName -SasToken $writeOnlySasToken
Set-AzStorageFileContent -ShareName $sharename -Path dir1/dir2 -Source C:\temp\test.txt -Context $ctxsas
之後
When uploading Azure File using SAS token without Read permission, the Path parameter need be whole path of destination file, include file name
$ctxsas = New-AzStorageContext -StorageAccountName $accountName -SasToken $writeOnlySasToken
Set-AzStorageFileContent -ShareName $sharename -Path dir1/dir2/test.txt -Source C:\temp\test.txt -Context $ctxsas
Az.Support
Get-AzSupportProblemClassification
所有參數集都會發生 Cmdlet 中斷變更
- 不再支援使用服務物件的 Get-AzSupportProblemClassification 管線。 仍然支援透過管線取得。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
所有參數集都會發生參數中斷變更
-Id
- 參數名稱 『Id』 將會變更為 『Name』。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-ServiceId
- 參數名稱 'ServiceId' 將會變更為 'ServiceName'。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzSupportProblemClassification -ServiceId b452a42b-3779-64de-532c-8a32738357a6 -Id 3400570d-442f-a892-48e2-ff4ad710b38f
之後
Get-AzSupportProblemClassification -ServiceName b452a42b-3779-64de-532c-8a32738357a6 -Name 3400570d-442f-a892-48e2-ff4ad710b38f
Get-AzSupportService
所有參數集都會發生 Cmdlet 中斷變更
- 輸出屬性名稱 『ResourceTypes』 將會變更為 『ResourceType』。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
所有參數集都會發生參數中斷變更
-Id
- 參數名稱 『Id』 將會變更為 『Name』。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
"Get-AzSupportService -Id b452a42b-3779-64de-532c-8a32738357a6
Id : /providers/Microsoft.Support/services/b452a42b-3779-64de-532c-8a32738357a6
Name : b452a42b-3779-64de-532c-8a32738357a6
Type : Microsoft.Support/services
DisplayName : Web App (Linux)
ResourceTypes : {MICROSOFT.WEB/SITES}"
之後
Get-AzSupportService -Name b452a42b-3779-64de-532c-8a32738357a6
DisplayName : Web App (Linux)
Id : /providers/Microsoft.Support/services/b452a42b-3779-64de-532c-8a32738357a6
Name : b452a42b-3779-64de-532c-8a32738357a6
ResourceGroupName :
ResourceType : {MICROSOFT.WEB/SITES}
Type : Microsoft.Support/services
Get-AzSupportTicket
- 所有參數集都會發生 Cmdlet 中斷變更
- 將會移除輸入參數 'Skip'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將會移除輸入參數 'IncludeTotalCount'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 參數 'First' 將會重新命名為 'Top'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將取代子輸出屬性 ContactDetail。 請改用屬性 ContactDetailAdditionalEmailAddress,ContactDetailCountry, ContactDetailFirstName, ContactDetailLastName, ContactDetail 電話 Number, ContactDetailPreferredContactMethod, ContactDetailPreferredSupportLanguage, ContactDetailPreferredTimeZone, and ContactDetailPrimaryEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 子輸出屬性 SupportEngineer 將會淘汰。 請改用屬性 SupportEngineerEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將取代子輸出屬性 QuotaTicketDetail。 請改用 Properties QuotaTicketDetailQuotaChangeRequest,QuotaTicketDetailQuotaChangeRequestSubType, QuotaTicketDetailQuotaChangeRequestVersion
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- TechnicalTicketResourceId 的輸出屬性將會變更為 TechnicalTicketDetailResourceId
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 如果未指定任何參數,Get-AzSupportTicket 會從上周傳回支援票證為預設值
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzSupportTicket -First 1
Id : /subscriptions/86cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft
.Support/supportTickets/06bfd9d3-22f96a7f-496854d2-6b34-4c48-a4a9-69a6f
599407a
Name : 06bfd9d3-22f96a7f-496854d2-6b34-4c48-a4a9-69a6f599407a
Type : Microsoft.Support/supportTickets
Title : Quota request for Storage: Azure NetApp Files limits
SupportTicketId : 3505060040007427
Description : Question: Quota type
Answer: Regional Capacity Quota per Subscription (TiB)
Question: Region requested
Answer: Australia Central 2
Question: Quota State
Answer: Current:25, Default:25
Question: Enter value for new limit
Answer: 22
ProblemClassificationId : /providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800de
c89/problemClassifications/22f96a7f-37b3-1504-0258-909e9f5ab3ac
ProblemClassificationDisplayName : Storage: Azure NetApp Files limits
Severity : Minimal
EnrollmentId :
Require24X7Response : False
ContactDetail : Microsoft.Azure.Commands.Support.Models.PSContactProfile
ServiceLevelAgreement : Microsoft.Azure.Commands.Support.Models.PSServiceLevelAgreement
SupportEngineer : Microsoft.Azure.Commands.Support.Models.PSSupportEngineer
SupportPlanType : Azure Internal
ProblemStartTime :
ServiceId : /providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800de
c89
ServiceDisplayName : Service and subscription limits (quotas)
Status : Open
CreatedDate : 5/6/2024 3:42:35 PM
ModifiedDate : 5/6/2024 3:42:46 PM
TechnicalTicketResourceId :
QuotaTicketDetail : Microsoft.Azure.Commands.Support.Models.PSQuotaTicketDetail
之後
Get-AzSupportTicket -Top 1
AdvancedDiagnosticConsent : Yes
ContactDetailAdditionalEmailAddress :
ContactDetailCountry : USA
ContactDetailFirstName : First
ContactDetailLastName : Last
ContactDetailPhoneNumber :
ContactDetailPreferredContactMethod : Email
ContactDetailPreferredSupportLanguage : en-US
ContactDetailPreferredTimeZone : Pacific Standard Time
ContactDetailPrimaryEmailAddress : test@test.com
CreatedDate : 5/6/2024 3:42:35 PM
Description : Question: Quota type
Answer: Regional Capacity Quota per Subscription (TiB)
Question: Region requested
Answer: Australia Central 2
Question: Quota State
Answer: Current:25, Default:25
Question: Enter value for new limit
Answer: 22
EnrollmentId :
FileWorkspaceName : 2405060040007416
Id : /subscriptions/86cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/06bfd9
d3-22f96a7f-496854d2-6b34-4c48-a4a9-69a6f599407a
IsTemporaryTicket : No
ModifiedDate : 5/6/2024 3:42:46 PM
Name : 06bfd9d3-22f96a7f-496854d2-6b34-4c48-a4a9-69a6f599407a
ProblemClassificationDisplayName : Storage: Azure NetApp Files limits
ProblemClassificationId : /providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/22f
96a7f-37b3-1504-0258-909e9f5ab3ac
ProblemStartTime :
QuotaTicketDetailQuotaChangeRequest : {{
"region": "australiacentral2",
"payload": "{\"QuotaBucket\":\"tib_per_subscription\",\"tib_per_subscription_text\":\"Current:25,
Default:25\",\"NewLimit\":22}"
}}
QuotaTicketDetailQuotaChangeRequestSubType :
QuotaTicketDetailQuotaChangeRequestVersion : 0.0
Require24X7Response : False
ResourceGroupName :
SecondaryConsent :
ServiceDisplayName : Service and subscription limits (quotas)
ServiceId : /providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89
ServiceLevelAgreementExpirationTime : 5/6/2024 11:42:35 PM
ServiceLevelAgreementSlaMinute : 480
ServiceLevelAgreementStartTime : 5/6/2024 3:42:35 PM
Severity : Minimal
Status : Open
SupportEngineerEmailAddress :
SupportPlanDisplayName : support plan
SupportPlanId : test
SupportPlanType : test
SupportTicketId : 3505060040007427
TechnicalTicketDetailResourceId :
Title : Quota request for Storage: Azure NetApp Files limits
Type : Microsoft.Support/supportTickets
Get-AzSupportTicketCommunication
- 所有參數集都會發生 Cmdlet 中斷變更
- Cmdlet Get-AzSupportTicketCommunication 將會重新命名為 Get-AzSupportCommunication
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將會移除輸入參數 'Skip'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將會移除輸入參數 'IncludeTotalCount'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 參數 'First' 將會重新命名為 'Top'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 不再支援 List 支援票證物件的 Get-AzSupportTicketCommunication 管線。 仍然支援透過管線取得。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
Get-AzSupportTicketCommunication -SupportTicketName 48cf91d7-69575ec1-65697697-e20c-4bfc-bc46-b69f0ef6d0a0 -First 5
之後
Get-AzSupportCommunication -SupportTicketName 48cf91d7-69575ec1-65697697-e20c-4bfc-bc46-b69f0ef6d0a0 -Top 5
New-AzSupportContactProfileObject
- 所有參數集都會發生 Cmdlet 中斷變更
- Cmdlet 即將淘汰。 不會取代它。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
New-AzSupportTicket
所有參數集都會發生 Cmdlet 中斷變更
- 需要新的參數 'ServiceId'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 需要新的參數 'AdvancedDiagnosticConsent'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將取代子輸出屬性 ContactDetail。 請改用屬性 ContactDetailAdditionalEmailAddress,ContactDetailCountry, ContactDetailFirstName, ContactDetailLastName, ContactDetail 電話 Number, ContactDetailPreferredContactMethod, ContactDetailPreferredSupportLanguage, ContactDetailPreferredTimeZone, and ContactDetailPrimaryEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 子輸出屬性 SupportEngineer 將會淘汰。 請改用屬性 SupportEngineerEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將取代子輸出屬性 QuotaTicketDetail。 請改用 Properties QuotaTicketDetailQuotaChangeRequest,QuotaTicketDetailQuotaChangeRequestSubType, QuotaTicketDetailQuotaChangeRequestVersion
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- TechnicalTicketResourceId 的輸出屬性將會變更為 TechnicalTicketDetailResourceId
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
所有參數集都會發生參數中斷變更
-AdditionalEmailAddress
- 參數 'AdditionalEmailAddress' 將會重新命名為 'ContactDetailAdditionalEmailAddress'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CSPHomeTenantId
- 將會移除參數 『CSPHomeTenantId』。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerContactDetail
- 將會移除 CustomerContactDetail。 請改用新的參數 ContactDetailCountry、ContactDetailFirstName、ContactDetailLastName、ContactDetail 電話 Number、ContactDetailPreferredSupportLanguage、ContactDetailPreferredTimeZone、ContactDetailPrimaryEmailAddress、ContactDetailPreferredContactMethod。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerCountry
- 參數 'CustomerCountry' 將會重新命名為 'ContactDetailCountry'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerFirstName
- 參數 'CustomerFirstName' 將會重新命名為 'ContactDetailFirstName'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerLastName
- 參數 'CustomerLastName' 將會重新命名為 'ContactDetailLastName'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPhoneNumber
- 參數 'Customer 電話 Number' 將會重新命名為 'ContactDetail 電話 Number'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPreferredSupportLanguage
- 參數 'CustomerPreferredSupportLanguage' 將會重新命名為 'ContactDetailPreferredSupportLanguage'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPreferredTimeZone
- 參數 'CustomerPreferredTimeZone' 將會重新命名為 'ContactDetailPreferredTimeZone'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPrimaryEmailAddress
- 參數 'CustomerPrimaryEmailAddress' 將會重新命名為 'ContactDetailPrimaryEmailAddress'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredContactMethod
- 參數 'PreferredContactMethod' 將會重新命名為 'ContactDetailPreferredContactMethod'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-QuotaTicketDetail
- 將會移除參數 QuotaTicketDetail。 請改用新的參數 QuotaTicketDetailQuotaChangeRequest、QuotaTicketDetailQuotaChangeRequestSubType、QuotaTicketDetailQuotaChangeRequestVersion。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-TechnicalTicketResourceId
- 參數 'TechnicalTicketResourceId' 將會重新命名為 'TechnicalTicketDetailResourceId'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{vm_windows_service_guid}/problemClassifications/{problemClassification_guid}" -TechnicalTicketResourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM" -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "test@test.com"}
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{cores_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"VMFamily`":`"Dv2 Series`",`"NewLimit`":350}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "test@test.com"}
Id : /subscriptions/{subscription}/providers/Microsoft
.Support/supportTickets/test_1
Name : test_1
Type : Microsoft.Support/supportTickets
Title : test
SupportTicketId : 3505060040008586
Description : test ticket please ignore and close
ProblemClassificationId : /providers/Microsoft.Support/services/{service_id}/problemClassifications/{problemClassification_guid}
ProblemClassificationDisplayName : Compute-VM (cores-vCPUs) subscription limit increases
Severity : Minimal
EnrollmentId :
Require24X7Response : False
ContactDetail : Microsoft.Azure.Commands.Support.Models.PSContactProfile
ServiceLevelAgreement : Microsoft.Azure.Commands.Support.Models.PSServiceLevelAgreement
SupportEngineer : Microsoft.Azure.Commands.Support.Models.PSSupportEngineer
SupportPlanType : Azure Internal
ProblemStartTime :
ServiceId : /providers/Microsoft.Support/services/{service_id}
ServiceDisplayName : Service and subscription limits (quotas)
Status : Open
CreatedDate : 5/6/2024 4:44:24 PM
ModifiedDate : 5/6/2024 4:44:34 PM
TechnicalTicketResourceId :
QuotaTicketDetail : Microsoft.Azure.Commands.Support.Models.PSQuotaTicketDetail
之後
New-AzSupportTicket -Name "test1" -AdvancedDiagnosticConsent "Yes" -ContactDetailCountry "USA" -ContactDetailFirstName "first" -ContactDetailLastName "last" -ContactDetailPreferredContactMethod "email" -ContactDetailPreferredSupportLanguage "en-US" -ContactDetailPreferredTimeZone "Pacific Standard Time" -ContactDetailPrimaryEmailAddress "test@test.com" -Description "test ticket" -ProblemClassificationId "/providers/microsoft.support/services/{vm_windows_service_guid}/problemclassifications/{problemClassigication_guid}" -ServiceId "/providers/microsoft.support/services/{vm_windows_service_guid}" -Severity "minimal" -Title "test" -TechnicalTicketDetailResourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM"
New-AzSupportTicket -Name "test1" -AdvancedDiagnosticConsent "Yes" -ContactDetailCountry "USA" -ContactDetailFirstName "firstName" -ContactDetailLastName "lastName" -ContactDetailPreferredContactMethod "email" -ContactDetailPreferredSupportLanguage "en-US" -ContactDetailPreferredTimeZone "Pacific Standard Time" -ContactDetailPrimaryEmailAddress "test@test.com" -Description "test ticket please ignore and close" -ProblemClassificationId "/providers/microsoft.support/services/{quota_service_guid}/problemclassifications/{cores_problemClassification_guid}" -ServiceId "/providers/microsoft.support/services/{quota_service_guid}" -Severity "minimal" -Title "test" -QuotaTicketDetailQuotaChangeRequest @(@{ Payload = "{`"VMFamily`":`"DV2 Series`",`"NewLimit`":`"350`",`"DeploymentStack`":`"ARM`",`"Type`":`"Regional`",`"EdgeZone`":`"`"}"; Region = "EASTUS"}) -QuotaTicketDetailQuotaChangeRequestVersion "1.0"
AdvancedDiagnosticConsent : Yes
ContactDetailAdditionalEmailAddress :
ContactDetailCountry : USA
ContactDetailFirstName : firstName
ContactDetailLastName : lastName
ContactDetailPhoneNumber :
ContactDetailPreferredContactMethod : Email
ContactDetailPreferredSupportLanguage : en-US
ContactDetailPreferredTimeZone : Pacific Standard Time
ContactDetailPrimaryEmailAddress : test@test.com
CreatedDate : 5/6/2024 4:44:24 PM
Description : test ticket please ignore and close
EnrollmentId :
FileWorkspaceName : 3505060040008586
Id : /subscriptions/{subscription_id}/providers/Microsoft.Support/supportTickets/test1
IsTemporaryTicket : No
ModifiedDate : 5/6/2024 4:44:36 PM
Name : test_grace_2
ProblemClassificationDisplayName : Compute-VM (cores-vCPUs) subscription limit increases
ProblemClassificationId : /providers/Microsoft.Support/services/{service_id}/problemClassifications/{problemClassification_guid}
ProblemScopingQuestion :
ProblemStartTime :
QuotaTicketDetailQuotaChangeRequest : {{
"region": "EASTUS",
"payload": "{\"VMFamily\":\"DV2
Series\",\"NewLimit\":\"350\",\"DeploymentStack\":\"ARM\",\"Type\":\"Regional\",\"EdgeZone\":\"\"}"
}}
QuotaTicketDetailQuotaChangeRequestSubType :
QuotaTicketDetailQuotaChangeRequestVersion : 1.0
Require24X7Response : False
ResourceGroupName :
SecondaryConsent :
ServiceDisplayName : Service and subscription limits (quotas)
ServiceId : /providers/Microsoft.Support/services/{service_id}
ServiceLevelAgreementExpirationTime : 5/7/2024 12:44:24 AM
ServiceLevelAgreementSlaMinute : 480
ServiceLevelAgreementStartTime : 5/6/2024 4:44:24 PM
Severity : Minimal
Status : Open
SupportEngineerEmailAddress :
SupportPlanDisplayName : suppport plan
SupportPlanId : test
SupportPlanType : support plan
SupportTicketId : 3505060040008586
TechnicalTicketDetailResourceId :
Title : test
Type : Microsoft.Support/supportTickets
New-AzSupportTicketCommunication
- 所有參數集都會發生 Cmdlet 中斷變更
- Cmdlet New-AzSupportTicketCommunication 將會重新命名為 New-AzSupportCommunication
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 不再支援具有支援票證物件的 New-AzSupportTicketCommunication 管線。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
New-AzSupportTicketCommunication -SupportTicketName 48cf91d7-69575ec1-65697697-e20c-4bfc-bc46-b69f0ef6d0a0 -Name "testcomm1" -Subject "test" -Body "test"
之後
New-AzSupportCommunication -SupportTicketName 48cf91d7-69575ec1-65697697-e20c-4bfc-bc46-b69f0ef6d0a0 -Name "testcomm1" -Subject "test" -Body "test"
Update-AzSupportTicket
所有參數集都會發生 Cmdlet 中斷變更
- 將取代子輸出屬性 ContactDetail。 請改用屬性 ContactDetailAdditionalEmailAddress,ContactDetailCountry, ContactDetailFirstName, ContactDeta 電話 ilLastName, ContactDetailLastName, ContactDetailPreferredContactMethod, ContactDetailPreferredSupportLanguage, ContactDetailPreferredTimeZone, and ContactDetailPrimaryEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 子輸出屬性 SupportEngineer 將會淘汰。 請改用屬性 SupportEngineerEmailAddress
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- 將取代子輸出屬性 QuotaTicketDetail。 請改用 Properties QuotaTicketDetailQuotaChangeRequest,QuotaTicketDetailQuotaChangeRequestSubType, QuotaTicketDetailQuotaChangeRequestVersion
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
- TechnicalTicketResourceId 的輸出屬性將會變更為 TechnicalTicketDetailResourceId
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
所有參數集都會發生參數中斷變更
-AdditionalEmailAddress
- 參數 'AdditionalEmailAddress' 將會重新命名為 'ContactDetailAdditionalEmailAddress'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerContactDetail
- 將會移除 CustomerContactDetail。 請改用新的參數 ContactDetailCountry、ContactDetailFirstName、ContactDetailLastName、ContactDetail 電話 Number、ContactDetailPreferredSupportLanguage、ContactDetailPreferredTimeZone、ContactDetailPrimaryEmailAddress、ContactDetailPreferredContactMethod。
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerCountry
- 參數 'CustomerCountry' 將會重新命名為 'ContactDetailCountry'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerFirstName
- 參數 'CustomerFirstName' 將會重新命名為 'ContactDetailFirstName'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerLastName
- 參數 'CustomerLastName' 將會重新命名為 'ContactDetailLastName'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPhoneNumber
- 參數 'Customer 電話 Number' 將會重新命名為 'ContactDetail 電話 Number'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPreferredSupportLanguage
- 參數 'CustomerPreferredSupportLanguage' 將會重新命名為 'ContactDetailPreferredSupportLanguage'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPreferredTimeZone
- 參數 'CustomerPreferredTimeZone' 將會重新命名為 'ContactDetailPreferredTimeZone'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-CustomerPrimaryEmailAddress
- 參數 'CustomerPrimaryEmailAddress' 將會重新命名為 'ContactDetailPrimaryEmailAddress'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
-PreferredContactMethod
- 參數 'PreferredContactMethod' 將會重新命名為 'ContactDetailPreferredContactMethod'
- 這項變更預期會從 Az.Support 版本:2.0.0 和 Az 版本:12.0.0 生效
之前
$contactDetail = New-Object Microsoft.Azure.Commands.Support.Models.PSContactProfile
$contactDetail.FirstName = "first name updated"
$contactDetail.LastName = "last name updated"
Update-AzSupportTicket -Name "test1" -CustomerContactDetail $contactDetail -CustomerCountry "USA"
Id : /subscriptions/{subscription}/providers/Microsoft
.Support/supportTickets/test_1
Name : test_1
Type : Microsoft.Support/supportTickets
Title : test
SupportTicketId : 3505060040008586
Description : test ticket please ignore and close
ProblemClassificationId : /providers/Microsoft.Support/services/{service_id}/problemClassifications/{problemClassification_guid}
ProblemClassificationDisplayName : Compute-VM (cores-vCPUs) subscription limit increases
Severity : Minimal
EnrollmentId :
Require24X7Response : False
ContactDetail : Microsoft.Azure.Commands.Support.Models.PSContactProfile
ServiceLevelAgreement : Microsoft.Azure.Commands.Support.Models.PSServiceLevelAgreement
SupportEngineer : Microsoft.Azure.Commands.Support.Models.PSSupportEngineer
SupportPlanType : Azure Internal
ProblemStartTime :
ServiceId : /providers/Microsoft.Support/services/{service_id}
ServiceDisplayName : Service and subscription limits (quotas)
Status : Open
CreatedDate : 5/6/2024 4:44:24 PM
ModifiedDate : 5/6/2024 4:44:34 PM
TechnicalTicketResourceId :
QuotaTicketDetail : Microsoft.Azure.Commands.Support.Models.PSQuotaTicketDetail
之後
Update-SupportTicket -Name "test1" -ContactDetailFirstName "first name updated" -ContactDetailLastName "last name updated" -ContactDetailCountry "USA"
AdvancedDiagnosticConsent : Yes
ContactDetailAdditionalEmailAddress :
ContactDetailCountry : USA
ContactDetailFirstName : first name updated
ContactDetailLastName : last name updated
ContactDetailPhoneNumber :
ContactDetailPreferredContactMethod : Email
ContactDetailPreferredSupportLanguage : en-US
ContactDetailPreferredTimeZone : Pacific Standard Time
ContactDetailPrimaryEmailAddress : test@test.com
CreatedDate : 5/6/2024 4:44:24 PM
Description : test ticket please ignore and close
EnrollmentId :
FileWorkspaceName : 3505060040008586
Id : /subscriptions/{subscription_id}/providers/Microsoft.Support/supportTickets/test1
IsTemporaryTicket : No
ModifiedDate : 5/6/2024 4:44:36 PM
Name : test_grace_2
ProblemClassificationDisplayName : Compute-VM (cores-vCPUs) subscription limit increases
ProblemClassificationId : /providers/Microsoft.Support/services/{service_id}/problemClassifications/{problemClassification_guid}
ProblemScopingQuestion :
ProblemStartTime :
QuotaTicketDetailQuotaChangeRequest : {{
"region": "EASTUS",
"payload": "{\"VMFamily\":\"DV2
Series\",\"NewLimit\":\"350\",\"DeploymentStack\":\"ARM\",\"Type\":\"Regional\",\"EdgeZone\":\"\"}"
}}
QuotaTicketDetailQuotaChangeRequestSubType :
QuotaTicketDetailQuotaChangeRequestVersion : 1.0
Require24X7Response : False
ResourceGroupName :
SecondaryConsent :
ServiceDisplayName : Service and subscription limits (quotas)
ServiceId : /providers/Microsoft.Support/services/{service_id}
ServiceLevelAgreementExpirationTime : 5/7/2024 12:44:24 AM
ServiceLevelAgreementSlaMinute : 480
ServiceLevelAgreementStartTime : 5/6/2024 4:44:24 PM
Severity : Minimal
Status : Open
SupportEngineerEmailAddress :
SupportPlanDisplayName : suppport plan
SupportPlanId : test
SupportPlanType : support plan
SupportTicketId : 3505060040008586
TechnicalTicketDetailResourceId :
Title : test
Type : Microsoft.Support/supportTickets
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應