IManagementLockOperations.ListAtSubscriptionLevelAsync 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 subscription.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult> ListAtSubscriptionLevelAsync (Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListAtSubscriptionLevelAsync : Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult>
Public Function ListAtSubscriptionLevelAsync (parameters As ManagementLockGetQueryParameter, cancellationToken As CancellationToken) As Task(Of ManagementLockListResult)
Parameters
- parameters
- ManagementLockGetQueryParameter
Query parameters. If empty is passed returns all locks at, above or below the subscription.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
List of management locks.