TemplateImageOperationsExtensions.SetAsync Method

Definition

Sets a template image details. If the template image already exists, only the Name can be changed.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.TemplateImageResult> SetAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations operations, Microsoft.WindowsAzure.Management.RemoteApp.Models.TemplateImageDetails imageDetails);
static member SetAsync : Microsoft.WindowsAzure.Management.RemoteApp.ITemplateImageOperations * Microsoft.WindowsAzure.Management.RemoteApp.Models.TemplateImageDetails -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.TemplateImageResult>
<Extension()>
Public Function SetAsync (operations As ITemplateImageOperations, imageDetails As TemplateImageDetails) As Task(Of TemplateImageResult)

Parameters

operations
ITemplateImageOperations

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

imageDetails
TemplateImageDetails

Required. Details for the template image to be created or updated.

Returns

Operation response for TemplateImageOperations.Get.

Applies to