Show / Hide Table of Contents

Class RepositoryWebhook

Inheritance
System.Object
Resource
CustomResource
RepositoryWebhook
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public class RepositoryWebhook : CustomResource

Constructors

View Source

RepositoryWebhook(String, RepositoryWebhookArgs, CustomResourceOptions)

Create a RepositoryWebhook resource with the given unique name, arguments, and options.

Declaration
public RepositoryWebhook(string name, RepositoryWebhookArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

RepositoryWebhookArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Active

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

Declaration
public Output<bool?> Active { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Configuration

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.

Declaration
public Output<RepositoryWebhookConfiguration> Configuration { get; }
Property Value
Type Description
Output<RepositoryWebhookConfiguration>
View Source

Etag

Declaration
public Output<string> Etag { get; }
Property Value
Type Description
Output<System.String>
View Source

Events

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

Declaration
public Output<ImmutableArray<string>> Events { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Repository

The repository of the webhook.

Declaration
public Output<string> Repository { get; }
Property Value
Type Description
Output<System.String>
View Source

Url

URL of the webhook

Declaration
public Output<string> Url { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, RepositoryWebhookState, CustomResourceOptions)

Get an existing RepositoryWebhook resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static RepositoryWebhook Get(string name, Input<string> id, RepositoryWebhookState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

RepositoryWebhookState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
RepositoryWebhook
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.