ManagementLocksOperations.ListAtResourceLevel(String, String, String, String, String, String, CancellationToken) 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 for a resource or any level below resource.
public virtual Azure.Pageable<Azure.ResourceManager.Resources.Models.ManagementLockObject> ListAtResourceLevel (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAtResourceLevel : string * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.ManagementLockObject>
override this.ListAtResourceLevel : string * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.ManagementLockObject>
Public Overridable Function ListAtResourceLevel (resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagementLockObject)
Parameters
- resourceGroupName
- System.String
The name of the resource group containing the locked resource. The name is case insensitive.
- resourceProviderNamespace
- System.String
The namespace of the resource provider.
- parentResourcePath
- System.String
The parent resource identity.
- resourceType
- System.String
The resource type of the locked resource.
- resourceName
- System.String
The name of the locked resource.
- filter
- System.String
The filter to apply on the operation.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupName
, resourceProviderNamespace
, parentResourcePath
, resourceType
, or resourceName
is null.