Interface ManagementLocks
- All Superinterfaces:
HasManager<ResourceManager>, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, SupportsCreating<ManagementLock.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsListing<ManagementLock>, SupportsListingByResourceGroup<ManagementLock>
public interface ManagementLocks
extends SupportsListing<ManagementLock>, SupportsCreating<ManagementLock.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsGettingById<ManagementLock>, SupportsDeletingByResourceGroup, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, HasManager<ResourceManager>
Entry point to management lock management.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ManagementLock> listForResource(String resourceId) Lists management locks associated with the specified resource, its resource group and any resources below the resource.com.azure.core.http.rest.PagedFlux<ManagementLock> listForResourceAsync(String resourceId) Lists management locks associated with the specified resource, its resource group, and any level below the resource.Methods inherited from interface HasManager
managerMethods inherited from interface SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncMethods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsyncMethods inherited from interface SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface SupportsListing
list, listAsyncMethods inherited from interface SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
listForResource
Lists management locks associated with the specified resource, its resource group and any resources below the resource.- Parameters:
resourceId- the resource ID of the resource- Returns:
- management locks
-
listForResourceAsync
Lists management locks associated with the specified resource, its resource group, and any level below the resource.- Parameters:
resourceId- the resource Id of the resource- Returns:
- management locks
-