AgentInsightMonitors.UpdateInsight Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Protocol Method] Update the lifecycle status of an insight.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult UpdateInsight(string monitorId, string insightId, System.ClientModel.BinaryContent content, System.ClientModel.Primitives.RequestOptions options = default);
abstract member UpdateInsight : string * string * System.ClientModel.BinaryContent * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.UpdateInsight : string * string * System.ClientModel.BinaryContent * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function UpdateInsight (monitorId As String, insightId As String, content As BinaryContent, Optional options As RequestOptions = Nothing) As ClientResult
Parameters
- monitorId
- String
The identifier of the monitor.
- insightId
- String
The identifier of the insight.
- content
- BinaryContent
The content to send as the body of the request.
- options
- RequestOptions
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
monitorId, insightId or content is null.
monitorId or insightId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.