Udostępnij za pośrednictwem


ProximityPlacementGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a proximity placement group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName, Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IProximityPlacementGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProximityPlacementGroupsOperations, resourceGroupName As String, proximityPlacementGroupName As String, parameters As ProximityPlacementGroupInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProximityPlacementGroupInner)

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
ProximityPlacementGroupInner

Parameters supplied to the Create Proximity Placement Group operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to