NetworkFabricIPExtendedCommunityCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string ipExtendedCommunityName, Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPExtendedCommunityResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, ipExtendedCommunityName As String, data As NetworkFabricIPExtendedCommunityData, Optional cancellationToken As CancellationToken = Nothing) As 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