Migratiehandleiding voor Az 4.1.0
In dit document worden de wijzigingen tussen de versies 3.0.0 en 4.1.0 van Az beschreven.
-
Migratiehandleiding voor Az 4.1.0
- Az.ApiManagement-
- Az.Batch
-
Az.Compute-
Remove-AzVmssDiagnosticsExtension
Get-AzVMImage
New-AzVMConfig
Update-AzVM
New-AzProximityPlacementGroup
Remove-AzProximityPlacementGroup
Get-AzProximityPlacementGroup
Add-AzVmssAdditionalUnattendContent
Add-AzVmssDataDisk
Add-AzVmssExtension
Add-AzVmssNetworkInterfaceConfiguration
Add-AzVmssSecret
Add-AzVmssSshPublicKey
Add-AzVmssWinRMListener
New-AzVmssConfig
Remove-AzVmssDataDisk
Remove-AzVmssExtension
Remove-AzVmssNetworkInterfaceConfiguration
Set-AzVmssBootDiagnostic
Set-AzVmssOsProfile
Set-AzVmssRollingUpgradePolicy
Set-AzVmssStorageProfile
New-AzVmss
Repair-AzVmssServiceFabricUpdateDomain
Get-AzVmss
Set-AzVmssOrchestrationServiceState
Update-AzVmss
Add-AzVmssDiagnosticsExtension
Disable-AzVmssDiskEncryption
- Az.KeyVault-
- Az.Monitor
- Az.Network
-
Az.OperationalInsights-
Get-AzOperationalInsightsDataSource
New-AzOperationalInsightsApplicationInsightsDataSource
New-AzOperationalInsightsAzureActivityLogDataSource
New-AzOperationalInsightsCustomLogDataSource
New-AzOperationalInsightsLinuxPerformanceObjectDataSource
New-AzOperationalInsightsLinuxSyslogDataSource
New-AzOperationalInsightsWindowsEventDataSource
New-AzOperationalInsightsWindowsPerformanceCounterDataSource
Remove-AzOperationalInsightsDataSource
Disable-AzOperationalInsightsIISLogCollection
Disable-AzOperationalInsightsLinuxCustomLogCollection
Disable-AzOperationalInsightsLinuxPerformanceCollection
Disable-AzOperationalInsightsLinuxSyslogCollection
Enable-AzOperationalInsightsIISLogCollection
Enable-AzOperationalInsightsLinuxCustomLogCollection
Enable-AzOperationalInsightsLinuxPerformanceCollection
Enable-AzOperationalInsightsLinuxSyslogCollection
Get-AzOperationalInsightsSavedSearch
Get-AzOperationalInsightsSavedSearchResult
Get-AzOperationalInsightsSearchResult
Get-AzOperationalInsightsStorageInsight
New-AzOperationalInsightsStorageInsight
Remove-AzOperationalInsightsStorageInsight
Set-AzOperationalInsightsStorageInsight
Get-AzOperationalInsightsLinkTarget
Get-AzOperationalInsightsWorkspace
New-AzOperationalInsightsWorkspace
Set-AzOperationalInsightsWorkspace
Invoke-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-AzStorageShareQuota
Remove-AzStorageDirectory
-
Az.ApiManagement
Add-AzApiManagementRegion
Het type eigenschap Type
van het 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 parameterAssignIdentity
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 parameterAssignIdentity
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 eigenschap StorageUrlExpiry
van het type Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage
is gewijzigd van System.DateTime
in System.DateTime?
.
Az.Compute
Remove-AzVmssDiagnosticsExtension
Het type eigenschap AutomaticRepairsPolicy
van het 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 parameterFilterExpression
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 parameterAssignIdentity
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 parameterAssignIdentity
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
enAvailabilitySets
is gewijzigd vanSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]
inSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]
. - De eigenschap
VirtualMachinesColocationStatus
,VirtualMachineScaleSetsColocationStatus
enAvailabilitySetsColocationStatus
van het typeMicrosoft.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
enAvailabilitySets
is gewijzigd vanSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]
inSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]
. - De eigenschap
VirtualMachinesColocationStatus
,VirtualMachineScaleSetsColocationStatus
enAvailabilitySetsColocationStatus
van het typeMicrosoft.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
enAvailabilitySets
is gewijzigd vanSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource]
inSystem.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus]
. - De eigenschap
VirtualMachinesColocationStatus
,VirtualMachineScaleSetsColocationStatus
enAvailabilitySetsColocationStatus
van het typeMicrosoft.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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap
AutomaticRepairsPolicy
van het typeMicrosoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet
is gewijzigd vanMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy
inMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy
. - Ondersteunt de parameter
AutomaticRepairMaxInstanceRepairsPercent
niet meer en er is geen alias gevonden voor de oorspronkelijke parameternaam. - Ondersteunt de parameter
AssignIdentity
niet meer 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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 eigenschap
AutomaticRepairsPolicy
van het typeMicrosoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet
is gewijzigd vanMicrosoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy
inMicrosoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy
. - Ondersteunt de parameter
AutomaticRepairMaxInstanceRepairsPercent
niet meer en er is geen alias gevonden voor de oorspronkelijke parameternaam. - De parameterset
__AllParameterSets
is verwijderd. - De parameterset
ExplicitIdentityParameterSet
is verwijderd.
Add-AzVmssDiagnosticsExtension
Het type eigenschap AutomaticRepairsPolicy
van het 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 eigenschap AutomaticRepairsPolicy
van het 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
wordt verwijderd. Gebruik New-AzKeyVaultCertificateOrganizationDetail
.
Voor
PS C:\> New-AzKeyVaultCertificateOrganizationDetails -AdministratorDetails $AdminDetails
Na
PS C:\> New-AzKeyVaultCertificateOrganizationDetail -AdministratorDetails $AdminDetails
New-AzKeyVaultCertificateAdministratorDetail
De alias New-AzKeyVaultCertificateAdministratorDetails
wordt 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
wordt verwijderd, omdat soft delete 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 eigenschap RetentionPolicy
van het 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 eigenschap RetentionPolicy
van het 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
werd niet meer ondersteund door SDK en is verwijderd.
Get-AzOperationalInsightsSearchResult
De cmdlet Get-AzOperationalInsightsSearchResult
werd niet meer ondersteund door 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
werd niet meer ondersteund door 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 typeMicrosoft.Azure.Commands.OperationalInsights.Models.PSWorkspace
is verwijderd. - De cmdlet
New-AzOperationalInsightsWorkspace
biedt geen ondersteuning meer voor de parameterCustomerId
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 eigenschap Status
van het 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 eigenschap Status
van het 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 eigenschap Status
van het 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
ondersteunt het typeSystem.Management.Automation.PSObject
voor parameter-PolicyDefinition
niet meer. - De cmdlet
New-AzPolicyAssignment
ondersteunt het typeSystem.Management.Automation.PSObject
voor parameter-PolicySetDefinition
niet meer.
Remove-AzDeploymentScript
Het type eigenschap Status
van het 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, naar: Allow = 0, Deny = 1.
New-AzStorageTable
, Get-AzStorageTable
Het uitvoerobject AzureStorageTable.CloudTable.ServiceClient heeft twee eigenschappen verwijderd: ConnectionPolicy, ConsistencyLevel.
Get-AzStorageFile
, Remove-AzStorageFile
, Get-AzStorageFileContent
, Set-AzStorageFileContent
, Start-AzStorageFileCopy
Wijzig de outputtype van CloudFile naar AzureStorageFile. De oorspronkelijke output wordt de onderliggende eigenschap "CloudFile" van de nieuwe output.
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-AzStorageDirectory
, Remove-AzStorageDirectory
Het type uitvoer wijzigen van CloudFileDirectory naar AzureStorageFileDirectory. De oorspronkelijke uitvoer wordt de subeigenschap "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-AzStorageShare
, Remove-AzStorageShare
Wijzig de uitvoertype van FileShareProperties in AzureStorageFileShare; de oorspronkelijke uitvoer wordt een sub-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 de onderliggende 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
Wanneer u subbestandsmappen met bovenliggend mapobject en -Path verwijdert, kan er geen -Path meer worden ingevoerd uit de pijplijn met het type (tekenreeks).
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
Azure PowerShell