Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

WebhookIntegration

SignalFx Webhook 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.

Create a WebhookIntegration Resource

new WebhookIntegration(name: string, args: WebhookIntegrationArgs, opts?: CustomResourceOptions);
def WebhookIntegration(resource_name: str, opts: Optional[ResourceOptions] = None, enabled: Optional[bool] = None, headers: Optional[Sequence[WebhookIntegrationHeaderArgs]] = None, name: Optional[str] = None, shared_secret: Optional[str] = None, url: Optional[str] = None)
func NewWebhookIntegration(ctx *Context, name string, args WebhookIntegrationArgs, opts ...ResourceOption) (*WebhookIntegration, error)
public WebhookIntegration(string name, WebhookIntegrationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args WebhookIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args WebhookIntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args WebhookIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

WebhookIntegration Resource Properties

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

Inputs

The WebhookIntegration resource accepts the following input properties:

Enabled bool

Whether the integration is enabled.

Headers List<Pulumi.SignalFx.Inputs.WebhookIntegrationHeaderArgs>

A header to send with the request

Name string

Name of the integration.

SharedSecret string
Url string

The URL to request

Enabled bool

Whether the integration is enabled.

Headers []WebhookIntegrationHeader

A header to send with the request

Name string

Name of the integration.

SharedSecret string
Url string

The URL to request

enabled boolean

Whether the integration is enabled.

headers WebhookIntegrationHeader[]

A header to send with the request

name string

Name of the integration.

sharedSecret string
url string

The URL to request

enabled bool

Whether the integration is enabled.

headers Sequence[WebhookIntegrationHeaderArgs]

A header to send with the request

name str

Name of the integration.

shared_secret str
url str

The URL to request

Outputs

All input properties are implicitly available as output properties. Additionally, the WebhookIntegration 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing WebhookIntegration Resource

Get an existing WebhookIntegration 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?: WebhookIntegrationState, opts?: CustomResourceOptions): WebhookIntegration
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, enabled: Optional[bool] = None, headers: Optional[Sequence[WebhookIntegrationHeaderArgs]] = None, name: Optional[str] = None, shared_secret: Optional[str] = None, url: Optional[str] = None) -> WebhookIntegration
func GetWebhookIntegration(ctx *Context, name string, id IDInput, state *WebhookIntegrationState, opts ...ResourceOption) (*WebhookIntegration, error)
public static WebhookIntegration Get(string name, Input<string> id, WebhookIntegrationState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Enabled bool

Whether the integration is enabled.

Headers List<Pulumi.SignalFx.Inputs.WebhookIntegrationHeaderArgs>

A header to send with the request

Name string

Name of the integration.

SharedSecret string
Url string

The URL to request

Enabled bool

Whether the integration is enabled.

Headers []WebhookIntegrationHeader

A header to send with the request

Name string

Name of the integration.

SharedSecret string
Url string

The URL to request

enabled boolean

Whether the integration is enabled.

headers WebhookIntegrationHeader[]

A header to send with the request

name string

Name of the integration.

sharedSecret string
url string

The URL to request

enabled bool

Whether the integration is enabled.

headers Sequence[WebhookIntegrationHeaderArgs]

A header to send with the request

name str

Name of the integration.

shared_secret str
url str

The URL to request

Supporting Types

WebhookIntegrationHeader

HeaderKey string

The key of the header to send

HeaderValue string

The value of the header to send

HeaderKey string

The key of the header to send

HeaderValue string

The value of the header to send

headerKey string

The key of the header to send

headerValue string

The value of the header to send

header_key str

The key of the header to send

header_value str

The value of the header to send

Package Details

Repository
https://github.com/pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.