Share via


AIProjectDatasetsOperations.GetDatasetVersionsAsync Method

Definition

Overloads

GetDatasetVersionsAsync(String, RequestOptions)

[Protocol Method] List all versions of the given DatasetVersion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetDatasetVersionsAsync(String, CancellationToken)

List all versions of the given DatasetVersion.

GetDatasetVersionsAsync(String, RequestOptions)

Source:
AIProjectDatasetsOperations.cs

[Protocol Method] List all versions of the given DatasetVersion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetDatasetVersionsAsync(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member GetDatasetVersionsAsync : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetDatasetVersionsAsync : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetDatasetVersionsAsync (name As String, options As RequestOptions) As AsyncCollectionResult

Parameters

name
String

The name of the resource.

options
RequestOptions

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

name is null.

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

Service returned a non-success status code.

Applies to

GetDatasetVersionsAsync(String, CancellationToken)

Source:
AIProjectDatasetsOperations.cs

List all versions of the given DatasetVersion.

public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset> GetDatasetVersionsAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatasetVersionsAsync : string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset>
override this.GetDatasetVersionsAsync : string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset>
Public Overridable Function GetDatasetVersionsAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of AIProjectDataset)

Parameters

name
String

The name of the resource.

cancellationToken
CancellationToken

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

Returns

Exceptions

name is null.

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

Service returned a non-success status code.

Applies to