Partager via


ManagementLocksOperationsExtensions.CreateOrUpdateAtResourceLevelAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject> CreateOrUpdateAtResourceLevelAsync (this Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAtResourceLevelAsync : Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations * string * string * string * string * 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 CreateOrUpdateAtResourceLevelAsync (operations As IManagementLocksOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, lockName As String, parameters As ManagementLockObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementLockObject)

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String
lockName
String
cancellationToken
CancellationToken

Returns

Applies to