import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the specified deny assignment. * * Uses Azure REST API version 2024-07-01-preview. */ export declare function getDenyAssignment(args: GetDenyAssignmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDenyAssignmentArgs { /** * The ID of the deny assignment to get. */ denyAssignmentId: string; /** * The fully qualified Azure Resource manager identifier of the resource. */ scope: string; } /** * Deny Assignment */ export interface GetDenyAssignmentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The conditions on the deny assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' */ readonly condition?: string; /** * Version of the condition. */ readonly conditionVersion?: string; /** * Id of the user who created the assignment */ readonly createdBy: string; /** * Time it was created */ readonly createdOn: string; /** * The effect of the deny assignment. 'enforced' blocks access, 'audit' logs without blocking. */ readonly denyAssignmentEffect?: string; /** * The display name of the deny assignment. */ readonly denyAssignmentName?: string; /** * The description of the deny assignment. */ readonly description?: string; /** * Determines if the deny assignment applies to child scopes. Default value is false. */ readonly doNotApplyToChildScopes?: boolean; /** * Array of principals to which the deny assignment does not apply. */ readonly excludePrincipals?: outputs.authorization.DenyAssignmentPrincipalResponse[]; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Specifies whether this deny assignment was created by Azure and cannot be edited or deleted. */ readonly isSystemProtected?: boolean; /** * The name of the resource */ readonly name: string; /** * An array of permissions that are denied by the deny assignment. */ readonly permissions?: outputs.authorization.DenyAssignmentPermissionResponse[]; /** * Array of principals to which the deny assignment applies. */ readonly principals?: outputs.authorization.DenyAssignmentPrincipalResponse[]; /** * The deny assignment scope. */ readonly scope: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.authorization.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Id of the user who updated the assignment */ readonly updatedBy: string; /** * Time it was updated */ readonly updatedOn: string; } /** * Get the specified deny assignment. * * Uses Azure REST API version 2024-07-01-preview. */ export declare function getDenyAssignmentOutput(args: GetDenyAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetDenyAssignmentOutputArgs { /** * The ID of the deny assignment to get. */ denyAssignmentId: pulumi.Input; /** * The fully qualified Azure Resource manager identifier of the resource. */ scope: pulumi.Input; } //# sourceMappingURL=getDenyAssignment.d.ts.map