Partilhar via


ManagementLocks Interface

Implements

public interface ManagementLocks
extends SupportsListing<ManagementLock>, SupportsCreating<Blank>, SupportsDeletingById, SupportsListingByResourceGroup<ManagementLock>, SupportsGettingByResourceGroup<ManagementLock>, SupportsGettingById<ManagementLock>, SupportsDeletingByResourceGroup, SupportsBatchCreation<ManagementLock>, SupportsBatchDeletion, HasManager<ResourceManager>

Entry point to management lock management.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ManagementLock> listForResource(String resourceId)

Lists management locks associated with the specified resource, its resource group and any resources below the resource.

abstract PagedFlux<ManagementLock> listForResourceAsync(String resourceId)

Lists management locks associated with the specified resource, its resource group, and any level below the resource.

Method Details

listForResource

public abstract 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

public abstract 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

Applies to