Share via


AIProjectDatasetsOperations.GetDatasetVersions Method

Definition

Overloads

GetDatasetVersions(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.
GetDatasetVersions(String, CancellationToken)

List all versions of the given DatasetVersion.

GetDatasetVersions(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.CollectionResult GetDatasetVersions(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member GetDatasetVersions : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetDatasetVersions : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetDatasetVersions (name As String, options As RequestOptions) As CollectionResult

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

GetDatasetVersions(String, CancellationToken)

Source:
AIProjectDatasetsOperations.cs

List all versions of the given DatasetVersion.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDataset> GetDatasetVersions(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatasetVersions : string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDataset>
override this.GetDatasetVersions : string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDataset>
Public Overridable Function GetDatasetVersions (name As String, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(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