Udostępnij za pośrednictwem


ManagementLocksOperationsExtensions.CreateOrUpdateByScopeAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject> CreateOrUpdateByScopeAsync (this Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations operations, string scope, string lockName, Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateByScopeAsync : Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations * string * string * Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject>
<Extension()>
Public Function CreateOrUpdateByScopeAsync (operations As IManagementLocksOperations, scope As String, lockName As String, parameters As ManagementLockObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementLockObject)

Parameters

scope
String
lockName
String
cancellationToken
CancellationToken

Returns

Applies to