Az 4.1.0 の移行ガイド

このドキュメントでは、Az の 3.0.0 バージョンと 4.1.0 バージョンの間の変更について説明します。

Az.ApiManagement

Add-AzApiManagementRegion

Type型のプロパティ Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityの型がMicrosoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityTypeからSystem.Stringに変更されました。

New-AzApiManagement

  • コマンドレット New-AzApiManagement はパラメーター AssignIdentity をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット __AllParameterSetsのパラメーター セット New-AzApiManagementが削除されました。

Set-AzApiManagement

  • コマンドレット Set-AzApiManagement はパラメーター AssignIdentity をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット __AllParameterSetsのパラメーター セット Set-AzApiManagementが削除されました。

Get-AzApiManagementProperty

コマンドレット Get-AzApiManagementProperty は、 Get-AzApiManagementNamedValueに置き換えられました。

New-AzApiManagementProperty

コマンドレット New-AzApiManagementProperty は、 New-AzApiManagementNamedValueに置き換えられました。

Remove-AzApiManagementProperty

コマンドレット Remove-AzApiManagementProperty は、 Remove-AzApiManagementNamedValueに置き換えられました。

Set-AzApiManagementProperty

コマンドレット Set-AzApiManagementProperty は、 Set-AzApiManagementNamedValueに置き換えられました。

Az.Batch

Get-AzBatchApplicationNew-AzBatchApplication

ApplicationPackages型のプロパティ Microsoft.Azure.Commands.Batch.Models.PSApplicationが削除されました。

Get-AzBatchComputeNodeNew-AzBatchPool

PublicIPs型のプロパティ Microsoft.Azure.Commands.Batch.Models.PSNetworkConfigurationが削除されました

Get-AzBatchApplicationPackageNew-AzBatchApplicationPackage

StorageUrlExpiry型のプロパティ Microsoft.Azure.Commands.Batch.Models.PSApplicationPackageの型がSystem.DateTimeからSystem.DateTime?に変更されました。

Az.Compute

Remove-AzVmssDiagnosticsExtension

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Get-AzVMImage

  • コマンドレット Get-AzVMImage はパラメーター FilterExpression をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット ListVMImageのパラメーター セット Get-AzVMImageが削除されました。

New-AzVMConfig

  • コマンドレット New-AzVMConfig はパラメーター AssignIdentity をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット AssignIdentityParameterSetのパラメーター セット New-AzVMConfigが削除されました。

Update-AzVM

  • コマンドレット Update-AzVM はパラメーター AssignIdentity をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット AssignIdentityParameterSetのパラメーター セット Update-AzVMが削除されました。

New-AzProximityPlacementGroup

  • プロパティ VirtualMachinesVirtualMachineScaleSets、および AvailabilitySets のジェネリック型が System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] から System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。
  • VirtualMachinesColocationStatus型のプロパティ VirtualMachineScaleSetsColocationStatusAvailabilitySetsColocationStatus、およびMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroupが削除されました。

以前は

PS C:\> New-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName -Location $location -Tag @{key1 = 'val1'} | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

クリック後

PS C:\> New-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName -Location $location -Tag @{key1 = 'val1'} | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Remove-AzProximityPlacementGroup

  • プロパティ VirtualMachinesVirtualMachineScaleSets、および AvailabilitySets のジェネリック型が System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] から System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。
  • VirtualMachinesColocationStatus型のプロパティ VirtualMachineScaleSetsColocationStatusAvailabilitySetsColocationStatus、およびMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroupが削除されました。

以前は

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Remove-AzProximityPlacementGroup | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

クリック後

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Remove-AzProximityPlacementGroup | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Get-AzProximityPlacementGroup

  • プロパティ VirtualMachinesVirtualMachineScaleSets、および AvailabilitySets のジェネリック型が System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] から System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。
  • VirtualMachinesColocationStatus型のプロパティ VirtualMachineScaleSetsColocationStatusAvailabilitySetsColocationStatus、およびMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroupが削除されました。

以前は

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

クリック後

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Add-AzVmssAdditionalUnattendContent

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssDataDisk

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssExtension

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssNetworkInterfaceConfiguration

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssSecret

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssSshPublicKey

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Add-AzVmssWinRMListener

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

New-AzVmssConfig

  • AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。
  • パラメーター AutomaticRepairMaxInstanceRepairsPercent がサポートされなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • パラメーター AssignIdentity がサポートされなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • パラメーター セット __AllParameterSets が削除されました。
  • パラメーター セット ExplicitIdentityParameterSet が削除されました。
  • パラメーター セット AssignIdentityParameterSet が削除されました。

Remove-AzVmssDataDisk

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Remove-AzVmssExtension

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Remove-AzVmssNetworkInterfaceConfiguration

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Set-AzVmssBootDiagnostic

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Set-AzVmssOsProfile

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Set-AzVmssRollingUpgradePolicy

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Set-AzVmssStorageProfile

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

New-AzVmss

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Repair-AzVmssServiceFabricUpdateDomain

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Get-AzVmss

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Set-AzVmssOrchestrationServiceState

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Update-AzVmss

  • AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。
  • パラメーター AutomaticRepairMaxInstanceRepairsPercent がサポートされなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • パラメーター セット __AllParameterSets が削除されました。
  • パラメーター セット ExplicitIdentityParameterSet が削除されました。

Add-AzVmssDiagnosticsExtension

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Disable-AzVmssDiskEncryption

AutomaticRepairsPolicy型のプロパティ Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSetの型がMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicyからMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicyに変更されました。

Az.KeyVault

New-AzKeyVaultCertificateOrganizationDetail

エイリアス New-AzKeyVaultCertificateOrganizationDetails が削除されます。 New-AzKeyVaultCertificateOrganizationDetailを使用してください。

以前は

PS C:\> New-AzKeyVaultCertificateOrganizationDetails -AdministratorDetails $AdminDetails

クリック後

PS C:\> New-AzKeyVaultCertificateOrganizationDetail -AdministratorDetails $AdminDetails

New-AzKeyVaultCertificateAdministratorDetail

エイリアス New-AzKeyVaultCertificateAdministratorDetails が削除されます。 New-AzKeyVaultCertificateAdministratorDetailを使用してください。

以前は

PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetails -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'

クリック後

PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetail -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'

New-AzKeyVault

-EnableSoftDelete は、論理的な削除が既定で有効になっているので削除されます。 この動作が不要な場合は、 -DisableSoftDelete を使用してください。

以前は

PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' -EnableSoftDelete

クリック後

PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US'

Az.Monitor

Add-AzLogProfile

RetentionPolicy型のプロパティ Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfileの型がMicrosoft.Azure.Management.Monitor.Management.Models.RetentionPolicyからMicrosoft.Azure.Management.Monitor.Models.RetentionPolicyに変更されました。

Get-AzLogProfile

RetentionPolicy型のプロパティ Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfileの型がMicrosoft.Azure.Management.Monitor.Management.Models.RetentionPolicyからMicrosoft.Azure.Management.Monitor.Models.RetentionPolicyに変更されました。

New-AzMetricAlertRuleV2Criteria

コマンドレット __AllParameterSetsのパラメーター セット New-AzMetricAlertRuleV2Criteriaが削除されました。

Az.Network

Get-AzNetworkWatcherConnectionMonitor

プロパティ RoundTripTimeMs のジェネリック型が System.Nullable1[System.Int32] から System.Nullable1[System.Double]に変更されました。

New-AzNetworkWatcherConnectionMonitorTestConfigurationObject

パラメーター SuccessThresholdRoundTripTimeMs のジェネリック型が System.Nullable1[System.Int32] から System.Nullable1[System.Double]に変更されました。

Az.OperationalInsights

Get-AzOperationalInsightsDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsApplicationInsightsDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsAzureActivityLogDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsCustomLogDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsLinuxPerformanceObjectDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsLinuxSyslogDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsWindowsEventDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsWindowsPerformanceCounterDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Remove-AzOperationalInsightsDataSource

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Disable-AzOperationalInsightsIISLogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Disable-AzOperationalInsightsLinuxCustomLogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Disable-AzOperationalInsightsLinuxPerformanceCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Disable-AzOperationalInsightsLinuxSyslogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Enable-AzOperationalInsightsIISLogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Enable-AzOperationalInsightsLinuxCustomLogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Enable-AzOperationalInsightsLinuxPerformanceCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Enable-AzOperationalInsightsLinuxSyslogCollection

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Get-AzOperationalInsightsSavedSearch

Metadata型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchListSavedSearchResponseが削除されました。

Get-AzOperationalInsightsSavedSearchResult

コマンドレット Get-AzOperationalInsightsSavedSearchResult は SDK でサポートされなくなり、削除されました。

Get-AzOperationalInsightsSearchResult

コマンドレット Get-AzOperationalInsightsSearchResult は SDK でサポートされなくなり、削除されました。

Get-AzOperationalInsightsStorageInsight

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsStorageInsight

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Remove-AzOperationalInsightsStorageInsight

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Set-AzOperationalInsightsStorageInsight

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Get-AzOperationalInsightsLinkTarget

コマンドレット Get-AzOperationalInsightsLinkTarget は SDK でサポートされなくなり、削除されました。

Get-AzOperationalInsightsWorkspace

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

New-AzOperationalInsightsWorkspace

  • PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。
  • コマンドレット New-AzOperationalInsightsWorkspace はパラメーター CustomerId をサポートしなくなり、元のパラメーター名のエイリアスが見つかりませんでした。
  • コマンドレット __AllParameterSetsのパラメーター セット New-AzOperationalInsightsWorkspaceが削除されました。

Set-AzOperationalInsightsWorkspace

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Invoke-AzOperationalInsightsQuery

PortalUrl型のプロパティ Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceが削除されました。

Az.Resources

Get-AzDeploymentScript

Status型のプロパティ Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScriptの型がMicrosoft.Azure.Management.ResourceManager.Models.ScriptStatusからMicrosoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatusに変更されました。

Get-AzDeploymentScriptLog

Status型のプロパティ Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScriptの型がMicrosoft.Azure.Management.ResourceManager.Models.ScriptStatusからMicrosoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatusに変更されました。

Save-AzDeploymentScriptLog

Status型のプロパティ Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScriptの型がMicrosoft.Azure.Management.ResourceManager.Models.ScriptStatusからMicrosoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatusに変更されました。

Get-AzResourceLock, New-AzResourceLock, Remove-AzResourceLock, Set-AzResourceLock

パラメーター TenantLevel が削除されました。

Get-AzPolicyAlias

プロパティ Aliases のジェネリック型が System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType] から System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias]に変更されました。

New-AzPolicyAssignment

  • コマンドレットNew-AzPolicyAssignmentは、パラメーター System.Management.Automation.PSObjectの型PolicyDefinitionをサポートしなくなりました。
  • コマンドレットNew-AzPolicyAssignmentは、パラメーター System.Management.Automation.PSObjectの型PolicySetDefinitionをサポートしなくなりました。

Remove-AzDeploymentScript

Status型のプロパティ Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScriptの型がMicrosoft.Azure.Management.ResourceManager.Models.ScriptStatusからMicrosoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatusに変更されました。

Az.Storage

Update-AzStorageAccountNetworkRuleSetGet-AzStorageAccountNetworkRuleSet

NetWorkRule DefaultAction の値を Allow = 1、Deny = 0 に変更しました。Allow = 0、Deny = 1。

New-AzStorageTableGet-AzStorageTable

出力オブジェクト AzureStorageTable.CloudTable.ServiceClient には、ConnectionPolicy、ConsistencyLevel の 2 つのプロパティが削除されています。

Get-AzStorageFileRemove-AzStorageFileGet-AzStorageFileContentSet-AzStorageFileContentStart-AzStorageFileCopy

出力の種類を CloudFile から AzureStorageFile に変更すると、元の出力は新しい出力の子プロパティ "CloudFile" になります

以前は

PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx

PS C:\> Remove-AzStorageFile -File $file

クリック後

PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx

PS C:\> Remove-AzStorageFile -File $file.CloudFile

Get-AzStorageFileNew-AzStorageDirectoryRemove-AzStorageDirectory

出力の種類を CloudFileDirectory から AzureStorageFileDirectory に変更すると、元の出力は新しい出力の子プロパティ "CloudFileDirectory" になります

以前は

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> Remove-AzStorageDirectory -Directory $dir

クリック後

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> Remove-AzStorageDirectory -Directory $dir.CloudFileDirectory

Get-AzStorageShareNew-AzStorageShareRemove-AzStorageShare

出力の種類を FileShareProperties から AzureStorageFileShare に変更すると、元の出力は新しい出力の子プロパティ "CloudFileShare" になります

以前は

PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx

PS C:\> Remove-AzStorageShare -Share $share

クリック後

PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx

PS C:\> Remove-AzStorageShare -Share $share.CloudFileShare

Set-AzStorageShareQuota

出力の種類を FileShareProperties から AzureStorageFileShare に変更すると、元の出力は新しい出力のサブ子プロパティ "CloudFileShare.Properties" になります

以前は

PS C:\> $shareProperties = Set-AzStorageShareQuota -Name $shareName -Quota 100 -Context $ctx

PS C:\> $shareProperties

ETag                LastModified                Quota
----                ------------                -----
"0x8D7F5BC7789FC63" 5/11/2020 3:03:30 PM +00:00   100

クリック後

PS C:\> $share = Set-AzStorageShareQuota -Name $shareName -Quota 100 -Context $ctx

PS C:\> $share

   File End Point: https://weiors1.file.core.windows.net/

Name     QuotaGiB LastModified                IsSnapshot SnapshotTime
----     -------- ------------                ---------- ------------
weitest1 100      5/11/2020 3:03:30 PM +00:00 False

PS C:\> $share.CloudFileShare.Properties

ETag                LastModified                Quota
----                ------------                -----
"0x8D7F5BC7789FC63" 5/11/2020 3:03:30 PM +00:00   100

Remove-AzStorageDirectory

親 Directory オブジェクトと -Path を使用してサブ ファイル ディレクトリを削除する場合、型 (文字列) が一致するパイプラインから -Path を入力できなくなります。

以前は

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> @('dir1', 'dir2') | Remove-AzStorageDirectory -Directory $dir

クリック後

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> $paths = @(
    [PSCustomObject]@{  Path = 'dir1 }
    [PSCustomObject]@{ Path = 'dir2' }
)

PS C:\> $paths | Remove-AzStorageDirectory -Directory $dir.CloudFileDirectory