provider

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceOrganizationAttribute added in v0.14.2

func DataSourceOrganizationAttribute() schema.Attribute

func DataSourceProjectAttribute added in v0.14.2

func DataSourceProjectAttribute() schema.Attribute

func New

func New(version string) func() provider.Provider

func NewAllClientKeysDataSource added in v0.13.0

func NewAllClientKeysDataSource() datasource.DataSource

func NewAllOrganizationMembersDataSource added in v0.14.0

func NewAllOrganizationMembersDataSource() datasource.DataSource

func NewAllProjectsDataSource added in v0.13.0

func NewAllProjectsDataSource() datasource.DataSource

func NewAllProjectsSpikeProtectionResource added in v0.13.0

func NewAllProjectsSpikeProtectionResource() resource.Resource

func NewClientKeyDataSource added in v0.13.0

func NewClientKeyDataSource() datasource.DataSource

func NewClientKeyResource added in v0.13.0

func NewClientKeyResource() resource.Resource

func NewIntegrationOpsgenie added in v0.13.0

func NewIntegrationOpsgenie() resource.Resource

func NewIntegrationPagerDuty added in v0.13.0

func NewIntegrationPagerDuty() resource.Resource

func NewIssueAlertDataSource

func NewIssueAlertDataSource() datasource.DataSource

func NewIssueAlertResource

func NewIssueAlertResource() resource.Resource

func NewNotificationActionResource

func NewNotificationActionResource() resource.Resource

func NewOrganizationDataSource added in v0.14.0

func NewOrganizationDataSource() datasource.DataSource

func NewOrganizationIntegrationDataSource

func NewOrganizationIntegrationDataSource() datasource.DataSource

func NewOrganizationMemberDataSource

func NewOrganizationMemberDataSource() datasource.DataSource

func NewOrganizationRepositoryResource added in v0.14.1

func NewOrganizationRepositoryResource() resource.Resource

func NewProjectDataSource added in v0.13.0

func NewProjectDataSource() datasource.DataSource

func NewProjectInboundDataFilterResource

func NewProjectInboundDataFilterResource() resource.Resource

func NewProjectResource added in v0.14.0

func NewProjectResource() resource.Resource

func NewProjectSpikeProtectionResource

func NewProjectSpikeProtectionResource() resource.Resource

func NewProjectSymbolSourcesResource

func NewProjectSymbolSourcesResource() resource.Resource

func NewTeamMemberResource

func NewTeamMemberResource() resource.Resource

func ResourceIdAttribute added in v0.14.2

func ResourceIdAttribute() schema.Attribute

func ResourceOrganizationAttribute added in v0.14.2

func ResourceOrganizationAttribute() schema.Attribute

func ResourceProjectAttribute added in v0.14.2

func ResourceProjectAttribute() schema.Attribute

Types

type AllClientKeysDataSource added in v0.13.0

type AllClientKeysDataSource struct {
	// contains filtered or unexported fields
}

func (*AllClientKeysDataSource) Configure added in v0.13.0

func (d *AllClientKeysDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*AllClientKeysDataSource) Metadata added in v0.13.0

func (*AllClientKeysDataSource) Read added in v0.13.0

func (*AllClientKeysDataSource) Schema added in v0.13.0

type AllClientKeysDataSourceModel added in v0.13.0

type AllClientKeysDataSourceModel struct {
	Organization types.String             `tfsdk:"organization"`
	Project      types.String             `tfsdk:"project"`
	FilterStatus types.String             `tfsdk:"filter_status"`
	Keys         []ClientKeyResourceModel `tfsdk:"keys"`
}

func (*AllClientKeysDataSourceModel) Fill added in v0.13.0

type AllOrganizationMembersDataSource added in v0.14.0

type AllOrganizationMembersDataSource struct {
	// contains filtered or unexported fields
}

func (*AllOrganizationMembersDataSource) Configure added in v0.14.0

func (d *AllOrganizationMembersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*AllOrganizationMembersDataSource) Metadata added in v0.14.0

func (*AllOrganizationMembersDataSource) Read added in v0.14.0

func (*AllOrganizationMembersDataSource) Schema added in v0.14.0

type AllOrganizationMembersDataSourceMemberModel added in v0.14.0

type AllOrganizationMembersDataSourceMemberModel struct {
	Id    types.String `tfsdk:"id"`
	Email types.String `tfsdk:"email"`
	Role  types.String `tfsdk:"role"`
}

func (*AllOrganizationMembersDataSourceMemberModel) Fill added in v0.14.0

type AllOrganizationMembersDataSourceModel added in v0.14.0

type AllOrganizationMembersDataSourceModel struct {
	Organization types.String                                  `tfsdk:"organization"`
	Members      []AllOrganizationMembersDataSourceMemberModel `tfsdk:"members"`
}

func (*AllOrganizationMembersDataSourceModel) Fill added in v0.14.0

type AllProjectsDataSource added in v0.13.0

type AllProjectsDataSource struct {
	// contains filtered or unexported fields
}

func (*AllProjectsDataSource) Configure added in v0.13.0

func (d *AllProjectsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*AllProjectsDataSource) Metadata added in v0.13.0

func (*AllProjectsDataSource) Read added in v0.13.0

func (*AllProjectsDataSource) Schema added in v0.13.0

type AllProjectsDataSourceModel added in v0.13.0

type AllProjectsDataSourceModel struct {
	Organization types.String                        `tfsdk:"organization"`
	ProjectSlugs types.Set                           `tfsdk:"project_slugs"`
	Projects     []AllProjectsDataSourceProjectModel `tfsdk:"projects"`
}

func (*AllProjectsDataSourceModel) Fill added in v0.13.0

func (m *AllProjectsDataSourceModel) Fill(organization string, projects []sentry.Project) error

type AllProjectsDataSourceProjectModel added in v0.13.0

type AllProjectsDataSourceProjectModel struct {
	InternalId  types.String `tfsdk:"internal_id"`
	Slug        types.String `tfsdk:"slug"`
	Name        types.String `tfsdk:"name"`
	Platform    types.String `tfsdk:"platform"`
	DateCreated types.String `tfsdk:"date_created"`
	Features    types.Set    `tfsdk:"features"`
	Color       types.String `tfsdk:"color"`
}

func (*AllProjectsDataSourceProjectModel) Fill added in v0.13.0

type AllProjectsSpikeProtectionResource added in v0.13.0

type AllProjectsSpikeProtectionResource struct {
	// contains filtered or unexported fields
}

func (*AllProjectsSpikeProtectionResource) Configure added in v0.13.0

func (r *AllProjectsSpikeProtectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*AllProjectsSpikeProtectionResource) Create added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Delete added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Metadata added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Read added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Schema added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Update added in v0.13.0

type AllProjectsSpikeProtectionResourceModel added in v0.13.0

type AllProjectsSpikeProtectionResourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Enabled      types.Bool   `tfsdk:"enabled"`
	Projects     types.Set    `tfsdk:"projects"`
}

func (*AllProjectsSpikeProtectionResourceModel) Fill added in v0.13.0

type ClientKeyDataSource added in v0.13.0

type ClientKeyDataSource struct {
	// contains filtered or unexported fields
}

func (*ClientKeyDataSource) ConfigValidators added in v0.13.0

func (d *ClientKeyDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*ClientKeyDataSource) Configure added in v0.13.0

func (d *ClientKeyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*ClientKeyDataSource) Metadata added in v0.13.0

func (*ClientKeyDataSource) Read added in v0.13.0

func (*ClientKeyDataSource) Schema added in v0.13.0

type ClientKeyDataSourceModel added in v0.13.0

type ClientKeyDataSourceModel struct {
	Organization           types.String                                  `tfsdk:"organization"`
	Project                types.String                                  `tfsdk:"project"`
	Id                     types.String                                  `tfsdk:"id"`
	Name                   types.String                                  `tfsdk:"name"`
	First                  types.Bool                                    `tfsdk:"first"`
	ProjectId              types.String                                  `tfsdk:"project_id"`
	RateLimitWindow        types.Int64                                   `tfsdk:"rate_limit_window"`
	RateLimitCount         types.Int64                                   `tfsdk:"rate_limit_count"`
	JavascriptLoaderScript *ClientKeyJavascriptLoaderScriptResourceModel `tfsdk:"javascript_loader_script"`
	Public                 types.String                                  `tfsdk:"public"`
	Secret                 types.String                                  `tfsdk:"secret"`
	Dsn                    types.Map                                     `tfsdk:"dsn"`
	DsnPublic              types.String                                  `tfsdk:"dsn_public"`
	DsnSecret              types.String                                  `tfsdk:"dsn_secret"`
	DsnCsp                 types.String                                  `tfsdk:"dsn_csp"`
}

func (*ClientKeyDataSourceModel) Fill added in v0.13.0

type ClientKeyJavascriptLoaderScriptDataSourceModel added in v0.14.2

type ClientKeyJavascriptLoaderScriptDataSourceModel struct {
	BrowserSdkVersion            types.String `tfsdk:"browser_sdk_version"`
	PerformanceMonitoringEnabled types.Bool   `tfsdk:"performance_monitoring_enabled"`
	SessionReplayEnabled         types.Bool   `tfsdk:"session_replay_enabled"`
	DebugEnabled                 types.Bool   `tfsdk:"debug_enabled"`
}

type ClientKeyJavascriptLoaderScriptResourceModel added in v0.14.2

type ClientKeyJavascriptLoaderScriptResourceModel struct {
	BrowserSdkVersion            types.String `tfsdk:"browser_sdk_version"`
	PerformanceMonitoringEnabled types.Bool   `tfsdk:"performance_monitoring_enabled"`
	SessionReplayEnabled         types.Bool   `tfsdk:"session_replay_enabled"`
	DebugEnabled                 types.Bool   `tfsdk:"debug_enabled"`
}

func (ClientKeyJavascriptLoaderScriptResourceModel) AttributeTypes added in v0.14.2

func (*ClientKeyJavascriptLoaderScriptResourceModel) Fill added in v0.14.2

type ClientKeyResource added in v0.13.0

type ClientKeyResource struct {
	// contains filtered or unexported fields
}

func (*ClientKeyResource) ConfigValidators added in v0.13.0

func (d *ClientKeyResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*ClientKeyResource) Configure added in v0.13.0

func (r *ClientKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ClientKeyResource) Create added in v0.13.0

func (*ClientKeyResource) Delete added in v0.13.0

func (*ClientKeyResource) ImportState added in v0.13.0

func (*ClientKeyResource) Metadata added in v0.13.0

func (*ClientKeyResource) Read added in v0.13.0

func (*ClientKeyResource) Schema added in v0.13.0

func (*ClientKeyResource) Update added in v0.13.0

type ClientKeyResourceModel added in v0.13.0

type ClientKeyResourceModel struct {
	Id                     types.String `tfsdk:"id"`
	Organization           types.String `tfsdk:"organization"`
	Project                types.String `tfsdk:"project"`
	ProjectId              types.String `tfsdk:"project_id"`
	Name                   types.String `tfsdk:"name"`
	RateLimitWindow        types.Int64  `tfsdk:"rate_limit_window"`
	RateLimitCount         types.Int64  `tfsdk:"rate_limit_count"`
	JavascriptLoaderScript types.Object `tfsdk:"javascript_loader_script"`
	Public                 types.String `tfsdk:"public"`
	Secret                 types.String `tfsdk:"secret"`
	Dsn                    types.Map    `tfsdk:"dsn"`
	DsnPublic              types.String `tfsdk:"dsn_public"`
	DsnSecret              types.String `tfsdk:"dsn_secret"`
	DsnCsp                 types.String `tfsdk:"dsn_csp"`
}

func (*ClientKeyResourceModel) Fill added in v0.13.0

type IntegrationOpsgenie added in v0.13.0

type IntegrationOpsgenie struct {
	// contains filtered or unexported fields
}

func (*IntegrationOpsgenie) Configure added in v0.13.0

func (r *IntegrationOpsgenie) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IntegrationOpsgenie) Create added in v0.13.0

func (*IntegrationOpsgenie) Delete added in v0.13.0

func (*IntegrationOpsgenie) ImportState added in v0.13.0

func (*IntegrationOpsgenie) Metadata added in v0.13.0

func (*IntegrationOpsgenie) Read added in v0.13.0

func (*IntegrationOpsgenie) Schema added in v0.13.0

func (*IntegrationOpsgenie) Update added in v0.13.0

type IntegrationOpsgenieConfigData added in v0.13.0

type IntegrationOpsgenieConfigData struct {
	TeamTable []IntegrationOpsgenieConfigDataTeamTableItem `json:"team_table"`
}

type IntegrationOpsgenieConfigDataTeamTableItem added in v0.13.0

type IntegrationOpsgenieConfigDataTeamTableItem struct {
	Team           string `json:"team"`
	IntegrationKey string `json:"integration_key"`
	Id             string `json:"id"`
}

type IntegrationOpsgenieModel added in v0.13.0

type IntegrationOpsgenieModel struct {
	Id             types.String `tfsdk:"id"`
	Organization   types.String `tfsdk:"organization"`
	IntegrationId  types.String `tfsdk:"integration_id"`
	Team           types.String `tfsdk:"team"`
	IntegrationKey types.String `tfsdk:"integration_key"`
}

func (*IntegrationOpsgenieModel) Fill added in v0.13.0

func (m *IntegrationOpsgenieModel) Fill(organization string, integrationId string, item IntegrationOpsgenieConfigDataTeamTableItem) error

type IntegrationPagerDuty added in v0.13.0

type IntegrationPagerDuty struct {
	// contains filtered or unexported fields
}

func (*IntegrationPagerDuty) Configure added in v0.13.0

func (r *IntegrationPagerDuty) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IntegrationPagerDuty) Create added in v0.13.0

func (*IntegrationPagerDuty) Delete added in v0.13.0

func (*IntegrationPagerDuty) ImportState added in v0.13.0

func (*IntegrationPagerDuty) Metadata added in v0.13.0

func (*IntegrationPagerDuty) Read added in v0.13.0

func (*IntegrationPagerDuty) Schema added in v0.13.0

func (*IntegrationPagerDuty) Update added in v0.13.0

type IntegrationPagerDutyConfigData added in v0.13.0

type IntegrationPagerDutyConfigData struct {
	ServiceTable []IntegrationPagerDutyConfigDataServiceTableItem `json:"service_table"`
}

type IntegrationPagerDutyConfigDataServiceTableItem added in v0.13.0

type IntegrationPagerDutyConfigDataServiceTableItem struct {
	Service        string      `json:"service"`
	IntegrationKey string      `json:"integration_key"`
	Id             json.Number `json:"id"`
}

type IntegrationPagerDutyModel added in v0.13.0

type IntegrationPagerDutyModel struct {
	Id             types.String `tfsdk:"id"`
	Organization   types.String `tfsdk:"organization"`
	IntegrationId  types.String `tfsdk:"integration_id"`
	Service        types.String `tfsdk:"service"`
	IntegrationKey types.String `tfsdk:"integration_key"`
}

func (*IntegrationPagerDutyModel) Fill added in v0.13.0

type IssueAlertActionAzureDevopsCreateTicketModel added in v0.14.2

type IssueAlertActionAzureDevopsCreateTicketModel struct {
	Name         types.String `tfsdk:"name"`
	Integration  types.String `tfsdk:"integration"`
	Project      types.String `tfsdk:"project"`
	WorkItemType types.String `tfsdk:"work_item_type"`
}

func (*IssueAlertActionAzureDevopsCreateTicketModel) Fill added in v0.14.2

func (IssueAlertActionAzureDevopsCreateTicketModel) ToApi added in v0.14.2

type IssueAlertActionDiscordNotifyServiceModel added in v0.14.2

type IssueAlertActionDiscordNotifyServiceModel struct {
	Name      types.String          `tfsdk:"name"`
	Server    types.String          `tfsdk:"server"`
	ChannelId types.String          `tfsdk:"channel_id"`
	Tags      sentrytypes.StringSet `tfsdk:"tags"`
}

func (*IssueAlertActionDiscordNotifyServiceModel) Fill added in v0.14.2

func (IssueAlertActionDiscordNotifyServiceModel) ToApi added in v0.14.2

type IssueAlertActionGitHubCreateTicketModel added in v0.14.2

type IssueAlertActionGitHubCreateTicketModel struct {
	Name        types.String `tfsdk:"name"`
	Integration types.String `tfsdk:"integration"`
	Repo        types.String `tfsdk:"repo"`
	Assignee    types.String `tfsdk:"assignee"`
	Labels      types.Set    `tfsdk:"labels"`
}

func (*IssueAlertActionGitHubCreateTicketModel) Fill added in v0.14.2

func (IssueAlertActionGitHubCreateTicketModel) ToApi added in v0.14.2

type IssueAlertActionGitHubEnterpriseCreateTicketModel added in v0.14.2

type IssueAlertActionGitHubEnterpriseCreateTicketModel struct {
	Name        types.String `tfsdk:"name"`
	Integration types.String `tfsdk:"integration"`
	Repo        types.String `tfsdk:"repo"`
	Assignee    types.String `tfsdk:"assignee"`
	Labels      types.Set    `tfsdk:"labels"`
}

func (*IssueAlertActionGitHubEnterpriseCreateTicketModel) Fill added in v0.14.2

func (IssueAlertActionGitHubEnterpriseCreateTicketModel) ToApi added in v0.14.2

type IssueAlertActionJiraCreateTicketModel added in v0.14.2

type IssueAlertActionJiraCreateTicketModel struct {
	Name        types.String `tfsdk:"name"`
	Integration types.String `tfsdk:"integration"`
	Project     types.String `tfsdk:"project"`
	IssueType   types.String `tfsdk:"issue_type"`
}

func (*IssueAlertActionJiraCreateTicketModel) Fill added in v0.14.2

func (IssueAlertActionJiraCreateTicketModel) ToApi added in v0.14.2

type IssueAlertActionJiraServerCreateTicketModel added in v0.14.2

type IssueAlertActionJiraServerCreateTicketModel struct {
	Name        types.String `tfsdk:"name"`
	Integration types.String `tfsdk:"integration"`
	Project     types.String `tfsdk:"project"`
	IssueType   types.String `tfsdk:"issue_type"`
}

func (*IssueAlertActionJiraServerCreateTicketModel) Fill added in v0.14.2

func (IssueAlertActionJiraServerCreateTicketModel) ToApi added in v0.14.2

type IssueAlertActionModel added in v0.14.2

type IssueAlertActionModel struct {
	NotifyEmail                  *IssueAlertActionNotifyEmailModel                  `tfsdk:"notify_email"`
	NotifyEvent                  *IssueAlertActionNotifyEventModel                  `tfsdk:"notify_event"`
	NotifyEventService           *IssueAlertActionNotifyEventServiceModel           `tfsdk:"notify_event_service"`
	NotifyEventSentryApp         *IssueAlertActionNotifyEventSentryAppModel         `tfsdk:"notify_event_sentry_app"`
	OpsgenieNotifyTeam           *IssueAlertActionOpsgenieNotifyTeam                `tfsdk:"opsgenie_notify_team"`
	PagerDutyNotifyService       *IssueAlertActionPagerDutyNotifyServiceModel       `tfsdk:"pagerduty_notify_service"`
	SlackNotifyService           *IssueAlertActionSlackNotifyServiceModel           `tfsdk:"slack_notify_service"`
	MsTeamsNotifyService         *IssueAlertActionMsTeamsNotifyServiceModel         `tfsdk:"msteams_notify_service"`
	DiscordNotifyService         *IssueAlertActionDiscordNotifyServiceModel         `tfsdk:"discord_notify_service"`
	JiraCreateTicket             *IssueAlertActionJiraCreateTicketModel             `tfsdk:"jira_create_ticket"`
	JiraServerCreateTicket       *IssueAlertActionJiraServerCreateTicketModel       `tfsdk:"jira_server_create_ticket"`
	GitHubCreateTicket           *IssueAlertActionGitHubCreateTicketModel           `tfsdk:"github_create_ticket"`
	GitHubEnterpriseCreateTicket *IssueAlertActionGitHubEnterpriseCreateTicketModel `tfsdk:"github_enterprise_create_ticket"`
	AzureDevopsCreateTicket      *IssueAlertActionAzureDevopsCreateTicketModel      `tfsdk:"azure_devops_create_ticket"`
}

func (*IssueAlertActionModel) Fill added in v0.14.2

func (IssueAlertActionModel) ToApi added in v0.14.2

type IssueAlertActionMsTeamsNotifyServiceModel added in v0.14.2

type IssueAlertActionMsTeamsNotifyServiceModel struct {
	Name      types.String `tfsdk:"name"`
	Team      types.String `tfsdk:"team"`
	Channel   types.String `tfsdk:"channel"`
	ChannelId types.String `tfsdk:"channel_id"`
}

func (*IssueAlertActionMsTeamsNotifyServiceModel) Fill added in v0.14.2

func (IssueAlertActionMsTeamsNotifyServiceModel) ToApi added in v0.14.2

type IssueAlertActionNotifyEmailModel added in v0.14.2

type IssueAlertActionNotifyEmailModel struct {
	Name             types.String `tfsdk:"name"`
	TargetType       types.String `tfsdk:"target_type"`
	TargetIdentifier types.String `tfsdk:"target_identifier"`
	FallthroughType  types.String `tfsdk:"fallthrough_type"`
}

func (*IssueAlertActionNotifyEmailModel) Fill added in v0.14.2

func (IssueAlertActionNotifyEmailModel) ToApi added in v0.14.2

type IssueAlertActionNotifyEventModel added in v0.14.2

type IssueAlertActionNotifyEventModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertActionNotifyEventModel) Fill added in v0.14.2

func (IssueAlertActionNotifyEventModel) ToApi added in v0.14.2

type IssueAlertActionNotifyEventSentryAppModel added in v0.14.2

type IssueAlertActionNotifyEventSentryAppModel struct {
	Name                      types.String `tfsdk:"name"`
	SentryAppInstallationUuid types.String `tfsdk:"sentry_app_installation_uuid"`
	Settings                  types.Map    `tfsdk:"settings"`
}

func (*IssueAlertActionNotifyEventSentryAppModel) Fill added in v0.14.2

func (IssueAlertActionNotifyEventSentryAppModel) ToApi added in v0.14.2

type IssueAlertActionNotifyEventServiceModel added in v0.14.2

type IssueAlertActionNotifyEventServiceModel struct {
	Name    types.String `tfsdk:"name"`
	Service types.String `tfsdk:"service"`
}

func (*IssueAlertActionNotifyEventServiceModel) Fill added in v0.14.2

func (IssueAlertActionNotifyEventServiceModel) ToApi added in v0.14.2

type IssueAlertActionOpsgenieNotifyTeam added in v0.14.2

type IssueAlertActionOpsgenieNotifyTeam struct {
	Name     types.String `tfsdk:"name"`
	Account  types.String `tfsdk:"account"`
	Team     types.String `tfsdk:"team"`
	Priority types.String `tfsdk:"priority"`
}

func (*IssueAlertActionOpsgenieNotifyTeam) Fill added in v0.14.2

func (IssueAlertActionOpsgenieNotifyTeam) ToApi added in v0.14.2

type IssueAlertActionPagerDutyNotifyServiceModel added in v0.14.2

type IssueAlertActionPagerDutyNotifyServiceModel struct {
	Name     types.String `tfsdk:"name"`
	Account  types.String `tfsdk:"account"`
	Service  types.String `tfsdk:"service"`
	Severity types.String `tfsdk:"severity"`
}

func (*IssueAlertActionPagerDutyNotifyServiceModel) Fill added in v0.14.2

func (IssueAlertActionPagerDutyNotifyServiceModel) ToApi added in v0.14.2

type IssueAlertActionSlackNotifyServiceModel added in v0.14.2

type IssueAlertActionSlackNotifyServiceModel struct {
	Name      types.String          `tfsdk:"name"`
	Workspace types.String          `tfsdk:"workspace"`
	Channel   types.String          `tfsdk:"channel"`
	ChannelId types.String          `tfsdk:"channel_id"`
	Tags      sentrytypes.StringSet `tfsdk:"tags"`
	Notes     types.String          `tfsdk:"notes"`
}

func (*IssueAlertActionSlackNotifyServiceModel) Fill added in v0.14.2

func (IssueAlertActionSlackNotifyServiceModel) ToApi added in v0.14.2

type IssueAlertConditionEventFrequencyModel added in v0.14.2

type IssueAlertConditionEventFrequencyModel struct {
	Name               types.String `tfsdk:"name"`
	ComparisonType     types.String `tfsdk:"comparison_type"`
	ComparisonInterval types.String `tfsdk:"comparison_interval"`
	Value              types.Int64  `tfsdk:"value"`
	Interval           types.String `tfsdk:"interval"`
}

func (*IssueAlertConditionEventFrequencyModel) Fill added in v0.14.2

func (IssueAlertConditionEventFrequencyModel) ToApi added in v0.14.2

type IssueAlertConditionEventFrequencyPercentModel added in v0.14.2

type IssueAlertConditionEventFrequencyPercentModel struct {
	Name               types.String  `tfsdk:"name"`
	ComparisonType     types.String  `tfsdk:"comparison_type"`
	ComparisonInterval types.String  `tfsdk:"comparison_interval"`
	Value              types.Float64 `tfsdk:"value"`
	Interval           types.String  `tfsdk:"interval"`
}

func (*IssueAlertConditionEventFrequencyPercentModel) Fill added in v0.14.2

func (IssueAlertConditionEventFrequencyPercentModel) ToApi added in v0.14.2

type IssueAlertConditionEventUniqueUserFrequencyModel added in v0.14.2

type IssueAlertConditionEventUniqueUserFrequencyModel struct {
	Name               types.String `tfsdk:"name"`
	ComparisonType     types.String `tfsdk:"comparison_type"`
	ComparisonInterval types.String `tfsdk:"comparison_interval"`
	Value              types.Int64  `tfsdk:"value"`
	Interval           types.String `tfsdk:"interval"`
}

func (*IssueAlertConditionEventUniqueUserFrequencyModel) Fill added in v0.14.2

func (IssueAlertConditionEventUniqueUserFrequencyModel) ToApi added in v0.14.2

type IssueAlertConditionExistingHighPriorityIssueModel added in v0.14.2

type IssueAlertConditionExistingHighPriorityIssueModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertConditionExistingHighPriorityIssueModel) Fill added in v0.14.2

func (IssueAlertConditionExistingHighPriorityIssueModel) ToApi added in v0.14.2

type IssueAlertConditionFirstSeenEventModel added in v0.14.2

type IssueAlertConditionFirstSeenEventModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertConditionFirstSeenEventModel) Fill added in v0.14.2

func (IssueAlertConditionFirstSeenEventModel) ToApi added in v0.14.2

type IssueAlertConditionModel added in v0.14.2

type IssueAlertConditionModel struct {
	FirstSeenEvent            *IssueAlertConditionFirstSeenEventModel            `tfsdk:"first_seen_event"`
	RegressionEvent           *IssueAlertConditionRegressionEventModel           `tfsdk:"regression_event"`
	ReappearedEvent           *IssueAlertConditionReappearedEventModel           `tfsdk:"reappeared_event"`
	NewHighPriorityIssue      *IssueAlertConditionNewHighPriorityIssueModel      `tfsdk:"new_high_priority_issue"`
	ExistingHighPriorityIssue *IssueAlertConditionExistingHighPriorityIssueModel `tfsdk:"existing_high_priority_issue"`
	EventFrequency            *IssueAlertConditionEventFrequencyModel            `tfsdk:"event_frequency"`
	EventUniqueUserFrequency  *IssueAlertConditionEventUniqueUserFrequencyModel  `tfsdk:"event_unique_user_frequency"`
	EventFrequencyPercent     *IssueAlertConditionEventFrequencyPercentModel     `tfsdk:"event_frequency_percent"`
}

func (*IssueAlertConditionModel) Fill added in v0.14.2

func (IssueAlertConditionModel) ToApi added in v0.14.2

type IssueAlertConditionNewHighPriorityIssueModel added in v0.14.2

type IssueAlertConditionNewHighPriorityIssueModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertConditionNewHighPriorityIssueModel) Fill added in v0.14.2

func (IssueAlertConditionNewHighPriorityIssueModel) ToApi added in v0.14.2

type IssueAlertConditionReappearedEventModel added in v0.14.2

type IssueAlertConditionReappearedEventModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertConditionReappearedEventModel) Fill added in v0.14.2

func (IssueAlertConditionReappearedEventModel) ToApi added in v0.14.2

type IssueAlertConditionRegressionEventModel added in v0.14.2

type IssueAlertConditionRegressionEventModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertConditionRegressionEventModel) Fill added in v0.14.2

func (IssueAlertConditionRegressionEventModel) ToApi added in v0.14.2

type IssueAlertDataSource

type IssueAlertDataSource struct {
	// contains filtered or unexported fields
}

func (*IssueAlertDataSource) Configure

func (d *IssueAlertDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*IssueAlertDataSource) Metadata

func (*IssueAlertDataSource) Read

func (*IssueAlertDataSource) Schema

type IssueAlertFilterAgeComparisonModel added in v0.14.2

type IssueAlertFilterAgeComparisonModel struct {
	Name           types.String `tfsdk:"name"`
	ComparisonType types.String `tfsdk:"comparison_type"`
	Value          types.Int64  `tfsdk:"value"`
	Time           types.String `tfsdk:"time"`
}

func (*IssueAlertFilterAgeComparisonModel) Fill added in v0.14.2

func (IssueAlertFilterAgeComparisonModel) ToApi added in v0.14.2

type IssueAlertFilterAssignedToModel added in v0.14.2

type IssueAlertFilterAssignedToModel struct {
	Name             types.String `tfsdk:"name"`
	TargetType       types.String `tfsdk:"target_type"`
	TargetIdentifier types.String `tfsdk:"target_identifier"`
}

func (*IssueAlertFilterAssignedToModel) Fill added in v0.14.2

func (IssueAlertFilterAssignedToModel) ToApi added in v0.14.2

type IssueAlertFilterEventAttributeModel added in v0.14.2

type IssueAlertFilterEventAttributeModel struct {
	Name      types.String `tfsdk:"name"`
	Attribute types.String `tfsdk:"attribute"`
	Match     types.String `tfsdk:"match"`
	Value     types.String `tfsdk:"value"`
}

func (*IssueAlertFilterEventAttributeModel) Fill added in v0.14.2

func (IssueAlertFilterEventAttributeModel) ToApi added in v0.14.2

type IssueAlertFilterIssueCategoryModel added in v0.14.2

type IssueAlertFilterIssueCategoryModel struct {
	Name  types.String `tfsdk:"name"`
	Value types.String `tfsdk:"value"`
}

func (*IssueAlertFilterIssueCategoryModel) Fill added in v0.14.2

func (IssueAlertFilterIssueCategoryModel) ToApi added in v0.14.2

type IssueAlertFilterIssueOccurrencesModel added in v0.14.2

type IssueAlertFilterIssueOccurrencesModel struct {
	Name  types.String `tfsdk:"name"`
	Value types.Int64  `tfsdk:"value"`
}

func (*IssueAlertFilterIssueOccurrencesModel) Fill added in v0.14.2

func (IssueAlertFilterIssueOccurrencesModel) ToApi added in v0.14.2

type IssueAlertFilterLatestAdoptedReleaseModel added in v0.14.2

type IssueAlertFilterLatestAdoptedReleaseModel struct {
	Name           types.String `tfsdk:"name"`
	OldestOrNewest types.String `tfsdk:"oldest_or_newest"`
	OlderOrNewer   types.String `tfsdk:"older_or_newer"`
	Environment    types.String `tfsdk:"environment"`
}

func (*IssueAlertFilterLatestAdoptedReleaseModel) Fill added in v0.14.2

func (IssueAlertFilterLatestAdoptedReleaseModel) ToApi added in v0.14.2

type IssueAlertFilterLatestReleaseModel added in v0.14.2

type IssueAlertFilterLatestReleaseModel struct {
	Name types.String `tfsdk:"name"`
}

func (*IssueAlertFilterLatestReleaseModel) Fill added in v0.14.2

func (IssueAlertFilterLatestReleaseModel) ToApi added in v0.14.2

type IssueAlertFilterLevelModel added in v0.14.2

type IssueAlertFilterLevelModel struct {
	Name  types.String `tfsdk:"name"`
	Match types.String `tfsdk:"match"`
	Level types.String `tfsdk:"level"`
}

func (*IssueAlertFilterLevelModel) Fill added in v0.14.2

func (IssueAlertFilterLevelModel) ToApi added in v0.14.2

type IssueAlertFilterModel added in v0.14.2

type IssueAlertFilterModel struct {
	AgeComparison        *IssueAlertFilterAgeComparisonModel        `tfsdk:"age_comparison"`
	IssueOccurrences     *IssueAlertFilterIssueOccurrencesModel     `tfsdk:"issue_occurrences"`
	AssignedTo           *IssueAlertFilterAssignedToModel           `tfsdk:"assigned_to"`
	LatestAdoptedRelease *IssueAlertFilterLatestAdoptedReleaseModel `tfsdk:"latest_adopted_release"`
	LatestRelease        *IssueAlertFilterLatestReleaseModel        `tfsdk:"latest_release"`
	IssueCategory        *IssueAlertFilterIssueCategoryModel        `tfsdk:"issue_category"`
	EventAttribute       *IssueAlertFilterEventAttributeModel       `tfsdk:"event_attribute"`
	TaggedEvent          *IssueAlertFilterTaggedEventModel          `tfsdk:"tagged_event"`
	Level                *IssueAlertFilterLevelModel                `tfsdk:"level"`
}

func (*IssueAlertFilterModel) Fill added in v0.14.2

func (IssueAlertFilterModel) ToApi added in v0.14.2

type IssueAlertFilterTaggedEventModel added in v0.14.2

type IssueAlertFilterTaggedEventModel struct {
	Name  types.String `tfsdk:"name"`
	Key   types.String `tfsdk:"key"`
	Match types.String `tfsdk:"match"`
	Value types.String `tfsdk:"value"`
}

func (*IssueAlertFilterTaggedEventModel) Fill added in v0.14.2

func (IssueAlertFilterTaggedEventModel) ToApi added in v0.14.2

type IssueAlertModel added in v0.14.2

type IssueAlertModel struct {
	Id           types.String                `tfsdk:"id"`
	Organization types.String                `tfsdk:"organization"`
	Project      types.String                `tfsdk:"project"`
	Name         types.String                `tfsdk:"name"`
	Conditions   sentrytypes.LossyJson       `tfsdk:"conditions"`
	Filters      sentrytypes.LossyJson       `tfsdk:"filters"`
	Actions      sentrytypes.LossyJson       `tfsdk:"actions"`
	ActionMatch  types.String                `tfsdk:"action_match"`
	FilterMatch  types.String                `tfsdk:"filter_match"`
	Frequency    types.Int64                 `tfsdk:"frequency"`
	Environment  types.String                `tfsdk:"environment"`
	Owner        types.String                `tfsdk:"owner"`
	ConditionsV2 *[]IssueAlertConditionModel `tfsdk:"conditions_v2"`
	FiltersV2    *[]IssueAlertFilterModel    `tfsdk:"filters_v2"`
	ActionsV2    *[]IssueAlertActionModel    `tfsdk:"actions_v2"`
}

func (*IssueAlertModel) Fill added in v0.14.2

func (m *IssueAlertModel) Fill(ctx context.Context, alert apiclient.ProjectRule) (diags diag.Diagnostics)

type IssueAlertResource

type IssueAlertResource struct {
	// contains filtered or unexported fields
}

func (*IssueAlertResource) ConfigValidators added in v0.14.2

func (r *IssueAlertResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*IssueAlertResource) Configure

func (r *IssueAlertResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IssueAlertResource) Create

func (*IssueAlertResource) Delete

func (*IssueAlertResource) ImportState

func (*IssueAlertResource) Metadata

func (*IssueAlertResource) Read

func (*IssueAlertResource) Schema

func (*IssueAlertResource) Update

func (*IssueAlertResource) UpgradeState

func (r *IssueAlertResource) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader

func (*IssueAlertResource) ValidateConfig added in v0.14.2

type NotificationActionResource

type NotificationActionResource struct {
	// contains filtered or unexported fields
}

func (*NotificationActionResource) Configure

func (r *NotificationActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*NotificationActionResource) Create

func (*NotificationActionResource) Delete

func (*NotificationActionResource) ImportState

func (*NotificationActionResource) Metadata

func (*NotificationActionResource) Read

func (*NotificationActionResource) Schema

func (*NotificationActionResource) Update

type NotificationActionResourceModel

type NotificationActionResourceModel struct {
	Id               types.String `tfsdk:"id"`
	Organization     types.String `tfsdk:"organization"`
	TriggerType      types.String `tfsdk:"trigger_type"`
	ServiceType      types.String `tfsdk:"service_type"`
	IntegrationId    types.String `tfsdk:"integration_id"`
	TargetIdentifier types.String `tfsdk:"target_identifier"`
	TargetDisplay    types.String `tfsdk:"target_display"`
	Projects         types.List   `tfsdk:"projects"`
}

func (*NotificationActionResourceModel) Fill

func (m *NotificationActionResourceModel) Fill(action sentry.NotificationAction, projectIdToSlugMap map[string]string) error

type OrganizationDataSource added in v0.14.0

type OrganizationDataSource struct {
	// contains filtered or unexported fields
}

func (*OrganizationDataSource) Configure added in v0.14.0

func (d *OrganizationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*OrganizationDataSource) Metadata added in v0.14.0

func (*OrganizationDataSource) Read added in v0.14.0

func (*OrganizationDataSource) Schema added in v0.14.0

type OrganizationDataSourceModel added in v0.14.0

type OrganizationDataSourceModel struct {
	Id         types.String `tfsdk:"id"`
	Slug       types.String `tfsdk:"slug"`
	Name       types.String `tfsdk:"name"`
	InternalId types.String `tfsdk:"internal_id"`
}

func (*OrganizationDataSourceModel) Fill added in v0.14.0

type OrganizationIntegrationDataSource

type OrganizationIntegrationDataSource struct {
	// contains filtered or unexported fields
}

func (*OrganizationIntegrationDataSource) Configure

func (d *OrganizationIntegrationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*OrganizationIntegrationDataSource) Metadata

func (*OrganizationIntegrationDataSource) Read

func (*OrganizationIntegrationDataSource) Schema

type OrganizationIntegrationDataSourceModel

type OrganizationIntegrationDataSourceModel struct {
	Id           types.String `tfsdk:"id"`
	InternalId   types.String `tfsdk:"internal_id"`
	Organization types.String `tfsdk:"organization"`
	ProviderKey  types.String `tfsdk:"provider_key"`
	Name         types.String `tfsdk:"name"`
}

func (*OrganizationIntegrationDataSourceModel) Fill

type OrganizationMemberDataSource

type OrganizationMemberDataSource struct {
	// contains filtered or unexported fields
}

func (*OrganizationMemberDataSource) Configure

func (d *OrganizationMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*OrganizationMemberDataSource) Metadata

func (*OrganizationMemberDataSource) Read

func (*OrganizationMemberDataSource) Schema

type OrganizationMemberDataSourceModel

type OrganizationMemberDataSourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Email        types.String `tfsdk:"email"`
	Role         types.String `tfsdk:"role"`
}

func (*OrganizationMemberDataSourceModel) Fill

type OrganizationModel added in v0.13.0

type OrganizationModel struct {
	Id   types.String `tfsdk:"id"`
	Slug types.String `tfsdk:"slug"`
	Name types.String `tfsdk:"name"`
}

func (*OrganizationModel) Fill added in v0.13.0

type OrganizationRepositoryModel added in v0.14.1

type OrganizationRepositoryModel struct {
	Id              types.String `tfsdk:"id"`
	Organization    types.String `tfsdk:"organization"`
	IntegrationType types.String `tfsdk:"integration_type"`
	IntegrationId   types.String `tfsdk:"integration_id"`
	Identifier      types.String `tfsdk:"identifier"`
}

func (*OrganizationRepositoryModel) Fill added in v0.14.1

type OrganizationRepositoryResource added in v0.14.1

type OrganizationRepositoryResource struct {
	// contains filtered or unexported fields
}

func (*OrganizationRepositoryResource) Configure added in v0.14.1

func (r *OrganizationRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*OrganizationRepositoryResource) Create added in v0.14.1

func (*OrganizationRepositoryResource) Delete added in v0.14.1

func (*OrganizationRepositoryResource) ImportState added in v0.14.1

func (*OrganizationRepositoryResource) Metadata added in v0.14.1

func (*OrganizationRepositoryResource) Read added in v0.14.1

func (*OrganizationRepositoryResource) Schema added in v0.14.1

func (*OrganizationRepositoryResource) Update added in v0.14.1

type ProjectClientSecurityResourceModel added in v0.14.2

type ProjectClientSecurityResourceModel struct {
	AllowedDomains      types.Set    `tfsdk:"allowed_domains"`
	ScrapeJavascript    types.Bool   `tfsdk:"scrape_javascript"`
	SecurityToken       types.String `tfsdk:"security_token"`
	SecurityTokenHeader types.String `tfsdk:"security_token_header"`
	VerifyTlsSsl        types.Bool   `tfsdk:"verify_tls_ssl"`
}

func (ProjectClientSecurityResourceModel) AttributeTypes added in v0.14.2

func (m ProjectClientSecurityResourceModel) AttributeTypes() map[string]attr.Type

func (*ProjectClientSecurityResourceModel) Fill added in v0.14.2

type ProjectDataSource added in v0.13.0

type ProjectDataSource struct {
	// contains filtered or unexported fields
}

func (*ProjectDataSource) Configure added in v0.13.0

func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*ProjectDataSource) Metadata added in v0.13.0

func (*ProjectDataSource) Read added in v0.13.0

func (*ProjectDataSource) Schema added in v0.13.0

type ProjectDataSourceModel added in v0.13.0

type ProjectDataSourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Slug         types.String `tfsdk:"slug"`
	Id           types.String `tfsdk:"id"`
	InternalId   types.String `tfsdk:"internal_id"`
	Name         types.String `tfsdk:"name"`
	Platform     types.String `tfsdk:"platform"`
	DateCreated  types.String `tfsdk:"date_created"`
	Features     types.Set    `tfsdk:"features"`
	Color        types.String `tfsdk:"color"`
	IsPublic     types.Bool   `tfsdk:"is_public"`
}

func (*ProjectDataSourceModel) Fill added in v0.13.0

func (m *ProjectDataSourceModel) Fill(project apiclient.Project) error

type ProjectFilterResourceModel added in v0.14.2

type ProjectFilterResourceModel struct {
	BlacklistedIps types.Set `tfsdk:"blacklisted_ips"`
	Releases       types.Set `tfsdk:"releases"`
	ErrorMessages  types.Set `tfsdk:"error_messages"`
}

func (ProjectFilterResourceModel) AttributeTypes added in v0.14.2

func (m ProjectFilterResourceModel) AttributeTypes() map[string]attr.Type

func (*ProjectFilterResourceModel) Fill added in v0.14.2

type ProjectInboundDataFilterResource

type ProjectInboundDataFilterResource struct {
	// contains filtered or unexported fields
}

func (*ProjectInboundDataFilterResource) Configure

func (r *ProjectInboundDataFilterResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectInboundDataFilterResource) Create

func (*ProjectInboundDataFilterResource) Delete

func (*ProjectInboundDataFilterResource) ImportState

func (*ProjectInboundDataFilterResource) Metadata

func (*ProjectInboundDataFilterResource) Read

func (*ProjectInboundDataFilterResource) Schema

func (*ProjectInboundDataFilterResource) Update

type ProjectInboundDataFilterResourceModel

type ProjectInboundDataFilterResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Project      types.String `tfsdk:"project"`
	FilterId     types.String `tfsdk:"filter_id"`
	Active       types.Bool   `tfsdk:"active"`
	Subfilters   types.Set    `tfsdk:"subfilters"`
}

func (*ProjectInboundDataFilterResourceModel) Fill

func (m *ProjectInboundDataFilterResourceModel) Fill(organization string, project string, filterId string, filter sentry.ProjectInboundDataFilter) error

type ProjectResource added in v0.14.0

type ProjectResource struct {
	// contains filtered or unexported fields
}

func (*ProjectResource) Configure added in v0.14.0

func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectResource) Create added in v0.14.0

func (*ProjectResource) Delete added in v0.14.0

func (*ProjectResource) ImportState added in v0.14.0

func (*ProjectResource) Metadata added in v0.14.0

func (*ProjectResource) Read added in v0.14.0

func (*ProjectResource) Schema added in v0.14.0

func (*ProjectResource) Update added in v0.14.0

type ProjectResourceModel added in v0.14.0

type ProjectResourceModel struct {
	Id                   types.String              `tfsdk:"id"`
	Organization         types.String              `tfsdk:"organization"`
	Teams                types.Set                 `tfsdk:"teams"`
	Name                 types.String              `tfsdk:"name"`
	Slug                 types.String              `tfsdk:"slug"`
	Platform             types.String              `tfsdk:"platform"`
	DefaultRules         types.Bool                `tfsdk:"default_rules"`
	DefaultKey           types.Bool                `tfsdk:"default_key"`
	InternalId           types.String              `tfsdk:"internal_id"`
	Features             types.Set                 `tfsdk:"features"`
	DigestsMinDelay      types.Int64               `tfsdk:"digests_min_delay"`
	DigestsMaxDelay      types.Int64               `tfsdk:"digests_max_delay"`
	ResolveAge           types.Int64               `tfsdk:"resolve_age"`
	Filters              types.Object              `tfsdk:"filters"`
	FingerprintingRules  sentrytypes.TrimmedString `tfsdk:"fingerprinting_rules"`
	GroupingEnhancements sentrytypes.TrimmedString `tfsdk:"grouping_enhancements"`
	ClientSecurity       types.Object              `tfsdk:"client_security"`
}

func (*ProjectResourceModel) Fill added in v0.14.0

func (m *ProjectResourceModel) Fill(ctx context.Context, project apiclient.Project) (diags diag.Diagnostics)

type ProjectSpikeProtectionResource

type ProjectSpikeProtectionResource struct {
	// contains filtered or unexported fields
}

func (*ProjectSpikeProtectionResource) Configure

func (r *ProjectSpikeProtectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectSpikeProtectionResource) Create

func (*ProjectSpikeProtectionResource) Delete

func (*ProjectSpikeProtectionResource) ImportState

func (*ProjectSpikeProtectionResource) Metadata

func (*ProjectSpikeProtectionResource) Read

func (*ProjectSpikeProtectionResource) Schema

func (*ProjectSpikeProtectionResource) Update

type ProjectSpikeProtectionResourceModel

type ProjectSpikeProtectionResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Project      types.String `tfsdk:"project"`
	Enabled      types.Bool   `tfsdk:"enabled"`
}

func (*ProjectSpikeProtectionResourceModel) Fill

type ProjectSymbolSourcesResource

type ProjectSymbolSourcesResource struct {
	// contains filtered or unexported fields
}

func (*ProjectSymbolSourcesResource) Configure

func (r *ProjectSymbolSourcesResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectSymbolSourcesResource) Create

func (*ProjectSymbolSourcesResource) Delete

func (*ProjectSymbolSourcesResource) ImportState

func (*ProjectSymbolSourcesResource) Metadata

func (*ProjectSymbolSourcesResource) Read

func (*ProjectSymbolSourcesResource) Schema

func (*ProjectSymbolSourcesResource) Update

type ProjectSymbolSourcesResourceLayoutModel

type ProjectSymbolSourcesResourceLayoutModel struct {
	Type   types.String `tfsdk:"type"`
	Casing types.String `tfsdk:"casing"`
}

func (ProjectSymbolSourcesResourceLayoutModel) AttributeTypes

func (*ProjectSymbolSourcesResourceLayoutModel) Fill

type ProjectSymbolSourcesResourceModel

type ProjectSymbolSourcesResourceModel struct {
	Id                   types.String                             `tfsdk:"id"`
	Organization         types.String                             `tfsdk:"organization"`
	Project              types.String                             `tfsdk:"project"`
	Type                 types.String                             `tfsdk:"type"`
	Name                 types.String                             `tfsdk:"name"`
	Layout               *ProjectSymbolSourcesResourceLayoutModel `tfsdk:"layout"`
	AppConnectIssuer     types.String                             `tfsdk:"app_connect_issuer"`
	AppConnectPrivateKey types.String                             `tfsdk:"app_connect_private_key"`
	AppId                types.String                             `tfsdk:"app_id"`
	Url                  types.String                             `tfsdk:"url"`
	Username             types.String                             `tfsdk:"username"`
	Password             types.String                             `tfsdk:"password"`
	Bucket               types.String                             `tfsdk:"bucket"`
	Region               types.String                             `tfsdk:"region"`
	AccessKey            types.String                             `tfsdk:"access_key"`
	SecretKey            types.String                             `tfsdk:"secret_key"`
	Prefix               types.String                             `tfsdk:"prefix"`
	ClientEmail          types.String                             `tfsdk:"client_email"`
	PrivateKey           types.String                             `tfsdk:"private_key"`
}

func (*ProjectSymbolSourcesResourceModel) Fill

type SentryProvider

type SentryProvider struct {
	// contains filtered or unexported fields
}

SentryProvider defines the provider implementation.

func (*SentryProvider) Configure

func (*SentryProvider) DataSources

func (p *SentryProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*SentryProvider) Metadata

func (*SentryProvider) Resources

func (p *SentryProvider) Resources(ctx context.Context) []func() resource.Resource

func (*SentryProvider) Schema

type SentryProviderModel

type SentryProviderModel struct {
	Token   types.String `tfsdk:"token"`
	BaseUrl types.String `tfsdk:"base_url"`
}

SentryProviderModel describes the provider data model.

type TeamMemberResource

type TeamMemberResource struct {
	// contains filtered or unexported fields
}

func (*TeamMemberResource) Configure

func (r *TeamMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*TeamMemberResource) Create

func (*TeamMemberResource) Delete

func (*TeamMemberResource) ImportState

func (*TeamMemberResource) Metadata

func (*TeamMemberResource) Read

func (*TeamMemberResource) Schema

func (*TeamMemberResource) Update

type TeamMemberResourceModel

type TeamMemberResourceModel struct {
	Id            types.String `tfsdk:"id"`
	Organization  types.String `tfsdk:"organization"`
	MemberId      types.String `tfsdk:"member_id"`
	Team          types.String `tfsdk:"team"`
	Role          types.String `tfsdk:"role"`
	EffectiveRole types.String `tfsdk:"effective_role"`
}

func (*TeamMemberResourceModel) Fill

func (data *TeamMemberResourceModel) Fill(organization string, team string, memberId string, role *string, effectiveRole string) error

Jump to

Keyboard shortcuts

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