IngestionClient.GetSourceAsync Method

Definition

Overloads

Name Description
GetSourceAsync(Guid, RequestContext)

[Protocol Method] Get an ingestion source in a geo-catalog

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetSourceAsync(Guid, CancellationToken)

Get an ingestion source in a geo-catalog.

GetSourceAsync(Guid, RequestContext)

Source:
IngestionClient.cs

[Protocol Method] Get an ingestion source in a geo-catalog

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetSourceAsync(Guid sourceId, Azure.RequestContext context);
abstract member GetSourceAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetSourceAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetSourceAsync (sourceId As Guid, context As RequestContext) As Task(Of Response)

Parameters

sourceId
Guid

Ingestion source id.

context
RequestContext

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

Service returned a non-success status code.

Applies to

GetSourceAsync(Guid, CancellationToken)

Source:
IngestionClient.cs

Get an ingestion source in a geo-catalog.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource>> GetSourceAsync(Guid sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource>>
override this.GetSourceAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource>>
Public Overridable Function GetSourceAsync (sourceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IngestionSource))

Parameters

sourceId
Guid

Ingestion source id.

cancellationToken
CancellationToken

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

Returns

Exceptions

Service returned a non-success status code.

Applies to