ManagementLocksOperationsExtensions.GetAtResourceLevelAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the management lock of a resource or any level below resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject> GetAtResourceLevelAsync (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, System.Threading.CancellationToken cancellationToken = default);
static member GetAtResourceLevelAsync : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject>
<Extension()>
Public Function GetAtResourceLevelAsync (operations As IManagementLocksOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, lockName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET