Interface PermissionsClient
-
public interface PermissionsClient
An instance of this class provides access to all the operations defined in PermissionsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<PermissionInner>
listByResourceGroup(String resourceGroupName)
Gets all permissions the caller has for a resource group.com.azure.core.http.rest.PagedIterable<PermissionInner>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all permissions the caller has for a resource group.com.azure.core.http.rest.PagedFlux<PermissionInner>
listByResourceGroupAsync(String resourceGroupName)
Gets all permissions the caller has for a resource group.com.azure.core.http.rest.PagedIterable<PermissionInner>
listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)
Gets all permissions the caller has for a resource.com.azure.core.http.rest.PagedIterable<PermissionInner>
listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, com.azure.core.util.Context context)
Gets all permissions the caller has for a resource.com.azure.core.http.rest.PagedFlux<PermissionInner>
listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)
Gets all permissions the caller has for a resource.
-
-
-
Method Detail
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<PermissionInner> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PermissionInner> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PermissionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listForResourceAsync
com.azure.core.http.rest.PagedFlux<PermissionInner> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listForResource
com.azure.core.http.rest.PagedIterable<PermissionInner> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listForResource
com.azure.core.http.rest.PagedIterable<PermissionInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, com.azure.core.util.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-