resource_site_webhook

package
v0.1.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SiteWebhookResourceSchema

func SiteWebhookResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *SiteWebhookModel) (models.Webhook, diag.Diagnostics)

Types

type SiteWebhookModel

type SiteWebhookModel struct {
	Enabled            types.Bool   `tfsdk:"enabled"`
	Headers            types.Map    `tfsdk:"headers"`
	Id                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Oauth2ClientId     types.String `tfsdk:"oauth2_client_id"`
	Oauth2ClientSecret types.String `tfsdk:"oauth2_client_secret"`
	Oauth2GrantType    types.String `tfsdk:"oauth2_grant_type"`
	Oauth2Password     types.String `tfsdk:"oauth2_password"`
	Oauth2Scopes       types.List   `tfsdk:"oauth2_scopes"`
	Oauth2TokenUrl     types.String `tfsdk:"oauth2_token_url"`
	Oauth2Username     types.String `tfsdk:"oauth2_username"`
	OrgId              types.String `tfsdk:"org_id"`
	Secret             types.String `tfsdk:"secret"`
	SiteId             types.String `tfsdk:"site_id"`
	SplunkToken        types.String `tfsdk:"splunk_token"`
	Topics             types.List   `tfsdk:"topics"`
	Type               types.String `tfsdk:"type"`
	Url                types.String `tfsdk:"url"`
	VerifyCert         types.Bool   `tfsdk:"verify_cert"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL