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 com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.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
-