Az 8.0.0 için Geçiş Kılavuzu
Az.Aks
Get-AzAks
Diğer ad Get-AzAks
kaldırılır. Bunun yerine lütfen kullanın Get-AzAksCluster
.
Önce
Get-AzAks -ResourceGroupName $resourceGroupName -Name $name
Sonra
Get-AzAksCluster -ResourceGroupName $resourceGroupName -Name $name
New-AzAks
Diğer ad New-AzAks
kaldırılır. Bunun yerine lütfen kullanın New-AzAksCluster
.
Önce
New-AzAks -ResourceGroupName $resourceGroupName -Name $name -Location $location
Sonra
New-AzAksCluster -ResourceGroupName $resourceGroupName -Name $name -Location $location
Set-AzAks
Diğer ad Set-AzAks
kaldırılır. Bunun yerine lütfen kullanın Set-AzAksCluster
.
Önce
Set-AzAks -ResourceGroupName $resourceGroupName -Name $name
Sonra
Set-AzAksCluster -ResourceGroupName $resourceGroupName -Name $name
Remove-AzAks
Diğer ad Remove-AzAks
kaldırılır. Bunun yerine lütfen kullanın Remove-AzAksCluster
.
Önce
Remove-AzAks -ResourceGroupName $resourceGroupName -Name $name
Sonra
Remove-AzAksCluster -ResourceGroupName $resourceGroupName -Name $name
Az.Cdn
New-AzCdnProfile
Parametre türü, parametre Sku
SkuName
türü ProfileName
olarak değiştirildi olarak değiştirildi Name
Önce
$profileSku = "Standard_Microsoft";
$cdnProfileName = "profileNameXXXX";
$resourceGroupName = "myresourcegroup"
New-AzCdnProfile -Sku $profileSku -ProfileName $cdnProfileName -ResourceGroupName $resourceGroupName -Location Global
Sonra
$profileSku = "Standard_Microsoft";
$cdnProfileName = "profileNameXXXX";
$resourceGroupName = "myresourcegroup"
New-AzCdnProfile -SkuName $profileSku -Name $cdnProfileName -ResourceGroupName $resourceGroupName -Location Global
New-AzCdnEndpoint
Parametresi EndpointName
Değiştirildi parametresi olarak GeoFilter
değiştirildi DefaultOriginGroup
DefaultOriginGroupId
Parametresi birleştir parametreleri OriginHostName
,OriginId
,OriginName
,,Priority
,Weight
PrivateLinkLocation
PrivateLinkApprovalMessage
HttpsPort
HttpPort
PrivateLinkResourceId
parametreleri birleştir parametresine OriginGroupName
Origin
birleştir ,OriginGroupProbeIntervalInSeconds
,,OriginGroupProbePath
,OriginGroupProbeRequestType
OriginGroupProbeProtocol
parametresine parametreye OriginGroup
böl DeliveryPolicy
parametrelerine DeliveryPolicyDescription
DeliveryPolicyRule
, Parametre SubscriptionId
ekle ,UrlSigningKey
,WebApplicationFirewallPolicyLinkId
Parametreyi sil olarak değiştirildi GeoFilters
Name
CdnProfile
Önce
New-AzCdnEndpoint -ResourceGroupName myresourcegroup -ProfileName mycdnprofile -Location westus -EndpointName myendpoint `
-OriginName mystorage -OriginHostName mystorage.blob.core.windows.net `
-OriginHostHeader mystorage.blob.core.windows.net -IsHttpAllowed $false
Sonra
$origin = @{
Name = "origin1"
HostName = "host1.hello.com"
};
$location = "westus"
$endpoint = New-AzCdnEndpoint -Name $endpointName -ResourceGroupName $ResourceGroupName -ProfileName $cdnProfileName -Location $location -Origin $origin
New-AzCdnDeliveryPolicy
Delete komutu New-AzCdnDeliveryPolicy
. Kural oluşturma nesnesini kullanma New-AzCdnDeliveryRuleObject
ve doğrudan içinde New-AzCdnEndpoint
kullanma
New-AzCdnDeliveryRule
Komut adı olarak değiştirildi New-AzCdnDeliveryRuleObject
Önce
New-AzCdnDeliveryRule -Name "rule1" -Order 1 -Condition $cond1 -Action $action1
Sonra
$cond1 = New-AzCdnDeliveryRuleIsDeviceConditionObject -Name "IsDevice" -ParameterMatchValue "Desktop"
$action1 = New-AzCdnUrlRewriteActionObject -Name "UrlRewrite" -ParameterDestination "/def" -ParameterSourcePattern "/abc" -ParameterPreserveUnmatchedPath $true
$rule1 = New-AzCdnDeliveryRuleObject -Name "Rule1" -Action $action1,$action2 -Condition $cond1 -Order 1
New-AzCdnCustomDomain
Parametre türü Parametre Silme parametresi CustomDomainName
ekle SubscriptionId
olarak Name
değiştirildiCdnEndpoint
Önce
New-AzCdnCustomDomain -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName -CustomDomainName $customDomainName -HostName $customDomainHostName
Sonra
New-AzCdnCustomDomain -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName -Name $customDomainName -HostName $customDomainHostName -SubscriptionId $subId
Set-AzCdnProfile
komutuyla değiştirildi Update-AzCdnProfile
Önce
$profileObject = Get-AzCdnProfile -ResourceGroupName myresourcegroup -ProfileName mycdnprofile
$profileObject.Tags = @{"key"="value"}
Set-AzCdnProfile -CdnProfile $profileObject
Sonra
$profileSku = "Standard_Microsoft";
$cdnProfileName = "profileNameXXXX";
$resourceGroupName = "myresourcegroup"
New-AzCdnProfile -SkuName $profileSku -Name $cdnProfileName -ResourceGroupName $resourceGroupName -Location Global
$tags = @{
Tag1 = 11
Tag2 = 22
}
Update-AzCdnProfile -Name $cdnProfileName -ResourceGroupName $resourceGroupName -Tag $tags
Set-AzCdnEndpoint
komutuyla Update-AzCdnEndpoint
DeliveryPolicyDescription
değiştirilir ve DeliveryPolicyRule
bunlardan birini güncelleştirmek istediğinizde birlikte sağlanmalıdır.
Önce
$endpointObject = Get-AzCdnEndpoint -ResourceGroupName myresourcegroup -ProfileName mycdnprofile -EndpointName myendpoint
$endpointObject.IsHttpAllowed = $false
Set-AzCdnEndpoint -CdnEndpoint $endpointObject
Sonra
$tags = @{
Tag1 = 11
Tag2 = 22
}
//Update tags
Update-AzCdnEndpoint -Name $endpointName -ProfileName $cdnProfileName -ResourceGroupName $resourceGroupName -Tag $tags
//Update DeliveryPolicyDescription or DeliveryPolicyRule
Update-AzCdnEndpoint -Name $endpointName -ProfileName $cdnProfileName -ResourceGroupName $resourceGroupName `
-DeliveryPolicyDescription $descprption -DeliveryPolicyRule $rule
Set-AzCdnOriginGroup
komutuyla değiştirildi Update-AzCdnOriginGroup
Önce
Set-AzCdnOriginGroup -ResourceGroupName $resourceGroupName -ProfileName $profileName -EndpointName $endpointName -OriginGroupName $originGroupName -OriginId $originIds -ProbeIntervalInSeconds $probeInterval
Sonra
Update-AzCdnOriginGroup -EndpointName $endpointName -Name $originGroup.Name -ProfileName $cdnProfileName -ResourceGroupName $ResourceGroupName `
-HealthProbeSetting $healthProbeParametersObject2 -Origin @(@{ Id = $originId })
Set-AzCdnOrigin
komutuyla değiştirildi Update-AzCdnOrigin
Önce
Set-AzCdnOrigin -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-OriginName $originName -HostName "mystorage2.blob.core.windows.net"
Sonra
Update-AzCdnOrigin -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-Name $originName -HostName "mystorage2.blob.core.windows.net" -HttpPort 456 -HttpsPort 789
Unpublish-AzCdnEndpointContent
komutuyla değiştirildi Clear-AzCdnEndpointContent
Önce
Unpublish-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-PurgeContent $PurgeContent
Sonra
Clear-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-ContentPath $PurgeContent
Publish-AzCdnEndpointContent
komutuyla değiştirildi Import-AzCdnEndpointContent
Önce
Publish-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-LoadContent $LoadContent
Sonra
Import-AzCdnEndpointContent -ResourceGroupName $resourceGroupName -ProfileName $cdnProfileName -EndpointName $endpointName `
-ContentPath $LoadContent
Az.EventHub
New-AzEventHubNamespace
Parametre Identity
kaldırıldı.
Önce
New-AzEventHubNamespace -ResourceGroupName myresourcegroup -Name MyNamespaceName -Location northeurope -SkuName Premium -IdentityType SystemAssigned -Identity
Sonra
New-AzEventHubNamespace -ResourceGroupName myresourcegroup -Name MyNamespaceName -Location northeurope -SkuName Premium -IdentityType SystemAssigned
Set-AzEventHubNamespace
Parametre Identity
kaldırıldı.
Önce
Set-AzEventHubNamespace -ResourceGroupName myresourcegroup -Name MyNamespaceName -EncryptionConfig $ec1,$ec2 -Identity
Sonra
Set-AzEventHubNamespace -ResourceGroupName myresourcegroup -Name MyNamespaceName -EncryptionConfig $ec1,$ec2
Az.HealthcareApis
Set-AzHealthcareApisService
New-AzHealthcareApisService ve Set-AzHealthcareApisService'i New-AzHealthcareApisService'de birleştirme
Önce
Set-AzHealthcareApisService -Name MyService -ResourceGroupName MyResourceGroup -CosmosOfferThroughput 500
Sonra
New-AzHealthcareApisService -Name MyService -ResourceGroupName MyResourceGroup -Location MyLocation -Kind fhir-R4 -CosmosOfferThroughput 500
Get-AzHealthcareApisService
-ResourceId
kaldırıldı
Önce
Get-AzHealthcareApisService -ResourceId $ResourceId
Sonra
Get-AzHealthcareApisService -ResourceGroupName $ResourceGroup -Name $Name
Remove-AzHealthcareApisService
-ResourceId
kaldırıldı
Önce
Remove-AzHealthcareApisService -ResourceId $ResourceId
Sonra
Remove-AzHealthcareApisService -ResourceGroupName $ResourceGroup -Name $Name
New-AzHealthcareApisService
-ManagedIdentity
olarak yeniden adlandırılır -IdentityType
-FhirVersion
ve istenen içerik parametresiyle -Kind
-DisableCorsCredential
seçilebilir ve -AllowCorsCredential
: artık tekdüzen olarak -AllowCorsCredential
olarak adlandırılabilir, örnek: -AllowCorsCredential:$false veya -AllowCorsCredential:$true -DisableSmartProxy
ve -EnableSmartProxy
: artık tekdüzen olarak , örnek olarak -EnableSmartProxy
adlandırılır: -EnableSmartProxy:$false veya -EnableSmartProxy:$true
Önce
New-AzHealthcareApisService -Name MyService -ResourceGroupName MyResourceGroup -Location MyLocation -FhirVersion fhir-R4 -CosmosOfferThroughput 500 -ManagedIdentity $IdentityType -DisableCorsCredential -DisableSmartProxy
Sonra
New-AzHealthcareApisService -Name MyService -ResourceGroupName MyResourceGroup -Location MyLocation -Kind fhir-R4 -CosmosOfferThroughput 500 -IdentityType $IdentityType -AllowCorsCredential:$false -EnableSmartProxy:$false
Azure PowerShell