Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.cloud_monitor.Contacts
Explore with Pulumi AI
Use this data source to query detailed information of cloud monitor contacts
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Cloud_monitor.Contacts.Invoke(new()
{
Ids = new[]
{
"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.Contacts(ctx, &cloud_monitor.ContactsArgs{
Ids: []string{
"17******516",
"1712**********0",
},
}, 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.ContactsArgs;
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.Contacts(ContactsArgs.builder()
.ids(
"17******516",
"1712**********0")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cloud_monitor.contacts(ids=[
"17******516",
"1712**********0",
])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cloud_monitor.Contacts({
ids: [
"17******516",
"1712**********0",
],
});
variables:
foo:
fn::invoke:
Function: volcengine:cloud_monitor:Contacts
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) ContactsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:cloud_monitor:Contacts
arguments:
# arguments dictionary
The 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
volcengine
Terraform Provider.