Share via


ManagementLocksOperationsExtensions.GetAtResourceLevel Method

Definition

Get the management lock of a resource or any level below resource.

public static Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject GetAtResourceLevel (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName);
static member GetAtResourceLevel : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string * string * string * string * string -> Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject
<Extension()>
Public Function GetAtResourceLevel (operations As IManagementLocksOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, lockName As String) As ManagementLockObject

Parameters

operations
IManagementLocksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

resourceProviderNamespace
String

The namespace of the resource provider.

parentResourcePath
String

An extra path parameter needed in some services, like SQL Databases.

resourceType
String

The type of the resource.

resourceName
String

The name of the resource.

lockName
String

The name of lock.

Returns

Applies to