共用方式為


PacketCoreDataPlaneCollection.CreateOrUpdate Method

Definition

Creates or updates a packet core data plane. Must be created in the same location as its parent packet core control plane.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}
  • Operation Id: PacketCoreDataPlanes_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: PacketCoreDataPlaneResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string packetCoreDataPlaneName, Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.PacketCoreDataPlaneResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, packetCoreDataPlaneName As String, data As PacketCoreDataPlaneData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PacketCoreDataPlaneResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

packetCoreDataPlaneName
String

The name of the packet core data plane.

data
PacketCoreDataPlaneData

Parameters supplied to the create or update packet core data plane operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

packetCoreDataPlaneName is an empty string, and was expected to be non-empty.

packetCoreDataPlaneName or data is null.

Applies to