ITemplateImageOperations.EnsureStorageInRegionAsync Method

Definition

Ensures storage is ready for the given region. Call this before uploading an image.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> EnsureStorageInRegionAsync (string region, System.Threading.CancellationToken cancellationToken);
abstract member EnsureStorageInRegionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
Public Function EnsureStorageInRegionAsync (region As String, cancellationToken As CancellationToken) As Task(Of OperationResultWithTrackingId)

Parameters

region
String

Azure datacenter region.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response containing the operation tracking id.

Applies to