import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Subscription Redeemable User resource in Oracle Cloud Infrastructure Usage Proxy service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/usage-proxy/latest/SubscriptionRedeemableUser * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/usage_proxy * * Adds the list of redeemable user summary for a subscription ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptionRedeemableUser = new oci.usageproxy.SubscriptionRedeemableUser("test_subscription_redeemable_user", { * subscriptionId: testSubscription.id, * tenancyId: testTenancy.id, * items: [{ * emailId: testEmail.id, * firstName: subscriptionRedeemableUserItemsFirstName, * lastName: subscriptionRedeemableUserItemsLastName, * }], * userId: testUser.id, * }); * ``` * * ## Import * * SubscriptionRedeemableUsers can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:UsageProxy/subscriptionRedeemableUser:SubscriptionRedeemableUser test_subscription_redeemable_user "subscriptions/{subscriptionId}/redeemableUsers/tenancyId/{tenancyId}" * ``` */ export declare class SubscriptionRedeemableUser extends pulumi.CustomResource { /** * Get an existing SubscriptionRedeemableUser 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?: SubscriptionRedeemableUserState, opts?: pulumi.CustomResourceOptions): SubscriptionRedeemableUser; /** * Returns true if the given object is an instance of SubscriptionRedeemableUser. 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 SubscriptionRedeemableUser; /** * The list of new user to be added to the list of user that can redeem rewards. */ readonly items: pulumi.Output; /** * The subscription ID for which rewards information is requested for. */ readonly subscriptionId: pulumi.Output; /** * The OCID of the tenancy. */ readonly tenancyId: pulumi.Output; /** * The user ID of the person to send a copy of an email. * * ** 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 userId: pulumi.Output; /** * Create a SubscriptionRedeemableUser 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: SubscriptionRedeemableUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SubscriptionRedeemableUser resources. */ export interface SubscriptionRedeemableUserState { /** * The list of new user to be added to the list of user that can redeem rewards. */ items?: pulumi.Input[] | undefined>; /** * The subscription ID for which rewards information is requested for. */ subscriptionId?: pulumi.Input; /** * The OCID of the tenancy. */ tenancyId?: pulumi.Input; /** * The user ID of the person to send a copy of an email. * * ** 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 */ userId?: pulumi.Input; } /** * The set of arguments for constructing a SubscriptionRedeemableUser resource. */ export interface SubscriptionRedeemableUserArgs { /** * The list of new user to be added to the list of user that can redeem rewards. */ items: pulumi.Input[]>; /** * The subscription ID for which rewards information is requested for. */ subscriptionId: pulumi.Input; /** * The OCID of the tenancy. */ tenancyId: pulumi.Input; /** * The user ID of the person to send a copy of an email. * * ** 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 */ userId?: pulumi.Input; } //# sourceMappingURL=subscriptionRedeemableUser.d.ts.map