1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. cloudmonitor
  6. ContactGroup
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine

    Details of contact groups that meet the criteria

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      cloudMonitorContactGroupDemo:
        type: volcenginecc:cloudmonitor:ContactGroup
        name: CloudMonitorContactGroupDemo
        properties:
          name: TestContactGroup
          description: TestContactGroup Description
          contacts:
            - contact_id: 20562729774143xxxx
            - contact_id: 20562729184541xxxx
            - contact_id: 20562728672541xxxx
    
    Example coming soon!
    

    Create ContactGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContactGroup(name: string, args: ContactGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ContactGroup(resource_name: str,
                     args: ContactGroupArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContactGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     contacts: Optional[Sequence[ContactGroupContactArgs]] = None,
                     description: Optional[str] = None)
    func NewContactGroup(ctx *Context, name string, args ContactGroupArgs, opts ...ResourceOption) (*ContactGroup, error)
    public ContactGroup(string name, ContactGroupArgs args, CustomResourceOptions? opts = null)
    public ContactGroup(String name, ContactGroupArgs args)
    public ContactGroup(String name, ContactGroupArgs args, CustomResourceOptions options)
    
    type: volcenginecc:cloudmonitor:ContactGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_cloudmonitor_contactgroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ContactGroupArgs
    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 ContactGroupArgs
    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 ContactGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContactGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContactGroupArgs
    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 contactGroupResource = new Volcenginecc.Cloudmonitor.ContactGroup("contactGroupResource", new()
    {
        Name = "string",
        Contacts = new[]
        {
            new Volcenginecc.Cloudmonitor.Inputs.ContactGroupContactArgs
            {
                ContactId = "string",
            },
        },
        Description = "string",
    });
    
    example, err := cloudmonitor.NewContactGroup(ctx, "contactGroupResource", &cloudmonitor.ContactGroupArgs{
    	Name: pulumi.String("string"),
    	Contacts: cloudmonitor.ContactGroupContactArray{
    		&cloudmonitor.ContactGroupContactArgs{
    			ContactId: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    })
    
    resource "volcenginecc_cloudmonitor_contactgroup" "contactGroupResource" {
      name = "string"
      contacts {
        contact_id = "string"
      }
      description = "string"
    }
    
    var contactGroupResource = new ContactGroup("contactGroupResource", ContactGroupArgs.builder()
        .name("string")
        .contacts(ContactGroupContactArgs.builder()
            .contactId("string")
            .build())
        .description("string")
        .build());
    
    contact_group_resource = volcenginecc.cloudmonitor.ContactGroup("contactGroupResource",
        name="string",
        contacts=[{
            "contact_id": "string",
        }],
        description="string")
    
    const contactGroupResource = new volcenginecc.cloudmonitor.ContactGroup("contactGroupResource", {
        name: "string",
        contacts: [{
            contactId: "string",
        }],
        description: "string",
    });
    
    type: volcenginecc:cloudmonitor:ContactGroup
    properties:
        contacts:
            - contactId: string
        description: string
        name: string
    

    ContactGroup 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 ContactGroup resource accepts the following input properties:

    Name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    Contacts List<Volcengine.ContactGroupContact>
    Description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    Name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    Contacts []ContactGroupContactArgs
    Description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    contacts list(object)
    description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name String
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    contacts List<ContactGroupContact>
    description String
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    contacts ContactGroupContact[]
    description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name str
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    contacts Sequence[ContactGroupContactArgs]
    description str
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name String
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    contacts List<Property Map>
    description String
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContactGroup resource produces the following output properties:

    AccountId string
    Account ID that created this contact group
    ContactGroupId string
    Contact group ID
    CreatedAt string
    Contact group creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Contact group update time
    AccountId string
    Account ID that created this contact group
    ContactGroupId string
    Contact group ID
    CreatedAt string
    Contact group creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Contact group update time
    account_id string
    Account ID that created this contact group
    contact_group_id string
    Contact group ID
    created_at string
    Contact group creation time
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    Contact group update time
    accountId String
    Account ID that created this contact group
    contactGroupId String
    Contact group ID
    createdAt String
    Contact group creation time
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Contact group update time
    accountId string
    Account ID that created this contact group
    contactGroupId string
    Contact group ID
    createdAt string
    Contact group creation time
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Contact group update time
    account_id str
    Account ID that created this contact group
    contact_group_id str
    Contact group ID
    created_at str
    Contact group creation time
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Contact group update time
    accountId String
    Account ID that created this contact group
    contactGroupId String
    Contact group ID
    createdAt String
    Contact group creation time
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Contact group update time

    Look up Existing ContactGroup Resource

    Get an existing ContactGroup 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?: ContactGroupState, opts?: CustomResourceOptions): ContactGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            contact_group_id: Optional[str] = None,
            contacts: Optional[Sequence[ContactGroupContactArgs]] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None) -> ContactGroup
    func GetContactGroup(ctx *Context, name string, id IDInput, state *ContactGroupState, opts ...ResourceOption) (*ContactGroup, error)
    public static ContactGroup Get(string name, Input<string> id, ContactGroupState? state, CustomResourceOptions? opts = null)
    public static ContactGroup get(String name, Output<String> id, ContactGroupState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:cloudmonitor:ContactGroup    get:      id: ${id}
    import {
      to = volcenginecc_cloudmonitor_contactgroup.example
      id = "${id}"
    }
    
    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.
    The following state arguments are supported:
    AccountId string
    Account ID that created this contact group
    ContactGroupId string
    Contact group ID
    Contacts List<Volcengine.ContactGroupContact>
    CreatedAt string
    Contact group creation time
    Description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    Name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    UpdatedAt string
    Contact group update time
    AccountId string
    Account ID that created this contact group
    ContactGroupId string
    Contact group ID
    Contacts []ContactGroupContactArgs
    CreatedAt string
    Contact group creation time
    Description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    Name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    UpdatedAt string
    Contact group update time
    account_id string
    Account ID that created this contact group
    contact_group_id string
    Contact group ID
    contacts list(object)
    created_at string
    Contact group creation time
    description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    updated_at string
    Contact group update time
    accountId String
    Account ID that created this contact group
    contactGroupId String
    Contact group ID
    contacts List<ContactGroupContact>
    createdAt String
    Contact group creation time
    description String
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name String
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    updatedAt String
    Contact group update time
    accountId string
    Account ID that created this contact group
    contactGroupId string
    Contact group ID
    contacts ContactGroupContact[]
    createdAt string
    Contact group creation time
    description string
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name string
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    updatedAt string
    Contact group update time
    account_id str
    Account ID that created this contact group
    contact_group_id str
    Contact group ID
    contacts Sequence[ContactGroupContactArgs]
    created_at str
    Contact group creation time
    description str
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name str
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    updated_at str
    Contact group update time
    accountId String
    Account ID that created this contact group
    contactGroupId String
    Contact group ID
    contacts List<Property Map>
    createdAt String
    Contact group creation time
    description String
    Contact group description. If left blank, defaults to an empty string. Length must be between 1 and 255 characters. Chinese, English, underscores, and other special characters are allowed
    name String
    Contact group name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores _, and hyphens -. Length must be between 1 and 128 characters
    updatedAt String
    Contact group update time

    Supporting Types

    ContactGroupContact, ContactGroupContactArgs

    ContactId string
    Contact ID
    ContactId string
    Contact ID
    contact_id string
    Contact ID
    contactId String
    Contact ID
    contactId string
    Contact ID
    contact_id str
    Contact ID
    contactId String
    Contact ID

    Import

    $ pulumi import volcenginecc:cloudmonitor/contactGroup:ContactGroup example "contact_group_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.43
    published on Monday, Jun 15, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial