Sdílet prostřednictvím


ManagementLockOperationsExtensions.CreateOrUpdateAtResourceGroupLevelAsync Method

Definition

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

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

Parameters

operations
IManagementLockOperations

Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.

resourceGroupName
String

Required. The resource group name.

lockName
String

Required. The lock name.

parameters
ManagementLockProperties

Required. The management lock parameters.

Returns

Management lock information.

Applies to