import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Governance rule over a given scope * * Uses Azure REST API version 2022-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview. */ export declare class GovernanceRule extends pulumi.CustomResource { /** * Get an existing GovernanceRule 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): GovernanceRule; /** * Returns true if the given object is an instance of GovernanceRule. 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 GovernanceRule; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * The governance rule conditionSets - see examples */ readonly conditionSets: pulumi.Output; /** * Description of the governance rule */ readonly description: pulumi.Output; /** * Display name of the governance rule */ readonly displayName: pulumi.Output; /** * Excluded scopes, filter out the descendants of the scope (on management scopes) */ readonly excludedScopes: pulumi.Output; /** * The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners */ readonly governanceEmailNotification: pulumi.Output; /** * Defines whether the rule is management scope rule (master connector as a single scope or management scope) */ readonly includeMemberScopes: pulumi.Output; /** * Defines whether the rule is active/inactive */ readonly isDisabled: pulumi.Output; /** * Defines whether there is a grace period on the governance rule */ readonly isGracePeriod: pulumi.Output; /** * The governance rule metadata */ readonly metadata: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * The owner source for the governance rule - e.g. Manually by user@contoso.com - see example */ readonly ownerSource: pulumi.Output; /** * Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days */ readonly remediationTimeframe: pulumi.Output; /** * The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed */ readonly rulePriority: pulumi.Output; /** * The rule type of the governance rule, defines the source of the rule e.g. Integrated */ readonly ruleType: pulumi.Output; /** * The governance rule source, what the rule affects, e.g. Assessments */ readonly sourceResourceType: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * The tenantId (GUID) */ readonly tenantId: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * Create a GovernanceRule 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: GovernanceRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GovernanceRule resource. */ export interface GovernanceRuleArgs { /** * The governance rule conditionSets - see examples */ conditionSets: pulumi.Input; /** * Description of the governance rule */ description?: pulumi.Input; /** * Display name of the governance rule */ displayName: pulumi.Input; /** * Excluded scopes, filter out the descendants of the scope (on management scopes) */ excludedScopes?: pulumi.Input[] | undefined>; /** * The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners */ governanceEmailNotification?: pulumi.Input; /** * Defines whether the rule is management scope rule (master connector as a single scope or management scope) */ includeMemberScopes?: pulumi.Input; /** * Defines whether the rule is active/inactive */ isDisabled?: pulumi.Input; /** * Defines whether there is a grace period on the governance rule */ isGracePeriod?: pulumi.Input; /** * The owner source for the governance rule - e.g. Manually by user@contoso.com - see example */ ownerSource: pulumi.Input; /** * Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days */ remediationTimeframe?: pulumi.Input; /** * The governance rule key - unique key for the standard governance rule (GUID) */ ruleId?: pulumi.Input; /** * The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed */ rulePriority: pulumi.Input; /** * The rule type of the governance rule, defines the source of the rule e.g. Integrated */ ruleType: pulumi.Input; /** * The fully qualified Azure Resource manager identifier of the resource. */ scope: pulumi.Input; /** * The governance rule source, what the rule affects, e.g. Assessments */ sourceResourceType: pulumi.Input; } //# sourceMappingURL=governanceRule.d.ts.map