oci.CapacityManagement.OccCustomerGroup
Explore with Pulumi AI
This resource provides the Occ Customer Group resource in Oracle Cloud Infrastructure Capacity Management service.
Create customer group.
Example Usage
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 pulumi
import pulumi_oci as oci
test_occ_customer_group = oci.capacity_management.OccCustomerGroup("test_occ_customer_group",
compartment_id=compartment_id,
display_name=occ_customer_group_display_name,
customers_lists=[{
"display_name": occ_customer_group_customers_list_display_name,
"tenancy_id": test_tenancy["id"],
"description": occ_customer_group_customers_list_description,
"status": occ_customer_group_customers_list_status,
}],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=occ_customer_group_description,
freeform_tags={
"bar-key": "value",
},
lifecycle_details=occ_customer_group_lifecycle_details,
status=occ_customer_group_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/CapacityManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CapacityManagement.NewOccCustomerGroup(ctx, "test_occ_customer_group", &CapacityManagement.OccCustomerGroupArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(occCustomerGroupDisplayName),
CustomersLists: capacitymanagement.OccCustomerGroupCustomersListArray{
&capacitymanagement.OccCustomerGroupCustomersListArgs{
DisplayName: pulumi.Any(occCustomerGroupCustomersListDisplayName),
TenancyId: pulumi.Any(testTenancy.Id),
Description: pulumi.Any(occCustomerGroupCustomersListDescription),
Status: pulumi.Any(occCustomerGroupCustomersListStatus),
},
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(occCustomerGroupDescription),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
LifecycleDetails: pulumi.Any(occCustomerGroupLifecycleDetails),
Status: pulumi.Any(occCustomerGroupStatus),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testOccCustomerGroup = new Oci.CapacityManagement.OccCustomerGroup("test_occ_customer_group", new()
{
CompartmentId = compartmentId,
DisplayName = occCustomerGroupDisplayName,
CustomersLists = new[]
{
new Oci.CapacityManagement.Inputs.OccCustomerGroupCustomersListArgs
{
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,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CapacityManagement.OccCustomerGroup;
import com.pulumi.oci.CapacityManagement.OccCustomerGroupArgs;
import com.pulumi.oci.CapacityManagement.inputs.OccCustomerGroupCustomersListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testOccCustomerGroup = new OccCustomerGroup("testOccCustomerGroup", OccCustomerGroupArgs.builder()
.compartmentId(compartmentId)
.displayName(occCustomerGroupDisplayName)
.customersLists(OccCustomerGroupCustomersListArgs.builder()
.displayName(occCustomerGroupCustomersListDisplayName)
.tenancyId(testTenancy.id())
.description(occCustomerGroupCustomersListDescription)
.status(occCustomerGroupCustomersListStatus)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(occCustomerGroupDescription)
.freeformTags(Map.of("bar-key", "value"))
.lifecycleDetails(occCustomerGroupLifecycleDetails)
.status(occCustomerGroupStatus)
.build());
}
}
resources:
testOccCustomerGroup:
type: oci:CapacityManagement:OccCustomerGroup
name: test_occ_customer_group
properties:
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}
Create OccCustomerGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OccCustomerGroup(name: string, args: OccCustomerGroupArgs, opts?: CustomResourceOptions);
@overload
def OccCustomerGroup(resource_name: str,
args: OccCustomerGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OccCustomerGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
customers_lists: Optional[Sequence[_capacitymanagement.OccCustomerGroupCustomersListArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
status: Optional[str] = None)
func NewOccCustomerGroup(ctx *Context, name string, args OccCustomerGroupArgs, opts ...ResourceOption) (*OccCustomerGroup, error)
public OccCustomerGroup(string name, OccCustomerGroupArgs args, CustomResourceOptions? opts = null)
public OccCustomerGroup(String name, OccCustomerGroupArgs args)
public OccCustomerGroup(String name, OccCustomerGroupArgs args, CustomResourceOptions options)
type: oci:CapacityManagement:OccCustomerGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OccCustomerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OccCustomerGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OccCustomerGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OccCustomerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OccCustomerGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var occCustomerGroupResource = new Oci.CapacityManagement.OccCustomerGroup("occCustomerGroupResource", new()
{
CompartmentId = "string",
DisplayName = "string",
CustomersLists = new[]
{
new Oci.CapacityManagement.Inputs.OccCustomerGroupCustomersListArgs
{
DisplayName = "string",
TenancyId = "string",
Description = "string",
OccCustomerGroupId = "string",
Status = "string",
},
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
LifecycleDetails = "string",
Status = "string",
});
example, err := CapacityManagement.NewOccCustomerGroup(ctx, "occCustomerGroupResource", &CapacityManagement.OccCustomerGroupArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
CustomersLists: capacitymanagement.OccCustomerGroupCustomersListArray{
&capacitymanagement.OccCustomerGroupCustomersListArgs{
DisplayName: pulumi.String("string"),
TenancyId: pulumi.String("string"),
Description: pulumi.String("string"),
OccCustomerGroupId: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
LifecycleDetails: pulumi.String("string"),
Status: pulumi.String("string"),
})
var occCustomerGroupResource = new OccCustomerGroup("occCustomerGroupResource", OccCustomerGroupArgs.builder()
.compartmentId("string")
.displayName("string")
.customersLists(OccCustomerGroupCustomersListArgs.builder()
.displayName("string")
.tenancyId("string")
.description("string")
.occCustomerGroupId("string")
.status("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.lifecycleDetails("string")
.status("string")
.build());
occ_customer_group_resource = oci.capacity_management.OccCustomerGroup("occCustomerGroupResource",
compartment_id="string",
display_name="string",
customers_lists=[{
"display_name": "string",
"tenancy_id": "string",
"description": "string",
"occ_customer_group_id": "string",
"status": "string",
}],
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
lifecycle_details="string",
status="string")
const occCustomerGroupResource = new oci.capacitymanagement.OccCustomerGroup("occCustomerGroupResource", {
compartmentId: "string",
displayName: "string",
customersLists: [{
displayName: "string",
tenancyId: "string",
description: "string",
occCustomerGroupId: "string",
status: "string",
}],
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
lifecycleDetails: "string",
status: "string",
});
type: oci:CapacityManagement:OccCustomerGroup
properties:
compartmentId: string
customersLists:
- description: string
displayName: string
occCustomerGroupId: string
status: string
tenancyId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
lifecycleDetails: string
status: string
OccCustomerGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OccCustomerGroup resource accepts the following input properties:
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Display
Name string - (Updatable) The name of the customer group.
- Customers
Lists List<OccCustomer Group Customers List> - A list containing all the customers that belong to this customer group.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A description about the customer group.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- Status string
(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
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Display
Name string - (Updatable) The name of the customer group.
- Customers
Lists []OccCustomer Group Customers List Args - A list containing all the customers that belong to this customer group.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A description about the customer group.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- Status string
(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
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name String - (Updatable) The name of the customer group.
- customers
Lists List<OccCustomer Group Customers List> - A list containing all the customers that belong to this customer group.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A description about the customer group.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- status String
(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
- compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name string - (Updatable) The name of the customer group.
- customers
Lists OccCustomer Group Customers List[] - A list containing all the customers that belong to this customer group.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A description about the customer group.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- status string
(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
- compartment_
id str - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display_
name str - (Updatable) The name of the customer group.
- customers_
lists Sequence[capacitymanagement.Occ Customer Group Customers List Args] - A list containing all the customers that belong to this customer group.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A description about the customer group.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str - 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.
- status str
(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
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name String - (Updatable) The name of the customer group.
- customers
Lists List<Property Map> - A list containing all the customers that belong to this customer group.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A description about the customer group.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- status String
(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
Outputs
All input properties are implicitly available as output properties. Additionally, the OccCustomerGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current lifecycle state of the resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the customer group was created.
- Time
Updated string - The time when the customer group was last updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current lifecycle state of the resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the customer group was created.
- Time
Updated string - The time when the customer group was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current lifecycle state of the resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the customer group was created.
- time
Updated String - The time when the customer group was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current lifecycle state of the resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the customer group was created.
- time
Updated string - The time when the customer group was last updated.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current lifecycle state of the resource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when the customer group was created.
- time_
updated str - The time when the customer group was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current lifecycle state of the resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the customer group was created.
- time
Updated String - The time when the customer group was last updated.
Look up Existing OccCustomerGroup Resource
Get an existing OccCustomerGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OccCustomerGroupState, opts?: CustomResourceOptions): OccCustomerGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
customers_lists: Optional[Sequence[_capacitymanagement.OccCustomerGroupCustomersListArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> OccCustomerGroup
func GetOccCustomerGroup(ctx *Context, name string, id IDInput, state *OccCustomerGroupState, opts ...ResourceOption) (*OccCustomerGroup, error)
public static OccCustomerGroup Get(string name, Input<string> id, OccCustomerGroupState? state, CustomResourceOptions? opts = null)
public static OccCustomerGroup get(String name, Output<String> id, OccCustomerGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Customers
Lists List<OccCustomer Group Customers List> - A list containing all the customers that belong to this customer group.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A description about the customer group.
- Display
Name string - (Updatable) The name of the customer group.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- State string
- The current lifecycle state of the resource.
- Status string
(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
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the customer group was created.
- Time
Updated string - The time when the customer group was last updated.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Customers
Lists []OccCustomer Group Customers List Args - A list containing all the customers that belong to this customer group.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A description about the customer group.
- Display
Name string - (Updatable) The name of the customer group.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- State string
- The current lifecycle state of the resource.
- Status string
(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
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the customer group was created.
- Time
Updated string - The time when the customer group was last updated.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- customers
Lists List<OccCustomer Group Customers List> - A list containing all the customers that belong to this customer group.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A description about the customer group.
- display
Name String - (Updatable) The name of the customer group.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- state String
- The current lifecycle state of the resource.
- status String
(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
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the customer group was created.
- time
Updated String - The time when the customer group was last updated.
- compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- customers
Lists OccCustomer Group Customers List[] - A list containing all the customers that belong to this customer group.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A description about the customer group.
- display
Name string - (Updatable) The name of the customer group.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- state string
- The current lifecycle state of the resource.
- status string
(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
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the customer group was created.
- time
Updated string - The time when the customer group was last updated.
- compartment_
id str - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- customers_
lists Sequence[capacitymanagement.Occ Customer Group Customers List Args] - A list containing all the customers that belong to this customer group.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A description about the customer group.
- display_
name str - (Updatable) The name of the customer group.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str - 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.
- state str
- The current lifecycle state of the resource.
- status str
(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
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when the customer group was created.
- time_
updated str - The time when the customer group was last updated.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- customers
Lists List<Property Map> - A list containing all the customers that belong to this customer group.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A description about the customer group.
- display
Name String - (Updatable) The name of the customer group.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- state String
- The current lifecycle state of the resource.
- status String
(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
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the customer group was created.
- time
Updated String - The time when the customer group was last updated.
Supporting Types
OccCustomerGroupCustomersList, OccCustomerGroupCustomersListArgs
- Display
Name string - The display name for the customer.
- Tenancy
Id string - The OCID of the tenancy belonging to the customer.
- Description string
- The description about the customer group.
- Occ
Customer stringGroup Id - The OCID of the customer group.
- Status string
- To determine whether the customer is enabled/disabled.
- Display
Name string - The display name for the customer.
- Tenancy
Id string - The OCID of the tenancy belonging to the customer.
- Description string
- The description about the customer group.
- Occ
Customer stringGroup Id - The OCID of the customer group.
- Status string
- To determine whether the customer is enabled/disabled.
- display
Name String - The display name for the customer.
- tenancy
Id String - The OCID of the tenancy belonging to the customer.
- description String
- The description about the customer group.
- occ
Customer StringGroup Id - The OCID of the customer group.
- status String
- To determine whether the customer is enabled/disabled.
- display
Name string - The display name for the customer.
- tenancy
Id string - The OCID of the tenancy belonging to the customer.
- description string
- The description about the customer group.
- occ
Customer stringGroup Id - The OCID of the customer group.
- status string
- To determine whether the customer is enabled/disabled.
- display_
name str - The display name for the customer.
- tenancy_
id str - The OCID of the tenancy belonging to the customer.
- description str
- The description about the customer group.
- occ_
customer_ strgroup_ id - The OCID of the customer group.
- status str
- To determine whether the customer is enabled/disabled.
- display
Name String - The display name for the customer.
- tenancy
Id String - The OCID of the tenancy belonging to the customer.
- description String
- The description about the customer group.
- occ
Customer StringGroup Id - The OCID of the customer group.
- status String
- To determine whether the customer is enabled/disabled.
Import
OccCustomerGroups can be imported using the id
, e.g.
$ pulumi import oci:CapacityManagement/occCustomerGroup:OccCustomerGroup test_occ_customer_group "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.