import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a specific governanceAssignment for the requested scope by AssignmentKey * * Uses Azure REST API version 2022-01-01-preview. */ export declare function getGovernanceAssignment(args: GetGovernanceAssignmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetGovernanceAssignmentArgs { /** * The assessment key of the governance assignment. */ assessmentName: string; /** * The governance assignment key. */ assignmentKey: string; /** * The scope of the governance assignment. */ scope: string; } /** * Governance assignment over a given scope */ export interface GetGovernanceAssignmentResult { /** * The additional data for the governance assignment - e.g. links to ticket (optional), see example */ readonly additionalData?: outputs.security.GovernanceAssignmentAdditionalDataResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners */ readonly governanceEmailNotification?: outputs.security.GovernanceEmailNotificationResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Defines whether there is a grace period on the governance assignment */ readonly isGracePeriod?: boolean; /** * The name of the resource */ readonly name: string; /** * The Owner for the governance assignment - e.g. user@contoso.com - see example */ readonly owner?: string; /** * The remediation due-date - after this date Secure Score will be affected (in case of active grace-period) */ readonly remediationDueDate: string; /** * The ETA (estimated time of arrival) for remediation (optional), see example */ readonly remediationEta?: outputs.security.RemediationEtaResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.security.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a specific governanceAssignment for the requested scope by AssignmentKey * * Uses Azure REST API version 2022-01-01-preview. */ export declare function getGovernanceAssignmentOutput(args: GetGovernanceAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetGovernanceAssignmentOutputArgs { /** * The assessment key of the governance assignment. */ assessmentName: pulumi.Input; /** * The governance assignment key. */ assignmentKey: pulumi.Input; /** * The scope of the governance assignment. */ scope: pulumi.Input; } //# sourceMappingURL=getGovernanceAssignment.d.ts.map