import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Occ Customer Group resource in Oracle Cloud Infrastructure Capacity Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occcm/latest/OccCustomerGroup * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/capacity_management * * Create customer group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCustomerGroup = new oci.capacitymanagement.OccCustomerGroup("test_occ_customer_group", { * compartmentId: compartmentId, * displayName: occCustomerGroupDisplayName, * customersLists: [{ * displayName: occCustomerGroupCustomersListDisplayName, * tenancyId: testTenancy.id, * description: occCustomerGroupCustomersListDescription, * status: occCustomerGroupCustomersListStatus, * }], * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: occCustomerGroupDescription, * freeformTags: { * "bar-key": "value", * }, * lifecycleDetails: occCustomerGroupLifecycleDetails, * status: occCustomerGroupStatus, * }); * ``` * * ## Import * * OccCustomerGroups can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CapacityManagement/occCustomerGroup:OccCustomerGroup test_occ_customer_group "id" * ``` */ export declare class OccCustomerGroup extends pulumi.CustomResource { /** * Get an existing OccCustomerGroup 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?: OccCustomerGroupState, opts?: pulumi.CustomResourceOptions): OccCustomerGroup; /** * Returns true if the given object is an instance of OccCustomerGroup. 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 OccCustomerGroup; /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ readonly compartmentId: pulumi.Output; /** * A list containing all the customers that belong to this customer group. */ readonly customersLists: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A description about the customer group. */ readonly description: pulumi.Output; /** * (Updatable) The name of the customer group. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State. */ readonly lifecycleDetails: pulumi.Output; /** * The current lifecycle state of the resource. */ readonly state: pulumi.Output; /** * (Updatable) To determine whether the customer group is enabled/disabled. * * ** 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 status: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the customer group was created. */ readonly timeCreated: pulumi.Output; /** * The time when the customer group was last updated. */ readonly timeUpdated: pulumi.Output; /** * Create a OccCustomerGroup 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: OccCustomerGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OccCustomerGroup resources. */ export interface OccCustomerGroupState { /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ compartmentId?: pulumi.Input; /** * A list containing all the customers that belong to this customer group. */ customersLists?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description about the customer group. */ description?: pulumi.Input; /** * (Updatable) The name of the customer group. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State. */ lifecycleDetails?: pulumi.Input; /** * The current lifecycle state of the resource. */ state?: pulumi.Input; /** * (Updatable) To determine whether the customer group is enabled/disabled. * * ** 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 */ status?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the customer group was created. */ timeCreated?: pulumi.Input; /** * The time when the customer group was last updated. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a OccCustomerGroup resource. */ export interface OccCustomerGroupArgs { /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ compartmentId: pulumi.Input; /** * A list containing all the customers that belong to this customer group. */ customersLists?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description about the customer group. */ description?: pulumi.Input; /** * (Updatable) The name of the customer group. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) To determine whether the customer group is enabled/disabled. * * ** 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 */ status?: pulumi.Input; } //# sourceMappingURL=occCustomerGroup.d.ts.map