1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. esa
  5. RoutineRelatedRecord
Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi

alicloud.esa.RoutineRelatedRecord

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi

    Create RoutineRelatedRecord Resource

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

    Constructor syntax

    new RoutineRelatedRecord(name: string, args: RoutineRelatedRecordArgs, opts?: CustomResourceOptions);
    @overload
    def RoutineRelatedRecord(resource_name: str,
                             args: RoutineRelatedRecordArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def RoutineRelatedRecord(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             record_name: Optional[str] = None,
                             site_id: Optional[int] = None,
                             name: Optional[str] = None)
    func NewRoutineRelatedRecord(ctx *Context, name string, args RoutineRelatedRecordArgs, opts ...ResourceOption) (*RoutineRelatedRecord, error)
    public RoutineRelatedRecord(string name, RoutineRelatedRecordArgs args, CustomResourceOptions? opts = null)
    public RoutineRelatedRecord(String name, RoutineRelatedRecordArgs args)
    public RoutineRelatedRecord(String name, RoutineRelatedRecordArgs args, CustomResourceOptions options)
    
    type: alicloud:esa:RoutineRelatedRecord
    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 RoutineRelatedRecordArgs
    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 RoutineRelatedRecordArgs
    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 RoutineRelatedRecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutineRelatedRecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutineRelatedRecordArgs
    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 routineRelatedRecordResource = new AliCloud.Esa.RoutineRelatedRecord("routineRelatedRecordResource", new()
    {
        RecordName = "string",
        SiteId = 0,
        Name = "string",
    });
    
    example, err := esa.NewRoutineRelatedRecord(ctx, "routineRelatedRecordResource", &esa.RoutineRelatedRecordArgs{
    	RecordName: pulumi.String("string"),
    	SiteId:     pulumi.Int(0),
    	Name:       pulumi.String("string"),
    })
    
    var routineRelatedRecordResource = new RoutineRelatedRecord("routineRelatedRecordResource", RoutineRelatedRecordArgs.builder()
        .recordName("string")
        .siteId(0)
        .name("string")
        .build());
    
    routine_related_record_resource = alicloud.esa.RoutineRelatedRecord("routineRelatedRecordResource",
        record_name="string",
        site_id=0,
        name="string")
    
    const routineRelatedRecordResource = new alicloud.esa.RoutineRelatedRecord("routineRelatedRecordResource", {
        recordName: "string",
        siteId: 0,
        name: "string",
    });
    
    type: alicloud:esa:RoutineRelatedRecord
    properties:
        name: string
        recordName: string
        siteId: 0
    

    RoutineRelatedRecord 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 RoutineRelatedRecord resource accepts the following input properties:

    RecordName string
    SiteId int
    Name string
    RecordName string
    SiteId int
    Name string
    recordName String
    siteId Integer
    name String
    recordName string
    siteId number
    name string
    recordName String
    siteId Number
    name String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RecordId int
    Id string
    The provider-assigned unique ID for this managed resource.
    RecordId int
    id String
    The provider-assigned unique ID for this managed resource.
    recordId Integer
    id string
    The provider-assigned unique ID for this managed resource.
    recordId number
    id str
    The provider-assigned unique ID for this managed resource.
    record_id int
    id String
    The provider-assigned unique ID for this managed resource.
    recordId Number

    Look up Existing RoutineRelatedRecord Resource

    Get an existing RoutineRelatedRecord 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?: RoutineRelatedRecordState, opts?: CustomResourceOptions): RoutineRelatedRecord
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            record_id: Optional[int] = None,
            record_name: Optional[str] = None,
            site_id: Optional[int] = None) -> RoutineRelatedRecord
    func GetRoutineRelatedRecord(ctx *Context, name string, id IDInput, state *RoutineRelatedRecordState, opts ...ResourceOption) (*RoutineRelatedRecord, error)
    public static RoutineRelatedRecord Get(string name, Input<string> id, RoutineRelatedRecordState? state, CustomResourceOptions? opts = null)
    public static RoutineRelatedRecord get(String name, Output<String> id, RoutineRelatedRecordState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:esa:RoutineRelatedRecord    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:
    Name string
    RecordId int
    RecordName string
    SiteId int
    Name string
    RecordId int
    RecordName string
    SiteId int
    name String
    recordId Integer
    recordName String
    siteId Integer
    name string
    recordId number
    recordName string
    siteId number
    name String
    recordId Number
    recordName String
    siteId Number

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.85.0 published on Tuesday, Sep 9, 2025 by Pulumi