Dela via


ScopeAssignmentResource.Update Method

Definition

Creates a scope assignment.

  • Request Path: /{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}
  • Operation Id: ScopeAssignments_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetwork.ScopeAssignmentResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.ManagedNetwork.ScopeAssignmentData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.ManagedNetwork.ScopeAssignmentData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetwork.ScopeAssignmentResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.ManagedNetwork.ScopeAssignmentData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetwork.ScopeAssignmentResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As ScopeAssignmentData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ScopeAssignmentResource)

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.

data
ScopeAssignmentData

Parameters supplied to the specify which Managed Network this scope is being assigned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to