IngestionClient.GetSource 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.
Overloads
| Name | Description |
|---|---|
| GetSource(Guid, RequestContext) |
[Protocol Method] Get an ingestion source in a geo-catalog
|
| GetSource(Guid, CancellationToken) |
Get an ingestion source in a geo-catalog. |
GetSource(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 Azure.Response GetSource(Guid sourceId, Azure.RequestContext context);
abstract member GetSource : Guid * Azure.RequestContext -> Azure.Response
override this.GetSource : Guid * Azure.RequestContext -> Azure.Response
Public Overridable Function GetSource (sourceId As Guid, context As RequestContext) As 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
GetSource(Guid, CancellationToken)
- Source:
- IngestionClient.cs
Get an ingestion source in a geo-catalog.
public virtual Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource> GetSource(Guid sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSource : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource>
override this.GetSource : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionSource>
Public Overridable Function GetSource (sourceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As 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.