Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
I det här dokumentet beskrivs ändringarna mellan versionerna 3.0.0 och 4.1.0 av Az.
-
Migreringsguide för Az 4.1.0
- Az.ApiManagement
- Az.Batch
-
Az.Compute
Remove-AzVmssDiagnosticsExtensionGet-AzVMImageNew-AzVMConfigUpdate-AzVMNew-AzProximityPlacementGroupRemove-AzProximityPlacementGroupGet-AzProximityPlacementGroupAdd-AzVmssAdditionalUnattendContentAdd-AzVmssDataDiskAdd-AzVmssExtensionAdd-AzVmssNetworkInterfaceConfigurationAdd-AzVmssSecretAdd-AzVmssSshPublicKeyAdd-AzVmssWinRMListenerNew-AzVmssConfigRemove-AzVmssDataDiskRemove-AzVmssExtensionRemove-AzVmssNetworkInterfaceConfigurationSet-AzVmssBootDiagnosticSet-AzVmssOsProfileSet-AzVmssRollingUpgradePolicySet-AzVmssStorageProfileNew-AzVmssRepair-AzVmssServiceFabricUpdateDomainGet-AzVmssSet-AzVmssOrchestrationServiceStateUpdate-AzVmssAdd-AzVmssDiagnosticsExtensionDisable-AzVmssDiskEncryption
- Az.KeyVault
- Az.Monitor
- Az.Network
-
Az.OperationalInsights
Get-AzOperationalInsightsDataSourceNew-AzOperationalInsightsApplicationInsightsDataSourceNew-AzOperationalInsightsAzureActivityLogDataSourceNew-AzOperationalInsightsCustomLogDataSourceNew-AzOperationalInsightsLinuxPerformanceObjectDataSourceNew-AzOperationalInsightsLinuxSyslogDataSourceNew-AzOperationalInsightsWindowsEventDataSourceNew-AzOperationalInsightsWindowsPerformanceCounterDataSourceRemove-AzOperationalInsightsDataSourceDisable-AzOperationalInsightsIISLogCollectionDisable-AzOperationalInsightsLinuxCustomLogCollectionDisable-AzOperationalInsightsLinuxPerformanceCollectionDisable-AzOperationalInsightsLinuxSyslogCollectionEnable-AzOperationalInsightsIISLogCollectionEnable-AzOperationalInsightsLinuxCustomLogCollectionEnable-AzOperationalInsightsLinuxPerformanceCollectionEnable-AzOperationalInsightsLinuxSyslogCollectionGet-AzOperationalInsightsSavedSearchGet-AzOperationalInsightsSavedSearchResultGet-AzOperationalInsightsSearchResultGet-AzOperationalInsightsStorageInsightNew-AzOperationalInsightsStorageInsightRemove-AzOperationalInsightsStorageInsightSet-AzOperationalInsightsStorageInsightGet-AzOperationalInsightsLinkTargetGet-AzOperationalInsightsWorkspaceNew-AzOperationalInsightsWorkspaceSet-AzOperationalInsightsWorkspaceInvoke-AzOperationalInsightsQuery
- Az.Resources
-
Az.Storage
-
Update-AzStorageAccountNetworkRuleSet,Get-AzStorageAccountNetworkRuleSet -
New-AzStorageTable,Get-AzStorageTable -
Get-AzStorageFile,Remove-AzStorageFile,Get-AzStorageFileContent,Set-AzStorageFileContent,Start-AzStorageFileCopy -
Get-AzStorageFile,New-AzStorageDirectory,Remove-AzStorageDirectory -
Get-AzStorageShare,New-AzStorageShare,Remove-AzStorageShare Set-AzStorageShareQuotaRemove-AzStorageDirectory
-
Az.ApiManagement
Add-AzApiManagementRegion
Typen av egenskap Type av typen Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentity har ändrats från Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityType till System.String.
New-AzApiManagement
- Cmdleten
New-AzApiManagementstöder inte längre parameternAssignIdentityoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
__AllParameterSetsför cmdletenNew-AzApiManagementhar tagits bort.
Set-AzApiManagement
- Cmdleten
Set-AzApiManagementstöder inte längre parameternAssignIdentityoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
__AllParameterSetsför cmdletenSet-AzApiManagementhar tagits bort.
Get-AzApiManagementProperty
Cmdleten Get-AzApiManagementProperty har ersatts av Get-AzApiManagementNamedValue.
New-AzApiManagementProperty
Cmdleten New-AzApiManagementProperty har ersatts av New-AzApiManagementNamedValue.
Remove-AzApiManagementProperty
Cmdleten Remove-AzApiManagementProperty har ersatts av Remove-AzApiManagementNamedValue.
Set-AzApiManagementProperty
Cmdleten Set-AzApiManagementProperty har ersatts av Set-AzApiManagementNamedValue.
Az.Batch
Get-AzBatchApplication, New-AzBatchApplication
Egenskapen ApplicationPackages av typen Microsoft.Azure.Commands.Batch.Models.PSApplication har tagits bort.
Get-AzBatchComputeNode, New-AzBatchPool
Egenskapen PublicIPs av typen Microsoft.Azure.Commands.Batch.Models.PSNetworkConfiguration har tagits bort
Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage
Typen av egenskap StorageUrlExpiry av typen Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage har ändrats från System.DateTime till System.DateTime?.
Az.Compute
Remove-AzVmssDiagnosticsExtension
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Get-AzVMImage
- Cmdleten
Get-AzVMImagestöder inte längre parameternFilterExpressionoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
ListVMImageför cmdletenGet-AzVMImagehar tagits bort.
New-AzVMConfig
- Cmdleten
New-AzVMConfigstöder inte längre parameternAssignIdentityoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
AssignIdentityParameterSetför cmdletenNew-AzVMConfighar tagits bort.
Update-AzVM
- Cmdleten
Update-AzVMstöder inte längre parameternAssignIdentityoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
AssignIdentityParameterSetför cmdletenUpdate-AzVMhar tagits bort.
New-AzProximityPlacementGroup
- Den allmänna typen för egenskapen
VirtualMachines,VirtualMachineScaleSetsochAvailabilitySetshar ändrats frånSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]tillSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]. - Egenskapen
VirtualMachinesColocationStatus,VirtualMachineScaleSetsColocationStatusochAvailabilitySetsColocationStatusav typenMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGrouphar tagits bort.
före
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 : {}
Efter
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
- Den allmänna typen för egenskapen
VirtualMachines,VirtualMachineScaleSetsochAvailabilitySetshar ändrats frånSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]tillSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]. - Egenskapen
VirtualMachinesColocationStatus,VirtualMachineScaleSetsColocationStatusochAvailabilitySetsColocationStatusav typenMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGrouphar tagits bort.
före
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 : {}
Efter
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
- Den allmänna typen för egenskapen
VirtualMachines,VirtualMachineScaleSetsochAvailabilitySetshar ändrats frånSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]tillSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]. - Egenskapen
VirtualMachinesColocationStatus,VirtualMachineScaleSetsColocationStatusochAvailabilitySetsColocationStatusav typenMicrosoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGrouphar tagits bort.
före
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 : {}
Efter
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
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssDataDisk
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssExtension
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssNetworkInterfaceConfiguration
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssSecret
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssSshPublicKey
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Add-AzVmssWinRMListener
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
New-AzVmssConfig
- Typen av egenskap
AutomaticRepairsPolicyav typenMicrosoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSethar ändrats frånMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicytillMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy. - Stöder inte längre parametern
AutomaticRepairMaxInstanceRepairsPercentoch inget alias hittades för det ursprungliga parameternamnet. - Stöder inte längre parametern
AssignIdentityoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
__AllParameterSetshar tagits bort. - Parameteruppsättningen
ExplicitIdentityParameterSethar tagits bort. - Parameteruppsättningen
AssignIdentityParameterSethar tagits bort.
Remove-AzVmssDataDisk
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Remove-AzVmssExtension
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Remove-AzVmssNetworkInterfaceConfiguration
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Set-AzVmssBootDiagnostic
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Set-AzVmssOsProfile
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Set-AzVmssRollingUpgradePolicy
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Set-AzVmssStorageProfile
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
New-AzVmss
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Repair-AzVmssServiceFabricUpdateDomain
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Get-AzVmss
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Set-AzVmssOrchestrationServiceState
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Update-AzVmss
- Typen av egenskap
AutomaticRepairsPolicyav typenMicrosoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSethar ändrats frånMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicytillMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy. - Stöder inte längre parametern
AutomaticRepairMaxInstanceRepairsPercentoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
__AllParameterSetshar tagits bort. - Parameteruppsättningen
ExplicitIdentityParameterSethar tagits bort.
Add-AzVmssDiagnosticsExtension
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Disable-AzVmssDiskEncryption
Typen av egenskap AutomaticRepairsPolicy av typen Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet har ändrats från Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy till Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
Az.KeyVault
New-AzKeyVaultCertificateOrganizationDetail
Aliaset New-AzKeyVaultCertificateOrganizationDetails tas bort. Använd New-AzKeyVaultCertificateOrganizationDetail.
före
PS C:\> New-AzKeyVaultCertificateOrganizationDetails -AdministratorDetails $AdminDetails
Efter
PS C:\> New-AzKeyVaultCertificateOrganizationDetail -AdministratorDetails $AdminDetails
New-AzKeyVaultCertificateAdministratorDetail
Aliaset New-AzKeyVaultCertificateAdministratorDetails tas bort. Använd New-AzKeyVaultCertificateAdministratorDetail.
före
PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetails -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'
Efter
PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetail -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'
New-AzKeyVault
-EnableSoftDelete tas bort eftersom mjuk borttagning är aktiverat som standard. Använd -DisableSoftDelete om du inte vill ha det här beteendet.
före
PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' -EnableSoftDelete
Efter
PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US'
Az.Monitor
Add-AzLogProfile
Typen av egenskap RetentionPolicy av typen Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile har ändrats från Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy till Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.
Get-AzLogProfile
Typen av egenskap RetentionPolicy av typen Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile har ändrats från Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy till Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.
New-AzMetricAlertRuleV2Criteria
Parameteruppsättningen __AllParameterSets för cmdleten New-AzMetricAlertRuleV2Criteria har tagits bort.
Az.Network
Get-AzNetworkWatcherConnectionMonitor
Den allmänna typen för egenskapen RoundTripTimeMs har ändrats från System.Nullable1[System.Int32] till System.Nullable1[System.Double].
New-AzNetworkWatcherConnectionMonitorTestConfigurationObject
Den generiska typen för parameter SuccessThresholdRoundTripTimeMs har ändrats från System.Nullable1[System.Int32] till System.Nullable1[System.Double].
Az.OperationalInsights
Get-AzOperationalInsightsDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsApplicationInsightsDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsAzureActivityLogDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsCustomLogDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsLinuxPerformanceObjectDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsLinuxSyslogDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsWindowsEventDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsWindowsPerformanceCounterDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Remove-AzOperationalInsightsDataSource
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Disable-AzOperationalInsightsIISLogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Disable-AzOperationalInsightsLinuxCustomLogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Disable-AzOperationalInsightsLinuxPerformanceCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Disable-AzOperationalInsightsLinuxSyslogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Enable-AzOperationalInsightsIISLogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Enable-AzOperationalInsightsLinuxCustomLogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Enable-AzOperationalInsightsLinuxPerformanceCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Enable-AzOperationalInsightsLinuxSyslogCollection
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Get-AzOperationalInsightsSavedSearch
Egenskapen Metadata av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchListSavedSearchResponse har tagits bort.
Get-AzOperationalInsightsSavedSearchResult
Cmdleten Get-AzOperationalInsightsSavedSearchResult stöds inte längre av SDK och har tagits bort.
Get-AzOperationalInsightsSearchResult
Cmdleten Get-AzOperationalInsightsSearchResult stöds inte längre av SDK och har tagits bort.
Get-AzOperationalInsightsStorageInsight
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsStorageInsight
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Remove-AzOperationalInsightsStorageInsight
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Set-AzOperationalInsightsStorageInsight
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Get-AzOperationalInsightsLinkTarget
Cmdleten Get-AzOperationalInsightsLinkTarget stöds inte längre av SDK och har tagits bort.
Get-AzOperationalInsightsWorkspace
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
New-AzOperationalInsightsWorkspace
- Egenskapen
PortalUrlav typenMicrosoft.Azure.Commands.OperationalInsights.Models.PSWorkspacehar tagits bort. - Cmdleten
New-AzOperationalInsightsWorkspacestöder inte längre parameternCustomerIdoch inget alias hittades för det ursprungliga parameternamnet. - Parameteruppsättningen
__AllParameterSetsför cmdletenNew-AzOperationalInsightsWorkspacehar tagits bort.
Set-AzOperationalInsightsWorkspace
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Invoke-AzOperationalInsightsQuery
Egenskapen PortalUrl av typen Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace har tagits bort.
Az.Resources
Get-AzDeploymentScript
Typen av egenskap Status av typen Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript har ändrats från Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus till Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.
Get-AzDeploymentScriptLog
Typen av egenskap Status av typen Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript har ändrats från Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus till Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.
Save-AzDeploymentScriptLog
Typen av egenskap Status av typen Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript har ändrats från Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus till Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.
Get-AzResourceLock, New-AzResourceLock, Remove-AzResourceLock, Set-AzResourceLock
Parametern TenantLevel har tagits bort.
Get-AzPolicyAlias
Den allmänna typen för egenskapen Aliases har ändrats från System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType] till System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias].
New-AzPolicyAssignment
- Cmdleten
New-AzPolicyAssignmentstöder inte längre typenSystem.Management.Automation.PSObjectför parameternPolicyDefinition. - Cmdleten
New-AzPolicyAssignmentstöder inte längre typenSystem.Management.Automation.PSObjectför parameternPolicySetDefinition.
Remove-AzDeploymentScript
Typen av egenskap Status av typen Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript har ändrats från Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus till Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.
Az.Storage
Update-AzStorageAccountNetworkRuleSet, Get-AzStorageAccountNetworkRuleSet
NetWorkRule DefaultAction-värdet har ändrats från: Tillåt = 1, Neka = 0 till: Tillåt = 0, Neka = 1.
New-AzStorageTable, Get-AzStorageTable
Utdataobjektet AzureStorageTable.CloudTable.ServiceClient har två egenskaper borttagna: ConnectionPolicy, ConsistencyLevel.
Get-AzStorageFile, Remove-AzStorageFile, Get-AzStorageFileContent, Set-AzStorageFileContent, Start-AzStorageFileCopy
Ändra utdatatyp från CloudFile till AzureStorageFile. Den ursprungliga utdatan blir den underordnade egenskapen "CloudFile" för den nya utdatan.
före
PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx
PS C:\> Remove-AzStorageFile -File $file
Efter
PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx
PS C:\> Remove-AzStorageFile -File $file.CloudFile
Get-AzStorageFile, New-AzStorageDirectory, Remove-AzStorageDirectory
Ändra utdatatyp från CloudFileDirectory till AzureStorageFileDirectory. Den ursprungliga utdatan blir en underordnad egenskap "CloudFileDirectory" för den nya utdatan.
före
PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx
PS C:\> Remove-AzStorageDirectory -Directory $dir
Efter
PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx
PS C:\> Remove-AzStorageDirectory -Directory $dir.CloudFileDirectory
Get-AzStorageShare, New-AzStorageShare, Remove-AzStorageShare
Ändra utdatatyp från FileShareProperties till AzureStorageFileShare, den ursprungliga utdata blir den underordnade egenskapen "CloudFileShare" för de nya utdata
före
PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx
PS C:\> Remove-AzStorageShare -Share $share
Efter
PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx
PS C:\> Remove-AzStorageShare -Share $share.CloudFileShare
Set-AzStorageShareQuota
Ändra utdatatyp från FileShareProperties till AzureStorageFileShare. De ursprungliga utdata blir underegenskapen "CloudFileShare.Properties" för de nya utdata
före
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
Efter
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
När du tar bort underfilkataloger med det överordnade katalogobjektet och -Path kan du inte längre mata in -Path från pipelinen med typen (sträng).
före
PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx
PS C:\> @('dir1', 'dir2') | Remove-AzStorageDirectory -Directory $dir
Efter
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