Udostępnij za pośrednictwem


AffinityGroupOperationsExtensions.CreateAsync Method

Definition

The Create Affinity Group operation creates a new affinity group for the specified subscription. (see http://msdn.microsoft.com/en-us/library/windowsazure/gg715317.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync (this Microsoft.WindowsAzure.Management.IAffinityGroupOperations operations, Microsoft.WindowsAzure.Management.Models.AffinityGroupCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.IAffinityGroupOperations * Microsoft.WindowsAzure.Management.Models.AffinityGroupCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateAsync (operations As IAffinityGroupOperations, parameters As AffinityGroupCreateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IAffinityGroupOperations

Reference to the Microsoft.WindowsAzure.Management.IAffinityGroupOperations.

parameters
AffinityGroupCreateParameters

Required. Parameters supplied to the Create Affinity Group operation.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to