Volcengine v0.0.24 published on Tuesday, Jun 25, 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
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 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
})
}
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());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cloud_monitor.contact_groups(name="tftest")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cloud_monitor.ContactGroups({
name: "tftest",
});
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) ContactGroupsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:cloud_monitor:ContactGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- Output
File string - File name where to save data source results.
- Name string
- Search for keywords in contact group names, supports fuzzy search.
- Output
File string - File name where to save data source results.
- name String
- Search for keywords in contact group names, supports fuzzy search.
- output
File String - File name where to save data source results.
- name string
- Search for keywords in contact group names, supports fuzzy search.
- output
File 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.
- output
File String - File name where to save data source results.
ContactGroups Result
The following output properties are available:
- Groups
List<Contact
Groups Group> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Name string
- The name of the contact group.
- Output
File string
- Groups
[]Contact
Groups Group - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Name string
- The name of the contact group.
- Output
File string
- groups
List<Contact
Groups Group> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- name String
- The name of the contact group.
- output
File String
- groups
Contact
Groups Group[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- name string
- The name of the contact group.
- output
File string
- groups
Sequence[Contact
Groups 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.
- total
Count Number - The total count of query.
- name String
- The name of the contact group.
- output
File String
Supporting Types
ContactGroupsGroup
- Account
Id string - The id of the account.
- Contacts
List<Contact
Groups Group Contact> - Contact information in the contact group.
- Created
At 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.
- Updated
At string - The update time.
- Account
Id string - The id of the account.
- Contacts
[]Contact
Groups Group Contact - Contact information in the contact group.
- Created
At 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.
- Updated
At string - The update time.
- account
Id String - The id of the account.
- contacts
List<Contact
Groups Group Contact> - Contact information in the contact group.
- created
At 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.
- updated
At String - The update time.
- account
Id string - The id of the account.
- contacts
Contact
Groups Group Contact[] - Contact information in the contact group.
- created
At 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.
- updated
At string - The update time.
- account_
id str - The id of the account.
- contacts
Sequence[Contact
Groups 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.
- account
Id String - The id of the account.
- contacts List<Property Map>
- Contact information in the contact group.
- created
At 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.
- updated
At String - The update time.
ContactGroupsGroupContact
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.