IManagementLockOperations.ListAtResourceLevelAsync 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.
Gets all the management locks of a resource or any level below resource.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult> ListAtResourceLevelAsync(string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListAtResourceLevelAsync : string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult>
Public Function ListAtResourceLevelAsync (resourceGroupName As String, identity As ResourceIdentity, parameters As ManagementLockGetQueryParameter, cancellationToken As CancellationToken) As Task(Of ManagementLockListResult)
Parameters
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- identity
- Microsoft.Azure.ResourceIdentity
Resource identity.
- parameters
- ManagementLockGetQueryParameter
Query parameters. If empty is passed returns all locks at or below the resource.If atScope() is passed returns all locks at the resource level.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
List of management locks.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET