Interface ManagementLocks

All Superinterfaces:
HasManager<ResourceManager>, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, SupportsCreating<ManagementLock.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsListing<ManagementLock>, SupportsListingByResourceGroup<ManagementLock>

Entry point to management lock management.
  • Method Details

    • listForResource

      com.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.
      Parameters:
      resourceId - the resource ID of the resource
      Returns:
      management locks
    • listForResourceAsync

      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.
      Parameters:
      resourceId - the resource Id of the resource
      Returns:
      management locks