Dela via


PermissionsOperationsExtensions.ListForResource Metod

Definition

Hämtar alla behörigheter som anroparen har för en resurs.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.Permission> ListForResource (this Microsoft.Azure.Management.Authorization.IPermissionsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName);
static member ListForResource : Microsoft.Azure.Management.Authorization.IPermissionsOperations * string * string * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.Permission>
<Extension()>
Public Function ListForResource (operations As IPermissionsOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String) As IPage(Of Permission)

Parametrar

operations
IPermissionsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceProviderNamespace
String

Resursproviderns namnområde.

parentResourcePath
String

Den överordnade resursidentiteten.

resourceType
String

Resurstypen för resursen.

resourceName
String

Namnet på resursen som behörigheterna ska hämtas för.

Returer

Gäller för