Skip to content

Commit a2ae317

Browse files
committed
update docs
1 parent 85ec5b3 commit a2ae317

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

Documentation/Import-LMLogicModule.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Import-LMLogicModule
99

1010
## SYNOPSIS
11-
Imports a LogicModule into LogicMonitor.
11+
\[DEPRECATED\] Imports a LogicModule into LogicMonitor using legacy endpoints.
1212

1313
## SYNTAX
1414

@@ -25,6 +25,9 @@ Import-LMLogicModule -File <Object> [-Type <String>] [-ForceOverwrite <Boolean>]
2525
```
2626

2727
## DESCRIPTION
28+
DEPRECATED: This function uses legacy import endpoints and will be removed in a future version.
29+
Please use Import-LMLogicModuleFromFile instead, which uses the newer XML/JSON import endpoints with better error handling and additional features.
30+
2831
The Import-LMLogicModule function imports a LogicModule from a file path or file data.
2932
Supports various module types including datasource, propertyrules, eventsource, topologysource, configsource, logsource, functions, and oids.
3033

@@ -132,6 +135,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
132135
133136
### Returns a success message if the import is successful.
134137
## NOTES
138+
DEPRECATED: This cmdlet will be removed in a future version.
139+
Use Import-LMLogicModuleFromFile instead.
140+
135141
You must run Connect-LMAccount before running this command.
136142
Requires PowerShell version 6.1 or higher.
137143

Documentation/Remove-LMUptimeDevice.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
153153
### System.Management.Automation.PSCustomObject
154154
## NOTES
155155
You must run Connect-LMAccount before invoking this cmdlet.
156-
Requests target
157-
/device/devices/{id}?deleteHard={bool} with X-Version 3.
158156
159157
## RELATED LINKS

Documentation/Set-LMUptimeDevice.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
616616
### LogicMonitor.LMUptimeDevice
617617
## NOTES
618618
You must run Connect-LMAccount before invoking this cmdlet.
619-
Requests are issued to
620-
/device/devices/{id} with X-Version 3 and return LogicMonitor.LMUptimeDevice objects.
621619
622620
## RELATED LINKS

0 commit comments

Comments
 (0)