IngestionClient.ReplaceSourceAsync Method

Definition

Overloads

Name Description
ReplaceSourceAsync(Guid, IngestionSource, CancellationToken)

Update an existing ingestion source in a geo-catalog.

ReplaceSourceAsync(Guid, RequestContent, RequestContext)

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

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

ReplaceSourceAsync(Guid, IngestionSource, CancellationToken)

Source:
IngestionClient.cs

Update an existing ingestion source in a geo-catalog.

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

Parameters

sourceId
Guid

Ingestion source id.

body
IngestionSource

Definition of the ingestion source.

cancellationToken
CancellationToken

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

Returns

Exceptions

body is null.

Service returned a non-success status code.

Applies to

ReplaceSourceAsync(Guid, RequestContent, RequestContext)

Source:
IngestionClient.cs

[Protocol Method] Update an existing 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> ReplaceSourceAsync(Guid sourceId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ReplaceSourceAsync : Guid * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.ReplaceSourceAsync : Guid * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ReplaceSourceAsync (sourceId As Guid, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

sourceId
Guid

Ingestion source id.

content
RequestContent

The content to send as the body of the request.

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

content is null.

Service returned a non-success status code.

Applies to