Share via


Insights.Get Method

Definition

Overloads

Name Description
Get(String, Nullable<Boolean>, RequestOptions)

[Protocol Method] Get a specific insight by Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
Get(String, Nullable<Boolean>, CancellationToken)

Get a specific insight by Id.

Get(String, Nullable<Boolean>, RequestOptions)

Source:
Insights.cs

[Protocol Method] Get a specific insight by Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult Get(string id, bool? includeCoordinates, System.ClientModel.Primitives.RequestOptions options);
abstract member Get : string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.Get : string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function Get (id As String, includeCoordinates As Nullable(Of Boolean), options As RequestOptions) As ClientResult

Parameters

id
String

The unique identifier for the insights report.

includeCoordinates
Nullable<Boolean>

Whether to include coordinates for visualization in the response. Defaults to false.

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

id is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

Get(String, Nullable<Boolean>, CancellationToken)

Source:
Insights.cs

Get a specific insight by Id.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Insight> Get(string id, bool? includeCoordinates = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Insight>
override this.Get : string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Insight>
Public Overridable Function Get (id As String, Optional includeCoordinates As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of Insight)

Parameters

id
String

The unique identifier for the insights report.

includeCoordinates
Nullable<Boolean>

Whether to include coordinates for visualization in the response. Defaults to false.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

id is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to