ProximityPlacementGroupsOperationsExtensions.CreateOrUpdateAsync(IProximityPlacementGroupsOperations, String, String, ProximityPlacementGroup, CancellationToken) Method

Definition

Create or update a proximity placement group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName, Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>

Parameters

operations
IProximityPlacementGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

proximityPlacementGroupName
String

The name of the proximity placement group.

parameters
ProximityPlacementGroup

Parameters supplied to the Create Proximity Placement Group operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to