Share via


Migratiehandleiding voor Az 11.0.0

Az.Aks

New-AzAksCluster

De parameter DockerBridgeCidr wordt verwijderd uit de cmdlet 'New-AzAksCluster' en er is geen vervanging voor.

Az.CloudService

Get-AzCloudServiceNetworkInterface

De API-versie wordt gedowngraded naar 2021-03-01. Sommige eigenschappen worden verwijderd.

  • 'ProtectionMode' en 'DdosProtectionPlanId' van het type 'IDdos Instellingen' zijn verwijderd.
  • 'InboundNatRulesPortMapping' en 'Beheer State' van het type 'ILoadBalancerBackendAddress' zijn verwijderd.
  • 'InboundNatRule' en 'DrainPeriodInSecond' van het type 'IBackendAddressPool' zijn verwijderd.
  • 'Flush Verbinding maken ion' van het type 'ISubnet' is verwijderd.
  • 'AuxiliaryMode', 'VnetEncryptionSupported' en 'DisableTcpStateTracking' van het type 'INetworkInterface' zijn verwijderd.

Az.Compute

New-AzDisk

Het maken van de schijf zonder opgegeven waarden voor Image of SecurityType wordt standaard ingeschakeld als Vertrouwde start wordt ingeschakeld.

Voor

$diskconfig = New-AzDiskConfig -DiskSizeGB 127 -AccountType Premium_LRS -OsType Windows -CreateOption FromImage -Location $loc;

Na

$diskconfig = New-AzDiskConfig -DiskSizeGB 127 -AccountType Premium_LRS -OsType Windows -CreateOption FromImage -Location $loc -SecurityType "Standard";

New-AzVM

Linux-installatiekopiealiassen CentOS, Debian, RHEL en UbuntuLTS worden verwijderd. Gebruik in plaats daarvan de aliassen CentOS85Gen2, Debian11, RHELRaw8LVMGen2, Ubuntu2204.

Voor

New-AzVM -ResourceGroupName MyResourceGroup -Name mytestvm -Location $loc -Credential $cred -DomainNameLabel $domainNameLabel -Image UbuntuLTS;

Na

New-AzVM -ResourceGroupName MyResourceGroup -Name mytestvm -Location $loc -Credential $cred -DomainNameLabel $domainNameLabel -Image Ubuntu2204;

New-AzVM

Het maken van vm's zonder opgegeven image- of SecurityType-waarden wordt standaard ingeschakeld voor Vertrouwde start.

Voor

$result = New-AzVM -ResourceGroupName $rgname -Credential $vmCred -Name $vmName -DomainNameLabel $domainNameLabel ;

Na

$result = New-AzVM-ResourceGroupName $rgname -Credential $vmCred -Name $vmName -ImageName $imageName -DomainNameLabel $domainNameLabel -SecurityType "Standard";

New-AzVmss

Linux-installatiekopiealiassen CentOS, Debian, RHEL en UbuntuLTS worden verwijderd. Gebruik in plaats daarvan de aliassen CentOS85Gen2, Debian11, RHELRaw8LVMGen2, Ubuntu2204.

New-AzVmss

Het maken van VM's met deze cmdlet is nu standaard ingesteld op OrchestrationMode: Flexible. Alleen wanneer expliciet '-OrchestrationMode Uniform' wordt aangegeven, wordt er een VMSS gemaakt in de uniformindelingsmodus. UgradePolicy en SinglePlacementGroup kunnen nu ook worden ingesteld wanneer OrchestrationMode flexibel is.

Voor

New-AzVmss

Na

New-AzVmss

New-AzVmss

Het maken van VM's zonder opgegeven installatiekopie- of SecurityType-waarden wordt standaard ingeschakeld voor Vertrouwde start.

Voor

$result = New-AzVmss -ResourceGroupName $rgname -Credential $vmCred -VMScaleSetName $vmssName1 -DomainNameLabel $domainNameLabel ;

Na

$result = New-AzVmss -ResourceGroupName $rgname -Credential $vmCred -VMScaleSetName $vmssName1 -ImageName $imageName -DomainNameLabel $domainNameLabel -SecurityType "Standard";

Az.ContainerInstance

Get-AzContainerGroup

Typfouten in deze uitvoereigenschappen opgelost: 'PreviouState' 'PreviouStateDetailStatus' 'PreviouStateExitCode' 'PreviouStateFinishTime' 'PreviouStateStartTime'. De betrokken cmdlets zijn: 'Get-AzContainerGroup', 'Remove-AzContainerGroup', 'Restart-AzContainerGroup', 'Start-AzContainerGroup', 'Stop-AzContainerGroup', 'Update-AzContainerGroup', 'New-AzContainerInstanceObject', 'New-AzContainerInstanceInitDefinitionObject'

Voor

$aci = Get-AzContainerGroup -ResourceGroupName 'rg name' -Name 'aci name'
$previousState = $aci.Property.Container.PreviouState

Na

$aci = Get-AzContainerGroup -ResourceGroupName 'rg name' -Name 'aci name'
$previousState = $aci.Property.Container.PreviousState

Az.DesktopVirtualization

New-AzWvdScalingPlan

De toegestane waarde van deze parameter is gewijzigd van 'BYODesktop, Personal, Pooled' in 'Pooled'

Az.Functions

Get-AzFunctionApp

Met deze cmdlet worden de toepassingsinstellingen van de geretourneerde functie-apps opnieuw uitgevoerd en worden alleen de sleutels weergegeven terwijl eerder zowel sleutels als waarden werden geretourneerd.

Voor

Get-AzFunctionApp  -Name <AppName> -ResourceGroupName <ResourceGroupName>
Name                                                                        Value
----                                                                             -----
FUNCTIONS_EXTENSION_VERSION            ~4
WEBSITE_CONTENTAZUREFILECONNE… <connection string>
AzureWebJobsStorage                                       <connection string>
APPLICATIONINSIGHTS_CONNECTIO…   <connection string>
APPINSIGHTS_INSTRUMENTATIONKEY     <guid>
FUNCTIONS_WORKER_RUNTIME                 powershell
WEBSITE_CONTENTSHARE                            <share name>

Na

Get-AzFunctionApp  -Name <AppName> -ResourceGroupName <ResourceGroupName>
WARNING: App settings have been redacted. Use the Get-AzFunctionAppSetting cmdlet to view them.
Name                                                                        Value
----                                                                             -----
FUNCTIONS_EXTENSION_VERSION            
WEBSITE_CONTENTAZUREFILECONNE… 
AzureWebJobsStorage                                       
APPLICATIONINSIGHTS_CONNECTIO…   
APPINSIGHTS_INSTRUMENTATIONKEY     
FUNCTIONS_WORKER_RUNTIME                 
WEBSITE_CONTENTSHARE                             

Update-AzFunctionAppSetting

Deze cmdlet retourneert alleen de bijgewerkte toepassingsinstellingen terwijl ze eerder allemaal zijn geretourneerd.

Voor

Update-AzFunctionAppSetting  -Name <AppName> -ResourceGroupName <ResourceGroupName>  -AppSetting @{"foo3"="bar3"}
Name                                                                        Value
----                                                                             -----
FUNCTIONS_EXTENSION_VERSION            ~4
WEBSITE_CONTENTAZUREFILECONNE… <connection string>
foo3                                                                           bar3
AzureWebJobsStorage                                       <connection string>
APPLICATIONINSIGHTS_CONNECTIO…   <connection string>
APPINSIGHTS_INSTRUMENTATIONKEY     <guid>
FUNCTIONS_WORKER_RUNTIME                 powershell
WEBSITE_CONTENTSHARE                            <share name>

Na

Update-AzFunctionAppSetting  -Name <AppName> -ResourceGroupName <ResourceGroupName>  -AppSetting @{"foo3"="bar3"}
Name                      Value
----                           -----
foo3                         bar3

Az.KeyVault

New-AzKeyVaultManagedHsm

New-AzKeyVaultManagedHsm parameter SoftDeleteRetentionInDays wordt verplicht

Voor

New-AzKeyVaultManagedHsm -HsmName $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $adminId

Na

New-AzKeyVaultManagedHsm -HsmName $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $adminId -SoftDeleteRetentionInDays 7

Az.Monitor

Set-AzDataCollectionRule

De cmdlet Set-AzDataCollectionRule is verwijderd en er is geen alias gevonden voor de oorspronkelijke cmdlet-naam.

Voor

Set-AzDataCollectionRule -Location 'East US 2 EUAP' `
                                -ResourceGroupName 'testdcr' `
                                -RuleName 'newDcr' `
                                -RuleFile 'C:\samples\dcr1.json' `
                                -Description 'Updated Description'

Na

Update-AzDataCollectionRule -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
 [-DataCollectionEndpointId <String>] [-DataFlow <IDataFlow[]>]
 [-DataSourceDataImportEventHubConsumerGroup <String>] [-DataSourceDataImportEventHubName <String>]
 [-DataSourceDataImportEventHubStream <String>] [-DataSourceExtension <IExtensionDataSource[]>]
 [-DataSourceIisLog <IIisLogsDataSource[]>] [-DataSourceLogFile <ILogFilesDataSource[]>]
 [-DataSourcePerformanceCounter <IPerfCounterDataSource[]>]
 [-DataSourcePlatformTelemetry <IPlatformTelemetryDataSource[]>]
 [-DataSourcePrometheusForwarder <IPrometheusForwarderDataSource[]>] [-DataSourceSyslog <ISyslogDataSource[]>]
 [-DataSourceWindowsEventLog <IWindowsEventLogDataSource[]>]
 [-DataSourceWindowsFirewallLog <IWindowsFirewallLogsDataSource[]>] [-Description <String>]
 [-DestinationAzureMonitorMetricName <String>] [-DestinationEventHub <IEventHubDestination[]>]
 [-DestinationEventHubsDirect <IEventHubDirectDestination[]>]
 [-DestinationLogAnalytic <ILogAnalyticsDestination[]>]
 [-DestinationMonitoringAccount <IMonitoringAccountDestination[]>]
 [-DestinationStorageAccount <IStorageBlobDestination[]>]
 [-DestinationStorageBlobsDirect <IStorageBlobDestination[]>]
 [-DestinationStorageTablesDirect <IStorageTableDestination[]>] [-IdentityType <String>] [-Kind <String>]
 [-Location <String>] [-StreamDeclaration <Hashtable>] [-Tag <Hashtable>] [-UserAssignedIdentity <Hashtable>]
 [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]

Get-AzDataCollectionRule

De cmdlet 'Get-AzDataCollectionRule' heeft geen uitvoertype 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource'. De cmdlet 'Get-AzDataCollectionRule' ondersteunt niet langer de alias 'AzureRmContext' voor de parameter 'DefaultProfile'. De cmdlet 'Get-AzDataCollectionRule' biedt geen ondersteuning meer voor de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet 'Get-AzDataCollectionRule' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile.

Voor

Description       : DCR description
DataSources       : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources
Destinations      : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations
DataFlows         : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow}
ProvisioningState : Succeeded
Etag              : "{etag}"
Id                : /subscriptions/{subId}/resourceGroups/testgroup/providers/Microsoft.Insights/dataCollectionRules/testDcr
Name              : testDcr
Type              : Microsoft.Insights/dataCollectionRules
Location          : East US 2 EUAP
Tags              : {[tag2, value2], [tag1, value1]}

Na

DataCollectionEndpointId                  :
DataFlow                                  : {{
                                              "streams": [ "Microsoft-InsightsMetrics" ],
                                              "destinations": [ "azureMonitorMetrics-default" ]
                                            }}
DataSourceDataImportEventHubConsumerGroup :
DataSourceDataImportEventHubName          :
DataSourceDataImportEventHubStream        :
DataSourceExtension                       :
DataSourceIisLog                          :
DataSourceLogFile                         :
DataSourcePerformanceCounter              : {{
                                              "streams": [ "Microsoft-InsightsMetrics" ],
                                              "samplingFrequencyInSeconds": 60,
                                              "counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time" ],
                                              "name": "perfCounter01"
                                            }, {
                                              "streams": [ "Microsoft-Perf" ],
                                              "samplingFrequencyInSeconds": 15,
                                              "counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes",
                                            "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length" ],
                                              "name": "cloudTeamCoreCounters"
                                            }}
DataSourcePlatformTelemetry               :
DataSourcePrometheusForwarder             :
DataSourceSyslog                          :
DataSourceWindowsEventLog                 :
DataSourceWindowsFirewallLog              :
Description                               :
DestinationAzureMonitorMetricName         : azureMonitorMetrics-default
DestinationEventHub                       :
DestinationEventHubsDirect                :
DestinationLogAnalytic                    :
DestinationMonitoringAccount              :
DestinationStorageAccount                 :
DestinationStorageBlobsDirect             :
DestinationStorageTablesDirect            :
Etag                                      : "bb02d25d-0000-0100-0000-65017aed0000"
Id                                        : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule1  
IdentityPrincipalId                       :
IdentityTenantId                          :
IdentityType                              :
IdentityUserAssignedIdentity              : {
                                            }
ImmutableId                               : dcr-2eebbe7e7a974226b2ef938194ada574
Kind                                      :
Location                                  : eastus
MetadataProvisionedBy                     :
MetadataProvisionedByResourceId           :
Name                                      : myCollectionRule1
ProvisioningState                         : Succeeded
ResourceGroupName                         : AMCS-TEST
StreamDeclaration                         : {
                                            }
SystemDataCreatedAt                       : 9/13/2023 9:03:39 AM
SystemDataCreatedBy                       : v-jiaji@microsoft.com
SystemDataCreatedByType                   : User
SystemDataLastModifiedAt                  : 9/13/2023 9:03:39 AM
SystemDataLastModifiedBy                  : v-jiaji@microsoft.com
SystemDataLastModifiedByType              : User
Tag                                       : {
                                            }
Type                                      : Microsoft.Insights/dataCollectionRules

New-AzDataCollectionRule

De cmdlet 'New-AzDataCollectionRule' heeft geen uitvoertype 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource' De cmdlet 'New-AzDataCollectionRuleRule' heeft niet meer het uitvoertype 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource'. De cmdlet 'New-AzDataCollectionRule' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet 'New-AzDataCollectionRule' biedt geen ondersteuning meer voor de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet 'New-AzDataCollectionRule' biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile.

Voor

Description       : DCR description
DataSources       : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources
Destinations      : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations
DataFlows         : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow}
ProvisioningState : Succeeded
Etag              : "{etag}"
Id                : /subscriptions/{subId}/resourceGroups/testgroup/providers/Microsoft.Insights/dataCollectionRules/testDcr
Name              : testDcr
Type              : Microsoft.Insights/dataCollectionRules
Location          : East US 2 EUAP
Tags              : {[tag2, value2], [tag1, value1]}

Na

DataCollectionEndpointId                  :
DataFlow                                  : {{
                                              "streams": [ "Microsoft-InsightsMetrics" ],
                                              "destinations": [ "azureMonitorMetrics-default" ]
                                            }}
DataSourceDataImportEventHubConsumerGroup :
DataSourceDataImportEventHubName          :
DataSourceDataImportEventHubStream        :
DataSourceExtension                       :
DataSourceIisLog                          :
DataSourceLogFile                         :
DataSourcePerformanceCounter              : {{
                                              "streams": [ "Microsoft-InsightsMetrics" ],
                                              "samplingFrequencyInSeconds": 60,
                                              "counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time" ],
                                              "name": "perfCounter01"
                                            }, {
                                              "streams": [ "Microsoft-Perf" ],
                                              "samplingFrequencyInSeconds": 15,
                                              "counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes",
                                            "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length" ],
                                              "name": "cloudTeamCoreCounters"
                                            }}
DataSourcePlatformTelemetry               :
DataSourcePrometheusForwarder             :
DataSourceSyslog                          :
DataSourceWindowsEventLog                 :
DataSourceWindowsFirewallLog              :
Description                               :
DestinationAzureMonitorMetricName         : azureMonitorMetrics-default
DestinationEventHub                       :
DestinationEventHubsDirect                :
DestinationLogAnalytic                    :
DestinationMonitoringAccount              :
DestinationStorageAccount                 :
DestinationStorageBlobsDirect             :
DestinationStorageTablesDirect            :
Etag                                      : "bb02d25d-0000-0100-0000-65017aed0000"
Id                                        : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule1  
IdentityPrincipalId                       :
IdentityTenantId                          :
IdentityType                              :
IdentityUserAssignedIdentity              : {
                                            }
ImmutableId                               : dcr-2eebbe7e7a974226b2ef938194ada574
Kind                                      :
Location                                  : eastus
MetadataProvisionedBy                     :
MetadataProvisionedByResourceId           :
Name                                      : myCollectionRule1
ProvisioningState                         : Succeeded
ResourceGroupName                         : AMCS-TEST
StreamDeclaration                         : {
                                            }
SystemDataCreatedAt                       : 9/13/2023 9:03:39 AM
SystemDataCreatedBy                       : v-jiaji@microsoft.com
SystemDataCreatedByType                   : User
SystemDataLastModifiedAt                  : 9/13/2023 9:03:39 AM
SystemDataLastModifiedBy                  : v-jiaji@microsoft.com
SystemDataLastModifiedByType              : User
Tag                                       : {
                                            }
Type                                      : Microsoft.Insights/dataCollectionRules

Get-AzDataCollectionRuleAssociation

De cmdlet 'Get-AzDataCollectionRuleAssociation' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource voor de parameter 'InputObject'. De cmdlet 'Get-AzDataCollectionRuleAssociation' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter 'DefaultProfile'.

Voor

Description          :
DataCollectionRuleId : /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.I
                       nsights/dataCollectionRules/{dcrName}
ProvisioningState    :
Etag                 : "{etag}"
Id                   : /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.C
                       ompute/virtualMachines/{vmName}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{assocName}
Name                 : {assocName}
Type                 : Microsoft.Insights/dataCollectionRuleAssociations

Na

DataCollectionEndpointId        :
DataCollectionRuleId            : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule2
Description                     :
Etag                            : "20017ecf-0000-0100-0000-651147350000"
Id                              : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/amcs-test/providers/microsoft.compute/virtualmachines/monitortestvm01/providers/Microsof
                                  t.Insights/dataCollectionRuleAssociations/myCollectionRule2-association1
MetadataProvisionedBy           :
MetadataProvisionedByResourceId :
Name                            : myCollectionRule2-association1
ProvisioningState               :
ResourceGroupName               : amcs-test
SystemDataCreatedAt             : 9/25/2023 8:39:15 AM
SystemDataCreatedBy             : v-jiaji@microsoft.com
SystemDataCreatedByType         : User
SystemDataLastModifiedAt        : 9/25/2023 8:39:15 AM
SystemDataLastModifiedBy        : v-jiaji@microsoft.com
SystemDataLastModifiedByType    : User
Type                            : Microsoft.Insights/dataCollectionRuleAssociations

New-AzDataCollectionRuleAssociation

De cmdlet 'New-AzDataCollectionRuleAssociation' biedt geen ondersteuning meer voor de parameter InputObject en er is geen alias gevonden voor de oorspronkelijke parameternaam. De cmdlet 'New-AzDataCollectionRuleAssociation' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet 'New-AzDataCollectionRuleAssociation' ondersteunt niet langer de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet 'New-AzDataCollectionRuleAssociation' ondersteunt niet langer de alias 'AzureRmContext' voor de parameter 'DefaultProfile'. De parameterset 'ByInputObject' voor cmdlet 'New-AzDataCollectionRuleAssociation' is verwijderd.

Voor

$dcr = Get-AzDataCollectionRule -ResourceGroupName $rg -RuleName $dcrName
$vmId = '/subscriptions/{subId}/resourceGroups/{resourcegroup}/providers/Microsoft.Compute/virtualMachines/{vmName}'
$dcr | New-AzDataCollectionRuleAssociation -TargetResourceId $vmId -AssociationName "dcrAssocInput"

Na

New-AzDataCollectionRuleAssociation -AssociationName myCollectionRule2-association1 -ResourceUri /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourcegroups/amcs-test/providers/microsoft.compute/virtualmachines/monitortestvm01 -DataCollectionRuleId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule2

Remove-AzDataCollectionRule

De cmdlet Remove-AzDataCollectionRule biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource voor parameter 'InputObject'. De cmdlet Remove-AzDataCollectionRule biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet Remove-AzDataCollectionRule biedt geen ondersteuning meer voor de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet Remove-AzDataCollectionRule biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile.

Voor

Get-AzDataCollectionRule -ResourceGroupName "testdcr" -RuleName "dcrFromPipe95" | Remove-AzDataCollectionRule

Na

Get-AzDataCollectionRule -ResourceGroupName "testdcr" -RuleName "dcrFromPipe95" | Remove-AzDataCollectionRule

Remove-AzDataCollectionRuleAssociation

De cmdlet Remove-AzDataCollectionRuleAssociation biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleAssociationProxyOnlyResource voor de parameter 'InputObject'. De cmdlet Remove-AzDataCollectionRuleAssociation biedt geen ondersteuning meer voor de parameter 'AssociationId' en er is geen alias gevonden voor de oorspronkelijke parameternaam. De cmdlet Remove-AzDataCollectionRuleAssociation biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet Remove-AzDataCollectionRuleAssociation biedt geen ondersteuning meer voor de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet Remove-AzDataCollectionRuleAssociation biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile. De parameterset 'ByResourceId' voor cmdlet 'Remove-AzDataCollectionRuleAssociation' is verwijderd.

Voor

$dcrAssoc | Remove-AzDataCollectionRuleAssociation
Remove-AzDataCollectionRuleAssociation -AssociationId $dcrAssoc.Id

Na

$dcrAssoc | Remove-AzDataCollectionRuleAssociation
Remove-AzDataCollectionRuleAssociation -InputObject $dcrAssoc.Id

Update-AzDataCollectionRule

De cmdlet Update-AzDataCollectionRule heeft niet langer het uitvoertype Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource. De cmdlet 'Update-AzDataCollectionRule' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource voor parameter 'InputObject'. De cmdlet 'Update-AzDataCollectionRule' biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet 'Update-AzDataCollectionRule' ondersteunt niet langer de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet 'Update-AzDataCollectionRule' biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile.

Voor

$dcr = Get-AzDataCollectionRule -ResourceGroupName "testdcr" -Name "newDcr"
$dcr | Update-AzDataCollectionRule -Tag @{"tag1"="value1"; "tag2"="value2"}

Na

$dcr = Get-AzDataCollectionRule -ResourceGroupName "testdcr" -Name "newDcr"
$dcr | Update-AzDataCollectionRule -Tag @{"tag1"="value1"; "tag2"="value2"}

Get-AzActionGroup

De cmdlet 'Get-AzActionGroup' heeft geen uitvoertype 'Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupResource'. De cmdlet Get-AzActionGroup biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet 'Get-AzActionGroup' ondersteunt niet langer de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet 'Get-AzActionGroup' biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile.

Voor

Get-AzActionGroup -ResourceGroupName "Default-activityLogAlerts" -Name "actionGroup1"

Na

Get-AzActionGroup -ResourceGroupName "Default-activityLogAlerts" -Name "actionGroup1"

ArmRoleReceiver           : {}
AutomationRunbookReceiver : {}
AzureAppPushReceiver      : {}
AzureFunctionReceiver     : {}
EmailReceiver             : {}
Enabled                   : False
EventHubReceiver          : {}
GroupShortName            : ag1
Id                        : /subscriptions/{subid}/resourceGroups/Monitor-Action/providers/microsoft.insights/actionGroups/actiongroup1
ItsmReceiver              : {}
Location                  : northcentralus
LogicAppReceiver          : {}
Name                      : actiongroup1
ResourceGroupName         : Monitor-Action
SmsReceiver               : {}
Tag                       : {
                            }
Type                      : Microsoft.Insights/ActionGroups
VoiceReceiver             : {}
WebhookReceiver           : {}

Remove-AzActionGroup

De cmdlet Remove-AzActionGroup biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupResource voor parameter 'InputObject'. De parameterset ByResourceId voor cmdlet Remove-AzActionGroup is verwijderd. De cmdlet Remove-AzActionGroup ondersteunt de parameter ResourceId niet meer en er is geen alias gevonden voor de oorspronkelijke parameternaam. De cmdlet Remove-AzActionGroup heeft geen uitvoertype 'Microsoft.Azure.AzureOperationResponse'. De cmdlet Remove-AzActionGroup biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet Remove-AzActionGroup ondersteunt niet langer de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet Remove-AzActionGroup biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile.

Voor

Remove-AzActionGroup -ResourceGroupName "Default-Web-CentralUS" -Name "myActionGroup"

RequestId                                                                                                    StatusCode
---------                                                                                                    ----------
2c6c159b-0e73-4a01-a67b-c32c1a0008a3                                                                                 OK

Na

Remove-AzActionGroup -ResourceGroupName Monitor-Action -Name actiongroup1 --PassThur

True

Set-AzActionGroup

De cmdlet Set-AzActionGroup is verwijderd en er is geen alias gevonden voor de oorspronkelijke cmdlet-naam.

Voor

$email1 = New-AzActionGroupReceiver -Name 'user1' -EmailReceiver -EmailAddress 'user1@example.com'
$sms1 = New-AzActionGroupReceiver -Name 'user2' -SmsReceiver -CountryCode '1' -PhoneNumber '5555555555'
Set-AzActionGroup -Name $actionGroupName -ResourceGroupName $resourceGroupName -ShortName $shortName -Receiver $email1,$sms1

Na

$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
New-AzActionGroup -Name 'actiongroup1' -ResourceGroupName 'Monitor-Action' -Location northcentralus -GroupShortName ag1 -EmailReceiver $email1 -SmsReceiver $sms1

Test-AzActionGroup

De cmdlet Test-AzActionGroup biedt geen ondersteuning meer voor het type System.Collections.Generic.List 1[Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupReceiverBase] voor parameter 'Receiver'. De cmdlet Test-AzActionGroup heeft geen uitvoertype 'Microsoft.Azure.Commands.Insights.OutputClasses.PSTestNotificationDetailsResponse'. De parameterset 'ByPropertyName' voor cmdlet 'Test-AzActionGroup' is niet langer de standaardparameterset. De cmdlet Test-AzActionGroup biedt geen ondersteuning meer voor het type Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer voor de parameter DefaultProfile. De cmdlet Test-AzActionGroup biedt geen ondersteuning meer voor de alias 'AzContext' voor de parameter 'DefaultProfile'. De cmdlet Test-AzActionGroup biedt geen ondersteuning meer voor de alias AzureRmContext voor de parameter DefaultProfile. De parameterset 'ByPropertyName' voor cmdlet 'Test-AzActionGroup' is verwijderd.

Voor

$email = New-AzActionGroupReceiver -Name 'user1' -EmailReceiver -EmailAddress 'test@test.example.com'
Test-AzActionGroup -AlertType servicehealth -Receiver $email -ResourceGroupName "test-RG" -ActionGroupName "test-AG"

Na

$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode 86 -Name user1 -PhoneNumber 'phonenumber'
$email2 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user2
Test-AzActionGroup -ActionGroupName actiongroup1 -ResourceGroupName monitor-action -AlertType servicehealth -Receiver $email2,$sms1

ActionDetail              : {{
                              "MechanismType": "Email",
                              "Name": "user2",
                              "Status": "Succeeded",
                              "SubState": "Default",
                              "SendTime": "2023-11-08T05:16:09.6280455+00:00"
                            }, {
                              "MechanismType": "Sms",
                              "Name": "user1",
                              "Status": "Succeeded",
                              "SubState": "Default",
                              "SendTime": "2023-11-08T05:16:09.642967+00:00"
                            }}
CompletedTime             : 2023-11-08T05:18:10.6755827+00:00
ContextNotificationSource : Microsoft.Insights/TestNotification
ContextType               : Microsoft.Insights/ServiceHealth
CreatedTime               : 2023-11-08T05:16:00.7951739+00:00
State                     : Complete

New-AzActionGroupReceiver

De cmdlet New-AzActionGroupReceiver is verwijderd en er is geen alias gevonden voor de oorspronkelijke cmdlet-naam.

Voor

$emailReceiver = New-AzActionGroupReceiver -Name 'emailReceiver1' -EmailReceiver -EmailAddress 'user1@example.com'

Na

$emailReceiver = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1

Az.Network

New-AzApplicationGatewayFirewallCustomRuleGroupByVariable

'Geo' is geen geldige invoer voor de parameter VariableName in NewAzureApplicationGatewayFirewallCustomRuleGroupByVariable

Az.PowerBIEmbedded

Remove-AzPowerBIWorkspaceCollection

De cmdlet Remove-AzPowerBIWorkspaceCollection is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

Get-AzPowerBIWorkspaceCollection

De cmdlet 'Get-AzPowerBIWorkspaceCollection' is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

Get-AzPowerBIWorkspaceCollectionAccessKey

De cmdlet Get-AzPowerBIWorkspaceCollectionAccessKey is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

Get-AzPowerBIWorkspace

De cmdlet 'Get-AzPowerBIWorkspace' is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

New-AzPowerBIWorkspaceCollection

De cmdlet New-AzPowerBIWorkspaceCollection is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

Reset-AzPowerBIWorkspaceCollectionAccessKey

De cmdlet Reset-AzPowerBIWorkspaceCollectionAccessKey is verwijderd omdat werkruimteverzameling niet meer wordt ondersteund

AZ. Opslag

Get-AzStorageQueueStoredAcessPolicy

Machtigingen in het toegangsbeleid voor ouput worden gewijzigd in een tekenreeks zoals 'raup'

New-AzStorageAccountSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageBlobSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageContainerSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageFileSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageQueueSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageShareSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

New-AzStorageTableSasToken

Het voorloopvraagteken '?' van het gemaakte SAS-token wordt verwijderd

Set-AzStorageQueueStoredAccessPolicy

Machtigingen in het toegangsbeleid voor ouput worden gewijzigd in een tekenreeks zoals 'raup'