IngestionClient.CreateRunAsync 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 |
|---|---|
| CreateRunAsync(String, Guid, CancellationToken) |
Create a new run of an ingestion. |
| CreateRunAsync(String, Guid, RequestContext) |
[Protocol Method] Create a new run of an ingestion
|
CreateRunAsync(String, Guid, CancellationToken)
- Source:
- IngestionClient.cs
Create a new run of an ingestion.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionRun>> CreateRunAsync(string collectionId, Guid ingestionId, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRunAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionRun>>
override this.CreateRunAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.IngestionRun>>
Public Overridable Function CreateRunAsync (collectionId As String, ingestionId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IngestionRun))
Parameters
- collectionId
- String
Catalog collection id.
- ingestionId
- Guid
Ingestion id.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
collectionId is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
CreateRunAsync(String, Guid, RequestContext)
- Source:
- IngestionClient.cs
[Protocol Method] Create a new run of an ingestion
- 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> CreateRunAsync(string collectionId, Guid ingestionId, Azure.RequestContext context);
abstract member CreateRunAsync : string * Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CreateRunAsync : string * Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CreateRunAsync (collectionId As String, ingestionId As Guid, context As RequestContext) As Task(Of Response)
Parameters
- collectionId
- String
Catalog collection id.
- ingestionId
- Guid
Ingestion 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
collectionId is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.