このドキュメントでは、Az の 3.0.0 バージョンと 4.1.0 バージョンの間の変更について説明します。
-
Az 4.1.0 の移行ガイド
- Az.ApiManagement
- Az.Batch
-
Az.Compute
Remove-AzVmssDiagnosticsExtensionGet-AzVMImageNew-AzVMConfigUpdate-AzVMNew-AzProximityPlacementGroupRemove-AzProximityPlacementGroupGet-AzProximityPlacementGroupAdd-AzVmssAdditionalUnattendContentAdd-AzVmssDataDiskAdd-AzVmssExtensionAdd-AzVmssNetworkInterfaceConfigurationAdd-AzVmssSecretAdd-AzVmssSshPublicKeyAdd-AzVmssWinRMListenerNew-AzVmssConfigRemove-AzVmssDataDiskRemove-AzVmssExtensionRemove-AzVmssNetworkInterfaceConfigurationSet-AzVmssBootDiagnosticSet-AzVmssOsProfileSet-AzVmssRollingUpgradePolicySet-AzVmssStorageProfileNew-AzVmssRepair-AzVmssServiceFabricUpdateDomainGet-AzVmssSet-AzVmssOrchestrationServiceStateUpdate-AzVmssAdd-AzVmssDiagnosticsExtensionDisable-AzVmssDiskEncryption
- Az.KeyVault
- Az.Monitor
- Az.Network
-
Az.OperationalInsights
Get-AzOperationalInsightsDataSourceNew-AzOperationalInsightsApplicationInsightsDataSourceNew-AzOperationalInsightsAzureActivityLogDataSourceNew-AzOperationalInsightsCustomLogDataSourceNew-AzOperationalInsightsLinuxPerformanceObjectDataSourceNew-AzOperationalInsightsLinuxSyslogDataSourceNew-AzOperationalInsightsWindowsEventDataSourceNew-AzOperationalInsightsWindowsPerformanceCounterDataSourceRemove-AzOperationalInsightsDataSourceDisable-AzOperationalInsightsIISLogCollectionDisable-AzOperationalInsightsLinuxCustomLogCollectionDisable-AzOperationalInsightsLinuxPerformanceCollectionDisable-AzOperationalInsightsLinuxSyslogCollectionEnable-AzOperationalInsightsIISLogCollectionEnable-AzOperationalInsightsLinuxCustomLogCollectionEnable-AzOperationalInsightsLinuxPerformanceCollectionEnable-AzOperationalInsightsLinuxSyslogCollectionGet-AzOperationalInsightsSavedSearchGet-AzOperationalInsightsSavedSearchResultGet-AzOperationalInsightsSearchResultGet-AzOperationalInsightsStorageInsightNew-AzOperationalInsightsStorageInsightRemove-AzOperationalInsightsStorageInsightSet-AzOperationalInsightsStorageInsightGet-AzOperationalInsightsLinkTargetGet-AzOperationalInsightsWorkspaceNew-AzOperationalInsightsWorkspaceSet-AzOperationalInsightsWorkspaceInvoke-AzOperationalInsightsQuery
- Az.Resources
-
Az.Storage
-
Update-AzStorageAccountNetworkRuleSet,Get-AzStorageAccountNetworkRuleSet -
New-AzStorageTable,Get-AzStorageTable -
Get-AzStorageFile、Remove-AzStorageFile、Get-AzStorageFileContent、Set-AzStorageFileContent、Start-AzStorageFileCopy -
Get-AzStorageFile、New-AzStorageDirectory、Remove-AzStorageDirectory -
Get-AzStorageShare、New-AzStorageShare、Remove-AzStorageShare Set-AzStorageShareQuotaRemove-AzStorageDirectory
-
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-AzBatchApplication、New-AzBatchApplication
ApplicationPackages型のプロパティ Microsoft.Azure.Commands.Batch.Models.PSApplicationが削除されました。
Get-AzBatchComputeNode、New-AzBatchPool
PublicIPs型のプロパティ Microsoft.Azure.Commands.Batch.Models.PSNetworkConfigurationが削除されました
Get-AzBatchApplicationPackage、New-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
- プロパティ
VirtualMachines、VirtualMachineScaleSets、およびAvailabilitySetsのジェネリック型がSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]からSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。 -
VirtualMachinesColocationStatus型のプロパティVirtualMachineScaleSetsColocationStatus、AvailabilitySetsColocationStatus、および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
- プロパティ
VirtualMachines、VirtualMachineScaleSets、およびAvailabilitySetsのジェネリック型がSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]からSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。 -
VirtualMachinesColocationStatus型のプロパティVirtualMachineScaleSetsColocationStatus、AvailabilitySetsColocationStatus、および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
- プロパティ
VirtualMachines、VirtualMachineScaleSets、およびAvailabilitySetsのジェネリック型がSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]からSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]に変更されました。 -
VirtualMachinesColocationStatus型のプロパティVirtualMachineScaleSetsColocationStatus、AvailabilitySetsColocationStatus、および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-AzStorageAccountNetworkRuleSet、Get-AzStorageAccountNetworkRuleSet
NetWorkRule DefaultAction の値を Allow = 1、Deny = 0 に変更しました。Allow = 0、Deny = 1。
New-AzStorageTable、Get-AzStorageTable
出力オブジェクト AzureStorageTable.CloudTable.ServiceClient には、ConnectionPolicy、ConsistencyLevel の 2 つのプロパティが削除されています。
Get-AzStorageFile、 Remove-AzStorageFile、 Get-AzStorageFileContent、 Set-AzStorageFileContent、 Start-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-AzStorageFile、 New-AzStorageDirectory、 Remove-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-AzStorageShare、 New-AzStorageShare、 Remove-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