Compartir a través de


ManagementLockOperationsExtensions.CreateOrUpdateAtResourceLevelAsync Método

Definición

Cree o actualice un bloqueo de administración en el nivel de recurso o en cualquier nivel por debajo del recurso.

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

Parámetros

operations
IManagementLockOperations

Referencia a Microsoft.Azure.Management.Resources.IManagementLockOperations.

resourceGroupName
String

Obligatorio. Nombre del grupo de recursos.

identity
Microsoft.Azure.ResourceIdentity

Obligatorio. Identidad del recurso.

lockName
String

Obligatorio. Nombre del bloqueo.

parameters
ManagementLockProperties

Obligatorio. Cree o actualice los parámetros de bloqueo de administración.

Devoluciones

Información de bloqueo de administración.

Se aplica a