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

Ez a dokumentum ismerteti, hogy milyen módosítások történtek az Az 3.0.0-s és 4.1.0-s verziója között.

Az.ApiManagement

Add-AzApiManagementRegion

A Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentity típus Type tulajdonságának típusa Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityType helyett a következő lett: System.String.

New-AzApiManagement

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

Set-AzApiManagement

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

Get-AzApiManagementProperty

A Get-AzApiManagementProperty parancsmagot a Get-AzApiManagementNamedValue parancsmag helyettesíti.

New-AzApiManagementProperty

A New-AzApiManagementProperty parancsmagot a New-AzApiManagementNamedValue parancsmag helyettesíti.

Remove-AzApiManagementProperty

A Remove-AzApiManagementProperty parancsmagot a Remove-AzApiManagementNamedValue parancsmag helyettesíti.

Set-AzApiManagementProperty

A Set-AzApiManagementProperty parancsmagot a Set-AzApiManagementNamedValue parancsmag helyettesíti.

Az.Batch

Get-AzBatchApplication, New-AzBatchApplication

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

Get-AzBatchComputeNode, New-AzBatchPool

Az Microsoft.Azure.Commands.Batch.Models.PSNetworkConfiguration típus PublicIPs tulajdonsága el lett távolítva

Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage

A Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage típus StorageUrlExpiry tulajdonságának típusa System.DateTime helyett a következő lett: System.DateTime?.

Az.Compute

Remove-AzVmssDiagnosticsExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVMImage

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

New-AzVMConfig

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

Update-AzVM

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

New-AzProximityPlacementGroup

  • A(z) VirtualMachines, VirtualMachineScaleSets és AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] helyett a következő lett: System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • Az Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup típus VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus és AvailabilitySetsColocationStatus tulajdonsága el lett távolítva.

Előtte

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ána

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(z) VirtualMachines, VirtualMachineScaleSets és AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] helyett a következő lett: System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • Az Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup típus VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus és AvailabilitySetsColocationStatus tulajdonsága el lett távolítva.

Előtte

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ána

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(z) VirtualMachines, VirtualMachineScaleSets és AvailabilitySets tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] helyett a következő lett: System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • Az Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup típus VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus és AvailabilitySetsColocationStatus tulajdonsága el lett távolítva.

Előtte

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ána

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 AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssDataDisk

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssNetworkInterfaceConfiguration

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSecret

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSshPublicKey

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssWinRMListener

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmssConfig

  • A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • A(z) AutomaticRepairMaxInstanceRepairsPercent paraméter a továbbiakban nem támogatott, és nem található alias az eredeti paraméternévhez.
  • A(z) AssignIdentity paraméter a továbbiakban nem támogatott, és nem található alias az eredeti paraméternévhez.
  • A(z) __AllParameterSets paraméterkészlet el lett távolítva.
  • A(z) ExplicitIdentityParameterSet paraméterkészlet el lett távolítva.
  • A(z) AssignIdentityParameterSet paraméterkészlet el lett távolítva.

Remove-AzVmssDataDisk

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssNetworkInterfaceConfiguration

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssBootDiagnostic

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOsProfile

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssRollingUpgradePolicy

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssStorageProfile

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmss

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Repair-AzVmssServiceFabricUpdateDomain

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVmss

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOrchestrationServiceState

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Update-AzVmss

  • A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • A(z) AutomaticRepairMaxInstanceRepairsPercent paraméter a továbbiakban nem támogatott, és nem található alias az eredeti paraméternévhez.
  • A(z) __AllParameterSets paraméterkészlet el lett távolítva.
  • A(z) ExplicitIdentityParameterSet paraméterkészlet el lett távolítva.

Add-AzVmssDiagnosticsExtension

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Disable-AzVmssDiskEncryption

A Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet típus AutomaticRepairsPolicy tulajdonságának típusa Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy helyett a következő lett: Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Az.KeyVault

New-AzKeyVaultCertificateOrganizationDetail

A(z) New-AzKeyVaultCertificateOrganizationDetails alias el lett távolítva. Használja a következőt: New-AzKeyVaultCertificateOrganizationDetail.

Előtte

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

Utána

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

New-AzKeyVaultCertificateAdministratorDetail

A(z) New-AzKeyVaultCertificateAdministratorDetails alias el lett távolítva. Használja a következőt: New-AzKeyVaultCertificateAdministratorDetail.

Előtte

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

Utána

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

New-AzKeyVault

A(z) -EnableSoftDelete el lett távolítva, mert a helyreállítható törlés alapértelmezés szerint engedélyezve van. Ha nem szeretné alkalmazni ezt a viselkedést, használja a következőt: -DisableSoftDelete.

Előtte

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

Utána

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

Az.Monitor

Add-AzLogProfile

A Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile típus RetentionPolicy tulajdonságának típusa Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy helyett a következő lett: Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

Get-AzLogProfile

A Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile típus RetentionPolicy tulajdonságának típusa Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy helyett a következő lett: Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

New-AzMetricAlertRuleV2Criteria

A(z) New-AzMetricAlertRuleV2Criteria parancsmaghoz tartozó __AllParameterSets paraméterkészlet el lett távolítva.

Az.Network

Get-AzNetworkWatcherConnectionMonitor

A(z) RoundTripTimeMs tulajdonság általános típusa System.Nullable1[System.Int32] helyett a következő lett: System.Nullable1[System.Double].

New-AzNetworkWatcherConnectionMonitorTestConfigurationObject

A(z) SuccessThresholdRoundTripTimeMs paraméter általános típusa System.Nullable1[System.Int32] helyett a következő lett: System.Nullable1[System.Double].

Az.OperationalInsights

Get-AzOperationalInsightsDataSource

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

New-AzOperationalInsightsApplicationInsightsDataSource

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

New-AzOperationalInsightsAzureActivityLogDataSource

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

New-AzOperationalInsightsCustomLogDataSource

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

New-AzOperationalInsightsLinuxPerformanceObjectDataSource

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

New-AzOperationalInsightsLinuxSyslogDataSource

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

New-AzOperationalInsightsWindowsEventDataSource

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

New-AzOperationalInsightsWindowsPerformanceCounterDataSource

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

Remove-AzOperationalInsightsDataSource

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

Disable-AzOperationalInsightsIISLogCollection

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

Disable-AzOperationalInsightsLinuxCustomLogCollection

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

Disable-AzOperationalInsightsLinuxPerformanceCollection

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

Disable-AzOperationalInsightsLinuxSyslogCollection

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

Enable-AzOperationalInsightsIISLogCollection

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

Enable-AzOperationalInsightsLinuxCustomLogCollection

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

Enable-AzOperationalInsightsLinuxPerformanceCollection

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

Enable-AzOperationalInsightsLinuxSyslogCollection

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

Get-AzOperationalInsightsSavedSearch

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

Get-AzOperationalInsightsSavedSearchResult

Az SDK már nem támogatta a Get-AzOperationalInsightsSavedSearchResult parancsmagot, ezért el lett távolítva.

Get-AzOperationalInsightsSearchResult

Az SDK már nem támogatta a Get-AzOperationalInsightsSearchResult parancsmagot, ezért el lett távolítva.

Get-AzOperationalInsightsStorageInsight

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

New-AzOperationalInsightsStorageInsight

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

Remove-AzOperationalInsightsStorageInsight

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

Set-AzOperationalInsightsStorageInsight

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

Get-AzOperationalInsightsLinkTarget

Az SDK már nem támogatta a Get-AzOperationalInsightsLinkTarget parancsmagot, ezért el lett távolítva.

Get-AzOperationalInsightsWorkspace

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

New-AzOperationalInsightsWorkspace

  • A Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace típus PortalUrl tulajdonsága el lett távolítva.
  • A(z) New-AzOperationalInsightsWorkspace parancsmag a továbbiakban nem támogatja a(z) CustomerId paramétert, és nem található alias az eredeti paraméternévhez.
  • A(z) New-AzOperationalInsightsWorkspace parancsmaghoz tartozó __AllParameterSets paraméterkészlet el lett távolítva.

Set-AzOperationalInsightsWorkspace

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

Invoke-AzOperationalInsightsQuery

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

Az.Resources

Get-AzDeploymentScript

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típus Status tulajdonságának típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus helyett a következő lett: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Get-AzDeploymentScriptLog

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típus Status tulajdonságának típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus helyett a következő lett: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Save-AzDeploymentScriptLog

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típus Status tulajdonságának típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus helyett a következő lett: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

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

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

Get-AzPolicyAlias

A(z) Aliases tulajdonság általános típusa System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType] helyett a következő lett: System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias].

New-AzPolicyAssignment

  • A(z) New-AzPolicyAssignment parancsmag a továbbiakban nem támogatja a(z) System.Management.Automation.PSObject típust a(z) PolicyDefinition paraméter esetében.
  • A(z) New-AzPolicyAssignment parancsmag a továbbiakban nem támogatja a(z) System.Management.Automation.PSObject típust a(z) PolicySetDefinition paraméter esetében.

Remove-AzDeploymentScript

A Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript típus Status tulajdonságának típusa Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus helyett a következő lett: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Az.Storage

Update-AzStorageAccountNetworkRuleSet, Get-AzStorageAccountNetworkRuleSet

A NetWorkRule DefaultAction értéke a következőre módosult: Allow = 1, Deny = 0, to: Allow = 0, Deny = 1.

New-AzStorageTable, Get-AzStorageTable

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

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

A kimenet típusa CloudFile helyett mostantól AzureStorageFile, az eredeti kimenet az új kimenet CloudFile gyermektulajdonsága lesz

Előtte

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

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

Utána

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

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

Get-AzStorageFile, , New-AzStorageDirectoryRemove-AzStorageDirectory

A kimenet típusa CloudFileDirectory helyett mostantól AzureStorageFileDirectory, az eredeti kimenet az új kimenet CloudFileDirectory gyermektulajdonsága lesz

Előtte

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

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

Utána

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

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

Get-AzStorageShare, , New-AzStorageShareRemove-AzStorageShare

A kimenet típusa FileShareProperties helyett mostantól AzureStorageFileShare, az eredeti kimenet az új kimenet CloudFileShare gyermektulajdonsága lesz

Előtte

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

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

Utána

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

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

Set-AzStorageShareQuota

A kimenet típusa FileShareProperties helyett mostantól AzureStorageFileShare, az eredeti kimenet az új kimenet CloudFileShare.Properties gyermek-altulajdonsága lesz

Előtte

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ána

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

Az alfájlkönyvtárak szülő-címtárobjektum és a -Path használatával történő eltávolításakor a -Path tulajdonság már nem adható meg egy megegyező típussal (sztringgel) rendelkező folyamatból.

Előtte

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

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

Utána

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