你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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