published on Monday, Jun 15, 2026 by Volcengine
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.
Contact Group Contact> - 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
[]Contact
Group Contact Args - 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<Contact
Group Contact> - 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
Contact
Group Contact[] - 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[Contact
Group Contact Args] - 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:
- Account
Id string - Account ID that created this contact group
- Contact
Group stringId - 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
- Account
Id string - Account ID that created this contact group
- Contact
Group stringId - 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
- account_
id string - Account ID that created this contact group
- contact_
group_ stringid - 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
- account
Id String - Account ID that created this contact group
- contact
Group StringId - 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
- account
Id string - Account ID that created this contact group
- contact
Group stringId - 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
- account_
id str - Account ID that created this contact group
- contact_
group_ strid - 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
- account
Id String - Account ID that created this contact group
- contact
Group StringId - 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
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) -> ContactGroupfunc 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.
- Account
Id string - Account ID that created this contact group
- Contact
Group stringId - Contact group ID
- Contacts
List<Volcengine.
Contact Group Contact> - 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
- Account
Id string - Account ID that created this contact group
- Contact
Group stringId - Contact group ID
- Contacts
[]Contact
Group Contact Args - 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
- account_
id string - Account ID that created this contact group
- contact_
group_ stringid - 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
- account
Id String - Account ID that created this contact group
- contact
Group StringId - Contact group ID
- contacts
List<Contact
Group Contact> - 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
- account
Id string - Account ID that created this contact group
- contact
Group stringId - Contact group ID
- contacts
Contact
Group Contact[] - 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
- account_
id str - Account ID that created this contact group
- contact_
group_ strid - Contact group ID
- contacts
Sequence[Contact
Group Contact Args] - 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
- account
Id String - Account ID that created this contact group
- contact
Group StringId - Contact group ID
- contacts List<Property Map>
- 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
Supporting Types
ContactGroupContact, ContactGroupContactArgs
- Contact
Id string - Contact ID
- Contact
Id string - Contact ID
- contact_
id string - Contact ID
- contact
Id String - Contact ID
- contact
Id string - Contact ID
- contact_
id str - Contact ID
- contact
Id 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
volcengineccTerraform Provider.
published on Monday, Jun 15, 2026 by Volcengine