Dela via


DenyAssignmentsClient Interface

Implements

public interface DenyAssignmentsClient
extends InnerSupportsListing<DenyAssignmentInner>

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

Method Summary

Modifier and Type Method and Description
abstract DenyAssignmentInner get(String scope, String denyAssignmentId)

Get the specified deny assignment.

abstract Mono<DenyAssignmentInner> getAsync(String scope, String denyAssignmentId)

Get the specified deny assignment.

abstract DenyAssignmentInner getById(String denyAssignmentId)

Gets a deny assignment by ID.

abstract Mono<DenyAssignmentInner> getByIdAsync(String denyAssignmentId)

Gets a deny assignment by ID.

abstract Response<DenyAssignmentInner> getByIdWithResponse(String denyAssignmentId, Context context)

Gets a deny assignment by ID.

abstract Mono<Response<DenyAssignmentInner>> getByIdWithResponseAsync(String denyAssignmentId)

Gets a deny assignment by ID.

abstract Response<DenyAssignmentInner> getWithResponse(String scope, String denyAssignmentId, Context context)

Get the specified deny assignment.

abstract Mono<Response<DenyAssignmentInner>> getWithResponseAsync(String scope, String denyAssignmentId)

Get the specified deny assignment.

abstract PagedIterable<DenyAssignmentInner> list()

Gets all deny assignments for the subscription.

abstract PagedIterable<DenyAssignmentInner> list(String filter, Context context)

Gets all deny assignments for the subscription.

abstract PagedFlux<DenyAssignmentInner> listAsync()

Gets all deny assignments for the subscription.

abstract PagedFlux<DenyAssignmentInner> listAsync(String filter)

Gets all deny assignments for the subscription.

abstract PagedIterable<DenyAssignmentInner> listByResourceGroup(String resourceGroupName)

Gets deny assignments for a resource group.

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

Gets deny assignments for a resource group.

abstract PagedFlux<DenyAssignmentInner> listByResourceGroupAsync(String resourceGroupName)

Gets deny assignments for a resource group.

abstract PagedFlux<DenyAssignmentInner> listByResourceGroupAsync(String resourceGroupName, String filter)

Gets deny assignments for a resource group.

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

Gets deny assignments for a resource.

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

Gets deny assignments for a resource.

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

Gets deny assignments for a resource.

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

Gets deny assignments for a resource.

abstract PagedIterable<DenyAssignmentInner> listForScope(String scope)

Gets deny assignments for a scope.

abstract PagedIterable<DenyAssignmentInner> listForScope(String scope, String filter, Context context)

Gets deny assignments for a scope.

abstract PagedFlux<DenyAssignmentInner> listForScopeAsync(String scope)

Gets deny assignments for a scope.

abstract PagedFlux<DenyAssignmentInner> listForScopeAsync(String scope, String filter)

Gets deny assignments for a scope.

Method Details

get

public abstract DenyAssignmentInner get(String scope, String denyAssignmentId)

Get the specified deny assignment.

Parameters:

scope - The scope of the deny assignment.
denyAssignmentId - The ID of the deny assignment to get.

Returns:

the specified deny assignment.

getAsync

public abstract Mono getAsync(String scope, String denyAssignmentId)

Get the specified deny assignment.

Parameters:

scope - The scope of the deny assignment.
denyAssignmentId - The ID of the deny assignment to get.

Returns:

the specified deny assignment on successful completion of Mono.

getById

public abstract DenyAssignmentInner getById(String denyAssignmentId)

Gets a deny assignment by ID.

Parameters:

denyAssignmentId - The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.

Returns:

a deny assignment by ID.

getByIdAsync

public abstract Mono getByIdAsync(String denyAssignmentId)

Gets a deny assignment by ID.

Parameters:

denyAssignmentId - The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.

Returns:

a deny assignment by ID on successful completion of Mono.

getByIdWithResponse

public abstract Response getByIdWithResponse(String denyAssignmentId, Context context)

Gets a deny assignment by ID.

Parameters:

denyAssignmentId - The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.
context - The context to associate with this operation.

Returns:

a deny assignment by ID along with Response<T>.

getByIdWithResponseAsync

public abstract Mono> getByIdWithResponseAsync(String denyAssignmentId)

Gets a deny assignment by ID.

Parameters:

denyAssignmentId - The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.

Returns:

a deny assignment by ID along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String scope, String denyAssignmentId, Context context)

Get the specified deny assignment.

Parameters:

scope - The scope of the deny assignment.
denyAssignmentId - The ID of the deny assignment to get.
context - The context to associate with this operation.

Returns:

the specified deny assignment along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String scope, String denyAssignmentId)

Get the specified deny assignment.

Parameters:

scope - The scope of the deny assignment.
denyAssignmentId - The ID of the deny assignment to get.

Returns:

the specified deny assignment along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets all deny assignments for the subscription.

Returns:

all deny assignments for the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, Context context)

Gets all deny assignments for the subscription.

Parameters:

filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.
context - The context to associate with this operation.

Returns:

all deny assignments for the subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets all deny assignments for the subscription.

Returns:

all deny assignments for the subscription as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String filter)

Gets all deny assignments for the subscription.

Parameters:

filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.

Returns:

all deny assignments for the subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets deny assignments for a resource group.

Parameters:

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

Returns:

deny assignments for a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, Context context)

Gets deny assignments for a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.
context - The context to associate with this operation.

Returns:

deny assignments for a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets deny assignments for a resource group.

Parameters:

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

Returns:

deny assignments for a resource group as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, String filter)

Gets deny assignments for a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.

Returns:

deny assignments 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 deny assignments 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 deny assignments for.

Returns:

deny assignments for a resource as paginated response with PagedIterable<T>.

listForResource

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

Gets deny assignments 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 deny assignments for.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.
context - The context to associate with this operation.

Returns:

deny assignments 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 deny assignments 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 deny assignments for.

Returns:

deny assignments for a resource as paginated response with PagedFlux<T>.

listForResourceAsync

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

Gets deny assignments 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 deny assignments for.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.

Returns:

deny assignments for a resource as paginated response with PagedFlux<T>.

listForScope

public abstract PagedIterable listForScope(String scope)

Gets deny assignments for a scope.

Parameters:

scope - The scope of the deny assignments.

Returns:

deny assignments for a scope as paginated response with PagedIterable<T>.

listForScope

public abstract PagedIterable listForScope(String scope, String filter, Context context)

Gets deny assignments for a scope.

Parameters:

scope - The scope of the deny assignments.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.
context - The context to associate with this operation.

Returns:

deny assignments for a scope as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope)

Gets deny assignments for a scope.

Parameters:

scope - The scope of the deny assignments.

Returns:

deny assignments for a scope as paginated response with PagedFlux<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope, String filter)

Gets deny assignments for a scope.

Parameters:

scope - The scope of the deny assignments.
filter - The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.

Returns:

deny assignments for a scope as paginated response with PagedFlux<T>.

Applies to