import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Iot Domain Change Data Retention Period resource in Oracle Cloud Infrastructure Iot service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/IotDomain/ChangeDataRetentionPeriod * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot * * Updates Data Retention Period of the IoT Domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIotDomainChangeDataRetentionPeriod = new oci.oci.IotIotDomainChangeDataRetentionPeriod("test_iot_domain_change_data_retention_period", { * dataRetentionPeriodInDays: Number(iotDomainChangeDataRetentionPeriodDataRetentionPeriodInDays), * iotDomainId: testIotDomain.id, * type: iotDomainChangeDataRetentionPeriodType, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class IotIotDomainChangeDataRetentionPeriod extends pulumi.CustomResource { /** * Get an existing IotIotDomainChangeDataRetentionPeriod 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?: IotIotDomainChangeDataRetentionPeriodState, opts?: pulumi.CustomResourceOptions): IotIotDomainChangeDataRetentionPeriod; /** * Returns true if the given object is an instance of IotIotDomainChangeDataRetentionPeriod. 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 IotIotDomainChangeDataRetentionPeriod; /** * The duration (in days) for which data will be retained in the IoT domain. */ readonly dataRetentionPeriodInDays: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. */ readonly iotDomainId: pulumi.Output; /** * The type of data retention period to apply. Allowed values are RAW_DATA, REJECTED_DATA, HISTORIZED_DATA, and RAW_COMMAND_DATA. * * ** 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 type: pulumi.Output; /** * Create a IotIotDomainChangeDataRetentionPeriod 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: IotIotDomainChangeDataRetentionPeriodArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IotIotDomainChangeDataRetentionPeriod resources. */ export interface IotIotDomainChangeDataRetentionPeriodState { /** * The duration (in days) for which data will be retained in the IoT domain. */ dataRetentionPeriodInDays?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. */ iotDomainId?: pulumi.Input; /** * The type of data retention period to apply. Allowed values are RAW_DATA, REJECTED_DATA, HISTORIZED_DATA, and RAW_COMMAND_DATA. * * ** 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 */ type?: pulumi.Input; } /** * The set of arguments for constructing a IotIotDomainChangeDataRetentionPeriod resource. */ export interface IotIotDomainChangeDataRetentionPeriodArgs { /** * The duration (in days) for which data will be retained in the IoT domain. */ dataRetentionPeriodInDays: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. */ iotDomainId: pulumi.Input; /** * The type of data retention period to apply. Allowed values are RAW_DATA, REJECTED_DATA, HISTORIZED_DATA, and RAW_COMMAND_DATA. * * ** 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 */ type: pulumi.Input; } //# sourceMappingURL=iotIotDomainChangeDataRetentionPeriod.d.ts.map