This page documents the language specification for the signalfx package. If you're looking for help working with the inputs, outputs, or functions of signalfx resources in a Pulumi program, please see the resource documentation for examples and API reference.
opsgenie¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-signalfx repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-signalfx repo.
- class
pulumi_signalfx.opsgenie.Integration(resource_name, opts=None, api_key=None, api_url=None, enabled=None, name=None, __props__=None, __name__=None, __opts__=None)¶ SignalFx Opsgenie integration.
NOTE When managing integrations you’ll need to use an admin token to authenticate the SignalFx provider. Otherwise you’ll receive a 4xx error.
import pulumi import pulumi_signalfx as signalfx opgenie_myteam = signalfx.opsgenie.Integration("opgenieMyteam", api_key="farts", api_url="https://api.opsgenie.com", enabled=True)
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
api_key (pulumi.Input[str]) – The API key
api_url (pulumi.Input[str]) – Opsgenie API URL. Will default to
https://api.opsgenie.com. You might also wanthttps://api.eu.opsgenie.com.enabled (pulumi.Input[bool]) – Whether the integration is enabled.
name (pulumi.Input[str]) – Name of the integration.
api_key: pulumi.Output[str] = None¶The API key
api_url: pulumi.Output[str] = None¶Opsgenie API URL. Will default to
https://api.opsgenie.com. You might also wanthttps://api.eu.opsgenie.com.
enabled: pulumi.Output[bool] = None¶Whether the integration is enabled.
name: pulumi.Output[str] = None¶Name of the integration.
- static
get(resource_name, id, opts=None, api_key=None, api_url=None, enabled=None, name=None)¶ Get an existing Integration resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
api_key (pulumi.Input[str]) – The API key
api_url (pulumi.Input[str]) – Opsgenie API URL. Will default to
https://api.opsgenie.com. You might also wanthttps://api.eu.opsgenie.com.enabled (pulumi.Input[bool]) – Whether the integration is enabled.
name (pulumi.Input[str]) – Name of the integration.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str