New-AzPlatformTelemetryDataSourceObject

Hozzon létre egy memórián belüli objektumot a PlatformTelemetryDataSource-hoz.

Syntax

New-AzPlatformTelemetryDataSourceObject
   -Stream <String[]>
   [-Name <String>]
   [<CommonParameters>]

Description

Hozzon létre egy memórián belüli objektumot a PlatformTelemetryDataSource-hoz.

Példák

1. példa: Platformszintű telemetriai adatforrás-objektum létrehozása

New-AzPlatformTelemetryDataSourceObject -Stream "Microsoft.Insights/autoscalesettings:Logs-AutoscaleEvaluations","Microsoft.Insights/autoscalesettings:Logs-AutoscaleScaleActions" -Name "myAutoScalePlatformTelemetryLogs"

Name                             Stream
----                             ------
myAutoScalePlatformTelemetryLogs {Microsoft.Insights/autoscalesettings:Logs-AutoscaleEvaluations, Microsoft.Insights/autoscalesettings:Logs-AutoscaleScaleActions}

Ez a parancs létrehoz egy platform telemetriai adatforrás-objektumot az XPathQuery használatával.

Paraméterek

-Name

Az adatforrás rövid neve. Ennek a névnek egyedinek kell lennie az adatgyűjtési szabály minden adatforrásában (típustól függetlenül).

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Stream

A gyűjtendő platformszintű telemetriai streamek listája.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Kimenetek

PlatformTelemetryDataSource