Dela via


PermissionsClient Interface

public interface PermissionsClient

An instance of this class provides access to all the operations defined in PermissionsClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<PermissionInner> listByResourceGroup(String resourceGroupName)

Gets all permissions the caller has for a resource group.

abstract PagedIterable<PermissionInner> listByResourceGroup(String resourceGroupName, Context context)

Gets all permissions the caller has for a resource group.

abstract PagedFlux<PermissionInner> listByResourceGroupAsync(String resourceGroupName)

Gets all permissions the caller has for a resource group.

abstract PagedIterable<PermissionInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)

Gets all permissions the caller has for a resource.

abstract PagedIterable<PermissionInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, Context context)

Gets all permissions the caller has for a resource.

abstract PagedFlux<PermissionInner> listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)

Gets all permissions the caller has for a resource.

Method Details

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets all permissions the caller has for a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

all permissions the caller has for a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Gets all permissions the caller has for a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

all permissions the caller has for a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets all permissions the caller has for a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

all permissions the caller has for a resource group as paginated response with PagedFlux<T>.

listForResource

public abstract PagedIterable listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)

Gets all permissions the caller has for a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get the permissions for.

Returns:

all permissions the caller has for a resource as paginated response with PagedIterable<T>.

listForResource

public abstract PagedIterable listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, Context context)

Gets all permissions the caller has for a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get the permissions for.
context - The context to associate with this operation.

Returns:

all permissions the caller has for a resource as paginated response with PagedIterable<T>.

listForResourceAsync

public abstract PagedFlux listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)

Gets all permissions the caller has for a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get the permissions for.

Returns:

all permissions the caller has for a resource as paginated response with PagedFlux<T>.

Applies to