Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine
Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine
Deprecated: volcengine.vmp.SilencePolicies has been deprecated in favor of volcengine.vmp.getSilencePolicies
Use this data source to query detailed information of vmp silence policies
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.vmp.getSilencePolicies({
ids: ["ea51e747-0ead-4e09-9187-76beba6400b7"],
name: "tf-acc-silence",
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.vmp.get_silence_policies(ids=["ea51e747-0ead-4e09-9187-76beba6400b7"],
name="tf-acc-silence")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vmp"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vmp.GetSilencePolicies(ctx, &vmp.GetSilencePoliciesArgs{
Ids: []string{
"ea51e747-0ead-4e09-9187-76beba6400b7",
},
Name: pulumi.StringRef("tf-acc-silence"),
}, 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 example = Volcengine.Vmp.GetSilencePolicies.Invoke(new()
{
Ids = new[]
{
"ea51e747-0ead-4e09-9187-76beba6400b7",
},
Name = "tf-acc-silence",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vmp.VmpFunctions;
import com.pulumi.volcengine.vmp.inputs.GetSilencePoliciesArgs;
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 example = VmpFunctions.getSilencePolicies(GetSilencePoliciesArgs.builder()
.ids("ea51e747-0ead-4e09-9187-76beba6400b7")
.name("tf-acc-silence")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:vmp:getSilencePolicies
Arguments:
ids:
- ea51e747-0ead-4e09-9187-76beba6400b7
name: tf-acc-silence
Using SilencePolicies
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 silencePolicies(args: SilencePoliciesArgs, opts?: InvokeOptions): Promise<SilencePoliciesResult>
function silencePoliciesOutput(args: SilencePoliciesOutputArgs, opts?: InvokeOptions): Output<SilencePoliciesResult>def silence_policies(ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
output_file: Optional[str] = None,
sources: Optional[Sequence[str]] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> SilencePoliciesResult
def silence_policies_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[SilencePoliciesResult]func SilencePolicies(ctx *Context, args *SilencePoliciesArgs, opts ...InvokeOption) (*SilencePoliciesResult, error)
func SilencePoliciesOutput(ctx *Context, args *SilencePoliciesOutputArgs, opts ...InvokeOption) SilencePoliciesResultOutputpublic static class SilencePolicies
{
public static Task<SilencePoliciesResult> InvokeAsync(SilencePoliciesArgs args, InvokeOptions? opts = null)
public static Output<SilencePoliciesResult> Invoke(SilencePoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<SilencePoliciesResult> silencePolicies(SilencePoliciesArgs args, InvokeOptions options)
public static Output<SilencePoliciesResult> silencePolicies(SilencePoliciesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vmp:SilencePolicies
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of silence policy ids.
- Name string
- The name of silence policy.
- Output
File string - File name where to save data source results.
- Sources List<string>
- The sources of silence policy: General/LarkBot.
- Status string
- The status of silence policy: Active/Disabled/Expired.
- Ids []string
- A list of silence policy ids.
- Name string
- The name of silence policy.
- Output
File string - File name where to save data source results.
- Sources []string
- The sources of silence policy: General/LarkBot.
- Status string
- The status of silence policy: Active/Disabled/Expired.
- ids List<String>
- A list of silence policy ids.
- name String
- The name of silence policy.
- output
File String - File name where to save data source results.
- sources List<String>
- The sources of silence policy: General/LarkBot.
- status String
- The status of silence policy: Active/Disabled/Expired.
- ids string[]
- A list of silence policy ids.
- name string
- The name of silence policy.
- output
File string - File name where to save data source results.
- sources string[]
- The sources of silence policy: General/LarkBot.
- status string
- The status of silence policy: Active/Disabled/Expired.
- ids Sequence[str]
- A list of silence policy ids.
- name str
- The name of silence policy.
- output_
file str - File name where to save data source results.
- sources Sequence[str]
- The sources of silence policy: General/LarkBot.
- status str
- The status of silence policy: Active/Disabled/Expired.
- ids List<String>
- A list of silence policy ids.
- name String
- The name of silence policy.
- output
File String - File name where to save data source results.
- sources List<String>
- The sources of silence policy: General/LarkBot.
- status String
- The status of silence policy: Active/Disabled/Expired.
SilencePolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Silence
Policies List<SilencePolicies Silence Policy> - The list of silence policies.
- Total
Count int - The total count of query.
- Ids List<string>
- Name string
- The name of the silence policy.
- Output
File string - Sources List<string>
- Status string
- The status of the silence policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Silence
Policies []SilencePolicies Silence Policy - The list of silence policies.
- Total
Count int - The total count of query.
- Ids []string
- Name string
- The name of the silence policy.
- Output
File string - Sources []string
- Status string
- The status of the silence policy.
- id String
- The provider-assigned unique ID for this managed resource.
- silence
Policies List<SilencePolicies Silence Policy> - The list of silence policies.
- total
Count Integer - The total count of query.
- ids List<String>
- name String
- The name of the silence policy.
- output
File String - sources List<String>
- status String
- The status of the silence policy.
- id string
- The provider-assigned unique ID for this managed resource.
- silence
Policies SilencePolicies Silence Policy[] - The list of silence policies.
- total
Count number - The total count of query.
- ids string[]
- name string
- The name of the silence policy.
- output
File string - sources string[]
- status string
- The status of the silence policy.
- id str
- The provider-assigned unique ID for this managed resource.
- silence_
policies Sequence[SilencePolicies Silence Policy] - The list of silence policies.
- total_
count int - The total count of query.
- ids Sequence[str]
- name str
- The name of the silence policy.
- output_
file str - sources Sequence[str]
- status str
- The status of the silence policy.
- id String
- The provider-assigned unique ID for this managed resource.
- silence
Policies List<Property Map> - The list of silence policies.
- total
Count Number - The total count of query.
- ids List<String>
- name String
- The name of the silence policy.
- output
File String - sources List<String>
- status String
- The status of the silence policy.
Supporting Types
SilencePoliciesSilencePolicy
- Auto
Delete stringTime - The auto delete time of the silence policy.
- Create
Time string - The create time of the silence policy, in RFC3339 format.
- Description string
- The description of the silence policy.
- Id string
- The id of the silence policy.
- Name string
- The name of silence policy.
- Source string
- The source of the silence policy.
- Status string
- The status of silence policy: Active/Disabled/Expired.
- Time
Range List<SilenceMatchers Policies Silence Policy Time Range Matcher> - The matching time in the alert silence policy.
- Update
Time string - The update time of the silence policy, in RFC3339 format.
- Auto
Delete stringTime - The auto delete time of the silence policy.
- Create
Time string - The create time of the silence policy, in RFC3339 format.
- Description string
- The description of the silence policy.
- Id string
- The id of the silence policy.
- Name string
- The name of silence policy.
- Source string
- The source of the silence policy.
- Status string
- The status of silence policy: Active/Disabled/Expired.
- Time
Range []SilenceMatchers Policies Silence Policy Time Range Matcher - The matching time in the alert silence policy.
- Update
Time string - The update time of the silence policy, in RFC3339 format.
- auto
Delete StringTime - The auto delete time of the silence policy.
- create
Time String - The create time of the silence policy, in RFC3339 format.
- description String
- The description of the silence policy.
- id String
- The id of the silence policy.
- name String
- The name of silence policy.
- source String
- The source of the silence policy.
- status String
- The status of silence policy: Active/Disabled/Expired.
- time
Range List<SilenceMatchers Policies Silence Policy Time Range Matcher> - The matching time in the alert silence policy.
- update
Time String - The update time of the silence policy, in RFC3339 format.
- auto
Delete stringTime - The auto delete time of the silence policy.
- create
Time string - The create time of the silence policy, in RFC3339 format.
- description string
- The description of the silence policy.
- id string
- The id of the silence policy.
- name string
- The name of silence policy.
- source string
- The source of the silence policy.
- status string
- The status of silence policy: Active/Disabled/Expired.
- time
Range SilenceMatchers Policies Silence Policy Time Range Matcher[] - The matching time in the alert silence policy.
- update
Time string - The update time of the silence policy, in RFC3339 format.
- auto_
delete_ strtime - The auto delete time of the silence policy.
- create_
time str - The create time of the silence policy, in RFC3339 format.
- description str
- The description of the silence policy.
- id str
- The id of the silence policy.
- name str
- The name of silence policy.
- source str
- The source of the silence policy.
- status str
- The status of silence policy: Active/Disabled/Expired.
- time_
range_ Sequence[Silencematchers Policies Silence Policy Time Range Matcher] - The matching time in the alert silence policy.
- update_
time str - The update time of the silence policy, in RFC3339 format.
- auto
Delete StringTime - The auto delete time of the silence policy.
- create
Time String - The create time of the silence policy, in RFC3339 format.
- description String
- The description of the silence policy.
- id String
- The id of the silence policy.
- name String
- The name of silence policy.
- source String
- The source of the silence policy.
- status String
- The status of silence policy: Active/Disabled/Expired.
- time
Range List<Property Map>Matchers - The matching time in the alert silence policy.
- update
Time String - The update time of the silence policy, in RFC3339 format.
SilencePoliciesSilencePolicyTimeRangeMatcher
- Date string
- The time period for alarm silence.
- Location string
- Time zone.
- Periodic
Dates List<SilencePolicies Silence Policy Time Range Matcher Periodic Date> - The cycle of alarm silence.
- Date string
- The time period for alarm silence.
- Location string
- Time zone.
- Periodic
Dates []SilencePolicies Silence Policy Time Range Matcher Periodic Date - The cycle of alarm silence.
- date String
- The time period for alarm silence.
- location String
- Time zone.
- periodic
Dates List<SilencePolicies Silence Policy Time Range Matcher Periodic Date> - The cycle of alarm silence.
- date string
- The time period for alarm silence.
- location string
- Time zone.
- periodic
Dates SilencePolicies Silence Policy Time Range Matcher Periodic Date[] - The cycle of alarm silence.
- date str
- The time period for alarm silence.
- location str
- Time zone.
- periodic_
dates Sequence[SilencePolicies Silence Policy Time Range Matcher Periodic Date] - The cycle of alarm silence.
- date String
- The time period for alarm silence.
- location String
- Time zone.
- periodic
Dates List<Property Map> - The cycle of alarm silence.
SilencePoliciesSilencePolicyTimeRangeMatcherPeriodicDate
- Day
Of stringMonth - Days of the month, e.g. 1,15,30.
- Time string
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- Weekday string
- Weekdays, e.g. 1,3,5.
- Day
Of stringMonth - Days of the month, e.g. 1,15,30.
- Time string
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- Weekday string
- Weekdays, e.g. 1,3,5.
- day
Of StringMonth - Days of the month, e.g. 1,15,30.
- time String
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- weekday String
- Weekdays, e.g. 1,3,5.
- day
Of stringMonth - Days of the month, e.g. 1,15,30.
- time string
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- weekday string
- Weekdays, e.g. 1,3,5.
- day_
of_ strmonth - Days of the month, e.g. 1,15,30.
- time str
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- weekday str
- Weekdays, e.g. 1,3,5.
- day
Of StringMonth - Days of the month, e.g. 1,15,30.
- time String
- Time periods, e.g. 20:00~21:12,22:00~23:12.
- weekday String
- Weekdays, e.g. 1,3,5.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine
