Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.cloud_monitor.Contacts has been deprecated in favor of volcengine.cloud_monitor.getContacts
Use this data source to query detailed information of cloud monitor contacts
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cloud_monitor.getContacts({
ids: [
"17******516",
"1712**********0",
],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cloud_monitor.get_contacts(ids=[
"17******516",
"1712**********0",
])
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.GetContacts(ctx, &cloud_monitor.GetContactsArgs{
Ids: []string{
"17******516",
"1712**********0",
},
}, 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.GetContacts.Invoke(new()
{
Ids = new[]
{
"17******516",
"1712**********0",
},
});
});
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.GetContactsArgs;
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.getContacts(GetContactsArgs.builder()
.ids(
"17******516",
"1712**********0")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cloud_monitor:getContacts
Arguments:
ids:
- 17******516
- 1712**********0
Using Contacts
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 contacts(args: ContactsArgs, opts?: InvokeOptions): Promise<ContactsResult>
function contactsOutput(args: ContactsOutputArgs, opts?: InvokeOptions): Output<ContactsResult>def contacts(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ContactsResult
def contacts_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ContactsResult]func Contacts(ctx *Context, args *ContactsArgs, opts ...InvokeOption) (*ContactsResult, error)
func ContactsOutput(ctx *Context, args *ContactsOutputArgs, opts ...InvokeOption) ContactsResultOutputpublic static class Contacts
{
public static Task<ContactsResult> InvokeAsync(ContactsArgs args, InvokeOptions? opts = null)
public static Output<ContactsResult> Invoke(ContactsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ContactsResult> contacts(ContactsArgs args, InvokeOptions options)
public static Output<ContactsResult> contacts(ContactsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cloud_monitor:Contacts
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Contact IDs.
- Output
File string - File name where to save data source results.
- Ids []string
- A list of Contact IDs.
- Output
File string - File name where to save data source results.
- ids List<String>
- A list of Contact IDs.
- output
File String - File name where to save data source results.
- ids string[]
- A list of Contact IDs.
- output
File string - File name where to save data source results.
- ids Sequence[str]
- A list of Contact IDs.
- output_
file str - File name where to save data source results.
- ids List<String>
- A list of Contact IDs.
- output
File String - File name where to save data source results.
Contacts Result
The following output properties are available:
- Contacts
List<Contacts
Contact> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Total
Count int - The total count of query.
- Output
File string
- Contacts
[]Contacts
Contact - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Total
Count int - The total count of query.
- Output
File string
- contacts
List<Contacts
Contact> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- total
Count Integer - The total count of query.
- output
File String
- contacts
Contacts
Contact[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- total
Count number - The total count of query.
- output
File string
- contacts
Sequence[Contacts
Contact] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- total_
count int - The total count of query.
- output_
file str
- contacts List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- total
Count Number - The total count of query.
- output
File String
Supporting Types
ContactsContact
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
