次の方法で共有


ManagementLockOperationsExtensions.ListAtResourceLevelAsync メソッド

定義

リソースまたはリソースより下の任意のレベルのすべての管理ロックを取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult> ListAtResourceLevelAsync (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters);
static member ListAtResourceLevelAsync : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult>
<Extension()>
Public Function ListAtResourceLevelAsync (operations As IManagementLockOperations, resourceGroupName As String, identity As ResourceIdentity, parameters As ManagementLockGetQueryParameter) As Task(Of ManagementLockListResult)

パラメーター

operations
IManagementLockOperations

Microsoft.Azure.Management.Resources.IManagementLockOperations への参照。

resourceGroupName
String

必須。 リソース グループの名前。 名前の大文字と小文字は区別されます。

identity
Microsoft.Azure.ResourceIdentity

必須。 リソースの ID です。

parameters
ManagementLockGetQueryParameter

任意。 クエリ パラメーターです。 空が渡された場合は、リソース以下のすべてのロックが返されます。atScope() が渡された場合、リソース レベルのすべてのロックが返されます。

戻り値

管理ロックの一覧。

適用対象