Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.cloud_monitor.ContactGroups
Explore with Pulumi AI
Use this data source to query detailed information of cloud monitor contact groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cloud_monitor.ContactGroups({
    name: "tftest",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cloud_monitor.contact_groups(name="tftest")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloud_monitor"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloud_monitor.ContactGroups(ctx, &cloud_monitor.ContactGroupsArgs{
			Name: pulumi.StringRef("tftest"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Cloud_monitor.ContactGroups.Invoke(new()
    {
        Name = "tftest",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cloud_monitor.Cloud_monitorFunctions;
import com.pulumi.volcengine.cloud_monitor.inputs.ContactGroupsArgs;
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) {
        final var foo = Cloud_monitorFunctions.ContactGroups(ContactGroupsArgs.builder()
            .name("tftest")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:cloud_monitor:ContactGroups
      Arguments:
        name: tftest
Using ContactGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function contactGroups(args: ContactGroupsArgs, opts?: InvokeOptions): Promise<ContactGroupsResult>
function contactGroupsOutput(args: ContactGroupsOutputArgs, opts?: InvokeOptions): Output<ContactGroupsResult>def contact_groups(name: Optional[str] = None,
                   output_file: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> ContactGroupsResult
def contact_groups_output(name: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[ContactGroupsResult]func ContactGroups(ctx *Context, args *ContactGroupsArgs, opts ...InvokeOption) (*ContactGroupsResult, error)
func ContactGroupsOutput(ctx *Context, args *ContactGroupsOutputArgs, opts ...InvokeOption) ContactGroupsResultOutputpublic static class ContactGroups 
{
    public static Task<ContactGroupsResult> InvokeAsync(ContactGroupsArgs args, InvokeOptions? opts = null)
    public static Output<ContactGroupsResult> Invoke(ContactGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ContactGroupsResult> contactGroups(ContactGroupsArgs args, InvokeOptions options)
public static Output<ContactGroupsResult> contactGroups(ContactGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:cloud_monitor:ContactGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- OutputFile string
- File name where to save data source results.
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- OutputFile string
- File name where to save data source results.
- name String
- Search for keywords in contact group names, supports fuzzy search.
- outputFile String
- File name where to save data source results.
- name string
- Search for keywords in contact group names, supports fuzzy search.
- outputFile string
- File name where to save data source results.
- name str
- Search for keywords in contact group names, supports fuzzy search.
- output_file str
- File name where to save data source results.
- name String
- Search for keywords in contact group names, supports fuzzy search.
- outputFile String
- File name where to save data source results.
ContactGroups Result
The following output properties are available:
- Groups
List<ContactGroups Group> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- Name string
- The name of the contact group.
- OutputFile string
- Groups
[]ContactGroups Group 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- Name string
- The name of the contact group.
- OutputFile string
- groups
List<ContactGroups Group> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- name String
- The name of the contact group.
- outputFile String
- groups
ContactGroups Group[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- name string
- The name of the contact group.
- outputFile string
- groups
Sequence[ContactGroups Group] 
- The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_count int
- The total count of query.
- name str
- The name of the contact group.
- output_file str
- groups List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of query.
- name String
- The name of the contact group.
- outputFile String
Supporting Types
ContactGroupsGroup  
- AccountId string
- The id of the account.
- Contacts
List<ContactGroups Group Contact> 
- Contact information in the contact group.
- CreatedAt string
- The create time.
- Description string
- The description of the contact group.
- Id string
- The id of the contact group.
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- UpdatedAt string
- The update time.
- AccountId string
- The id of the account.
- Contacts
[]ContactGroups Group Contact 
- Contact information in the contact group.
- CreatedAt string
- The create time.
- Description string
- The description of the contact group.
- Id string
- The id of the contact group.
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- UpdatedAt string
- The update time.
- accountId String
- The id of the account.
- contacts
List<ContactGroups Group Contact> 
- Contact information in the contact group.
- createdAt String
- The create time.
- description String
- The description of the contact group.
- id String
- The id of the contact group.
- name String
- Search for keywords in contact group names, supports fuzzy search.
- updatedAt String
- The update time.
- accountId string
- The id of the account.
- contacts
ContactGroups Group Contact[] 
- Contact information in the contact group.
- createdAt string
- The create time.
- description string
- The description of the contact group.
- id string
- The id of the contact group.
- name string
- Search for keywords in contact group names, supports fuzzy search.
- updatedAt string
- The update time.
- account_id str
- The id of the account.
- contacts
Sequence[ContactGroups Group Contact] 
- Contact information in the contact group.
- created_at str
- The create time.
- description str
- The description of the contact group.
- id str
- The id of the contact group.
- name str
- Search for keywords in contact group names, supports fuzzy search.
- updated_at str
- The update time.
- accountId String
- The id of the account.
- contacts List<Property Map>
- Contact information in the contact group.
- createdAt String
- The create time.
- description String
- The description of the contact group.
- id String
- The id of the contact group.
- name String
- Search for keywords in contact group names, supports fuzzy search.
- updatedAt String
- The update time.
ContactGroupsGroupContact   
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.