1. Packages
  2. Rollbar Provider
  3. API Docs
  4. ServiceLink
rollbar 1.15.1 published on Tuesday, Apr 15, 2025 by rollbar

rollbar.ServiceLink

Explore with Pulumi AI

rollbar logo
rollbar 1.15.1 published on Tuesday, Apr 15, 2025 by rollbar

    Create ServiceLink Resource

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

    Constructor syntax

    new ServiceLink(name: string, args: ServiceLinkArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceLink(resource_name: str,
                    args: ServiceLinkArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceLink(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    template: Optional[str] = None,
                    name: Optional[str] = None,
                    service_link_id: Optional[str] = None)
    func NewServiceLink(ctx *Context, name string, args ServiceLinkArgs, opts ...ResourceOption) (*ServiceLink, error)
    public ServiceLink(string name, ServiceLinkArgs args, CustomResourceOptions? opts = null)
    public ServiceLink(String name, ServiceLinkArgs args)
    public ServiceLink(String name, ServiceLinkArgs args, CustomResourceOptions options)
    
    type: rollbar:ServiceLink
    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 ServiceLinkArgs
    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 ServiceLinkArgs
    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 ServiceLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceLinkArgs
    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 serviceLinkResource = new Rollbar.ServiceLink("serviceLinkResource", new()
    {
        Template = "string",
        Name = "string",
        ServiceLinkId = "string",
    });
    
    example, err := rollbar.NewServiceLink(ctx, "serviceLinkResource", &rollbar.ServiceLinkArgs{
    	Template:      pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	ServiceLinkId: pulumi.String("string"),
    })
    
    var serviceLinkResource = new ServiceLink("serviceLinkResource", ServiceLinkArgs.builder()
        .template("string")
        .name("string")
        .serviceLinkId("string")
        .build());
    
    service_link_resource = rollbar.ServiceLink("serviceLinkResource",
        template="string",
        name="string",
        service_link_id="string")
    
    const serviceLinkResource = new rollbar.ServiceLink("serviceLinkResource", {
        template: "string",
        name: "string",
        serviceLinkId: "string",
    });
    
    type: rollbar:ServiceLink
    properties:
        name: string
        serviceLinkId: string
        template: string
    

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

    Template string
    Template
    Name string
    Name
    ServiceLinkId string
    Template string
    Template
    Name string
    Name
    ServiceLinkId string
    template String
    Template
    name String
    Name
    serviceLinkId String
    template string
    Template
    name string
    Name
    serviceLinkId string
    template str
    Template
    name str
    Name
    service_link_id str
    template String
    Template
    name String
    Name
    serviceLinkId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceLink 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 ServiceLink Resource

    Get an existing ServiceLink 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?: ServiceLinkState, opts?: CustomResourceOptions): ServiceLink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            service_link_id: Optional[str] = None,
            template: Optional[str] = None) -> ServiceLink
    func GetServiceLink(ctx *Context, name string, id IDInput, state *ServiceLinkState, opts ...ResourceOption) (*ServiceLink, error)
    public static ServiceLink Get(string name, Input<string> id, ServiceLinkState? state, CustomResourceOptions? opts = null)
    public static ServiceLink get(String name, Output<String> id, ServiceLinkState state, CustomResourceOptions options)
    resources:  _:    type: rollbar:ServiceLink    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
    Name
    ServiceLinkId string
    Template string
    Template
    Name string
    Name
    ServiceLinkId string
    Template string
    Template
    name String
    Name
    serviceLinkId String
    template String
    Template
    name string
    Name
    serviceLinkId string
    template string
    Template
    name str
    Name
    service_link_id str
    template str
    Template
    name String
    Name
    serviceLinkId String
    template String
    Template

    Package Details

    Repository
    rollbar rollbar/terraform-provider-rollbar
    License
    Notes
    This Pulumi package is based on the rollbar Terraform Provider.
    rollbar logo
    rollbar 1.15.1 published on Tuesday, Apr 15, 2025 by rollbar