다음을 통해 공유


AutoExportJobCollection.GetAsync(String, CancellationToken) Method

Definition

Returns an auto export job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}
  • Operation Id: autoExportJobs_Get
  • Default Api Version: 2025-07-01
  • Resource: AutoExportJobResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageCache.AutoExportJobResource>> GetAsync(string autoExportJobName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageCache.AutoExportJobResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageCache.AutoExportJobResource>>
Public Overridable Function GetAsync (autoExportJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutoExportJobResource))

Parameters

autoExportJobName
String

Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

autoExportJobName is null.

Applies to