IManagementLockOperations.CreateOrUpdateAtResourceGroupLevelAsync Method

Definition

Create or update a management lock at the resource group level.

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

Parameters

resourceGroupName
String

The resource group name.

lockName
String

The lock name.

parameters
ManagementLockProperties

The management lock parameters.

cancellationToken
CancellationToken

Cancellation token.

Returns

Management lock information.

Applies to