datasource_org_webhooks

package
v0.1.43 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgWebhooksDataSourceSchema

func OrgWebhooksDataSourceSchema(ctx context.Context) schema.Schema

func SdkToTerraform

func SdkToTerraform(ctx context.Context, l *[]models.Webhook, elements *[]attr.Value) diag.Diagnostics

Types

type OrgWebhooksModel

type OrgWebhooksModel struct {
	Limit       types.Int64  `tfsdk:"limit"`
	OrgId       types.String `tfsdk:"org_id"`
	OrgWebhooks types.Set    `tfsdk:"org_webhooks"`
	Page        types.Int64  `tfsdk:"page"`
}

type OrgWebhooksType

type OrgWebhooksType struct {
	basetypes.ObjectType
}

func (OrgWebhooksType) Equal

func (t OrgWebhooksType) Equal(o attr.Type) bool

func (OrgWebhooksType) String

func (t OrgWebhooksType) String() string

func (OrgWebhooksType) ValueFromObject

func (OrgWebhooksType) ValueFromTerraform

func (t OrgWebhooksType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OrgWebhooksType) ValueType

func (t OrgWebhooksType) ValueType(ctx context.Context) attr.Value

type OrgWebhooksValue

type OrgWebhooksValue struct {
	CreatedTime        basetypes.NumberValue `tfsdk:"created_time"`
	Enabled            basetypes.BoolValue   `tfsdk:"enabled"`
	Headers            basetypes.MapValue    `tfsdk:"headers"`
	Id                 basetypes.StringValue `tfsdk:"id"`
	ModifiedTime       basetypes.NumberValue `tfsdk:"modified_time"`
	Name               basetypes.StringValue `tfsdk:"name"`
	Oauth2ClientId     basetypes.StringValue `tfsdk:"oauth2_client_id"`
	Oauth2ClientSecret basetypes.StringValue `tfsdk:"oauth2_client_secret"`
	Oauth2GrantType    basetypes.StringValue `tfsdk:"oauth2_grant_type"`
	Oauth2Password     basetypes.StringValue `tfsdk:"oauth2_password"`
	Oauth2Scopes       basetypes.ListValue   `tfsdk:"oauth2_scopes"`
	Oauth2TokenUrl     basetypes.StringValue `tfsdk:"oauth2_token_url"`
	Oauth2Username     basetypes.StringValue `tfsdk:"oauth2_username"`
	OrgId              basetypes.StringValue `tfsdk:"org_id"`
	Secret             basetypes.StringValue `tfsdk:"secret"`
	SiteId             basetypes.StringValue `tfsdk:"site_id"`
	SplunkToken        basetypes.StringValue `tfsdk:"splunk_token"`
	Topics             basetypes.ListValue   `tfsdk:"topics"`
	OrgWebhooksType    basetypes.StringValue `tfsdk:"type"`
	Url                basetypes.StringValue `tfsdk:"url"`
	VerifyCert         basetypes.BoolValue   `tfsdk:"verify_cert"`
	// contains filtered or unexported fields
}

func NewOrgWebhooksValue

func NewOrgWebhooksValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OrgWebhooksValue, diag.Diagnostics)

func NewOrgWebhooksValueMust

func NewOrgWebhooksValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrgWebhooksValue

func NewOrgWebhooksValueNull

func NewOrgWebhooksValueNull() OrgWebhooksValue

func NewOrgWebhooksValueUnknown

func NewOrgWebhooksValueUnknown() OrgWebhooksValue

func (OrgWebhooksValue) AttributeTypes

func (v OrgWebhooksValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OrgWebhooksValue) Equal

func (v OrgWebhooksValue) Equal(o attr.Value) bool

func (OrgWebhooksValue) IsNull

func (v OrgWebhooksValue) IsNull() bool

func (OrgWebhooksValue) IsUnknown

func (v OrgWebhooksValue) IsUnknown() bool

func (OrgWebhooksValue) String

func (v OrgWebhooksValue) String() string

func (OrgWebhooksValue) ToObjectValue

func (OrgWebhooksValue) ToTerraformValue

func (v OrgWebhooksValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (OrgWebhooksValue) Type

Jump to

Keyboard shortcuts

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