ProximityPlacementGroupsOperationsExtensions.CreateOrUpdateAsync 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.
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.