RepositoryWebhook

Create a RepositoryWebhook Resource

def RepositoryWebhook(resource_name, opts=None, active=None, configuration=None, events=None, repository=None, __props__=None);
name string
The unique name of the resource.
args RepositoryWebhookArgs
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 RepositoryWebhookArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RepositoryWebhookArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RepositoryWebhook Resource Properties

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

Inputs

The RepositoryWebhook resource accepts the following input properties:

Events List<string>

A list of events which should trigger the webhook. See a list of available events.

Repository string

The repository of the webhook.

Active bool

Indicate of the webhook should receive events. Defaults to true.

Configuration RepositoryWebhookConfigurationArgs

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

Events []string

A list of events which should trigger the webhook. See a list of available events.

Repository string

The repository of the webhook.

Active bool

Indicate of the webhook should receive events. Defaults to true.

Configuration RepositoryWebhookConfiguration

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

events string[]

A list of events which should trigger the webhook. See a list of available events.

repository string

The repository of the webhook.

active boolean

Indicate of the webhook should receive events. Defaults to true.

configuration RepositoryWebhookConfiguration

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

events List[str]

A list of events which should trigger the webhook. See a list of available events.

repository str

The repository of the webhook.

active bool

Indicate of the webhook should receive events. Defaults to true.

configuration Dict[RepositoryWebhookConfiguration]

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

Outputs

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

Etag string
Id string
The provider-assigned unique ID for this managed resource.
Url string

URL of the webhook

Etag string
Id string
The provider-assigned unique ID for this managed resource.
Url string

URL of the webhook

etag string
id string
The provider-assigned unique ID for this managed resource.
url string

URL of the webhook

etag str
id str
The provider-assigned unique ID for this managed resource.
url str

URL of the webhook

Look up an Existing RepositoryWebhook Resource

Get an existing RepositoryWebhook 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?: RepositoryWebhookState, opts?: CustomResourceOptions): RepositoryWebhook
static get(resource_name, id, opts=None, active=None, configuration=None, etag=None, events=None, repository=None, url=None, __props__=None);
func GetRepositoryWebhook(ctx *Context, name string, id IDInput, state *RepositoryWebhookState, opts ...ResourceOption) (*RepositoryWebhook, error)
public static RepositoryWebhook Get(string name, Input<string> id, RepositoryWebhookState? 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:

Active bool

Indicate of the webhook should receive events. Defaults to true.

Configuration RepositoryWebhookConfigurationArgs

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

Etag string
Events List<string>

A list of events which should trigger the webhook. See a list of available events.

Repository string

The repository of the webhook.

Url string

URL of the webhook

Active bool

Indicate of the webhook should receive events. Defaults to true.

Configuration RepositoryWebhookConfiguration

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

Etag string
Events []string

A list of events which should trigger the webhook. See a list of available events.

Repository string

The repository of the webhook.

Url string

URL of the webhook

active boolean

Indicate of the webhook should receive events. Defaults to true.

configuration RepositoryWebhookConfiguration

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

etag string
events string[]

A list of events which should trigger the webhook. See a list of available events.

repository string

The repository of the webhook.

url string

URL of the webhook

active bool

Indicate of the webhook should receive events. Defaults to true.

configuration Dict[RepositoryWebhookConfiguration]

key/value pair of configuration for this webhook. Available keys are url, content_type, secret and insecure_ssl. secret is the shared secret, see API documentation.

etag str
events List[str]

A list of events which should trigger the webhook. See a list of available events.

repository str

The repository of the webhook.

url str

URL of the webhook

Supporting Types

RepositoryWebhookConfiguration

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Url string

URL of the webhook

ContentType string
InsecureSsl bool
Secret string
Url string

URL of the webhook

ContentType string
InsecureSsl bool
Secret string
url string

URL of the webhook

contentType string
insecureSsl boolean
secret string
url str

URL of the webhook

contentType str
insecureSsl bool
secret str

Package Details

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