Compartir a través de


MachineLearningRegistryResource.GetBlobReferenceSasRegistryDataReferenceAsync Method

Definition

Get blob reference SAS Uri.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/datareferences/{name}/versions/{version}
  • Operation Id: RegistryDataReferences_GetBlobReferenceSas
  • Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasResult>> GetBlobReferenceSasRegistryDataReferenceAsync (string name, string version, Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBlobReferenceSasRegistryDataReferenceAsync : string * string * Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasResult>>
override this.GetBlobReferenceSasRegistryDataReferenceAsync : string * string * Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.BlobReferenceSasResult>>
Public Overridable Function GetBlobReferenceSasRegistryDataReferenceAsync (name As String, version As String, content As BlobReferenceSasContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlobReferenceSasResult))

Parameters

name
String

Data reference name.

version
String

Version identifier.

content
BlobReferenceSasContent

Asset id and blob uri.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

name, version or content is null.

Applies to