TemplateImageOperationsExtensions.EnsureStorageInRegionAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> EnsureStorageInRegionAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations operations, string region);
static member EnsureStorageInRegionAsync : Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
<Extension()>
Public Function EnsureStorageInRegionAsync (operations As ITemplateImageOperations, region As String) As Task(Of OperationResultWithTrackingId)

Parameters

operations
ITemplateImageOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations.

region
String

Required. Azure datacenter region.

Returns

The response containing the operation tracking id.

Applies to