import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/usage/latest/UsageStatementEmailRecipientsGroup * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/metering_computation * * Creates a list of email recipients that can receive usage statements for the subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUsageStatementEmailRecipientsGroup = new oci.meteringcomputation.UsageStatementEmailRecipientsGroup("test_usage_statement_email_recipients_group", { * compartmentId: compartmentId, * recipientsLists: [{ * emailId: testEmail.id, * state: usageStatementEmailRecipientsGroupRecipientsListState, * firstName: usageStatementEmailRecipientsGroupRecipientsListFirstName, * lastName: usageStatementEmailRecipientsGroupRecipientsListLastName, * }], * subscriptionId: testSubscription.id, * }); * ``` * * ## Import * * UsageStatementEmailRecipientsGroups can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MeteringComputation/usageStatementEmailRecipientsGroup:UsageStatementEmailRecipientsGroup test_usage_statement_email_recipients_group "usageStatements/{subscriptionId}/emailRecipientsGroups/{emailRecipientsGroupId}/compartmentId/{compartmentId}" * ``` */ export declare class UsageStatementEmailRecipientsGroup extends pulumi.CustomResource { /** * Get an existing UsageStatementEmailRecipientsGroup 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: UsageStatementEmailRecipientsGroupState, opts?: pulumi.CustomResourceOptions): UsageStatementEmailRecipientsGroup; /** * Returns true if the given object is an instance of UsageStatementEmailRecipientsGroup. 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 UsageStatementEmailRecipientsGroup; /** * (Updatable) The customer tenancy. */ readonly compartmentId: pulumi.Output; readonly emailRecipientsGroupId: pulumi.Output; /** * (Updatable) The list of recipients that will receive usage statement emails. */ readonly recipientsLists: pulumi.Output; /** * The email recipients group lifecycle state. */ readonly state: pulumi.Output; /** * The usage statement subscription unique OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly subscriptionId: pulumi.Output; /** * Create a UsageStatementEmailRecipientsGroup 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: UsageStatementEmailRecipientsGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UsageStatementEmailRecipientsGroup resources. */ export interface UsageStatementEmailRecipientsGroupState { /** * (Updatable) The customer tenancy. */ compartmentId?: pulumi.Input; emailRecipientsGroupId?: pulumi.Input; /** * (Updatable) The list of recipients that will receive usage statement emails. */ recipientsLists?: pulumi.Input[] | undefined>; /** * The email recipients group lifecycle state. */ state?: pulumi.Input; /** * The usage statement subscription unique OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ subscriptionId?: pulumi.Input; } /** * The set of arguments for constructing a UsageStatementEmailRecipientsGroup resource. */ export interface UsageStatementEmailRecipientsGroupArgs { /** * (Updatable) The customer tenancy. */ compartmentId: pulumi.Input; emailRecipientsGroupId?: pulumi.Input; /** * (Updatable) The list of recipients that will receive usage statement emails. */ recipientsLists: pulumi.Input[]>; /** * The usage statement subscription unique OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ subscriptionId: pulumi.Input; } //# sourceMappingURL=usageStatementEmailRecipientsGroup.d.ts.map