StacClient.CreateCollection Method

Definition

Overloads

Name Description
CreateCollection(WaitUntil, StacCollection, CancellationToken)

Create a new collection in the GeoCatalog instance.

CreateCollection(WaitUntil, RequestContent, RequestContext)

Create a new collection in the GeoCatalog instance.

CreateCollection(WaitUntil, StacCollection, CancellationToken)

Source:
StacClient.cs

Create a new collection in the GeoCatalog instance.

public virtual Azure.Operation CreateCollection(Azure.WaitUntil waitUntil, Azure.Analytics.PlanetaryComputer.StacCollection body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateCollection : Azure.WaitUntil * Azure.Analytics.PlanetaryComputer.StacCollection * System.Threading.CancellationToken -> Azure.Operation
override this.CreateCollection : Azure.WaitUntil * Azure.Analytics.PlanetaryComputer.StacCollection * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function CreateCollection (waitUntil As WaitUntil, body As StacCollection, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

body
StacCollection

Request collection body.

cancellationToken
CancellationToken

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

Returns

Exceptions

body is null.

Applies to

CreateCollection(WaitUntil, RequestContent, RequestContext)

Source:
StacClient.cs

Create a new collection in the GeoCatalog instance.

public virtual Azure.Operation CreateCollection(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member CreateCollection : Azure.WaitUntil * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
override this.CreateCollection : Azure.WaitUntil * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
Public Overridable Function CreateCollection (waitUntil As WaitUntil, content As RequestContent, Optional context As RequestContext = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

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.

Applies to