import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Announcement Subscriptions Actions Change Compartment resource in Oracle Cloud Infrastructure Announcements Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/announcements/latest/AnnouncementSubscriptionsActionsChangeCompartment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/announcements_service * * Moves the specified announcement subscription from one compartment to another compartment. When provided, If-Match is checked against ETag values of the resource. * * This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAnnouncementSubscriptionsActionsChangeCompartment = new oci.announcementsservice.AnnouncementSubscriptionsActionsChangeCompartment("test_announcement_subscriptions_actions_change_compartment", { * announcementSubscriptionId: testAnnouncementSubscription.id, * compartmentId: compartmentId, * }); * ``` * * ## Import * * AnnouncementSubscriptionsActionsChangeCompartment can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:AnnouncementsService/announcementSubscriptionsActionsChangeCompartment:AnnouncementSubscriptionsActionsChangeCompartment test_announcement_subscriptions_actions_change_compartment "id" * ``` */ export declare class AnnouncementSubscriptionsActionsChangeCompartment extends pulumi.CustomResource { /** * Get an existing AnnouncementSubscriptionsActionsChangeCompartment 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?: AnnouncementSubscriptionsActionsChangeCompartmentState, opts?: pulumi.CustomResourceOptions): AnnouncementSubscriptionsActionsChangeCompartment; /** * Returns true if the given object is an instance of AnnouncementSubscriptionsActionsChangeCompartment. 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 AnnouncementSubscriptionsActionsChangeCompartment; /** * The OCID of the announcement subscription. */ readonly announcementSubscriptionId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription. * * ** 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 compartmentId: pulumi.Output; /** * Create a AnnouncementSubscriptionsActionsChangeCompartment 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: AnnouncementSubscriptionsActionsChangeCompartmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AnnouncementSubscriptionsActionsChangeCompartment resources. */ export interface AnnouncementSubscriptionsActionsChangeCompartmentState { /** * The OCID of the announcement subscription. */ announcementSubscriptionId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription. * * ** 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 */ compartmentId?: pulumi.Input; } /** * The set of arguments for constructing a AnnouncementSubscriptionsActionsChangeCompartment resource. */ export interface AnnouncementSubscriptionsActionsChangeCompartmentArgs { /** * The OCID of the announcement subscription. */ announcementSubscriptionId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which you want to move the announcement subscription. * * ** 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 */ compartmentId: pulumi.Input; } //# sourceMappingURL=announcementSubscriptionsActionsChangeCompartment.d.ts.map