Share via


NetworkFabricAccessControlListCollection.CreateOrUpdate Method

Definition

Implements Access Control List PUT method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}
  • Operation Id: AccessControlLists_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string accessControlListName, Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricAccessControlListResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, accessControlListName As String, data As NetworkFabricAccessControlListData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkFabricAccessControlListResource)

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.

accessControlListName
String

Name of the Access Control List.

data
NetworkFabricAccessControlListData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

accessControlListName or data is null.

Applies to