Dela via


ProximityPlacementGroupsOperationsExtensions.CreateOrUpdateAsync 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 = default);
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>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProximityPlacementGroupsOperations, resourceGroupName As String, proximityPlacementGroupName As String, parameters As ProximityPlacementGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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