1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. RmsPolicyAssignmentEvaluateV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.RmsPolicyAssignmentEvaluateV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for RMS Policy Assignment Evaluate you can get at documentation portal

    Manages a RMS policy assignment evaluate resource within OpenTelekomCloud resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const policyAssignmentId = config.requireObject("policyAssignmentId");
    const test = new opentelekomcloud.RmsPolicyAssignmentEvaluateV1("test", {policyAssignmentId: policyAssignmentId});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    policy_assignment_id = config.require_object("policyAssignmentId")
    test = opentelekomcloud.RmsPolicyAssignmentEvaluateV1("test", policy_assignment_id=policy_assignment_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		policyAssignmentId := cfg.RequireObject("policyAssignmentId")
    		_, err := opentelekomcloud.NewRmsPolicyAssignmentEvaluateV1(ctx, "test", &opentelekomcloud.RmsPolicyAssignmentEvaluateV1Args{
    			PolicyAssignmentId: pulumi.Any(policyAssignmentId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var policyAssignmentId = config.RequireObject<dynamic>("policyAssignmentId");
        var test = new Opentelekomcloud.RmsPolicyAssignmentEvaluateV1("test", new()
        {
            PolicyAssignmentId = policyAssignmentId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.RmsPolicyAssignmentEvaluateV1;
    import com.pulumi.opentelekomcloud.RmsPolicyAssignmentEvaluateV1Args;
    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 config = ctx.config();
            final var policyAssignmentId = config.get("policyAssignmentId");
            var test = new RmsPolicyAssignmentEvaluateV1("test", RmsPolicyAssignmentEvaluateV1Args.builder()
                .policyAssignmentId(policyAssignmentId)
                .build());
    
        }
    }
    
    configuration:
      policyAssignmentId:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:RmsPolicyAssignmentEvaluateV1
        properties:
          policyAssignmentId: ${policyAssignmentId}
    

    Create RmsPolicyAssignmentEvaluateV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RmsPolicyAssignmentEvaluateV1(name: string, args: RmsPolicyAssignmentEvaluateV1Args, opts?: CustomResourceOptions);
    @overload
    def RmsPolicyAssignmentEvaluateV1(resource_name: str,
                                      args: RmsPolicyAssignmentEvaluateV1Args,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def RmsPolicyAssignmentEvaluateV1(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      policy_assignment_id: Optional[str] = None,
                                      rms_policy_assignment_evaluate_v1_id: Optional[str] = None)
    func NewRmsPolicyAssignmentEvaluateV1(ctx *Context, name string, args RmsPolicyAssignmentEvaluateV1Args, opts ...ResourceOption) (*RmsPolicyAssignmentEvaluateV1, error)
    public RmsPolicyAssignmentEvaluateV1(string name, RmsPolicyAssignmentEvaluateV1Args args, CustomResourceOptions? opts = null)
    public RmsPolicyAssignmentEvaluateV1(String name, RmsPolicyAssignmentEvaluateV1Args args)
    public RmsPolicyAssignmentEvaluateV1(String name, RmsPolicyAssignmentEvaluateV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:RmsPolicyAssignmentEvaluateV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RmsPolicyAssignmentEvaluateV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RmsPolicyAssignmentEvaluateV1Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RmsPolicyAssignmentEvaluateV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RmsPolicyAssignmentEvaluateV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RmsPolicyAssignmentEvaluateV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rmsPolicyAssignmentEvaluateV1Resource = new Opentelekomcloud.RmsPolicyAssignmentEvaluateV1("rmsPolicyAssignmentEvaluateV1Resource", new()
    {
        PolicyAssignmentId = "string",
        RmsPolicyAssignmentEvaluateV1Id = "string",
    });
    
    example, err := opentelekomcloud.NewRmsPolicyAssignmentEvaluateV1(ctx, "rmsPolicyAssignmentEvaluateV1Resource", &opentelekomcloud.RmsPolicyAssignmentEvaluateV1Args{
    	PolicyAssignmentId:              pulumi.String("string"),
    	RmsPolicyAssignmentEvaluateV1Id: pulumi.String("string"),
    })
    
    var rmsPolicyAssignmentEvaluateV1Resource = new RmsPolicyAssignmentEvaluateV1("rmsPolicyAssignmentEvaluateV1Resource", RmsPolicyAssignmentEvaluateV1Args.builder()
        .policyAssignmentId("string")
        .rmsPolicyAssignmentEvaluateV1Id("string")
        .build());
    
    rms_policy_assignment_evaluate_v1_resource = opentelekomcloud.RmsPolicyAssignmentEvaluateV1("rmsPolicyAssignmentEvaluateV1Resource",
        policy_assignment_id="string",
        rms_policy_assignment_evaluate_v1_id="string")
    
    const rmsPolicyAssignmentEvaluateV1Resource = new opentelekomcloud.RmsPolicyAssignmentEvaluateV1("rmsPolicyAssignmentEvaluateV1Resource", {
        policyAssignmentId: "string",
        rmsPolicyAssignmentEvaluateV1Id: "string",
    });
    
    type: opentelekomcloud:RmsPolicyAssignmentEvaluateV1
    properties:
        policyAssignmentId: string
        rmsPolicyAssignmentEvaluateV1Id: string
    

    RmsPolicyAssignmentEvaluateV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RmsPolicyAssignmentEvaluateV1 resource accepts the following input properties:

    PolicyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    RmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    PolicyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    RmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    policyAssignmentId String
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id String
    The ID of the policy assignment evaluate.
    policyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    policy_assignment_id str
    Specifies the ID of the policy assignment to evaluate.
    rms_policy_assignment_evaluate_v1_id str
    The ID of the policy assignment evaluate.
    policyAssignmentId String
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id String
    The ID of the policy assignment evaluate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RmsPolicyAssignmentEvaluateV1 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RmsPolicyAssignmentEvaluateV1 Resource

    Get an existing RmsPolicyAssignmentEvaluateV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RmsPolicyAssignmentEvaluateV1State, opts?: CustomResourceOptions): RmsPolicyAssignmentEvaluateV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            policy_assignment_id: Optional[str] = None,
            rms_policy_assignment_evaluate_v1_id: Optional[str] = None) -> RmsPolicyAssignmentEvaluateV1
    func GetRmsPolicyAssignmentEvaluateV1(ctx *Context, name string, id IDInput, state *RmsPolicyAssignmentEvaluateV1State, opts ...ResourceOption) (*RmsPolicyAssignmentEvaluateV1, error)
    public static RmsPolicyAssignmentEvaluateV1 Get(string name, Input<string> id, RmsPolicyAssignmentEvaluateV1State? state, CustomResourceOptions? opts = null)
    public static RmsPolicyAssignmentEvaluateV1 get(String name, Output<String> id, RmsPolicyAssignmentEvaluateV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:RmsPolicyAssignmentEvaluateV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    PolicyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    RmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    PolicyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    RmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    policyAssignmentId String
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id String
    The ID of the policy assignment evaluate.
    policyAssignmentId string
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id string
    The ID of the policy assignment evaluate.
    policy_assignment_id str
    Specifies the ID of the policy assignment to evaluate.
    rms_policy_assignment_evaluate_v1_id str
    The ID of the policy assignment evaluate.
    policyAssignmentId String
    Specifies the ID of the policy assignment to evaluate.
    rmsPolicyAssignmentEvaluateV1Id String
    The ID of the policy assignment evaluate.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud