ManagementLocksOperationsExtensions.CreateOrUpdateAtSubscriptionLevelAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject> CreateOrUpdateAtSubscriptionLevelAsync (this Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations operations, string lockName, Microsoft.Azure.Management.Internal.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAtSubscriptionLevelAsync : Microsoft.Azure.Management.Internal.Resources.IManagementLocksOperations * 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 CreateOrUpdateAtSubscriptionLevelAsync (operations As IManagementLocksOperations, lockName As String, parameters As ManagementLockObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementLockObject)
Parameters
- operations
- IManagementLocksOperations
- lockName
- String
- parameters
- ManagementLockObject
- cancellationToken
- CancellationToken