ExpansionJobCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an expansion job.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}
- Operation Id: expansionJobs_Get
- Default Api Version: 2026-01-01
- Resource: ExpansionJobResource
public virtual Azure.Response<Azure.ResourceManager.StorageCache.ExpansionJobResource> Get(string expansionJobName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageCache.ExpansionJobResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageCache.ExpansionJobResource>
Public Overridable Function Get (expansionJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpansionJobResource)
Parameters
- expansionJobName
- String
Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
expansionJobName is an empty string, and was expected to be non-empty.
expansionJobName is null.