Olvasás angol nyelven

Megosztás a következőn keresztül:


Migrálási útmutató az Az 4.1.0-hoz

Ez a dokumentum az Az 3.0.0 és 4.1.0 verziói közötti változásokat ismerteti.

Az.ApiManagement

Add-AzApiManagementRegion

A Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentity típusú tulajdonság Type típusa Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityType-ról System.String-ra változott.

New-AzApiManagement

  • A New-AzApiManagement parancsmag már nem támogatja a AssignIdentity paramétert, és nem található alias az eredeti paraméternévhez.
  • A New-AzApiManagement parancsmaghoz __AllParameterSets paraméterkészlet el lett távolítva.

Set-AzApiManagement

  • A Set-AzApiManagement parancsmag már nem támogatja a AssignIdentity paramétert, és nem található alias az eredeti paraméternévhez.
  • A Set-AzApiManagement parancsmaghoz __AllParameterSets paraméterkészlet el lett távolítva.

Get-AzApiManagementProperty

A Get-AzApiManagementProperty parancsmagot Get-AzApiManagementNamedValueváltotta fel.

New-AzApiManagementProperty

A New-AzApiManagementProperty parancsmagot New-AzApiManagementNamedValueváltotta fel.

Remove-AzApiManagementProperty

A Remove-AzApiManagementProperty parancsmagot Remove-AzApiManagementNamedValueváltotta fel.

Set-AzApiManagementProperty

A Set-AzApiManagementProperty parancsmagot Set-AzApiManagementNamedValueváltotta fel.

Az.Batch

Get-AzBatchApplication, New-AzBatchApplication

A Microsoft.Azure.Commands.Batch.Models.PSApplication típusú tulajdonság ApplicationPackages el lett távolítva.

Get-AzBatchComputeNode, New-AzBatchPool

A Microsoft.Azure.Commands.Batch.Models.PSNetworkConfiguration típusú tulajdonság PublicIPs el lett távolítva

Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage

A Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage típusú tulajdonság StorageUrlExpiry típusa System.DateTime-ról System.DateTime?-ra változott.

Az.Compute

Remove-AzVmssDiagnosticsExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Get-AzVMImage

  • A Get-AzVMImage parancsmag már nem támogatja a FilterExpression paramétert, és nem található alias az eredeti paraméternévhez.
  • A Get-AzVMImage parancsmaghoz ListVMImage paraméterkészlet el lett távolítva.

New-AzVMConfig

  • A New-AzVMConfig parancsmag már nem támogatja a AssignIdentity paramétert, és nem található alias az eredeti paraméternévhez.
  • A New-AzVMConfig parancsmaghoz AssignIdentityParameterSet paraméterkészlet el lett távolítva.

Update-AzVM

  • A Update-AzVM parancsmag már nem támogatja a AssignIdentity paramétert, és nem található alias az eredeti paraméternévhez.
  • A Update-AzVM parancsmaghoz AssignIdentityParameterSet paraméterkészlet el lett távolítva.

New-AzProximityPlacementGroup

  • A VirtualMachines, VirtualMachineScaleSetsés AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]-ről System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]-ra módosult.
  • A VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatusés AvailabilitySetsColocationStatus típusú Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup tulajdonság el lett távolítva.

Előtt

PowerShell
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                        : {}

Után

PowerShell
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

  • A VirtualMachines, VirtualMachineScaleSetsés AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]-ről System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]-ra módosult.
  • A VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatusés AvailabilitySetsColocationStatus típusú Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup tulajdonság el lett távolítva.

Előtt

PowerShell
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                        : {}

Után

PowerShell
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

  • A VirtualMachines, VirtualMachineScaleSetsés AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]-ről System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]-ra módosult.
  • A VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatusés AvailabilitySetsColocationStatus típusú Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup tulajdonság el lett távolítva.

Előtt

PowerShell
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                        : {}

Után

PowerShell
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

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssDataDisk

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssNetworkInterfaceConfiguration

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssSecret

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssSshPublicKey

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Add-AzVmssWinRMListener

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

New-AzVmssConfig

  • A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.
  • Már nem támogatja a AutomaticRepairMaxInstanceRepairsPercent paramétert, és nem található alias az eredeti paraméternévhez.
  • Már nem támogatja a AssignIdentity paramétert, és nem található alias az eredeti paraméternévhez.
  • A __AllParameterSets paraméterkészlet el lett távolítva.
  • A ExplicitIdentityParameterSet paraméterkészlet el lett távolítva.
  • A AssignIdentityParameterSet paraméterkészlet el lett távolítva.

Remove-AzVmssDataDisk

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Remove-AzVmssExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Remove-AzVmssNetworkInterfaceConfiguration

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Set-AzVmssBootDiagnostic

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Set-AzVmssOsProfile

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Set-AzVmssRollingUpgradePolicy

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Set-AzVmssStorageProfile

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

New-AzVmss

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Repair-AzVmssServiceFabricUpdateDomain

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Get-AzVmss

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Set-AzVmssOrchestrationServiceState

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Update-AzVmss

  • A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.
  • Már nem támogatja a AutomaticRepairMaxInstanceRepairsPercent paramétert, és nem található alias az eredeti paraméternévhez.
  • A __AllParameterSets paraméterkészlet el lett távolítva.
  • A ExplicitIdentityParameterSet paraméterkészlet el lett távolítva.

Add-AzVmssDiagnosticsExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Disable-AzVmssDiskEncryption

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típusú tulajdonság AutomaticRepairsPolicy típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy-ról Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy-ra változott.

Az.KeyVault

New-AzKeyVaultCertificateOrganizationDetail

Az alias New-AzKeyVaultCertificateOrganizationDetails el lesz távolítva. Használja a New-AzKeyVaultCertificateOrganizationDetail.

Előtt

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

Után

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

New-AzKeyVaultCertificateAdministratorDetail

Az alias New-AzKeyVaultCertificateAdministratorDetails el lesz távolítva. Használja a New-AzKeyVaultCertificateAdministratorDetail.

Előtt

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

Után

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

New-AzKeyVault

-EnableSoftDelete törlődik, mivel alapértelmezés szerint engedélyezve van a helyreállítható törlés. Ha nem szeretné ezt a viselkedést, használja a -DisableSoftDelete.

Előtt

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

Után

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

Az. Monitor

Add-AzLogProfile

A Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile típusú tulajdonság RetentionPolicy típusa Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy-ról Microsoft.Azure.Management.Monitor.Models.RetentionPolicy-ra változott.

Get-AzLogProfile

A Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile típusú tulajdonság RetentionPolicy típusa Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy-ról Microsoft.Azure.Management.Monitor.Models.RetentionPolicy-ra változott.

New-AzMetricAlertRuleV2Criteria

A New-AzMetricAlertRuleV2Criteria parancsmaghoz __AllParameterSets paraméterkészlet el lett távolítva.

Az.Network

Get-AzNetworkWatcherConnectionMonitor

A tulajdonság RoundTripTimeMs általános típusa System.Nullable1[System.Int32]-ról System.Nullable1[System.Double]-ra módosult.

New-AzNetworkWatcherConnectionMonitorTestConfigurationObject

A SuccessThresholdRoundTripTimeMs paraméter általános típusa System.Nullable1[System.Int32]-ról System.Nullable1[System.Double]-ra módosult.

Az.OperationalInsights

Get-AzOperationalInsightsDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsApplicationInsightsDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsAzureActivityLogDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsCustomLogDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsLinuxPerformanceObjectDataSource

Az PortalUrl nevű Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság el lett távolítva.

New-AzOperationalInsightsLinuxSyslogDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsWindowsEventDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsWindowsPerformanceCounterDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Remove-AzOperationalInsightsDataSource

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Disable-AzOperationalInsightsIISLogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Disable-AzOperationalInsightsLinuxCustomLogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Disable-AzOperationalInsightsLinuxPerformanceCollection

A PortalUrl nevű Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonságot eltávolították.

Disable-AzOperationalInsightsLinuxSyslogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Enable-AzOperationalInsightsIISLogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Enable-AzOperationalInsightsLinuxCustomLogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Enable-AzOperationalInsightsLinuxPerformanceCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Enable-AzOperationalInsightsLinuxSyslogCollection

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Get-AzOperationalInsightsSavedSearch

A Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchListSavedSearchResponse típusú tulajdonság Metadata el lett távolítva.

Get-AzOperationalInsightsSavedSearchResult

A Get-AzOperationalInsightsSavedSearchResult parancsmagot az SDK már nem támogatja, ezért el lett távolítva.

Get-AzOperationalInsightsSearchResult

A Get-AzOperationalInsightsSearchResult parancsmagot az SDK már nem támogatja, ezért el lett távolítva.

Get-AzOperationalInsightsStorageInsight

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsStorageInsight

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Remove-AzOperationalInsightsStorageInsight

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Set-AzOperationalInsightsStorageInsight

A PortalUrl számú, Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság el lett távolítva.

Get-AzOperationalInsightsLinkTarget

A Get-AzOperationalInsightsLinkTarget parancsmagot az SDK már nem támogatja, ezért el lett távolítva.

Get-AzOperationalInsightsWorkspace

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

New-AzOperationalInsightsWorkspace

  • A PortalUrl számú, Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonságot eltávolították.
  • A New-AzOperationalInsightsWorkspace parancsmag már nem támogatja a CustomerId paramétert, és nem található alias az eredeti paraméternévhez.
  • A New-AzOperationalInsightsWorkspace parancsmaghoz __AllParameterSets paraméterkészlet el lett távolítva.

Set-AzOperationalInsightsWorkspace

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Invoke-AzOperationalInsightsQuery

A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típusú tulajdonság PortalUrl el lett távolítva.

Az.Resources

Get-AzDeploymentScript

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típusú tulajdonság Status típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus-ról Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus-ra változott.

Get-AzDeploymentScriptLog

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típusú tulajdonság Status típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus-ról Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus-ra változott.

Save-AzDeploymentScriptLog

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típusú tulajdonság Status típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus-ról Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus-ra változott.

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

A TenantLevel paraméter el lett távolítva.

Get-AzPolicyAlias

A tulajdonság Aliases általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType]-ról System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias]-ra módosult.

New-AzPolicyAssignment

  • A New-AzPolicyAssignment parancsmag már nem támogatja a PolicyDefinitionparaméterhez System.Management.Automation.PSObject típust.
  • A New-AzPolicyAssignment parancsmag már nem támogatja a PolicySetDefinitionparaméterhez System.Management.Automation.PSObject típust.

Remove-AzDeploymentScript

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típusú tulajdonság Status típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus-ról Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus-ra változott.

Az.Storage

Update-AzStorageAccountNetworkRuleSet, Get-AzStorageAccountNetworkRuleSet

A NetWorkRule DefaultAction értéke a következőről módosult: Allow = 1, Deny = 0; erre: Allow = 0, Deny = 1.

New-AzStorageTable, Get-AzStorageTable

Az AzureStorageTable.CloudTable.ServiceClient kimeneti objektum 2 tulajdonságot távolít el: ConnectionPolicy, ConsistencyLevel.

Get-AzStorageFile, Remove-AzStorageFile, Get-AzStorageFileContent, Set-AzStorageFileContent, Start-AzStorageFileCopy

Módosítsa a kimenet típusát CloudFile-ról AzureStorageFile-ra, az eredeti kimenet az új kimenet "CloudFile" gyermektulajdonságává válik

Előtt

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

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

Után

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

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

Get-AzStorageFile, New-AzStorageDirectory, Remove-AzStorageDirectory

Módosítsa a kimenet típusát CloudFileDirectoryról AzureStorageFileDirectory-ra, az eredeti kimenet az új kimenet "CloudFileDirectory" gyermektulajdonságává válik

Előtt

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

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

Után

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

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

Get-AzStorageShare, New-AzStorageShare, Remove-AzStorageShare

Módosítsa a kimeneti típust a FileShareProperties-ről az AzureStorageFileShare-re, az eredeti kimenet az új kimenet "CloudFileShare" gyermektulajdonságává válik

Előtt

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

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

Után

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

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

Set-AzStorageShareQuota

Módosítsa a kimeneti típust a FileShareProperties-ről az AzureStorageFileShare-re, az eredeti kimenet az új kimenet "CloudFileShare.Properties" altulajdonságává válik.

Előtt

PowerShell
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

Után

PowerShell
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

Amikor al-fájlkönyvtárakat távolít el szülőkönyvtár-objektummal és -Path paraméterrel, a típus (sztring) egyezése miatt már nem lehet a csővezetékből bevinni a -Path értéket.

Előtt

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

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

Után

PowerShell
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