public interface PermissionsClient
Modifier and Type | Method and 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.
|
com.azure.core.http.rest.PagedFlux<PermissionInner> listByResourceGroupAsync(String resourceGroupName)
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<PermissionInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<PermissionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<PermissionInner> listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)
resourceGroupName
- The name of the resource group.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.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.com.azure.core.http.rest.PagedIterable<PermissionInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName)
resourceGroupName
- The name of the resource group.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.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.com.azure.core.http.rest.PagedIterable<PermissionInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.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.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.Copyright © 2020 Microsoft Corporation. All rights reserved.