import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Deny Assignment * * Uses Azure REST API version 2024-07-01-preview. */ export declare class DenyAssignment extends pulumi.CustomResource { /** * Get an existing DenyAssignment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DenyAssignment; /** * Returns true if the given object is an instance of DenyAssignment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DenyAssignment; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * 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: pulumi.Output; /** * Version of the condition. */ readonly conditionVersion: pulumi.Output; /** * Id of the user who created the assignment */ readonly createdBy: pulumi.Output; /** * Time it was created */ readonly createdOn: pulumi.Output; /** * The effect of the deny assignment. 'enforced' blocks access, 'audit' logs without blocking. */ readonly denyAssignmentEffect: pulumi.Output; /** * The display name of the deny assignment. */ readonly denyAssignmentName: pulumi.Output; /** * The description of the deny assignment. */ readonly description: pulumi.Output; /** * Determines if the deny assignment applies to child scopes. Default value is false. */ readonly doNotApplyToChildScopes: pulumi.Output; /** * Array of principals to which the deny assignment does not apply. */ readonly excludePrincipals: pulumi.Output; /** * Specifies whether this deny assignment was created by Azure and cannot be edited or deleted. */ readonly isSystemProtected: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * An array of permissions that are denied by the deny assignment. */ readonly permissions: pulumi.Output; /** * Array of principals to which the deny assignment applies. */ readonly principals: pulumi.Output; /** * The deny assignment scope. */ readonly scope: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * Id of the user who updated the assignment */ readonly updatedBy: pulumi.Output; /** * Time it was updated */ readonly updatedOn: pulumi.Output; /** * Create a DenyAssignment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DenyAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DenyAssignment resource. */ export interface DenyAssignmentArgs { /** * 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' */ condition?: pulumi.Input; /** * Version of the condition. */ conditionVersion?: pulumi.Input; /** * The effect of the deny assignment. 'enforced' blocks access, 'audit' logs without blocking. */ denyAssignmentEffect?: pulumi.Input; /** * The ID of the deny assignment to get. */ denyAssignmentId?: pulumi.Input; /** * The display name of the deny assignment. */ denyAssignmentName?: pulumi.Input; /** * The description of the deny assignment. */ description?: pulumi.Input; /** * Determines if the deny assignment applies to child scopes. Default value is false. */ doNotApplyToChildScopes?: pulumi.Input; /** * Array of principals to which the deny assignment does not apply. */ excludePrincipals?: pulumi.Input[] | undefined>; /** * Specifies whether this deny assignment was created by Azure and cannot be edited or deleted. */ isSystemProtected?: pulumi.Input; /** * An array of permissions that are denied by the deny assignment. */ permissions?: pulumi.Input[] | undefined>; /** * Array of principals to which the deny assignment applies. */ principals?: pulumi.Input[] | undefined>; /** * The fully qualified Azure Resource manager identifier of the resource. */ scope: pulumi.Input; } //# sourceMappingURL=denyAssignment.d.ts.map