< Back

New-AzureRmOperationalInsightsLinuxPerformanceObjectDataSource

Thu Apr 04, 2019 5:40 am

NAME New-AzureRmOperationalInsightsLinuxPerformanceObjectDataSource



SYNOPSIS

Adds performance counters to all Linux computers in a workspace.





SYNTAX

New-AzureRmOperationalInsightsLinuxPerformanceObjectDataSource [-ResourceGroupName] <String> [-WorkspaceName] <String> [-Name] <String>

[-ObjectName] <String> [-CounterNames] <String[]> [-DefaultProfile <IAzureContextContainer>] [-Force] [-InstanceName <String>] [-IntervalSeconds

<Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



New-AzureRmOperationalInsightsLinuxPerformanceObjectDataSource [-Workspace] <PSWorkspace> [-Name] <String> [-ObjectName] <String> [-CounterNames]

<String[]> [-DefaultProfile <IAzureContextContainer>] [-Force] [-InstanceName <String>] [-IntervalSeconds <Int32>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The New-AzureRmOperationalInsightsLinuxPerformanceObjectDataSource cmdlet adds performance counters from which Azure Operational Insights collects

data to all Linux computers in a workspace.





PARAMETERS

-CounterNames <String[]>

Specifies an array of names of counters.



Required? true

Position? 5

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-InstanceName <String>

Specifies an instance name.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IntervalSeconds <Int32>

Specifies the interval of collection.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies a name for the data source.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ObjectName <String>

Specifies the name of an object.



Required? true

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group that contains Linux computers.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Workspace <PSWorkspace>

Specifies a workspace in which this cmdlet operates.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WorkspaceName <String>

Specifies the name of a workspace in which this cmdlet operates.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSWorkspace

Parameter 'Workspace' accepts value of type 'PSWorkspace' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource







NOTES









1:















RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... datasource

Disable-AzureRmOperationalInsightsLinuxPerformanceCollection

Enable-AzureRmOperationalInsightsLinuxPerformanceCollection