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.vmp.Rules has been deprecated in favor of volcengine.vmp.getRules
Use this data source to query detailed information of vmp rules
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vmp.getRules({
kind: "Recording",
workspaceId: "baa02ffb-6f22-43c4-841b-ecf90ded****",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vmp.get_rules(kind="Recording",
workspace_id="baa02ffb-6f22-43c4-841b-ecf90ded****")
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.GetRules(ctx, &vmp.GetRulesArgs{
Kind: "Recording",
WorkspaceId: "baa02ffb-6f22-43c4-841b-ecf90ded****",
}, 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 @default = Volcengine.Vmp.GetRules.Invoke(new()
{
Kind = "Recording",
WorkspaceId = "baa02ffb-6f22-43c4-841b-ecf90ded****",
});
});
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.GetRulesArgs;
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 default = VmpFunctions.getRules(GetRulesArgs.builder()
.kind("Recording")
.workspaceId("baa02ffb-6f22-43c4-841b-ecf90ded****")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:vmp:getRules
Arguments:
kind: Recording
workspaceId: baa02ffb-6f22-43c4-841b-ecf90ded****
Using Rules
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 rules(args: RulesArgs, opts?: InvokeOptions): Promise<RulesResult>
function rulesOutput(args: RulesOutputArgs, opts?: InvokeOptions): Output<RulesResult>def rules(kind: Optional[str] = None,
name: Optional[str] = None,
output_file: Optional[str] = None,
rule_file_names: Optional[Sequence[str]] = None,
rule_group_names: Optional[Sequence[str]] = None,
status: Optional[str] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> RulesResult
def rules_output(kind: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
rule_file_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
rule_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
status: Optional[pulumi.Input[str]] = None,
workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[RulesResult]func Rules(ctx *Context, args *RulesArgs, opts ...InvokeOption) (*RulesResult, error)
func RulesOutput(ctx *Context, args *RulesOutputArgs, opts ...InvokeOption) RulesResultOutputpublic static class Rules
{
public static Task<RulesResult> InvokeAsync(RulesArgs args, InvokeOptions? opts = null)
public static Output<RulesResult> Invoke(RulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RulesResult> rules(RulesArgs args, InvokeOptions options)
public static Output<RulesResult> rules(RulesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vmp:Rules
arguments:
# arguments dictionaryThe following arguments are supported:
- Kind string
- The kind of rule.
- Workspace
Id string - The id of workspace.
- Name string
- The name of rule.
- Output
File string - File name where to save data source results.
- Rule
File List<string>Names - The name of rule file.
- Rule
Group List<string>Names - The name of rule group.
- Status string
- The status of rule.
- Kind string
- The kind of rule.
- Workspace
Id string - The id of workspace.
- Name string
- The name of rule.
- Output
File string - File name where to save data source results.
- Rule
File []stringNames - The name of rule file.
- Rule
Group []stringNames - The name of rule group.
- Status string
- The status of rule.
- kind String
- The kind of rule.
- workspace
Id String - The id of workspace.
- name String
- The name of rule.
- output
File String - File name where to save data source results.
- rule
File List<String>Names - The name of rule file.
- rule
Group List<String>Names - The name of rule group.
- status String
- The status of rule.
- kind string
- The kind of rule.
- workspace
Id string - The id of workspace.
- name string
- The name of rule.
- output
File string - File name where to save data source results.
- rule
File string[]Names - The name of rule file.
- rule
Group string[]Names - The name of rule group.
- status string
- The status of rule.
- kind str
- The kind of rule.
- workspace_
id str - The id of workspace.
- name str
- The name of rule.
- output_
file str - File name where to save data source results.
- rule_
file_ Sequence[str]names - The name of rule file.
- rule_
group_ Sequence[str]names - The name of rule group.
- status str
- The status of rule.
- kind String
- The kind of rule.
- workspace
Id String - The id of workspace.
- name String
- The name of rule.
- output
File String - File name where to save data source results.
- rule
File List<String>Names - The name of rule file.
- rule
Group List<String>Names - The name of rule group.
- status String
- The status of rule.
Rules Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of rule.
- Rules
List<Rules
Rule> - The collection of query.
- Total
Count int - The total count of query.
- Workspace
Id string - Name string
- The name of rule.
- Output
File string - Rule
File List<string>Names - Rule
Group List<string>Names - Status string
- The status of rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of rule.
- Rules
[]Rules
Rule - The collection of query.
- Total
Count int - The total count of query.
- Workspace
Id string - Name string
- The name of rule.
- Output
File string - Rule
File []stringNames - Rule
Group []stringNames - Status string
- The status of rule.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of rule.
- rules
List<Rules
Rule> - The collection of query.
- total
Count Integer - The total count of query.
- workspace
Id String - name String
- The name of rule.
- output
File String - rule
File List<String>Names - rule
Group List<String>Names - status String
- The status of rule.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- The kind of rule.
- rules
Rules
Rule[] - The collection of query.
- total
Count number - The total count of query.
- workspace
Id string - name string
- The name of rule.
- output
File string - rule
File string[]Names - rule
Group string[]Names - status string
- The status of rule.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- The kind of rule.
- rules
Sequence[Rules
Rule] - The collection of query.
- total_
count int - The total count of query.
- workspace_
id str - name str
- The name of rule.
- output_
file str - rule_
file_ Sequence[str]names - rule_
group_ Sequence[str]names - status str
- The status of rule.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of rule.
- rules List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- workspace
Id String - name String
- The name of rule.
- output
File String - rule
File List<String>Names - rule
Group List<String>Names - status String
- The status of rule.
Supporting Types
RulesRule
- Expr string
- The expr of rule.
- Kind string
- The kind of rule.
- Labels
List<Rules
Rule Label> - The labels of rule.
- Last
Evaluation string - The last evaluation of rule.
- Name string
- The name of rule.
- Reason string
- The reason of rule.
- Rule
File stringName - The name of rule file.
- Rule
Group stringName - The name of rule group.
- Status string
- The status of rule.
- Expr string
- The expr of rule.
- Kind string
- The kind of rule.
- Labels
[]Rules
Rule Label - The labels of rule.
- Last
Evaluation string - The last evaluation of rule.
- Name string
- The name of rule.
- Reason string
- The reason of rule.
- Rule
File stringName - The name of rule file.
- Rule
Group stringName - The name of rule group.
- Status string
- The status of rule.
- expr String
- The expr of rule.
- kind String
- The kind of rule.
- labels
List<Rules
Rule Label> - The labels of rule.
- last
Evaluation String - The last evaluation of rule.
- name String
- The name of rule.
- reason String
- The reason of rule.
- rule
File StringName - The name of rule file.
- rule
Group StringName - The name of rule group.
- status String
- The status of rule.
- expr string
- The expr of rule.
- kind string
- The kind of rule.
- labels
Rules
Rule Label[] - The labels of rule.
- last
Evaluation string - The last evaluation of rule.
- name string
- The name of rule.
- reason string
- The reason of rule.
- rule
File stringName - The name of rule file.
- rule
Group stringName - The name of rule group.
- status string
- The status of rule.
- expr str
- The expr of rule.
- kind str
- The kind of rule.
- labels
Sequence[Rules
Rule Label] - The labels of rule.
- last_
evaluation str - The last evaluation of rule.
- name str
- The name of rule.
- reason str
- The reason of rule.
- rule_
file_ strname - The name of rule file.
- rule_
group_ strname - The name of rule group.
- status str
- The status of rule.
- expr String
- The expr of rule.
- kind String
- The kind of rule.
- labels List<Property Map>
- The labels of rule.
- last
Evaluation String - The last evaluation of rule.
- name String
- The name of rule.
- reason String
- The reason of rule.
- rule
File StringName - The name of rule file.
- rule
Group StringName - The name of rule group.
- status String
- The status of rule.
RulesRuleLabel
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
