IngestionClient.Create Method

Definition

Overloads

Name Description
Create(String, IngestionInformation, CancellationToken)

Create a new ingestion.

Create(String, RequestContent, RequestContext)

[Protocol Method] Create a new ingestion

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

Create(String, IngestionInformation, CancellationToken)

Source:
IngestionClient.cs

Create a new ingestion.

public virtual Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionInformation> Create(string collectionId, Azure.Analytics.PlanetaryComputer.IngestionInformation body, System.Threading.CancellationToken cancellationToken = default);
abstract member Create : string * Azure.Analytics.PlanetaryComputer.IngestionInformation * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionInformation>
override this.Create : string * Azure.Analytics.PlanetaryComputer.IngestionInformation * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionInformation>
Public Overridable Function Create (collectionId As String, body As IngestionInformation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IngestionInformation)

Parameters

collectionId
String

Catalog collection id.

body
IngestionInformation

Definition of the ingestion.

cancellationToken
CancellationToken

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

Returns

Exceptions

collectionId or body is null.

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

Service returned a non-success status code.

Applies to

Create(String, RequestContent, RequestContext)

Source:
IngestionClient.cs

[Protocol Method] Create a new ingestion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response Create(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member Create : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Create : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function Create (collectionId As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

collectionId
String

Catalog collection 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

collectionId or content is null.

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

Service returned a non-success status code.

Applies to