Interface ManagementLocks

All Superinterfaces:
HasInner<com.microsoft.azure.management.locks.implementation.ManagementLocksInner>, HasManager<com.microsoft.azure.management.locks.implementation.AuthorizationManager>, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, SupportsCreating<ManagementLock.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsListing<ManagementLock>, SupportsListingByResourceGroup<ManagementLock>

@Beta(V1_4_0) public interface ManagementLocks extends SupportsListing<ManagementLock>, SupportsCreating<ManagementLock.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsGettingById<ManagementLock>, SupportsDeletingByResourceGroup, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, HasManager<com.microsoft.azure.management.locks.implementation.AuthorizationManager>, HasInner<com.microsoft.azure.management.locks.implementation.ManagementLocksInner>
Entry point to management lock management.
  • Method Details

    • listForResource

      com.microsoft.azure.PagedList<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

      rx.Observable<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