IManagementLockOperations.CreateOrUpdateAtSubscriptionLevelAsync Method

Definition

Create or update a management lock at the subscription level.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult> CreateOrUpdateAtSubscriptionLevelAsync (string lockName, Microsoft.Azure.Management.Resources.Models.ManagementLockProperties parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAtSubscriptionLevelAsync : string * Microsoft.Azure.Management.Resources.Models.ManagementLockProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult>
Public Function CreateOrUpdateAtSubscriptionLevelAsync (lockName As String, parameters As ManagementLockProperties, cancellationToken As CancellationToken) As Task(Of ManagementLockReturnResult)

Parameters

lockName
String

The name of lock.

parameters
ManagementLockProperties

The management lock parameters.

cancellationToken
CancellationToken

Cancellation token.

Returns

Management lock information.

Applies to