AffinityGroupOperationsExtensions.CreateAsync 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.
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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET