Udostępnij za pośrednictwem


ManagementLockOperationsExtensions.CreateOrUpdateAtResourceGroupLevel Method

Definition

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

public static Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult CreateOrUpdateAtResourceGroupLevel (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, string lockName, Microsoft.Azure.Management.Resources.Models.ManagementLockProperties parameters);
static member CreateOrUpdateAtResourceGroupLevel : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * string * Microsoft.Azure.Management.Resources.Models.ManagementLockProperties -> Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult
<Extension()>
Public Function CreateOrUpdateAtResourceGroupLevel (operations As IManagementLockOperations, resourceGroupName As String, lockName As String, parameters As ManagementLockProperties) As 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