Share via


NetworkFabricIPExtendedCommunityCollection.CreateOrUpdateAsync Method

Definition

Implements IP Extended Community PUT method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}
  • Operation Id: IpExtendedCommunities_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string ipExtendedCommunityName, Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, ipExtendedCommunityName As String, data As NetworkFabricIPExtendedCommunityData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkFabricIPExtendedCommunityResource))

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.

ipExtendedCommunityName
String

Name of the IP Extended Community.

data
NetworkFabricIPExtendedCommunityData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

ipExtendedCommunityName or data is null.

Applies to