This data source provides the list of Usage Statement Email Recipients Groups in Oracle Cloud Infrastructure Metering Computation service.
Return the saved usage statement email recipient group.
data "oci_metering_computation_usage_statement_email_recipients_groups" "test_usage_statement_email_recipients_groups" {
#Required
compartment_id = var.compartment_id
subscription_id = oci_onesubscription_subscription.test_subscription.id
}
The following arguments are supported:
compartment_id
- (Required) The compartment ID in which to list resources.subscription_id
- (Required) The UsageStatement Subscription unique OCID.The following attributes are exported:
email_recipients_group_collection
- The list of email_recipients_group_collection.The following attributes are exported:
compartment_id
- The customer tenancy OCID.id
- The usage statement email recipients group OCID.recipients_list
- The list of recipient will receive the usage statement email.
email_id
- the email of the recipient.first_name
- the first name of the recipient.last_name
- the last name of the recipient.state
- The email recipient lifecycle state.state
- The email recipient group lifecycle state.