def list_for_resource_with_http_info(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers:nil)
      list_for_resource_async(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers:custom_headers).value!
    end
def list_for_resource_with_http_info(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers:nil)
      list_for_resource_async(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers:custom_headers).value!
    end
Gets all permissions the caller has for a resource.

 @param resource_group_name [String] The name of the resource group containing
 the resource. The name is case insensitive.
 @param resource_provider_namespace [String] The namespace of the resource
 provider.
 @param parent_resource_path [String] The parent resource identity.
 @param resource_type [String] The resource type of the resource.
 @param resource_name [String] The name of the resource to get the permissions
 for.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.