New-LMDatasourceOverviewGraph
Syntax
Section titled “Syntax”New-LMDatasourceOverviewGraph -RawObject <Object> -DatasourceId <Object> [-WhatIf] [-Confirm] [<CommonParameters>]dsName
Section titled “dsName”New-LMDatasourceOverviewGraph -RawObject <Object> -DatasourceName <Object> [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”The New-LMDatasourceOverviewGraph function creates a new overview graph for a specified datasource in LogicMonitor.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Create overview graph using datasource IDNew-LMDatasourceOverviewGraph -RawObject $graphConfig -DatasourceId 123EXAMPLE 2
Section titled “EXAMPLE 2”#Create overview graph using datasource nameNew-LMDatasourceOverviewGraph -RawObject $graphConfig -DatasourceName "MyDatasource"Parameters
Section titled “Parameters”-Confirm
Section titled “-Confirm”Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- cfParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-DatasourceId
Section titled “-DatasourceId”The ID of the datasource for which to create the overview graph. Required for dsId parameter set.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: dsId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-DatasourceName
Section titled “-DatasourceName”The name of the datasource for which to create the overview graph. Required for dsName parameter set.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: dsName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-RawObject
Section titled “-RawObject”The raw object representing the graph configuration. Use Get-LMDatasourceOverviewGraph to see the expected format.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-WhatIf
Section titled “-WhatIf”Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- wiParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.