Delen via


Migratiehandleiding voor Az 4.1.0

In dit document worden de verschillen tussen versie 3.0.0 en 4.1.0 van Az beschreven.

Az.ApiManagement

Add-AzApiManagementRegion

Het type van eigenschap Type van type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentity is gewijzigd van Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityType in System.String.

New-AzApiManagement

  • De cmdlet New-AzApiManagement biedt geen ondersteuning meer voor de parameter AssignIdentity en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset __AllParameterSets voor cmdlet New-AzApiManagement is verwijderd.

Set-AzApiManagement

  • De cmdlet Set-AzApiManagement biedt geen ondersteuning meer voor de parameter AssignIdentity en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset __AllParameterSets voor cmdlet Set-AzApiManagement is verwijderd.

Get-AzApiManagementProperty

De cmdlet Get-AzApiManagementProperty is vervangen door Get-AzApiManagementNamedValue.

New-AzApiManagementProperty

De cmdlet New-AzApiManagementProperty is vervangen door New-AzApiManagementNamedValue.

Remove-AzApiManagementProperty

De cmdlet Remove-AzApiManagementProperty is vervangen door Remove-AzApiManagementNamedValue.

Set-AzApiManagementProperty

De cmdlet Set-AzApiManagementProperty is vervangen door Set-AzApiManagementNamedValue.

Az.Batch

Get-AzBatchApplication, New-AzBatchApplication

De eigenschap ApplicationPackages van het type Microsoft.Azure.Commands.Batch.Models.PSApplication is verwijderd.

Get-AzBatchComputeNode, New-AzBatchPool

De eigenschap PublicIPs van het type Microsoft.Azure.Commands.Batch.Models.PSNetworkConfiguration is verwijderd

Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage

Het type van eigenschap StorageUrlExpiry van type Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage is gewijzigd van System.DateTime in System.DateTime?.

Az.Compute

Remove-AzVmssDiagnosticsExtension

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVMImage

  • De cmdlet Get-AzVMImage biedt geen ondersteuning meer voor de parameter FilterExpression en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset ListVMImage voor cmdlet Get-AzVMImage is verwijderd.

New-AzVMConfig

  • De cmdlet New-AzVMConfig biedt geen ondersteuning meer voor de parameter AssignIdentity en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset AssignIdentityParameterSet voor cmdlet New-AzVMConfig is verwijderd.

Update-AzVM

  • De cmdlet Update-AzVM biedt geen ondersteuning meer voor de parameter AssignIdentity en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset AssignIdentityParameterSet voor cmdlet Update-AzVM is verwijderd.

New-AzProximityPlacementGroup

  • Het algemene type voor eigenschap VirtualMachines, VirtualMachineScaleSets en AvailabilitySets is gewijzigd van System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] in System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • De eigenschap VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus en AvailabilitySetsColocationStatus van type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup is verwijderd.

Voor

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

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

  • Het algemene type voor eigenschap VirtualMachines, VirtualMachineScaleSets en AvailabilitySets is gewijzigd van System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] in System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • De eigenschap VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus en AvailabilitySetsColocationStatus van type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup is verwijderd.

Voor

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

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

  • Het algemene type voor eigenschap VirtualMachines, VirtualMachineScaleSets en AvailabilitySets is gewijzigd van System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] in System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • De eigenschap VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus en AvailabilitySetsColocationStatus van type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup is verwijderd.

Voor

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

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

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssDataDisk

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssExtension

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssNetworkInterfaceConfiguration

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSecret

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSshPublicKey

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssWinRMListener

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmssConfig

  • Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • Biedt geen ondersteuning meer voor de parameter AutomaticRepairMaxInstanceRepairsPercent en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • Biedt geen ondersteuning meer voor de parameter AssignIdentity en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset __AllParameterSets is verwijderd.
  • De parameterset ExplicitIdentityParameterSet is verwijderd.
  • De parameterset AssignIdentityParameterSet is verwijderd.

Remove-AzVmssDataDisk

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssExtension

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssNetworkInterfaceConfiguration

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssBootDiagnostic

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOsProfile

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssRollingUpgradePolicy

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssStorageProfile

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmss

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Repair-AzVmssServiceFabricUpdateDomain

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVmss

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOrchestrationServiceState

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Update-AzVmss

  • Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • Biedt geen ondersteuning meer voor de parameter AutomaticRepairMaxInstanceRepairsPercent en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset __AllParameterSets is verwijderd.
  • De parameterset ExplicitIdentityParameterSet is verwijderd.

Add-AzVmssDiagnosticsExtension

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Disable-AzVmssDiskEncryption

Het type van eigenschap AutomaticRepairsPolicy van type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet is gewijzigd van Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy in Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Az.KeyVault

New-AzKeyVaultCertificateOrganizationDetail

De alias New-AzKeyVaultCertificateOrganizationDetails is verwijderd. Gebruik New-AzKeyVaultCertificateOrganizationDetail.

Voor

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

Na

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

New-AzKeyVaultCertificateAdministratorDetail

De alias New-AzKeyVaultCertificateAdministratorDetails is verwijderd. Gebruik New-AzKeyVaultCertificateAdministratorDetail.

Voor

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

Na

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

New-AzKeyVault

-EnableSoftDelete is verwijderd, omdat voorlopig verwijderen standaard is ingeschakeld. Gebruik -DisableSoftDelete als u dit gedrag niet wilt.

Voor

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

Na

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

Az.Monitor

Add-AzLogProfile

Het type van eigenschap RetentionPolicy van type Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile is gewijzigd van Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy in Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

Get-AzLogProfile

Het type van eigenschap RetentionPolicy van type Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile is gewijzigd van Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy in Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

New-AzMetricAlertRuleV2Criteria

De parameterset __AllParameterSets voor cmdlet New-AzMetricAlertRuleV2Criteria is verwijderd.

Az.Network

Get-AzNetworkWatcherConnectionMonitor

Het algemene type voor eigenschap RoundTripTimeMs is gewijzigd van System.Nullable1[System.Int32] in System.Nullable1[System.Double].

New-AzNetworkWatcherConnectionMonitorTestConfigurationObject

Het algemene type voor parameter SuccessThresholdRoundTripTimeMs is gewijzigd van System.Nullable1[System.Int32] in System.Nullable1[System.Double].

Az.OperationalInsights

Get-AzOperationalInsightsDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsApplicationInsightsDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsAzureActivityLogDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsCustomLogDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsLinuxPerformanceObjectDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsLinuxSyslogDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsWindowsEventDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsWindowsPerformanceCounterDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Remove-AzOperationalInsightsDataSource

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Disable-AzOperationalInsightsIISLogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Disable-AzOperationalInsightsLinuxCustomLogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Disable-AzOperationalInsightsLinuxPerformanceCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Disable-AzOperationalInsightsLinuxSyslogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Enable-AzOperationalInsightsIISLogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Enable-AzOperationalInsightsLinuxCustomLogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Enable-AzOperationalInsightsLinuxPerformanceCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Enable-AzOperationalInsightsLinuxSyslogCollection

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Get-AzOperationalInsightsSavedSearch

De eigenschap Metadata van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchListSavedSearchResponse is verwijderd.

Get-AzOperationalInsightsSavedSearchResult

De cmdlet Get-AzOperationalInsightsSavedSearchResult wordt niet meer ondersteund door de SDK en is verwijderd.

Get-AzOperationalInsightsSearchResult

De cmdlet Get-AzOperationalInsightsSearchResult wordt niet meer ondersteund door de SDK en is verwijderd.

Get-AzOperationalInsightsStorageInsight

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsStorageInsight

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Remove-AzOperationalInsightsStorageInsight

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Set-AzOperationalInsightsStorageInsight

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Get-AzOperationalInsightsLinkTarget

De cmdlet Get-AzOperationalInsightsLinkTarget wordt niet meer ondersteund door de SDK en is verwijderd.

Get-AzOperationalInsightsWorkspace

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

New-AzOperationalInsightsWorkspace

  • De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.
  • De cmdlet New-AzOperationalInsightsWorkspace biedt geen ondersteuning meer voor de parameter CustomerId en er is geen alias gevonden voor de oorspronkelijke parameternaam.
  • De parameterset __AllParameterSets voor cmdlet New-AzOperationalInsightsWorkspace is verwijderd.

Set-AzOperationalInsightsWorkspace

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Invoke-AzOperationalInsightsQuery

De eigenschap PortalUrl van het type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace is verwijderd.

Az.Resources

Get-AzDeploymentScript

Het type van eigenschap Status van type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript is gewijzigd van Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus in Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Get-AzDeploymentScriptLog

Het type van eigenschap Status van type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript is gewijzigd van Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus in Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Save-AzDeploymentScriptLog

Het type van eigenschap Status van type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript is gewijzigd van Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus in Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

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

Parameter TenantLevel is verwijderd.

Get-AzPolicyAlias

Het algemene type voor eigenschap Aliases is gewijzigd van System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType] in System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias].

New-AzPolicyAssignment

  • De cmdlet New-AzPolicyAssignment biedt geen ondersteuning meer voor het type System.Management.Automation.PSObject voor parameter PolicyDefinition.
  • De cmdlet New-AzPolicyAssignment biedt geen ondersteuning meer voor het type System.Management.Automation.PSObject voor parameter PolicySetDefinition.

Remove-AzDeploymentScript

Het type van eigenschap Status van type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript is gewijzigd van Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus in Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Az.Storage

Update-AzStorageAccountNetworkRuleSet, Get-AzStorageAccountNetworkRuleSet

NetWorkRule DefaultAction-waarde gewijzigd van: Allow = 1, Deny = 0, to: Allow = 0, Deny = 1.

New-AzStorageTable, Get-AzStorageTable

Het uitvoerobject AzureStorageTable.CloudTable.ServiceClient heeft twee eigenschappen verwijderd: Verbinding maken ionPolicy, ConsistencyLevel.

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

Uitvoertype wijzigen van CloudFile in AzureStorageFile, de oorspronkelijke uitvoer wordt onderliggende eigenschap 'CloudFile' van de nieuwe uitvoer

Voor

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

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

Na

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

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

Get-AzStorageFile, , New-AzStorageDirectoryRemove-AzStorageDirectory

Uitvoertype wijzigen van CloudFileDirectory in AzureStorageFileDirectory, de oorspronkelijke uitvoer wordt onderliggende eigenschap 'CloudFileDirectory' van de nieuwe uitvoer

Voor

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

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

Na

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

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

Get-AzStorageShare, , New-AzStorageShareRemove-AzStorageShare

Uitvoertype wijzigen van FileShareProperties in AzureStorageFileShare, de oorspronkelijke uitvoer wordt onderliggende eigenschap 'CloudFileShare' van de nieuwe uitvoer

Voor

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

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

Na

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

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

Set-AzStorageShareQuota

Uitvoertype wijzigen van FileShareProperties in AzureStorageFileShare, de oorspronkelijke uitvoer wordt subonderliggende eigenschap 'CloudFileShare.Properties' van de nieuwe uitvoer

Voor

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

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

Bij het verwijderen van subbestandsmappen met bovenliggend Directory-object en -Path, kan -Path niet meer worden ingevoerd via pijplijn met type (string) match.

Voor

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

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

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