provider

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 61 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldHttpOperationType        = "tf_http_op_type"
	OperationHttpRequest          = "request"
	OperationHttpResponse         = "response"
	FieldHttpRequestMethod        = "tf_http_req_method"
	FieldHttpRequestUri           = "tf_http_req_uri"
	FieldHttpRequestProtoVersion  = "tf_http_req_version"
	FieldHttpRequestBody          = "tf_http_req_body"
	FieldHttpResponseProtoVersion = "tf_http_res_version"
	FieldHttpResponseStatusCode   = "tf_http_res_status_code"
	FieldHttpResponseStatusReason = "tf_http_res_status_reason"
	FieldHttpResponseBody         = "tf_http_res_body"
	FieldHttpTransactionId        = "tf_http_trans_id"
)

Variables

This section is empty.

Functions

func GenerateCondition

func GenerateCondition(condition *ConditionConfig) string

func GenerateErrorMessageRegexp

func GenerateErrorMessageRegexp(message string) *regexp.Regexp

func GenerateGroupResource

func GenerateGroupResource(ogc *OpalGroupConfig) string

func GenerateRequestConfigurations

func GenerateRequestConfigurations(requestConfigurations []RequestConfigurationConfig) string

func GenerateReviewerStages

func GenerateReviewerStages(reviewerStages []ReviewerStageConfig) string

func New

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

func NewAccessRuleDataSource

func NewAccessRuleDataSource() datasource.DataSource

func NewAccessRuleResource

func NewAccessRuleResource() resource.Resource

func NewAppDataSource

func NewAppDataSource() datasource.DataSource

func NewAppsDataSource

func NewAppsDataSource() datasource.DataSource

func NewBundleDataSource

func NewBundleDataSource() datasource.DataSource

func NewBundleGroupResource

func NewBundleGroupResource() resource.Resource

func NewBundleResource

func NewBundleResource() resource.Resource

func NewBundleResourceResource

func NewBundleResourceResource() resource.Resource

func NewBundleVisibilityDataSource

func NewBundleVisibilityDataSource() datasource.DataSource

func NewConfigurationTemplateListDataSource

func NewConfigurationTemplateListDataSource() datasource.DataSource

func NewConfigurationTemplateResource

func NewConfigurationTemplateResource() resource.Resource

func NewEventsDataSource

func NewEventsDataSource() datasource.DataSource

func NewGroupContainingGroupDataSource

func NewGroupContainingGroupDataSource() datasource.DataSource

func NewGroupContainingGroupResource

func NewGroupContainingGroupResource() resource.Resource

func NewGroupDataSource

func NewGroupDataSource() datasource.DataSource

func NewGroupListDataSource

func NewGroupListDataSource() datasource.DataSource

func NewGroupResource

func NewGroupResource() resource.Resource

func NewGroupResourceListDataSource

func NewGroupResourceListDataSource() datasource.DataSource

func NewGroupResourceListResource

func NewGroupResourceListResource() resource.Resource

func NewGroupReviewersStagesListDataSource

func NewGroupReviewersStagesListDataSource() datasource.DataSource

func NewGroupTagResource

func NewGroupTagResource() resource.Resource

func NewGroupTagsDataSource

func NewGroupTagsDataSource() datasource.DataSource

func NewGroupUserResource

func NewGroupUserResource() resource.Resource

func NewGroupUsersDataSource

func NewGroupUsersDataSource() datasource.DataSource

func NewIdpGroupMappingsDataSource

func NewIdpGroupMappingsDataSource() datasource.DataSource

func NewIdpGroupMappingsResource

func NewIdpGroupMappingsResource() resource.Resource

func NewMessageChannelDataSource

func NewMessageChannelDataSource() datasource.DataSource

func NewMessageChannelListDataSource

func NewMessageChannelListDataSource() datasource.DataSource

func NewMessageChannelResource

func NewMessageChannelResource() resource.Resource

func NewOnCallScheduleDataSource

func NewOnCallScheduleDataSource() datasource.DataSource

func NewOnCallScheduleListDataSource

func NewOnCallScheduleListDataSource() datasource.DataSource

func NewOnCallScheduleResource

func NewOnCallScheduleResource() resource.Resource

func NewOwnerDataSource

func NewOwnerDataSource() datasource.DataSource

func NewOwnerFromNameDataSource

func NewOwnerFromNameDataSource() datasource.DataSource

func NewOwnerResource

func NewOwnerResource() resource.Resource

func NewOwnersDataSource

func NewOwnersDataSource() datasource.DataSource

func NewPaginatedBundleGroupListDataSource

func NewPaginatedBundleGroupListDataSource() datasource.DataSource

func NewPaginatedBundleListDataSource

func NewPaginatedBundleListDataSource() datasource.DataSource

func NewPaginatedBundleResourceListDataSource

func NewPaginatedBundleResourceListDataSource() datasource.DataSource

func NewProviderHTTPTransport

func NewProviderHTTPTransport(opts ProviderHTTPTransportOpts) *providerHttpTransport

Note: this is taken as a more minimal/specific version of https://github.com/hashicorp/terraform-plugin-sdk/blob/main/helper/logging/logging_http_transport.go

func NewRequestsDataSource

func NewRequestsDataSource() datasource.DataSource

func NewResourceDataSource

func NewResourceDataSource() datasource.DataSource

func NewResourceMessageChannelListDataSource

func NewResourceMessageChannelListDataSource() datasource.DataSource

func NewResourceResource

func NewResourceResource() resource.Resource

func NewResourceReviewersListDataSource

func NewResourceReviewersListDataSource() datasource.DataSource

func NewResourceTagResource

func NewResourceTagResource() resource.Resource

func NewResourceTagsDataSource

func NewResourceTagsDataSource() datasource.DataSource

func NewResourceVisibilityDataSource

func NewResourceVisibilityDataSource() datasource.DataSource

func NewResourcesAccessStatusDataSource

func NewResourcesAccessStatusDataSource() datasource.DataSource

func NewResourcesListDataSource

func NewResourcesListDataSource() datasource.DataSource

func NewResourcesUsersListDataSource

func NewResourcesUsersListDataSource() datasource.DataSource

func NewScopedRolePermissionListDataSource

func NewScopedRolePermissionListDataSource() datasource.DataSource

func NewScopedRolePermissionListResource

func NewScopedRolePermissionListResource() resource.Resource

func NewSessionsDataSource

func NewSessionsDataSource() datasource.DataSource

func NewTagDataSource

func NewTagDataSource() datasource.DataSource

func NewTagResource

func NewTagResource() resource.Resource

func NewTagUserResource

func NewTagUserResource() resource.Resource

func NewTagsListDataSource

func NewTagsListDataSource() datasource.DataSource

func NewUARSListDataSource

func NewUARSListDataSource() datasource.DataSource

func NewUarDataSource

func NewUarDataSource() datasource.DataSource

func NewUserDataSource

func NewUserDataSource() datasource.DataSource

func NewUserTagsDataSource

func NewUserTagsDataSource() datasource.DataSource

func NewUsersDataSource

func NewUsersDataSource() datasource.DataSource

Types

type AccessRuleDataSource

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

AccessRuleDataSource is the data source implementation.

func (*AccessRuleDataSource) Configure

func (*AccessRuleDataSource) Metadata

Metadata returns the data source type name.

func (*AccessRuleDataSource) Read

func (*AccessRuleDataSource) Schema

Schema defines the schema for the data source.

type AccessRuleDataSourceModel

type AccessRuleDataSourceModel struct {
	AdminOwnerID types.String        `tfsdk:"admin_owner_id"`
	Description  types.String        `tfsdk:"description"`
	ID           types.String        `tfsdk:"id"`
	Name         types.String        `tfsdk:"name"`
	RuleClauses  tfTypes.RuleClauses `tfsdk:"rule_clauses"`
	Status       types.String        `tfsdk:"status"`
}

AccessRuleDataSourceModel describes the data model.

func (*AccessRuleDataSourceModel) RefreshFromSharedAccessRule

func (r *AccessRuleDataSourceModel) RefreshFromSharedAccessRule(ctx context.Context, resp *shared.AccessRule) diag.Diagnostics

func (*AccessRuleDataSourceModel) ToOperationsGetAccessRuleRequest

func (r *AccessRuleDataSourceModel) ToOperationsGetAccessRuleRequest(ctx context.Context) (*operations.GetAccessRuleRequest, diag.Diagnostics)

type AccessRuleResource

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

AccessRuleResource defines the resource implementation.

func (*AccessRuleResource) Configure

func (*AccessRuleResource) Create

func (*AccessRuleResource) Delete

func (*AccessRuleResource) ImportState

func (*AccessRuleResource) Metadata

func (*AccessRuleResource) Read

func (*AccessRuleResource) Schema

func (*AccessRuleResource) Update

type AccessRuleResourceModel

type AccessRuleResourceModel struct {
	AdminOwnerID types.String        `tfsdk:"admin_owner_id"`
	Description  types.String        `tfsdk:"description"`
	ID           types.String        `tfsdk:"id"`
	Name         types.String        `tfsdk:"name"`
	RuleClauses  tfTypes.RuleClauses `tfsdk:"rule_clauses"`
	Status       types.String        `tfsdk:"status"`
}

AccessRuleResourceModel describes the resource data model.

func (*AccessRuleResourceModel) RefreshFromSharedAccessRule

func (r *AccessRuleResourceModel) RefreshFromSharedAccessRule(ctx context.Context, resp *shared.AccessRule) diag.Diagnostics

func (*AccessRuleResourceModel) ToOperationsDeleteGroupRequest

func (r *AccessRuleResourceModel) ToOperationsDeleteGroupRequest(ctx context.Context) (*operations.DeleteGroupRequest, diag.Diagnostics)

func (*AccessRuleResourceModel) ToOperationsGetAccessRuleRequest

func (r *AccessRuleResourceModel) ToOperationsGetAccessRuleRequest(ctx context.Context) (*operations.GetAccessRuleRequest, diag.Diagnostics)

func (*AccessRuleResourceModel) ToOperationsUpdateAccessRuleRequest

func (r *AccessRuleResourceModel) ToOperationsUpdateAccessRuleRequest(ctx context.Context) (*operations.UpdateAccessRuleRequest, diag.Diagnostics)

func (*AccessRuleResourceModel) ToSharedUpdateAccessRuleInfo

func (r *AccessRuleResourceModel) ToSharedUpdateAccessRuleInfo(ctx context.Context) (*shared.UpdateAccessRuleInfo, diag.Diagnostics)

type AppDataSource

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

AppDataSource is the data source implementation.

func (*AppDataSource) Configure

func (*AppDataSource) Metadata

Metadata returns the data source type name.

func (*AppDataSource) Read

func (*AppDataSource) Schema

Schema defines the schema for the data source.

type AppDataSourceModel

type AppDataSourceModel struct {
	AdminOwnerID types.String            `tfsdk:"admin_owner_id"`
	Description  types.String            `tfsdk:"description"`
	ID           types.String            `tfsdk:"id"`
	Name         types.String            `tfsdk:"name"`
	Type         types.String            `tfsdk:"type"`
	Validations  []tfTypes.AppValidation `tfsdk:"validations"`
}

AppDataSourceModel describes the data model.

func (*AppDataSourceModel) RefreshFromSharedApp

func (r *AppDataSourceModel) RefreshFromSharedApp(ctx context.Context, resp *shared.App) diag.Diagnostics

func (*AppDataSourceModel) ToOperationsGetAppIDRequest

func (r *AppDataSourceModel) ToOperationsGetAppIDRequest(ctx context.Context) (*operations.GetAppIDRequest, diag.Diagnostics)

type AppsDataSource

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

AppsDataSource is the data source implementation.

func (*AppsDataSource) Configure

func (*AppsDataSource) Metadata

Metadata returns the data source type name.

func (*AppsDataSource) Read

func (*AppsDataSource) Schema

Schema defines the schema for the data source.

type AppsDataSourceModel

type AppsDataSourceModel struct {
	AppTypeFilter []types.String `queryParam:"style=form,explode=false,name=app_type_filter" tfsdk:"app_type_filter"`
	Apps          []tfTypes.App  `tfsdk:"apps"`
	OwnerFilter   types.String   `queryParam:"style=form,explode=true,name=owner_filter" tfsdk:"owner_filter"`
}

AppsDataSourceModel describes the data model.

func (*AppsDataSourceModel) RefreshFromSharedAppsList

func (r *AppsDataSourceModel) RefreshFromSharedAppsList(ctx context.Context, resp *shared.AppsList) diag.Diagnostics

func (*AppsDataSourceModel) ToOperationsGetAppsRequest

func (r *AppsDataSourceModel) ToOperationsGetAppsRequest(ctx context.Context) (*operations.GetAppsRequest, diag.Diagnostics)

type BundleDataSource

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

BundleDataSource is the data source implementation.

func (*BundleDataSource) Configure

func (*BundleDataSource) Metadata

Metadata returns the data source type name.

func (*BundleDataSource) Read

func (*BundleDataSource) Schema

Schema defines the schema for the data source.

type BundleDataSourceModel

type BundleDataSourceModel struct {
	AdminOwnerID       types.String   `tfsdk:"admin_owner_id"`
	BundleID           types.String   `tfsdk:"bundle_id"`
	CreatedAt          types.String   `tfsdk:"created_at"`
	Description        types.String   `tfsdk:"description"`
	Name               types.String   `tfsdk:"name"`
	TotalNumGroups     types.Int64    `tfsdk:"total_num_groups"`
	TotalNumItems      types.Int64    `tfsdk:"total_num_items"`
	TotalNumResources  types.Int64    `tfsdk:"total_num_resources"`
	UpdatedAt          types.String   `tfsdk:"updated_at"`
	Visibility         types.String   `tfsdk:"visibility"`
	VisibilityGroupIds []types.String `tfsdk:"visibility_group_ids"`
}

BundleDataSourceModel describes the data model.

func (*BundleDataSourceModel) RefreshFromSharedBundle

func (r *BundleDataSourceModel) RefreshFromSharedBundle(ctx context.Context, resp *shared.Bundle) diag.Diagnostics

func (*BundleDataSourceModel) RefreshFromSharedVisibilityInfo

func (r *BundleDataSourceModel) RefreshFromSharedVisibilityInfo(ctx context.Context, resp *shared.VisibilityInfo) diag.Diagnostics

func (*BundleDataSourceModel) ToOperationsGetBundleRequest

func (r *BundleDataSourceModel) ToOperationsGetBundleRequest(ctx context.Context) (*operations.GetBundleRequest, diag.Diagnostics)

func (*BundleDataSourceModel) ToOperationsGetBundleVisibilityRequest

func (r *BundleDataSourceModel) ToOperationsGetBundleVisibilityRequest(ctx context.Context) (*operations.GetBundleVisibilityRequest, diag.Diagnostics)

type BundleGroupResource

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

BundleGroupResource defines the resource implementation.

func (*BundleGroupResource) Configure

func (*BundleGroupResource) Create

func (*BundleGroupResource) Delete

func (*BundleGroupResource) ImportState

func (*BundleGroupResource) Metadata

func (*BundleGroupResource) Read

func (*BundleGroupResource) Schema

func (*BundleGroupResource) Update

type BundleGroupResourceModel

type BundleGroupResourceModel struct {
	AccessLevelName     types.String `tfsdk:"access_level_name"`
	AccessLevelRemoteID types.String `tfsdk:"access_level_remote_id"`
	BundleID            types.String `tfsdk:"bundle_id"`
	GroupID             types.String `tfsdk:"group_id"`
}

BundleGroupResourceModel describes the resource data model.

func (*BundleGroupResourceModel) RefreshFromSharedBundleGroup

func (r *BundleGroupResourceModel) RefreshFromSharedBundleGroup(ctx context.Context, resp *shared.BundleGroup) diag.Diagnostics

func (*BundleGroupResourceModel) ToOperationsAddBundleGroupRequest

func (r *BundleGroupResourceModel) ToOperationsAddBundleGroupRequest(ctx context.Context) (*operations.AddBundleGroupRequest, diag.Diagnostics)

func (*BundleGroupResourceModel) ToOperationsAddBundleGroupRequestBody

func (r *BundleGroupResourceModel) ToOperationsAddBundleGroupRequestBody(ctx context.Context) (*operations.AddBundleGroupRequestBody, diag.Diagnostics)

func (*BundleGroupResourceModel) ToOperationsRemoveBundleGroupRequest

func (r *BundleGroupResourceModel) ToOperationsRemoveBundleGroupRequest(ctx context.Context) (*operations.RemoveBundleGroupRequest, diag.Diagnostics)

type BundleResource

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

BundleResource defines the resource implementation.

func (*BundleResource) Configure

func (*BundleResource) Create

func (*BundleResource) Delete

func (*BundleResource) ImportState

func (*BundleResource) Metadata

func (*BundleResource) Read

func (*BundleResource) Schema

func (*BundleResource) Update

type BundleResourceModel

type BundleResourceModel struct {
	AdminOwnerID       types.String   `tfsdk:"admin_owner_id"`
	BundleID           types.String   `tfsdk:"bundle_id"`
	CreatedAt          types.String   `tfsdk:"created_at"`
	Description        types.String   `tfsdk:"description"`
	Name               types.String   `tfsdk:"name"`
	TotalNumGroups     types.Int64    `tfsdk:"total_num_groups"`
	TotalNumItems      types.Int64    `tfsdk:"total_num_items"`
	TotalNumResources  types.Int64    `tfsdk:"total_num_resources"`
	UpdatedAt          types.String   `tfsdk:"updated_at"`
	Visibility         types.String   `tfsdk:"visibility"`
	VisibilityGroupIds []types.String `tfsdk:"visibility_group_ids"`
}

BundleResourceModel describes the resource data model.

func (*BundleResourceModel) RefreshFromSharedBundle

func (r *BundleResourceModel) RefreshFromSharedBundle(ctx context.Context, resp *shared.Bundle) diag.Diagnostics

func (*BundleResourceModel) RefreshFromSharedVisibilityInfo

func (r *BundleResourceModel) RefreshFromSharedVisibilityInfo(ctx context.Context, resp *shared.VisibilityInfo) diag.Diagnostics

func (*BundleResourceModel) ToOperationsDeleteBundleRequest

func (r *BundleResourceModel) ToOperationsDeleteBundleRequest(ctx context.Context) (*operations.DeleteBundleRequest, diag.Diagnostics)

func (*BundleResourceModel) ToOperationsGetBundleRequest

func (r *BundleResourceModel) ToOperationsGetBundleRequest(ctx context.Context) (*operations.GetBundleRequest, diag.Diagnostics)

func (*BundleResourceModel) ToOperationsGetBundleVisibilityRequest

func (r *BundleResourceModel) ToOperationsGetBundleVisibilityRequest(ctx context.Context) (*operations.GetBundleVisibilityRequest, diag.Diagnostics)

func (*BundleResourceModel) ToOperationsSetBundleVisibilityRequest

func (r *BundleResourceModel) ToOperationsSetBundleVisibilityRequest(ctx context.Context) (*operations.SetBundleVisibilityRequest, diag.Diagnostics)

func (*BundleResourceModel) ToOperationsUpdateBundleRequest

func (r *BundleResourceModel) ToOperationsUpdateBundleRequest(ctx context.Context) (*operations.UpdateBundleRequest, diag.Diagnostics)

func (*BundleResourceModel) ToSharedBundleInput

func (r *BundleResourceModel) ToSharedBundleInput(ctx context.Context) (*shared.BundleInput, diag.Diagnostics)

func (*BundleResourceModel) ToSharedCreateBundleInfo

func (r *BundleResourceModel) ToSharedCreateBundleInfo(ctx context.Context) (*shared.CreateBundleInfo, diag.Diagnostics)

func (*BundleResourceModel) ToSharedVisibilityInfo

func (r *BundleResourceModel) ToSharedVisibilityInfo(ctx context.Context) (*shared.VisibilityInfo, diag.Diagnostics)

type BundleResourceResource

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

BundleResourceResource defines the resource implementation.

func (*BundleResourceResource) Configure

func (*BundleResourceResource) Create

func (*BundleResourceResource) Delete

func (*BundleResourceResource) ImportState

func (*BundleResourceResource) Metadata

func (*BundleResourceResource) Read

func (*BundleResourceResource) Schema

func (*BundleResourceResource) Update

type BundleResourceResourceModel

type BundleResourceResourceModel struct {
	AccessLevelName     types.String `tfsdk:"access_level_name"`
	AccessLevelRemoteID types.String `tfsdk:"access_level_remote_id"`
	BundleID            types.String `tfsdk:"bundle_id"`
	ResourceID          types.String `tfsdk:"resource_id"`
}

BundleResourceResourceModel describes the resource data model.

func (*BundleResourceResourceModel) RefreshFromSharedBundleResource

func (r *BundleResourceResourceModel) RefreshFromSharedBundleResource(ctx context.Context, resp *shared.BundleResource) diag.Diagnostics

func (*BundleResourceResourceModel) ToOperationsAddBundleResourceRequest

func (r *BundleResourceResourceModel) ToOperationsAddBundleResourceRequest(ctx context.Context) (*operations.AddBundleResourceRequest, diag.Diagnostics)

func (*BundleResourceResourceModel) ToOperationsAddBundleResourceRequestBody

func (r *BundleResourceResourceModel) ToOperationsAddBundleResourceRequestBody(ctx context.Context) (*operations.AddBundleResourceRequestBody, diag.Diagnostics)

func (*BundleResourceResourceModel) ToOperationsRemoveBundleResourceRequest

func (r *BundleResourceResourceModel) ToOperationsRemoveBundleResourceRequest(ctx context.Context) (*operations.RemoveBundleResourceRequest, diag.Diagnostics)

type BundleVisibilityDataSource

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

BundleVisibilityDataSource is the data source implementation.

func (*BundleVisibilityDataSource) Configure

func (*BundleVisibilityDataSource) Metadata

Metadata returns the data source type name.

func (*BundleVisibilityDataSource) Read

func (*BundleVisibilityDataSource) Schema

Schema defines the schema for the data source.

type BundleVisibilityDataSourceModel

type BundleVisibilityDataSourceModel struct {
	BundleID           types.String   `tfsdk:"bundle_id"`
	Visibility         types.String   `tfsdk:"visibility"`
	VisibilityGroupIds []types.String `tfsdk:"visibility_group_ids"`
}

BundleVisibilityDataSourceModel describes the data model.

func (*BundleVisibilityDataSourceModel) RefreshFromSharedVisibilityInfo

func (r *BundleVisibilityDataSourceModel) RefreshFromSharedVisibilityInfo(ctx context.Context, resp *shared.VisibilityInfo) diag.Diagnostics

func (*BundleVisibilityDataSourceModel) ToOperationsGetBundleVisibilityRequest

func (r *BundleVisibilityDataSourceModel) ToOperationsGetBundleVisibilityRequest(ctx context.Context) (*operations.GetBundleVisibilityRequest, diag.Diagnostics)

type ConditionConfig

type ConditionConfig struct {
	GroupIDs      []string
	RemoteRoleIds []string
}

type ConfigurationTemplateListDataSource

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

ConfigurationTemplateListDataSource is the data source implementation.

func (*ConfigurationTemplateListDataSource) Configure

func (*ConfigurationTemplateListDataSource) Metadata

Metadata returns the data source type name.

func (*ConfigurationTemplateListDataSource) Read

func (*ConfigurationTemplateListDataSource) Schema

Schema defines the schema for the data source.

type ConfigurationTemplateListDataSourceModel

type ConfigurationTemplateListDataSourceModel struct {
	Results []tfTypes.ConfigurationTemplate `tfsdk:"results"`
}

ConfigurationTemplateListDataSourceModel describes the data model.

func (*ConfigurationTemplateListDataSourceModel) RefreshFromSharedPaginatedConfigurationTemplateList

func (r *ConfigurationTemplateListDataSourceModel) RefreshFromSharedPaginatedConfigurationTemplateList(ctx context.Context, resp *shared.PaginatedConfigurationTemplateList) diag.Diagnostics

type ConfigurationTemplateResource

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

ConfigurationTemplateResource defines the resource implementation.

func (*ConfigurationTemplateResource) Configure

func (*ConfigurationTemplateResource) Create

func (*ConfigurationTemplateResource) Delete

func (*ConfigurationTemplateResource) ImportState

func (*ConfigurationTemplateResource) Metadata

func (*ConfigurationTemplateResource) Read

func (*ConfigurationTemplateResource) Schema

func (*ConfigurationTemplateResource) Update

type ConfigurationTemplateResourceModel

type ConfigurationTemplateResourceModel struct {
	AdminOwnerID                 types.String                            `tfsdk:"admin_owner_id"`
	BreakGlassUserIds            []types.String                          `tfsdk:"break_glass_user_ids"`
	ConfigurationTemplateID      types.String                            `tfsdk:"configuration_template_id"`
	CustomRequestNotification    types.String                            `tfsdk:"custom_request_notification"`
	LinkedAuditMessageChannelIds []types.String                          `tfsdk:"linked_audit_message_channel_ids"`
	MemberOnCallScheduleIds      []types.String                          `tfsdk:"member_on_call_schedule_ids"`
	Name                         types.String                            `tfsdk:"name"`
	RequestConfigurationID       types.String                            `tfsdk:"request_configuration_id"`
	RequestConfigurations        []tfTypes.RequestConfiguration          `tfsdk:"request_configurations"`
	RequireMfaToApprove          types.Bool                              `tfsdk:"require_mfa_to_approve"`
	RequireMfaToConnect          types.Bool                              `tfsdk:"require_mfa_to_connect"`
	TicketPropagation            *tfTypes.TicketPropagationConfiguration `tfsdk:"ticket_propagation"`
	Visibility                   tfTypes.VisibilityInfo                  `tfsdk:"visibility"`
}

ConfigurationTemplateResourceModel describes the resource data model.

func (*ConfigurationTemplateResourceModel) RefreshFromSharedConfigurationTemplate

func (r *ConfigurationTemplateResourceModel) RefreshFromSharedConfigurationTemplate(ctx context.Context, resp *shared.ConfigurationTemplate) diag.Diagnostics

func (*ConfigurationTemplateResourceModel) ToOperationsDeleteConfigurationTemplateRequest

func (r *ConfigurationTemplateResourceModel) ToOperationsDeleteConfigurationTemplateRequest(ctx context.Context) (*operations.DeleteConfigurationTemplateRequest, diag.Diagnostics)

func (*ConfigurationTemplateResourceModel) ToSharedCreateConfigurationTemplateInfo

func (r *ConfigurationTemplateResourceModel) ToSharedCreateConfigurationTemplateInfo(ctx context.Context) (*shared.CreateConfigurationTemplateInfo, diag.Diagnostics)

func (*ConfigurationTemplateResourceModel) ToSharedUpdateConfigurationTemplateInfo

func (r *ConfigurationTemplateResourceModel) ToSharedUpdateConfigurationTemplateInfo(ctx context.Context) (*shared.UpdateConfigurationTemplateInfo, diag.Diagnostics)

type EventsDataSource

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

EventsDataSource is the data source implementation.

func (*EventsDataSource) Configure

func (*EventsDataSource) Metadata

Metadata returns the data source type name.

func (*EventsDataSource) Read

func (*EventsDataSource) Schema

Schema defines the schema for the data source.

type EventsDataSourceModel

type EventsDataSourceModel struct {
	ActorFilter     types.String    `queryParam:"style=form,explode=true,name=actor_filter" tfsdk:"actor_filter"`
	APITokenFilter  types.String    `queryParam:"style=form,explode=true,name=api_token_filter" tfsdk:"api_token_filter"`
	Cursor          types.String    `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	EndDateFilter   types.String    `queryParam:"style=form,explode=true,name=end_date_filter" tfsdk:"end_date_filter"`
	EventTypeFilter types.String    `queryParam:"style=form,explode=true,name=event_type_filter" tfsdk:"event_type_filter"`
	Next            types.String    `tfsdk:"next"`
	ObjectFilter    types.String    `queryParam:"style=form,explode=true,name=object_filter" tfsdk:"object_filter"`
	PageSize        types.Int64     `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous        types.String    `tfsdk:"previous"`
	Results         []tfTypes.Event `tfsdk:"results"`
	StartDateFilter types.String    `queryParam:"style=form,explode=true,name=start_date_filter" tfsdk:"start_date_filter"`
}

EventsDataSourceModel describes the data model.

func (*EventsDataSourceModel) RefreshFromSharedPaginatedEventList

func (r *EventsDataSourceModel) RefreshFromSharedPaginatedEventList(ctx context.Context, resp *shared.PaginatedEventList) diag.Diagnostics

func (*EventsDataSourceModel) ToOperationsGetEventsRequest

func (r *EventsDataSourceModel) ToOperationsGetEventsRequest(ctx context.Context) (*operations.GetEventsRequest, diag.Diagnostics)

type GroupContainingGroupDataSource

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

GroupContainingGroupDataSource is the data source implementation.

func (*GroupContainingGroupDataSource) Configure

func (*GroupContainingGroupDataSource) Metadata

Metadata returns the data source type name.

func (*GroupContainingGroupDataSource) Read

func (*GroupContainingGroupDataSource) Schema

Schema defines the schema for the data source.

type GroupContainingGroupDataSourceModel

type GroupContainingGroupDataSourceModel struct {
	ContainingGroupID types.String `tfsdk:"containing_group_id"`
	GroupID           types.String `tfsdk:"group_id"`
}

GroupContainingGroupDataSourceModel describes the data model.

func (*GroupContainingGroupDataSourceModel) RefreshFromSharedGroupContainingGroup

func (r *GroupContainingGroupDataSourceModel) RefreshFromSharedGroupContainingGroup(ctx context.Context, resp *shared.GroupContainingGroup) diag.Diagnostics

func (*GroupContainingGroupDataSourceModel) ToOperationsGetGroupContainingGroupRequest

func (r *GroupContainingGroupDataSourceModel) ToOperationsGetGroupContainingGroupRequest(ctx context.Context) (*operations.GetGroupContainingGroupRequest, diag.Diagnostics)

type GroupContainingGroupResource

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

GroupContainingGroupResource defines the resource implementation.

func (*GroupContainingGroupResource) Configure

func (*GroupContainingGroupResource) Create

func (*GroupContainingGroupResource) Delete

func (*GroupContainingGroupResource) ImportState

func (*GroupContainingGroupResource) Metadata

func (*GroupContainingGroupResource) Read

func (*GroupContainingGroupResource) Schema

func (*GroupContainingGroupResource) Update

type GroupContainingGroupResourceModel

type GroupContainingGroupResourceModel struct {
	ContainingGroupID types.String `tfsdk:"containing_group_id"`
	GroupID           types.String `tfsdk:"group_id"`
}

GroupContainingGroupResourceModel describes the resource data model.

func (*GroupContainingGroupResourceModel) RefreshFromSharedGroupContainingGroup

func (r *GroupContainingGroupResourceModel) RefreshFromSharedGroupContainingGroup(ctx context.Context, resp *shared.GroupContainingGroup) diag.Diagnostics

func (*GroupContainingGroupResourceModel) ToOperationsAddGroupContainingGroupRequest

func (r *GroupContainingGroupResourceModel) ToOperationsAddGroupContainingGroupRequest(ctx context.Context) (*operations.AddGroupContainingGroupRequest, diag.Diagnostics)

func (*GroupContainingGroupResourceModel) ToOperationsGetGroupContainingGroupRequest

func (r *GroupContainingGroupResourceModel) ToOperationsGetGroupContainingGroupRequest(ctx context.Context) (*operations.GetGroupContainingGroupRequest, diag.Diagnostics)

func (*GroupContainingGroupResourceModel) ToOperationsRemoveGroupContainingGroupRequest

func (r *GroupContainingGroupResourceModel) ToOperationsRemoveGroupContainingGroupRequest(ctx context.Context) (*operations.RemoveGroupContainingGroupRequest, diag.Diagnostics)

func (*GroupContainingGroupResourceModel) ToSharedGroupContainingGroup

type GroupDataSource

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

GroupDataSource is the data source implementation.

func (*GroupDataSource) Configure

func (*GroupDataSource) Metadata

Metadata returns the data source type name.

func (*GroupDataSource) Read

func (*GroupDataSource) Schema

Schema defines the schema for the data source.

type GroupDataSourceModel

type GroupDataSourceModel struct {
	AdminOwnerID                types.String                                `tfsdk:"admin_owner_id"`
	AppID                       types.String                                `tfsdk:"app_id"`
	CustomRequestNotification   types.String                                `tfsdk:"custom_request_notification"`
	Description                 types.String                                `tfsdk:"description"`
	ExtensionsDurationInMinutes types.Int64                                 `tfsdk:"extensions_duration_in_minutes"`
	GroupBindingID              types.String                                `tfsdk:"group_binding_id"`
	GroupLeaderUserIds          []types.String                              `tfsdk:"group_leader_user_ids"`
	GroupType                   types.String                                `tfsdk:"group_type"`
	ID                          types.String                                `tfsdk:"id"`
	LastSuccessfulSync          *tfTypes.SyncTask                           `tfsdk:"last_successful_sync"`
	MessageChannels             tfTypes.GetGroupMessageChannelsResponseBody `tfsdk:"message_channels"`
	Name                        types.String                                `tfsdk:"name"`
	OnCallSchedules             tfTypes.GetGroupOnCallSchedulesResponseBody `tfsdk:"on_call_schedules"`
	RemoteInfo                  *tfTypes.GroupRemoteInfo                    `tfsdk:"remote_info"`
	RemoteName                  types.String                                `tfsdk:"remote_name"`
	RequestConfigurations       []tfTypes.RequestConfiguration              `tfsdk:"request_configurations"`
	RequireMfaToApprove         types.Bool                                  `tfsdk:"require_mfa_to_approve"`
	RiskSensitivity             types.String                                `tfsdk:"risk_sensitivity"`
	RiskSensitivityOverride     types.String                                `tfsdk:"risk_sensitivity_override"`
	Visibility                  types.String                                `tfsdk:"visibility"`
	VisibilityGroupIds          []types.String                              `tfsdk:"visibility_group_ids"`
}

GroupDataSourceModel describes the data model.

func (*GroupDataSourceModel) RefreshFromOperationsGetGroupMessageChannelsResponseBody

func (r *GroupDataSourceModel) RefreshFromOperationsGetGroupMessageChannelsResponseBody(ctx context.Context, resp *operations.GetGroupMessageChannelsResponseBody) diag.Diagnostics

func (*GroupDataSourceModel) RefreshFromOperationsGetGroupOnCallSchedulesResponseBody added in v3.2.0

func (r *GroupDataSourceModel) RefreshFromOperationsGetGroupOnCallSchedulesResponseBody(ctx context.Context, resp *operations.GetGroupOnCallSchedulesResponseBody) diag.Diagnostics

func (*GroupDataSourceModel) RefreshFromOperationsGetGroupVisibilityResponseBody

func (r *GroupDataSourceModel) RefreshFromOperationsGetGroupVisibilityResponseBody(ctx context.Context, resp *operations.GetGroupVisibilityResponseBody) diag.Diagnostics

func (*GroupDataSourceModel) RefreshFromSharedGroup

func (r *GroupDataSourceModel) RefreshFromSharedGroup(ctx context.Context, resp *shared.Group) diag.Diagnostics

func (*GroupDataSourceModel) ToOperationsGetGroupMessageChannelsRequest

func (r *GroupDataSourceModel) ToOperationsGetGroupMessageChannelsRequest(ctx context.Context) (*operations.GetGroupMessageChannelsRequest, diag.Diagnostics)

func (*GroupDataSourceModel) ToOperationsGetGroupOnCallSchedulesRequest

func (r *GroupDataSourceModel) ToOperationsGetGroupOnCallSchedulesRequest(ctx context.Context) (*operations.GetGroupOnCallSchedulesRequest, diag.Diagnostics)

func (*GroupDataSourceModel) ToOperationsGetGroupRequest

func (r *GroupDataSourceModel) ToOperationsGetGroupRequest(ctx context.Context) (*operations.GetGroupRequest, diag.Diagnostics)

func (*GroupDataSourceModel) ToOperationsGetGroupVisibilityRequest

func (r *GroupDataSourceModel) ToOperationsGetGroupVisibilityRequest(ctx context.Context) (*operations.GetGroupVisibilityRequest, diag.Diagnostics)

type GroupListDataSource

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

GroupListDataSource is the data source implementation.

func (*GroupListDataSource) Configure

func (*GroupListDataSource) Metadata

Metadata returns the data source type name.

func (*GroupListDataSource) Read

func (*GroupListDataSource) Schema

Schema defines the schema for the data source.

type GroupListDataSourceModel

type GroupListDataSourceModel struct {
	GroupIds        []types.String  `queryParam:"style=form,explode=false,name=group_ids" tfsdk:"group_ids"`
	GroupName       types.String    `queryParam:"style=form,explode=true,name=group_name" tfsdk:"group_name"`
	GroupTypeFilter types.String    `queryParam:"style=form,explode=true,name=group_type_filter" tfsdk:"group_type_filter"`
	PageSize        types.Int64     `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Results         []tfTypes.Group `tfsdk:"results"`
}

GroupListDataSourceModel describes the data model.

func (*GroupListDataSourceModel) RefreshFromSharedPaginatedGroupsList

func (r *GroupListDataSourceModel) RefreshFromSharedPaginatedGroupsList(ctx context.Context, resp *shared.PaginatedGroupsList) diag.Diagnostics

func (*GroupListDataSourceModel) ToOperationsGetGroupsRequest

func (r *GroupListDataSourceModel) ToOperationsGetGroupsRequest(ctx context.Context) (*operations.GetGroupsRequest, diag.Diagnostics)

type GroupResource

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

GroupResource defines the resource implementation.

func (*GroupResource) Configure

func (*GroupResource) Create

func (*GroupResource) Delete

func (*GroupResource) ImportState

func (*GroupResource) Metadata

func (*GroupResource) Read

func (*GroupResource) Schema

func (*GroupResource) Update

func (*GroupResource) UpgradeState

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

type GroupResourceListDataSource

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

GroupResourceListDataSource is the data source implementation.

func (*GroupResourceListDataSource) Configure

func (*GroupResourceListDataSource) Metadata

Metadata returns the data source type name.

func (*GroupResourceListDataSource) Read

func (*GroupResourceListDataSource) Schema

Schema defines the schema for the data source.

type GroupResourceListDataSourceModel

type GroupResourceListDataSourceModel struct {
	GroupID        types.String            `tfsdk:"group_id"`
	GroupResources []tfTypes.GroupResource `tfsdk:"group_resources"`
}

GroupResourceListDataSourceModel describes the data model.

func (*GroupResourceListDataSourceModel) RefreshFromSharedGroupResourceList

func (r *GroupResourceListDataSourceModel) RefreshFromSharedGroupResourceList(ctx context.Context, resp *shared.GroupResourceList) diag.Diagnostics

func (*GroupResourceListDataSourceModel) ToOperationsGetGroupResourcesRequest

func (r *GroupResourceListDataSourceModel) ToOperationsGetGroupResourcesRequest(ctx context.Context) (*operations.GetGroupResourcesRequest, diag.Diagnostics)

type GroupResourceListResource

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

GroupResourceListResource defines the resource implementation.

func (*GroupResourceListResource) Configure

func (*GroupResourceListResource) Create

func (*GroupResourceListResource) Delete

func (*GroupResourceListResource) ImportState

func (*GroupResourceListResource) Metadata

func (*GroupResourceListResource) Read

func (*GroupResourceListResource) Schema

func (*GroupResourceListResource) Update

type GroupResourceListResourceModel

type GroupResourceListResourceModel struct {
	GroupID        types.String                      `tfsdk:"group_id"`
	GroupResources []tfTypes.GroupResource           `tfsdk:"group_resources"`
	Resources      []tfTypes.ResourceWithAccessLevel `tfsdk:"resources"`
}

GroupResourceListResourceModel describes the resource data model.

func (*GroupResourceListResourceModel) RefreshFromSharedGroupResourceList

func (r *GroupResourceListResourceModel) RefreshFromSharedGroupResourceList(ctx context.Context, resp *shared.GroupResourceList) diag.Diagnostics

func (*GroupResourceListResourceModel) ToOperationsGetGroupResourcesRequest

func (r *GroupResourceListResourceModel) ToOperationsGetGroupResourcesRequest(ctx context.Context) (*operations.GetGroupResourcesRequest, diag.Diagnostics)

func (*GroupResourceListResourceModel) ToOperationsUpdateGroupResourcesRequest

func (r *GroupResourceListResourceModel) ToOperationsUpdateGroupResourcesRequest(ctx context.Context) (*operations.UpdateGroupResourcesRequest, diag.Diagnostics)

func (*GroupResourceListResourceModel) ToSharedUpdateGroupResourcesInfo

func (r *GroupResourceListResourceModel) ToSharedUpdateGroupResourcesInfo(ctx context.Context) (*shared.UpdateGroupResourcesInfo, diag.Diagnostics)

type GroupResourceModel

type GroupResourceModel struct {
	AdminOwnerID                types.String                                `tfsdk:"admin_owner_id"`
	AppID                       types.String                                `tfsdk:"app_id"`
	CustomRequestNotification   types.String                                `tfsdk:"custom_request_notification"`
	Description                 types.String                                `tfsdk:"description"`
	ExtensionsDurationInMinutes types.Int64                                 `tfsdk:"extensions_duration_in_minutes"`
	GroupBindingID              types.String                                `tfsdk:"group_binding_id"`
	GroupLeaderUserIds          []types.String                              `tfsdk:"group_leader_user_ids"`
	GroupType                   types.String                                `tfsdk:"group_type"`
	ID                          types.String                                `tfsdk:"id"`
	LastSuccessfulSync          *tfTypes.SyncTask                           `tfsdk:"last_successful_sync"`
	MessageChannelIds           []types.String                              `tfsdk:"message_channel_ids"`
	MessageChannels             tfTypes.GetGroupMessageChannelsResponseBody `tfsdk:"message_channels"`
	Name                        types.String                                `tfsdk:"name"`
	OnCallScheduleIds           []types.String                              `tfsdk:"on_call_schedule_ids"`
	OnCallSchedules             tfTypes.GetGroupOnCallSchedulesResponseBody `tfsdk:"on_call_schedules"`
	RemoteInfo                  *tfTypes.GroupRemoteInfo                    `tfsdk:"remote_info"`
	RemoteName                  types.String                                `tfsdk:"remote_name"`
	RequestConfigurations       []tfTypes.RequestConfiguration              `tfsdk:"request_configurations"`
	RequireMfaToApprove         types.Bool                                  `tfsdk:"require_mfa_to_approve"`
	RiskSensitivity             types.String                                `tfsdk:"risk_sensitivity"`
	RiskSensitivityOverride     types.String                                `tfsdk:"risk_sensitivity_override"`
	Visibility                  types.String                                `tfsdk:"visibility"`
	VisibilityGroupIds          []types.String                              `tfsdk:"visibility_group_ids"`
}

GroupResourceModel describes the resource data model.

func (*GroupResourceModel) RefreshFromOperationsGetGroupMessageChannelsResponseBody

func (r *GroupResourceModel) RefreshFromOperationsGetGroupMessageChannelsResponseBody(ctx context.Context, resp *operations.GetGroupMessageChannelsResponseBody) diag.Diagnostics

func (*GroupResourceModel) RefreshFromOperationsGetGroupOnCallSchedulesResponseBody added in v3.2.0

func (r *GroupResourceModel) RefreshFromOperationsGetGroupOnCallSchedulesResponseBody(ctx context.Context, resp *operations.GetGroupOnCallSchedulesResponseBody) diag.Diagnostics

func (*GroupResourceModel) RefreshFromOperationsGetGroupVisibilityResponseBody

func (r *GroupResourceModel) RefreshFromOperationsGetGroupVisibilityResponseBody(ctx context.Context, resp *operations.GetGroupVisibilityResponseBody) diag.Diagnostics

func (*GroupResourceModel) RefreshFromSharedGroup

func (r *GroupResourceModel) RefreshFromSharedGroup(ctx context.Context, resp *shared.Group) diag.Diagnostics

func (*GroupResourceModel) RefreshFromSharedUpdateGroupInfo

func (r *GroupResourceModel) RefreshFromSharedUpdateGroupInfo(ctx context.Context, resp *shared.UpdateGroupInfo) diag.Diagnostics

func (*GroupResourceModel) ToOperationsDeleteGroupRequest

func (r *GroupResourceModel) ToOperationsDeleteGroupRequest(ctx context.Context) (*operations.DeleteGroupRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsGetGroupMessageChannelsRequest

func (r *GroupResourceModel) ToOperationsGetGroupMessageChannelsRequest(ctx context.Context) (*operations.GetGroupMessageChannelsRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsGetGroupOnCallSchedulesRequest

func (r *GroupResourceModel) ToOperationsGetGroupOnCallSchedulesRequest(ctx context.Context) (*operations.GetGroupOnCallSchedulesRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsGetGroupRequest

func (r *GroupResourceModel) ToOperationsGetGroupRequest(ctx context.Context) (*operations.GetGroupRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsGetGroupVisibilityRequest

func (r *GroupResourceModel) ToOperationsGetGroupVisibilityRequest(ctx context.Context) (*operations.GetGroupVisibilityRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsUpdateGroupMessageChannelsRequest

func (r *GroupResourceModel) ToOperationsUpdateGroupMessageChannelsRequest(ctx context.Context) (*operations.UpdateGroupMessageChannelsRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsUpdateGroupOnCallSchedulesRequest

func (r *GroupResourceModel) ToOperationsUpdateGroupOnCallSchedulesRequest(ctx context.Context) (*operations.UpdateGroupOnCallSchedulesRequest, diag.Diagnostics)

func (*GroupResourceModel) ToOperationsUpdateGroupVisibilityRequest

func (r *GroupResourceModel) ToOperationsUpdateGroupVisibilityRequest(ctx context.Context) (*operations.UpdateGroupVisibilityRequest, diag.Diagnostics)

func (*GroupResourceModel) ToSharedCreateGroupInfo

func (r *GroupResourceModel) ToSharedCreateGroupInfo(ctx context.Context) (*shared.CreateGroupInfo, diag.Diagnostics)

func (*GroupResourceModel) ToSharedMessageChannelIDList

func (r *GroupResourceModel) ToSharedMessageChannelIDList(ctx context.Context) (*shared.MessageChannelIDList, diag.Diagnostics)

func (*GroupResourceModel) ToSharedOnCallScheduleIDList added in v3.2.0

func (r *GroupResourceModel) ToSharedOnCallScheduleIDList(ctx context.Context) (*shared.OnCallScheduleIDList, diag.Diagnostics)

func (*GroupResourceModel) ToSharedUpdateGroupInfo

func (r *GroupResourceModel) ToSharedUpdateGroupInfo(ctx context.Context) (*shared.UpdateGroupInfo, diag.Diagnostics)

func (*GroupResourceModel) ToSharedUpdateGroupInfoList

func (r *GroupResourceModel) ToSharedUpdateGroupInfoList(ctx context.Context) (*shared.UpdateGroupInfoList, diag.Diagnostics)

func (*GroupResourceModel) ToSharedVisibilityInfo

func (r *GroupResourceModel) ToSharedVisibilityInfo(ctx context.Context) (*shared.VisibilityInfo, diag.Diagnostics)

type GroupReviewersStagesListDataSource

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

GroupReviewersStagesListDataSource is the data source implementation.

func (*GroupReviewersStagesListDataSource) Configure

func (*GroupReviewersStagesListDataSource) Metadata

Metadata returns the data source type name.

func (*GroupReviewersStagesListDataSource) Read

func (*GroupReviewersStagesListDataSource) Schema

Schema defines the schema for the data source.

type GroupReviewersStagesListDataSourceModel

type GroupReviewersStagesListDataSourceModel struct {
	Data    []tfTypes.ReviewerStage `tfsdk:"data"`
	GroupID types.String            `tfsdk:"group_id"`
}

GroupReviewersStagesListDataSourceModel describes the data model.

func (*GroupReviewersStagesListDataSourceModel) RefreshFromSharedReviewerStage

func (r *GroupReviewersStagesListDataSourceModel) RefreshFromSharedReviewerStage(ctx context.Context, resp []shared.ReviewerStage) diag.Diagnostics

func (*GroupReviewersStagesListDataSourceModel) ToOperationsGetGroupReviewersStagesRequest

type GroupTagResource

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

GroupTagResource defines the resource implementation.

func (*GroupTagResource) Configure

func (*GroupTagResource) Create

func (*GroupTagResource) Delete

func (*GroupTagResource) ImportState

func (*GroupTagResource) Metadata

func (*GroupTagResource) Read

func (*GroupTagResource) Schema

func (*GroupTagResource) Update

type GroupTagResourceModel

type GroupTagResourceModel struct {
	GroupID types.String `tfsdk:"group_id"`
	TagID   types.String `tfsdk:"tag_id"`
}

GroupTagResourceModel describes the resource data model.

func (*GroupTagResourceModel) ToOperationsCreateGroupTagRequest

func (r *GroupTagResourceModel) ToOperationsCreateGroupTagRequest(ctx context.Context) (*operations.CreateGroupTagRequest, diag.Diagnostics)

func (*GroupTagResourceModel) ToOperationsDeleteGroupTagRequest

func (r *GroupTagResourceModel) ToOperationsDeleteGroupTagRequest(ctx context.Context) (*operations.DeleteGroupTagRequest, diag.Diagnostics)

type GroupTagsDataSource

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

GroupTagsDataSource is the data source implementation.

func (*GroupTagsDataSource) Configure

func (*GroupTagsDataSource) Metadata

Metadata returns the data source type name.

func (*GroupTagsDataSource) Read

func (*GroupTagsDataSource) Schema

Schema defines the schema for the data source.

type GroupTagsDataSourceModel

type GroupTagsDataSourceModel struct {
	GroupID types.String  `tfsdk:"group_id"`
	Tags    []tfTypes.Tag `tfsdk:"tags"`
}

GroupTagsDataSourceModel describes the data model.

func (*GroupTagsDataSourceModel) RefreshFromSharedTagsList

func (r *GroupTagsDataSourceModel) RefreshFromSharedTagsList(ctx context.Context, resp *shared.TagsList) diag.Diagnostics

func (*GroupTagsDataSourceModel) ToOperationsGetGroupTagsRequest

func (r *GroupTagsDataSourceModel) ToOperationsGetGroupTagsRequest(ctx context.Context) (*operations.GetGroupTagsRequest, diag.Diagnostics)

type GroupUserResource

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

GroupUserResource defines the resource implementation.

func (*GroupUserResource) Configure

func (*GroupUserResource) Create

func (*GroupUserResource) Delete

func (*GroupUserResource) ImportState

func (*GroupUserResource) Metadata

func (*GroupUserResource) Read

func (*GroupUserResource) Schema

func (*GroupUserResource) Update

type GroupUserResourceModel

type GroupUserResourceModel struct {
	AccessLevel         *tfTypes.ResourceAccessLevel `tfsdk:"access_level"`
	AccessLevelRemoteID types.String                 `tfsdk:"access_level_remote_id"`
	DurationMinutes     types.Int64                  `tfsdk:"duration_minutes"`
	Email               types.String                 `tfsdk:"email"`
	ExpirationDate      types.String                 `tfsdk:"expiration_date"`
	FullName            types.String                 `tfsdk:"full_name"`
	GroupID             types.String                 `tfsdk:"group_id"`
	PropagationStatus   *tfTypes.PropagationStatus   `tfsdk:"propagation_status"`
	UserID              types.String                 `tfsdk:"user_id"`
}

GroupUserResourceModel describes the resource data model.

func (*GroupUserResourceModel) RefreshFromSharedGroupUser

func (r *GroupUserResourceModel) RefreshFromSharedGroupUser(ctx context.Context, resp *shared.GroupUser) diag.Diagnostics

func (*GroupUserResourceModel) ToOperationsCreateGroupUserRequest

func (r *GroupUserResourceModel) ToOperationsCreateGroupUserRequest(ctx context.Context) (*operations.CreateGroupUserRequest, diag.Diagnostics)

func (*GroupUserResourceModel) ToOperationsCreateGroupUserRequestBody

func (r *GroupUserResourceModel) ToOperationsCreateGroupUserRequestBody(ctx context.Context) (*operations.CreateGroupUserRequestBody, diag.Diagnostics)

func (*GroupUserResourceModel) ToOperationsDeleteGroupUserRequest

func (r *GroupUserResourceModel) ToOperationsDeleteGroupUserRequest(ctx context.Context) (*operations.DeleteGroupUserRequest, diag.Diagnostics)

type GroupUsersDataSource

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

GroupUsersDataSource is the data source implementation.

func (*GroupUsersDataSource) Configure

func (*GroupUsersDataSource) Metadata

Metadata returns the data source type name.

func (*GroupUsersDataSource) Read

func (*GroupUsersDataSource) Schema

Schema defines the schema for the data source.

type GroupUsersDataSourceModel

type GroupUsersDataSourceModel struct {
	GroupID types.String        `tfsdk:"group_id"`
	Results []tfTypes.GroupUser `tfsdk:"results"`
}

GroupUsersDataSourceModel describes the data model.

func (*GroupUsersDataSourceModel) RefreshFromSharedGroupUserList

func (r *GroupUsersDataSourceModel) RefreshFromSharedGroupUserList(ctx context.Context, resp *shared.GroupUserList) diag.Diagnostics

func (*GroupUsersDataSourceModel) ToOperationsGetGroupUsersRequest

func (r *GroupUsersDataSourceModel) ToOperationsGetGroupUsersRequest(ctx context.Context) (*operations.GetGroupUsersRequest, diag.Diagnostics)

type IdpGroupMappingsDataSource

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

IdpGroupMappingsDataSource is the data source implementation.

func (*IdpGroupMappingsDataSource) Configure

func (*IdpGroupMappingsDataSource) Metadata

Metadata returns the data source type name.

func (*IdpGroupMappingsDataSource) Read

func (*IdpGroupMappingsDataSource) Schema

Schema defines the schema for the data source.

type IdpGroupMappingsDataSourceModel

type IdpGroupMappingsDataSourceModel struct {
	AppResourceID types.String              `tfsdk:"app_resource_id"`
	Mappings      []tfTypes.IdpGroupMapping `tfsdk:"mappings"`
}

IdpGroupMappingsDataSourceModel describes the data model.

func (*IdpGroupMappingsDataSourceModel) RefreshFromSharedIdpGroupMappingList

func (r *IdpGroupMappingsDataSourceModel) RefreshFromSharedIdpGroupMappingList(ctx context.Context, resp *shared.IdpGroupMappingList) diag.Diagnostics

func (*IdpGroupMappingsDataSourceModel) ToOperationsGetIdpGroupMappingsRequest

func (r *IdpGroupMappingsDataSourceModel) ToOperationsGetIdpGroupMappingsRequest(ctx context.Context) (*operations.GetIdpGroupMappingsRequest, diag.Diagnostics)

type IdpGroupMappingsResource

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

IdpGroupMappingsResource defines the resource implementation.

func (*IdpGroupMappingsResource) Configure

func (*IdpGroupMappingsResource) Create

func (*IdpGroupMappingsResource) Delete

func (*IdpGroupMappingsResource) ImportState

func (*IdpGroupMappingsResource) Metadata

func (*IdpGroupMappingsResource) Read

func (*IdpGroupMappingsResource) Schema

func (*IdpGroupMappingsResource) Update

type IdpGroupMappingsResourceModel

type IdpGroupMappingsResourceModel struct {
	AppResourceID types.String       `tfsdk:"app_resource_id"`
	Mappings      []tfTypes.Mappings `tfsdk:"mappings"`
}

IdpGroupMappingsResourceModel describes the resource data model.

func (*IdpGroupMappingsResourceModel) RefreshFromSharedIdpGroupMappingList

func (r *IdpGroupMappingsResourceModel) RefreshFromSharedIdpGroupMappingList(ctx context.Context, resp *shared.IdpGroupMappingList) diag.Diagnostics

func (*IdpGroupMappingsResourceModel) ToOperationsGetIdpGroupMappingsRequest

func (r *IdpGroupMappingsResourceModel) ToOperationsGetIdpGroupMappingsRequest(ctx context.Context) (*operations.GetIdpGroupMappingsRequest, diag.Diagnostics)

func (*IdpGroupMappingsResourceModel) ToOperationsUpdateIdpGroupMappingsRequest

func (r *IdpGroupMappingsResourceModel) ToOperationsUpdateIdpGroupMappingsRequest(ctx context.Context) (*operations.UpdateIdpGroupMappingsRequest, diag.Diagnostics)

func (*IdpGroupMappingsResourceModel) ToOperationsUpdateIdpGroupMappingsRequestBody

func (r *IdpGroupMappingsResourceModel) ToOperationsUpdateIdpGroupMappingsRequestBody(ctx context.Context) (*operations.UpdateIdpGroupMappingsRequestBody, diag.Diagnostics)

type MessageChannelDataSource

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

MessageChannelDataSource is the data source implementation.

func (*MessageChannelDataSource) Configure

func (*MessageChannelDataSource) Metadata

Metadata returns the data source type name.

func (*MessageChannelDataSource) Read

func (*MessageChannelDataSource) Schema

Schema defines the schema for the data source.

type MessageChannelDataSourceModel

type MessageChannelDataSourceModel struct {
	ID                 types.String `tfsdk:"id"`
	IsPrivate          types.Bool   `tfsdk:"is_private"`
	Name               types.String `tfsdk:"name"`
	RemoteID           types.String `tfsdk:"remote_id"`
	ThirdPartyProvider types.String `tfsdk:"third_party_provider"`
}

MessageChannelDataSourceModel describes the data model.

func (*MessageChannelDataSourceModel) RefreshFromSharedMessageChannel

func (r *MessageChannelDataSourceModel) RefreshFromSharedMessageChannel(ctx context.Context, resp *shared.MessageChannel) diag.Diagnostics

func (*MessageChannelDataSourceModel) ToOperationsGetMessageChannelIDRequest

func (r *MessageChannelDataSourceModel) ToOperationsGetMessageChannelIDRequest(ctx context.Context) (*operations.GetMessageChannelIDRequest, diag.Diagnostics)

type MessageChannelListDataSource

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

MessageChannelListDataSource is the data source implementation.

func (*MessageChannelListDataSource) Configure

func (*MessageChannelListDataSource) Metadata

Metadata returns the data source type name.

func (*MessageChannelListDataSource) Read

func (*MessageChannelListDataSource) Schema

Schema defines the schema for the data source.

type MessageChannelListDataSourceModel

type MessageChannelListDataSourceModel struct {
	Channels []tfTypes.MessageChannel `tfsdk:"channels"`
}

MessageChannelListDataSourceModel describes the data model.

func (*MessageChannelListDataSourceModel) RefreshFromSharedMessageChannelList

func (r *MessageChannelListDataSourceModel) RefreshFromSharedMessageChannelList(ctx context.Context, resp *shared.MessageChannelList) diag.Diagnostics

type MessageChannelResource

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

MessageChannelResource defines the resource implementation.

func (*MessageChannelResource) Configure

func (*MessageChannelResource) Create

func (*MessageChannelResource) Delete

func (*MessageChannelResource) ImportState

func (*MessageChannelResource) Metadata

func (*MessageChannelResource) Read

func (*MessageChannelResource) Schema

func (*MessageChannelResource) Update

type MessageChannelResourceModel

type MessageChannelResourceModel struct {
	ID                 types.String `tfsdk:"id"`
	IsPrivate          types.Bool   `tfsdk:"is_private"`
	Name               types.String `tfsdk:"name"`
	RemoteID           types.String `tfsdk:"remote_id"`
	ThirdPartyProvider types.String `tfsdk:"third_party_provider"`
}

MessageChannelResourceModel describes the resource data model.

func (*MessageChannelResourceModel) RefreshFromSharedMessageChannel

func (r *MessageChannelResourceModel) RefreshFromSharedMessageChannel(ctx context.Context, resp *shared.MessageChannel) diag.Diagnostics

func (*MessageChannelResourceModel) ToOperationsGetMessageChannelIDRequest

func (r *MessageChannelResourceModel) ToOperationsGetMessageChannelIDRequest(ctx context.Context) (*operations.GetMessageChannelIDRequest, diag.Diagnostics)

func (*MessageChannelResourceModel) ToSharedCreateMessageChannelInfo

func (r *MessageChannelResourceModel) ToSharedCreateMessageChannelInfo(ctx context.Context) (*shared.CreateMessageChannelInfo, diag.Diagnostics)

type OnCallScheduleDataSource

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

OnCallScheduleDataSource is the data source implementation.

func (*OnCallScheduleDataSource) Configure

func (*OnCallScheduleDataSource) Metadata

Metadata returns the data source type name.

func (*OnCallScheduleDataSource) Read

func (*OnCallScheduleDataSource) Schema

Schema defines the schema for the data source.

type OnCallScheduleDataSourceModel

type OnCallScheduleDataSourceModel struct {
	ID                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	RemoteID           types.String `tfsdk:"remote_id"`
	ThirdPartyProvider types.String `tfsdk:"third_party_provider"`
}

OnCallScheduleDataSourceModel describes the data model.

func (*OnCallScheduleDataSourceModel) RefreshFromSharedOnCallSchedule

func (r *OnCallScheduleDataSourceModel) RefreshFromSharedOnCallSchedule(ctx context.Context, resp *shared.OnCallSchedule) diag.Diagnostics

func (*OnCallScheduleDataSourceModel) ToOperationsGetOnCallScheduleIDRequest

func (r *OnCallScheduleDataSourceModel) ToOperationsGetOnCallScheduleIDRequest(ctx context.Context) (*operations.GetOnCallScheduleIDRequest, diag.Diagnostics)

type OnCallScheduleListDataSource

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

OnCallScheduleListDataSource is the data source implementation.

func (*OnCallScheduleListDataSource) Configure

func (*OnCallScheduleListDataSource) Metadata

Metadata returns the data source type name.

func (*OnCallScheduleListDataSource) Read

func (*OnCallScheduleListDataSource) Schema

Schema defines the schema for the data source.

type OnCallScheduleListDataSourceModel

type OnCallScheduleListDataSourceModel struct {
	OnCallSchedules []tfTypes.OnCallSchedule `tfsdk:"on_call_schedules"`
}

OnCallScheduleListDataSourceModel describes the data model.

func (*OnCallScheduleListDataSourceModel) RefreshFromSharedOnCallScheduleList

func (r *OnCallScheduleListDataSourceModel) RefreshFromSharedOnCallScheduleList(ctx context.Context, resp *shared.OnCallScheduleList) diag.Diagnostics

type OnCallScheduleResource

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

OnCallScheduleResource defines the resource implementation.

func (*OnCallScheduleResource) Configure

func (*OnCallScheduleResource) Create

func (*OnCallScheduleResource) Delete

func (*OnCallScheduleResource) ImportState

func (*OnCallScheduleResource) Metadata

func (*OnCallScheduleResource) Read

func (*OnCallScheduleResource) Schema

func (*OnCallScheduleResource) Update

type OnCallScheduleResourceModel

type OnCallScheduleResourceModel struct {
	ID                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	RemoteID           types.String `tfsdk:"remote_id"`
	ThirdPartyProvider types.String `tfsdk:"third_party_provider"`
}

OnCallScheduleResourceModel describes the resource data model.

func (*OnCallScheduleResourceModel) RefreshFromSharedOnCallSchedule

func (r *OnCallScheduleResourceModel) RefreshFromSharedOnCallSchedule(ctx context.Context, resp *shared.OnCallSchedule) diag.Diagnostics

func (*OnCallScheduleResourceModel) ToOperationsGetOnCallScheduleIDRequest

func (r *OnCallScheduleResourceModel) ToOperationsGetOnCallScheduleIDRequest(ctx context.Context) (*operations.GetOnCallScheduleIDRequest, diag.Diagnostics)

func (*OnCallScheduleResourceModel) ToSharedCreateOnCallScheduleInfo

func (r *OnCallScheduleResourceModel) ToSharedCreateOnCallScheduleInfo(ctx context.Context) (*shared.CreateOnCallScheduleInfo, diag.Diagnostics)

type OpalGroupConfig

type OpalGroupConfig struct {
	ResourceName          string
	Description           string
	Name                  string
	AppID                 string
	GroupType             string
	AdminOwnerID          string
	RequestConfigurations []RequestConfigurationConfig
	Additional            string
	OnCallScheduleIDs     []string
	VisibilityGroupIDs    []string
	Visibility            string
	MessageChannelIDs     []string
}

type OpalProvider

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

func (*OpalProvider) Configure

func (*OpalProvider) DataSources

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

func (*OpalProvider) EphemeralResources

func (p *OpalProvider) EphemeralResources(ctx context.Context) []func() ephemeral.EphemeralResource

func (*OpalProvider) Metadata

func (*OpalProvider) Resources

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

func (*OpalProvider) Schema

type OpalProviderModel

type OpalProviderModel struct {
	BearerAuth  types.String `tfsdk:"bearer_auth"`
	HTTPHeaders types.Map    `tfsdk:"http_headers"`
	ServerURL   types.String `tfsdk:"server_url"`
}

OpalProviderModel describes the provider data model.

type OwnerDataSource

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

OwnerDataSource is the data source implementation.

func (*OwnerDataSource) Configure

func (*OwnerDataSource) Metadata

Metadata returns the data source type name.

func (*OwnerDataSource) Read

func (*OwnerDataSource) Schema

Schema defines the schema for the data source.

type OwnerDataSourceModel

type OwnerDataSourceModel struct {
	AccessRequestEscalationPeriod types.Int64  `tfsdk:"access_request_escalation_period"`
	Description                   types.String `tfsdk:"description"`
	ID                            types.String `tfsdk:"id"`
	Name                          types.String `tfsdk:"name"`
	ReviewerMessageChannelID      types.String `tfsdk:"reviewer_message_channel_id"`
	SourceGroupID                 types.String `tfsdk:"source_group_id"`
}

OwnerDataSourceModel describes the data model.

func (*OwnerDataSourceModel) RefreshFromSharedOwner

func (r *OwnerDataSourceModel) RefreshFromSharedOwner(ctx context.Context, resp *shared.Owner) diag.Diagnostics

func (*OwnerDataSourceModel) ToOperationsGetOwnerIDRequest

func (r *OwnerDataSourceModel) ToOperationsGetOwnerIDRequest(ctx context.Context) (*operations.GetOwnerIDRequest, diag.Diagnostics)

type OwnerFromNameDataSource

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

OwnerFromNameDataSource is the data source implementation.

func (*OwnerFromNameDataSource) Configure

func (*OwnerFromNameDataSource) Metadata

Metadata returns the data source type name.

func (*OwnerFromNameDataSource) Read

func (*OwnerFromNameDataSource) Schema

Schema defines the schema for the data source.

type OwnerFromNameDataSourceModel

type OwnerFromNameDataSourceModel struct {
	AccessRequestEscalationPeriod types.Int64  `tfsdk:"access_request_escalation_period"`
	Description                   types.String `tfsdk:"description"`
	ID                            types.String `tfsdk:"id"`
	Name                          types.String `tfsdk:"name"`
	OwnerName                     types.String `tfsdk:"owner_name"`
	ReviewerMessageChannelID      types.String `tfsdk:"reviewer_message_channel_id"`
	SourceGroupID                 types.String `tfsdk:"source_group_id"`
}

OwnerFromNameDataSourceModel describes the data model.

func (*OwnerFromNameDataSourceModel) RefreshFromSharedOwner

func (r *OwnerFromNameDataSourceModel) RefreshFromSharedOwner(ctx context.Context, resp *shared.Owner) diag.Diagnostics

func (*OwnerFromNameDataSourceModel) ToOperationsGetOwnerFromNameRequest

func (r *OwnerFromNameDataSourceModel) ToOperationsGetOwnerFromNameRequest(ctx context.Context) (*operations.GetOwnerFromNameRequest, diag.Diagnostics)

type OwnerResource

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

OwnerResource defines the resource implementation.

func (*OwnerResource) Configure

func (*OwnerResource) Create

func (*OwnerResource) Delete

func (*OwnerResource) ImportState

func (*OwnerResource) Metadata

func (*OwnerResource) Read

func (*OwnerResource) Schema

func (*OwnerResource) Update

type OwnerResourceModel

type OwnerResourceModel struct {
	AccessRequestEscalationPeriod types.Int64    `tfsdk:"access_request_escalation_period"`
	Description                   types.String   `tfsdk:"description"`
	ID                            types.String   `tfsdk:"id"`
	Name                          types.String   `tfsdk:"name"`
	ReviewerMessageChannelID      types.String   `tfsdk:"reviewer_message_channel_id"`
	SourceGroupID                 types.String   `tfsdk:"source_group_id"`
	UserIds                       []types.String `tfsdk:"user_ids"`
}

OwnerResourceModel describes the resource data model.

func (*OwnerResourceModel) RefreshFromSharedOwner

func (r *OwnerResourceModel) RefreshFromSharedOwner(ctx context.Context, resp *shared.Owner) diag.Diagnostics

func (*OwnerResourceModel) RefreshFromSharedUpdateOwnerInfo

func (r *OwnerResourceModel) RefreshFromSharedUpdateOwnerInfo(ctx context.Context, resp *shared.UpdateOwnerInfo) diag.Diagnostics

func (*OwnerResourceModel) RefreshFromSharedUserList added in v3.2.1

func (r *OwnerResourceModel) RefreshFromSharedUserList(ctx context.Context, resp *shared.UserList) diag.Diagnostics

func (*OwnerResourceModel) ToOperationsDeleteOwnerRequest

func (r *OwnerResourceModel) ToOperationsDeleteOwnerRequest(ctx context.Context) (*operations.DeleteOwnerRequest, diag.Diagnostics)

func (*OwnerResourceModel) ToOperationsGetOwnerIDRequest

func (r *OwnerResourceModel) ToOperationsGetOwnerIDRequest(ctx context.Context) (*operations.GetOwnerIDRequest, diag.Diagnostics)

func (*OwnerResourceModel) ToOperationsUpdateOwnerUsersRequest

func (r *OwnerResourceModel) ToOperationsUpdateOwnerUsersRequest(ctx context.Context) (*operations.UpdateOwnerUsersRequest, diag.Diagnostics)

func (*OwnerResourceModel) ToSharedCreateOwnerInfo

func (r *OwnerResourceModel) ToSharedCreateOwnerInfo(ctx context.Context) (*shared.CreateOwnerInfo, diag.Diagnostics)

func (*OwnerResourceModel) ToSharedUpdateOwnerInfo

func (r *OwnerResourceModel) ToSharedUpdateOwnerInfo(ctx context.Context) (*shared.UpdateOwnerInfo, diag.Diagnostics)

func (*OwnerResourceModel) ToSharedUpdateOwnerInfoList

func (r *OwnerResourceModel) ToSharedUpdateOwnerInfoList(ctx context.Context) (*shared.UpdateOwnerInfoList, diag.Diagnostics)

func (*OwnerResourceModel) ToSharedUserIDList

func (r *OwnerResourceModel) ToSharedUserIDList(ctx context.Context) (*shared.UserIDList, diag.Diagnostics)

type OwnersDataSource

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

OwnersDataSource is the data source implementation.

func (*OwnersDataSource) Configure

func (*OwnersDataSource) Metadata

Metadata returns the data source type name.

func (*OwnersDataSource) Read

func (*OwnersDataSource) Schema

Schema defines the schema for the data source.

type OwnersDataSourceModel

type OwnersDataSourceModel struct {
	Cursor   types.String    `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Name     types.String    `queryParam:"style=form,explode=true,name=name" tfsdk:"name"`
	Next     types.String    `tfsdk:"next"`
	PageSize types.Int64     `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous types.String    `tfsdk:"previous"`
	Results  []tfTypes.Owner `tfsdk:"results"`
}

OwnersDataSourceModel describes the data model.

func (*OwnersDataSourceModel) RefreshFromSharedPaginatedOwnersList

func (r *OwnersDataSourceModel) RefreshFromSharedPaginatedOwnersList(ctx context.Context, resp *shared.PaginatedOwnersList) diag.Diagnostics

func (*OwnersDataSourceModel) ToOperationsGetOwnersRequest

func (r *OwnersDataSourceModel) ToOperationsGetOwnersRequest(ctx context.Context) (*operations.GetOwnersRequest, diag.Diagnostics)

type PaginatedBundleGroupListDataSource

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

PaginatedBundleGroupListDataSource is the data source implementation.

func (*PaginatedBundleGroupListDataSource) Configure

func (*PaginatedBundleGroupListDataSource) Metadata

Metadata returns the data source type name.

func (*PaginatedBundleGroupListDataSource) Read

func (*PaginatedBundleGroupListDataSource) Schema

Schema defines the schema for the data source.

type PaginatedBundleGroupListDataSourceModel

type PaginatedBundleGroupListDataSourceModel struct {
	BundleGroups []tfTypes.BundleGroup `tfsdk:"bundle_groups"`
	BundleID     types.String          `tfsdk:"bundle_id"`
	Cursor       types.String          `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next         types.String          `tfsdk:"next"`
	PageSize     types.Int64           `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous     types.String          `tfsdk:"previous"`
	TotalCount   types.Int64           `tfsdk:"total_count"`
}

PaginatedBundleGroupListDataSourceModel describes the data model.

func (*PaginatedBundleGroupListDataSourceModel) RefreshFromSharedPaginatedBundleGroupList

func (r *PaginatedBundleGroupListDataSourceModel) RefreshFromSharedPaginatedBundleGroupList(ctx context.Context, resp *shared.PaginatedBundleGroupList) diag.Diagnostics

func (*PaginatedBundleGroupListDataSourceModel) ToOperationsGetBundleGroupsRequest

type PaginatedBundleListDataSource

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

PaginatedBundleListDataSource is the data source implementation.

func (*PaginatedBundleListDataSource) Configure

func (*PaginatedBundleListDataSource) Metadata

Metadata returns the data source type name.

func (*PaginatedBundleListDataSource) Read

func (*PaginatedBundleListDataSource) Schema

Schema defines the schema for the data source.

type PaginatedBundleListDataSourceModel

type PaginatedBundleListDataSourceModel struct {
	Bundles    []tfTypes.Bundle `tfsdk:"bundles"`
	Contains   types.String     `queryParam:"style=form,explode=true,name=contains" tfsdk:"contains"`
	Cursor     types.String     `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next       types.String     `tfsdk:"next"`
	PageSize   types.Int64      `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous   types.String     `tfsdk:"previous"`
	TotalCount types.Int64      `tfsdk:"total_count"`
}

PaginatedBundleListDataSourceModel describes the data model.

func (*PaginatedBundleListDataSourceModel) RefreshFromSharedPaginatedBundleList

func (r *PaginatedBundleListDataSourceModel) RefreshFromSharedPaginatedBundleList(ctx context.Context, resp *shared.PaginatedBundleList) diag.Diagnostics

func (*PaginatedBundleListDataSourceModel) ToOperationsGetBundlesRequest

type PaginatedBundleResourceListDataSource

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

PaginatedBundleResourceListDataSource is the data source implementation.

func (*PaginatedBundleResourceListDataSource) Configure

func (*PaginatedBundleResourceListDataSource) Metadata

Metadata returns the data source type name.

func (*PaginatedBundleResourceListDataSource) Read

func (*PaginatedBundleResourceListDataSource) Schema

Schema defines the schema for the data source.

type PaginatedBundleResourceListDataSourceModel

type PaginatedBundleResourceListDataSourceModel struct {
	BundleID        types.String             `tfsdk:"bundle_id"`
	BundleResources []tfTypes.BundleResource `tfsdk:"bundle_resources"`
	Cursor          types.String             `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next            types.String             `tfsdk:"next"`
	PageSize        types.Int64              `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous        types.String             `tfsdk:"previous"`
	TotalCount      types.Int64              `tfsdk:"total_count"`
}

PaginatedBundleResourceListDataSourceModel describes the data model.

func (*PaginatedBundleResourceListDataSourceModel) RefreshFromSharedPaginatedBundleResourceList

func (r *PaginatedBundleResourceListDataSourceModel) RefreshFromSharedPaginatedBundleResourceList(ctx context.Context, resp *shared.PaginatedBundleResourceList) diag.Diagnostics

func (*PaginatedBundleResourceListDataSourceModel) ToOperationsGetBundleResourcesRequest

type ProviderHTTPTransportOpts

type ProviderHTTPTransportOpts struct {
	// HTTP headers to set on all requests.
	SetHeaders map[string]string

	// Underlying HTTP transport.
	Transport http.RoundTripper
}

Configurable options for the provider HTTP transport.

type RequestConfigurationConfig

type RequestConfigurationConfig struct {
	Condition      *ConditionConfig
	IsRequestable  bool
	ReviewerStages []ReviewerStageConfig
	AutoApproval   bool
	Priority       int
}

type RequestsDataSource

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

RequestsDataSource is the data source implementation.

func (*RequestsDataSource) Configure

func (*RequestsDataSource) Metadata

Metadata returns the data source type name.

func (*RequestsDataSource) Read

func (*RequestsDataSource) Schema

Schema defines the schema for the data source.

type RequestsDataSourceModel

type RequestsDataSourceModel struct {
	Cursor          types.String      `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	EndDateFilter   types.String      `queryParam:"style=form,explode=true,name=end_date_filter" tfsdk:"end_date_filter"`
	PageSize        types.Int64       `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	RequesterID     types.String      `queryParam:"style=form,explode=true,name=requester_id" tfsdk:"requester_id"`
	Requests        []tfTypes.Request `tfsdk:"requests"`
	ShowPendingOnly types.Bool        `queryParam:"style=form,explode=true,name=show_pending_only" tfsdk:"show_pending_only"`
	StartDateFilter types.String      `queryParam:"style=form,explode=true,name=start_date_filter" tfsdk:"start_date_filter"`
	TargetUserID    types.String      `queryParam:"style=form,explode=true,name=target_user_id" tfsdk:"target_user_id"`
}

RequestsDataSourceModel describes the data model.

func (*RequestsDataSourceModel) RefreshFromSharedRequestList

func (r *RequestsDataSourceModel) RefreshFromSharedRequestList(ctx context.Context, resp *shared.RequestList) diag.Diagnostics

func (*RequestsDataSourceModel) ToOperationsGetRequestsRequest

func (r *RequestsDataSourceModel) ToOperationsGetRequestsRequest(ctx context.Context) (*operations.GetRequestsRequest, diag.Diagnostics)

type ResourceDataSource

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

ResourceDataSource is the data source implementation.

func (*ResourceDataSource) Configure

func (*ResourceDataSource) Metadata

Metadata returns the data source type name.

func (*ResourceDataSource) Read

func (*ResourceDataSource) Schema

Schema defines the schema for the data source.

type ResourceDataSourceModel

type ResourceDataSourceModel struct {
	AdminOwnerID                types.String                            `tfsdk:"admin_owner_id"`
	AncestorResourceIds         []types.String                          `tfsdk:"ancestor_resource_ids"`
	AppID                       types.String                            `tfsdk:"app_id"`
	CustomRequestNotification   types.String                            `tfsdk:"custom_request_notification"`
	DescendantResourceIds       []types.String                          `tfsdk:"descendant_resource_ids"`
	Description                 types.String                            `tfsdk:"description"`
	ExtensionsDurationInMinutes types.Int64                             `tfsdk:"extensions_duration_in_minutes"`
	ID                          types.String                            `tfsdk:"id"`
	LastSuccessfulSync          *tfTypes.SyncTask                       `tfsdk:"last_successful_sync"`
	Name                        types.String                            `tfsdk:"name"`
	ParentResourceID            types.String                            `tfsdk:"parent_resource_id"`
	RemoteInfo                  *tfTypes.ResourceRemoteInfo             `tfsdk:"remote_info"`
	RequestConfigurations       []tfTypes.RequestConfiguration          `tfsdk:"request_configurations"`
	RequireMfaToApprove         types.Bool                              `tfsdk:"require_mfa_to_approve"`
	RequireMfaToConnect         types.Bool                              `tfsdk:"require_mfa_to_connect"`
	ResourceType                types.String                            `tfsdk:"resource_type"`
	RiskSensitivity             types.String                            `tfsdk:"risk_sensitivity"`
	RiskSensitivityOverride     types.String                            `tfsdk:"risk_sensitivity_override"`
	TicketPropagation           *tfTypes.TicketPropagationConfiguration `tfsdk:"ticket_propagation"`
}

ResourceDataSourceModel describes the data model.

func (*ResourceDataSourceModel) RefreshFromSharedResource

func (r *ResourceDataSourceModel) RefreshFromSharedResource(ctx context.Context, resp *shared.Resource) diag.Diagnostics

func (*ResourceDataSourceModel) ToOperationsGetResourceIDRequest

func (r *ResourceDataSourceModel) ToOperationsGetResourceIDRequest(ctx context.Context) (*operations.GetResourceIDRequest, diag.Diagnostics)

type ResourceMessageChannelListDataSource

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

ResourceMessageChannelListDataSource is the data source implementation.

func (*ResourceMessageChannelListDataSource) Configure

func (*ResourceMessageChannelListDataSource) Metadata

Metadata returns the data source type name.

func (*ResourceMessageChannelListDataSource) Read

func (*ResourceMessageChannelListDataSource) Schema

Schema defines the schema for the data source.

type ResourceMessageChannelListDataSourceModel

type ResourceMessageChannelListDataSourceModel struct {
	Channels   []tfTypes.MessageChannel `tfsdk:"channels"`
	ResourceID types.String             `tfsdk:"resource_id"`
}

ResourceMessageChannelListDataSourceModel describes the data model.

func (*ResourceMessageChannelListDataSourceModel) RefreshFromSharedMessageChannelList

func (r *ResourceMessageChannelListDataSourceModel) RefreshFromSharedMessageChannelList(ctx context.Context, resp *shared.MessageChannelList) diag.Diagnostics

func (*ResourceMessageChannelListDataSourceModel) ToOperationsGetResourceMessageChannelsRequest

type ResourceResource

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

ResourceResource defines the resource implementation.

func (*ResourceResource) Configure

func (*ResourceResource) Create

func (*ResourceResource) Delete

func (*ResourceResource) ImportState

func (*ResourceResource) Metadata

func (*ResourceResource) Read

func (*ResourceResource) Schema

func (*ResourceResource) Update

func (*ResourceResource) UpgradeState

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

type ResourceResourceModel

type ResourceResourceModel struct {
	AdminOwnerID                types.String                            `tfsdk:"admin_owner_id"`
	AncestorResourceIds         []types.String                          `tfsdk:"ancestor_resource_ids"`
	AppID                       types.String                            `tfsdk:"app_id"`
	CustomRequestNotification   types.String                            `tfsdk:"custom_request_notification"`
	DescendantResourceIds       []types.String                          `tfsdk:"descendant_resource_ids"`
	Description                 types.String                            `tfsdk:"description"`
	ExtensionsDurationInMinutes types.Int64                             `tfsdk:"extensions_duration_in_minutes"`
	ID                          types.String                            `tfsdk:"id"`
	LastSuccessfulSync          *tfTypes.SyncTask                       `tfsdk:"last_successful_sync"`
	Name                        types.String                            `tfsdk:"name"`
	ParentResourceID            types.String                            `tfsdk:"parent_resource_id"`
	RemoteInfo                  *tfTypes.ResourceRemoteInfo             `tfsdk:"remote_info"`
	RequestConfigurations       []tfTypes.RequestConfiguration          `tfsdk:"request_configurations"`
	RequireMfaToApprove         types.Bool                              `tfsdk:"require_mfa_to_approve"`
	RequireMfaToConnect         types.Bool                              `tfsdk:"require_mfa_to_connect"`
	ResourceType                types.String                            `tfsdk:"resource_type"`
	RiskSensitivity             types.String                            `tfsdk:"risk_sensitivity"`
	RiskSensitivityOverride     types.String                            `tfsdk:"risk_sensitivity_override"`
	TicketPropagation           *tfTypes.TicketPropagationConfiguration `tfsdk:"ticket_propagation"`
	Visibility                  types.String                            `tfsdk:"visibility"`
	VisibilityGroupIds          []types.String                          `tfsdk:"visibility_group_ids"`
}

ResourceResourceModel describes the resource data model.

func (*ResourceResourceModel) RefreshFromSharedResource

func (r *ResourceResourceModel) RefreshFromSharedResource(ctx context.Context, resp *shared.Resource) diag.Diagnostics

func (*ResourceResourceModel) RefreshFromSharedUpdateResourceInfo

func (r *ResourceResourceModel) RefreshFromSharedUpdateResourceInfo(ctx context.Context, resp *shared.UpdateResourceInfo) diag.Diagnostics

func (*ResourceResourceModel) ToOperationsDeleteResourceRequest

func (r *ResourceResourceModel) ToOperationsDeleteResourceRequest(ctx context.Context) (*operations.DeleteResourceRequest, diag.Diagnostics)

func (*ResourceResourceModel) ToOperationsGetResourceIDRequest

func (r *ResourceResourceModel) ToOperationsGetResourceIDRequest(ctx context.Context) (*operations.GetResourceIDRequest, diag.Diagnostics)

func (*ResourceResourceModel) ToOperationsUpdateResourceVisibilityRequest

func (r *ResourceResourceModel) ToOperationsUpdateResourceVisibilityRequest(ctx context.Context) (*operations.UpdateResourceVisibilityRequest, diag.Diagnostics)

func (*ResourceResourceModel) ToSharedCreateResourceInfo

func (r *ResourceResourceModel) ToSharedCreateResourceInfo(ctx context.Context) (*shared.CreateResourceInfo, diag.Diagnostics)

func (*ResourceResourceModel) ToSharedUpdateResourceInfo

func (r *ResourceResourceModel) ToSharedUpdateResourceInfo(ctx context.Context) (*shared.UpdateResourceInfo, diag.Diagnostics)

func (*ResourceResourceModel) ToSharedUpdateResourceInfoList

func (r *ResourceResourceModel) ToSharedUpdateResourceInfoList(ctx context.Context) (*shared.UpdateResourceInfoList, diag.Diagnostics)

func (*ResourceResourceModel) ToSharedVisibilityInfo

func (r *ResourceResourceModel) ToSharedVisibilityInfo(ctx context.Context) (*shared.VisibilityInfo, diag.Diagnostics)

type ResourceReviewersListDataSource

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

ResourceReviewersListDataSource is the data source implementation.

func (*ResourceReviewersListDataSource) Configure

func (*ResourceReviewersListDataSource) Metadata

Metadata returns the data source type name.

func (*ResourceReviewersListDataSource) Read

func (*ResourceReviewersListDataSource) Schema

Schema defines the schema for the data source.

type ResourceReviewersListDataSourceModel

type ResourceReviewersListDataSourceModel struct {
	Data       []types.String `tfsdk:"data"`
	ResourceID types.String   `tfsdk:"resource_id"`
}

ResourceReviewersListDataSourceModel describes the data model.

func (*ResourceReviewersListDataSourceModel) RefreshFromString

func (r *ResourceReviewersListDataSourceModel) RefreshFromString(ctx context.Context, resp []string) diag.Diagnostics

func (*ResourceReviewersListDataSourceModel) ToOperationsGetResourceReviewersRequest

type ResourceTagResource

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

ResourceTagResource defines the resource implementation.

func (*ResourceTagResource) Configure

func (*ResourceTagResource) Create

func (*ResourceTagResource) Delete

func (*ResourceTagResource) ImportState

func (*ResourceTagResource) Metadata

func (*ResourceTagResource) Read

func (*ResourceTagResource) Schema

func (*ResourceTagResource) Update

type ResourceTagResourceModel

type ResourceTagResourceModel struct {
	ResourceID types.String `tfsdk:"resource_id"`
	TagID      types.String `tfsdk:"tag_id"`
}

ResourceTagResourceModel describes the resource data model.

func (*ResourceTagResourceModel) ToOperationsCreateResourceTagRequest

func (r *ResourceTagResourceModel) ToOperationsCreateResourceTagRequest(ctx context.Context) (*operations.CreateResourceTagRequest, diag.Diagnostics)

func (*ResourceTagResourceModel) ToOperationsDeleteResourceTagRequest

func (r *ResourceTagResourceModel) ToOperationsDeleteResourceTagRequest(ctx context.Context) (*operations.DeleteResourceTagRequest, diag.Diagnostics)

type ResourceTagsDataSource

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

ResourceTagsDataSource is the data source implementation.

func (*ResourceTagsDataSource) Configure

func (*ResourceTagsDataSource) Metadata

Metadata returns the data source type name.

func (*ResourceTagsDataSource) Read

func (*ResourceTagsDataSource) Schema

Schema defines the schema for the data source.

type ResourceTagsDataSourceModel

type ResourceTagsDataSourceModel struct {
	ResourceID types.String  `tfsdk:"resource_id"`
	Tags       []tfTypes.Tag `tfsdk:"tags"`
}

ResourceTagsDataSourceModel describes the data model.

func (*ResourceTagsDataSourceModel) RefreshFromSharedTagsList

func (r *ResourceTagsDataSourceModel) RefreshFromSharedTagsList(ctx context.Context, resp *shared.TagsList) diag.Diagnostics

func (*ResourceTagsDataSourceModel) ToOperationsGetResourceTagsRequest

func (r *ResourceTagsDataSourceModel) ToOperationsGetResourceTagsRequest(ctx context.Context) (*operations.GetResourceTagsRequest, diag.Diagnostics)

type ResourceVisibilityDataSource

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

ResourceVisibilityDataSource is the data source implementation.

func (*ResourceVisibilityDataSource) Configure

func (*ResourceVisibilityDataSource) Metadata

Metadata returns the data source type name.

func (*ResourceVisibilityDataSource) Read

func (*ResourceVisibilityDataSource) Schema

Schema defines the schema for the data source.

type ResourceVisibilityDataSourceModel

type ResourceVisibilityDataSourceModel struct {
	ID                 types.String   `tfsdk:"id"`
	Visibility         types.String   `tfsdk:"visibility"`
	VisibilityGroupIds []types.String `tfsdk:"visibility_group_ids"`
}

ResourceVisibilityDataSourceModel describes the data model.

func (*ResourceVisibilityDataSourceModel) RefreshFromSharedVisibilityInfo

func (r *ResourceVisibilityDataSourceModel) RefreshFromSharedVisibilityInfo(ctx context.Context, resp *shared.VisibilityInfo) diag.Diagnostics

func (*ResourceVisibilityDataSourceModel) ToOperationsGetResourceVisibilityRequest

func (r *ResourceVisibilityDataSourceModel) ToOperationsGetResourceVisibilityRequest(ctx context.Context) (*operations.GetResourceVisibilityRequest, diag.Diagnostics)

type ResourcesAccessStatusDataSource

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

ResourcesAccessStatusDataSource is the data source implementation.

func (*ResourcesAccessStatusDataSource) Configure

func (*ResourcesAccessStatusDataSource) Metadata

Metadata returns the data source type name.

func (*ResourcesAccessStatusDataSource) Read

func (*ResourcesAccessStatusDataSource) Schema

Schema defines the schema for the data source.

type ResourcesAccessStatusDataSourceModel

type ResourcesAccessStatusDataSourceModel struct {
	AccessLevel         *tfTypes.ResourceAccessLevel `tfsdk:"access_level"`
	AccessLevelRemoteID types.String                 `queryParam:"style=form,explode=true,name=access_level_remote_id" tfsdk:"access_level_remote_id"`
	Cursor              types.String                 `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	ExpirationDate      types.String                 `tfsdk:"expiration_date"`
	PageSize            types.Int64                  `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	ResourceID          types.String                 `tfsdk:"resource_id"`
	Status              types.String                 `tfsdk:"status"`
	UserID              types.String                 `tfsdk:"user_id"`
}

ResourcesAccessStatusDataSourceModel describes the data model.

func (*ResourcesAccessStatusDataSourceModel) RefreshFromSharedResourceUserAccessStatus

func (r *ResourcesAccessStatusDataSourceModel) RefreshFromSharedResourceUserAccessStatus(ctx context.Context, resp *shared.ResourceUserAccessStatus) diag.Diagnostics

func (*ResourcesAccessStatusDataSourceModel) ToOperationsGetResourceUserAccessStatusRequest

func (r *ResourcesAccessStatusDataSourceModel) ToOperationsGetResourceUserAccessStatusRequest(ctx context.Context) (*operations.GetResourceUserAccessStatusRequest, diag.Diagnostics)

type ResourcesListDataSource

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

ResourcesListDataSource is the data source implementation.

func (*ResourcesListDataSource) Configure

func (*ResourcesListDataSource) Metadata

Metadata returns the data source type name.

func (*ResourcesListDataSource) Read

func (*ResourcesListDataSource) Schema

Schema defines the schema for the data source.

type ResourcesListDataSourceModel

type ResourcesListDataSourceModel struct {
	AncestorResourceID types.String       `queryParam:"style=form,explode=false,name=ancestor_resource_id" tfsdk:"ancestor_resource_id"`
	Cursor             types.String       `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next               types.String       `tfsdk:"next"`
	PageSize           types.Int64        `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	ParentResourceID   types.String       `queryParam:"style=form,explode=false,name=parent_resource_id" tfsdk:"parent_resource_id"`
	Previous           types.String       `tfsdk:"previous"`
	RemoteID           types.String       `queryParam:"style=form,explode=true,name=remote_id" tfsdk:"remote_id"`
	ResourceIds        []types.String     `queryParam:"style=form,explode=false,name=resource_ids" tfsdk:"resource_ids"`
	ResourceName       types.String       `queryParam:"style=form,explode=true,name=resource_name" tfsdk:"resource_name"`
	ResourceTypeFilter types.String       `queryParam:"style=form,explode=true,name=resource_type_filter" tfsdk:"resource_type_filter"`
	Results            []tfTypes.Resource `tfsdk:"results"`
}

ResourcesListDataSourceModel describes the data model.

func (*ResourcesListDataSourceModel) RefreshFromSharedPaginatedResourcesList

func (r *ResourcesListDataSourceModel) RefreshFromSharedPaginatedResourcesList(ctx context.Context, resp *shared.PaginatedResourcesList) diag.Diagnostics

func (*ResourcesListDataSourceModel) ToOperationsGetResourcesRequest

func (r *ResourcesListDataSourceModel) ToOperationsGetResourcesRequest(ctx context.Context) (*operations.GetResourcesRequest, diag.Diagnostics)

type ResourcesUsersListDataSource

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

ResourcesUsersListDataSource is the data source implementation.

func (*ResourcesUsersListDataSource) Configure

func (*ResourcesUsersListDataSource) Metadata

Metadata returns the data source type name.

func (*ResourcesUsersListDataSource) Read

func (*ResourcesUsersListDataSource) Schema

Schema defines the schema for the data source.

type ResourcesUsersListDataSourceModel

type ResourcesUsersListDataSourceModel struct {
	Limit      types.Int64                  `queryParam:"style=form,explode=true,name=limit" tfsdk:"limit"`
	Next       types.String                 `tfsdk:"next"`
	Previous   types.String                 `tfsdk:"previous"`
	ResourceID types.String                 `tfsdk:"resource_id"`
	Results    []tfTypes.ResourceAccessUser `tfsdk:"results"`
}

ResourcesUsersListDataSourceModel describes the data model.

func (*ResourcesUsersListDataSourceModel) RefreshFromSharedResourceAccessUserList

func (r *ResourcesUsersListDataSourceModel) RefreshFromSharedResourceAccessUserList(ctx context.Context, resp *shared.ResourceAccessUserList) diag.Diagnostics

func (*ResourcesUsersListDataSourceModel) ToOperationsGetResourceUsersRequest

type ReviewerStageConfig

type ReviewerStageConfig struct {
	OwnerIDs               []string
	Operator               string
	RequireManagerApproval bool
}

type ScopedRolePermissionListDataSource

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

ScopedRolePermissionListDataSource is the data source implementation.

func (*ScopedRolePermissionListDataSource) Configure

func (*ScopedRolePermissionListDataSource) Metadata

Metadata returns the data source type name.

func (*ScopedRolePermissionListDataSource) Read

func (*ScopedRolePermissionListDataSource) Schema

Schema defines the schema for the data source.

type ScopedRolePermissionListDataSourceModel

type ScopedRolePermissionListDataSourceModel struct {
	Permissions []tfTypes.ScopedRolePermission `tfsdk:"permissions"`
	ResourceID  types.String                   `tfsdk:"resource_id"`
}

ScopedRolePermissionListDataSourceModel describes the data model.

func (*ScopedRolePermissionListDataSourceModel) RefreshFromSharedScopedRolePermissionList

func (r *ScopedRolePermissionListDataSourceModel) RefreshFromSharedScopedRolePermissionList(ctx context.Context, resp *shared.ScopedRolePermissionList) diag.Diagnostics

func (*ScopedRolePermissionListDataSourceModel) ToOperationsGetResourceScopedRolePermissionsRequest

func (r *ScopedRolePermissionListDataSourceModel) ToOperationsGetResourceScopedRolePermissionsRequest(ctx context.Context) (*operations.GetResourceScopedRolePermissionsRequest, diag.Diagnostics)

type ScopedRolePermissionListResource

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

ScopedRolePermissionListResource defines the resource implementation.

func (*ScopedRolePermissionListResource) Configure

func (*ScopedRolePermissionListResource) Create

func (*ScopedRolePermissionListResource) Delete

func (*ScopedRolePermissionListResource) ImportState

func (*ScopedRolePermissionListResource) Metadata

func (*ScopedRolePermissionListResource) Read

func (*ScopedRolePermissionListResource) Schema

func (*ScopedRolePermissionListResource) Update

type ScopedRolePermissionListResourceModel

type ScopedRolePermissionListResourceModel struct {
	Permissions []tfTypes.ScopedRolePermission `tfsdk:"permissions"`
	ResourceID  types.String                   `tfsdk:"resource_id"`
}

ScopedRolePermissionListResourceModel describes the resource data model.

func (*ScopedRolePermissionListResourceModel) RefreshFromSharedScopedRolePermissionList

func (r *ScopedRolePermissionListResourceModel) RefreshFromSharedScopedRolePermissionList(ctx context.Context, resp *shared.ScopedRolePermissionList) diag.Diagnostics

func (*ScopedRolePermissionListResourceModel) ToOperationsGetResourceScopedRolePermissionsRequest

func (r *ScopedRolePermissionListResourceModel) ToOperationsGetResourceScopedRolePermissionsRequest(ctx context.Context) (*operations.GetResourceScopedRolePermissionsRequest, diag.Diagnostics)

func (*ScopedRolePermissionListResourceModel) ToOperationsSetResourceScopedRolePermissionsRequest

func (r *ScopedRolePermissionListResourceModel) ToOperationsSetResourceScopedRolePermissionsRequest(ctx context.Context) (*operations.SetResourceScopedRolePermissionsRequest, diag.Diagnostics)

func (*ScopedRolePermissionListResourceModel) ToSharedScopedRolePermissionList

type SessionsDataSource

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

SessionsDataSource is the data source implementation.

func (*SessionsDataSource) Configure

func (*SessionsDataSource) Metadata

Metadata returns the data source type name.

func (*SessionsDataSource) Read

func (*SessionsDataSource) Schema

Schema defines the schema for the data source.

type SessionsDataSourceModel

type SessionsDataSourceModel struct {
	Next       types.String      `tfsdk:"next"`
	Previous   types.String      `tfsdk:"previous"`
	ResourceID types.String      `queryParam:"style=form,explode=true,name=resource_id" tfsdk:"resource_id"`
	Results    []tfTypes.Session `tfsdk:"results"`
	UserID     types.String      `queryParam:"style=form,explode=true,name=user_id" tfsdk:"user_id"`
}

SessionsDataSourceModel describes the data model.

func (*SessionsDataSourceModel) RefreshFromSharedSessionsList

func (r *SessionsDataSourceModel) RefreshFromSharedSessionsList(ctx context.Context, resp *shared.SessionsList) diag.Diagnostics

func (*SessionsDataSourceModel) ToOperationsGetSessionsRequest

func (r *SessionsDataSourceModel) ToOperationsGetSessionsRequest(ctx context.Context) (*operations.GetSessionsRequest, diag.Diagnostics)

type TagDataSource

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

TagDataSource is the data source implementation.

func (*TagDataSource) Configure

func (*TagDataSource) Metadata

Metadata returns the data source type name.

func (*TagDataSource) Read

func (*TagDataSource) Schema

Schema defines the schema for the data source.

type TagDataSourceModel

type TagDataSourceModel struct {
	CreatedAt     types.String `tfsdk:"created_at"`
	ID            types.String `tfsdk:"id"`
	Key           types.String `tfsdk:"key"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
	UserCreatorID types.String `tfsdk:"user_creator_id"`
	Value         types.String `tfsdk:"value"`
}

TagDataSourceModel describes the data model.

func (*TagDataSourceModel) RefreshFromSharedTag

func (r *TagDataSourceModel) RefreshFromSharedTag(ctx context.Context, resp *shared.Tag) diag.Diagnostics

func (*TagDataSourceModel) ToOperationsGetTagByIDRequest

func (r *TagDataSourceModel) ToOperationsGetTagByIDRequest(ctx context.Context) (*operations.GetTagByIDRequest, diag.Diagnostics)

type TagResource

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

TagResource defines the resource implementation.

func (*TagResource) Configure

func (*TagResource) Create

func (*TagResource) Delete

func (*TagResource) ImportState

func (*TagResource) Metadata

func (*TagResource) Read

func (*TagResource) Schema

func (*TagResource) Update

type TagResourceModel

type TagResourceModel struct {
	CreatedAt     types.String `tfsdk:"created_at"`
	ID            types.String `tfsdk:"id"`
	Key           types.String `tfsdk:"key"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
	UserCreatorID types.String `tfsdk:"user_creator_id"`
	Value         types.String `tfsdk:"value"`
}

TagResourceModel describes the resource data model.

func (*TagResourceModel) RefreshFromSharedTag

func (r *TagResourceModel) RefreshFromSharedTag(ctx context.Context, resp *shared.Tag) diag.Diagnostics

func (*TagResourceModel) ToOperationsDeleteTagByIDRequest

func (r *TagResourceModel) ToOperationsDeleteTagByIDRequest(ctx context.Context) (*operations.DeleteTagByIDRequest, diag.Diagnostics)

func (*TagResourceModel) ToOperationsGetTagByIDRequest

func (r *TagResourceModel) ToOperationsGetTagByIDRequest(ctx context.Context) (*operations.GetTagByIDRequest, diag.Diagnostics)

func (*TagResourceModel) ToSharedCreateTagInfo

func (r *TagResourceModel) ToSharedCreateTagInfo(ctx context.Context) (*shared.CreateTagInfo, diag.Diagnostics)

type TagUserResource

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

TagUserResource defines the resource implementation.

func (*TagUserResource) Configure

func (*TagUserResource) Create

func (*TagUserResource) Delete

func (*TagUserResource) ImportState

func (*TagUserResource) Metadata

func (*TagUserResource) Read

func (*TagUserResource) Schema

func (*TagUserResource) Update

type TagUserResourceModel

type TagUserResourceModel struct {
	RequestBody *tfTypes.CreateUserTagRequestBody `tfsdk:"request_body"`
	TagID       types.String                      `tfsdk:"tag_id"`
	UserID      types.String                      `tfsdk:"user_id"`
}

TagUserResourceModel describes the resource data model.

func (*TagUserResourceModel) ToOperationsCreateUserTagRequest

func (r *TagUserResourceModel) ToOperationsCreateUserTagRequest(ctx context.Context) (*operations.CreateUserTagRequest, diag.Diagnostics)

func (*TagUserResourceModel) ToOperationsCreateUserTagRequestBody

func (r *TagUserResourceModel) ToOperationsCreateUserTagRequestBody(ctx context.Context) (*operations.CreateUserTagRequestBody, diag.Diagnostics)

func (*TagUserResourceModel) ToOperationsDeleteUserTagRequest

func (r *TagUserResourceModel) ToOperationsDeleteUserTagRequest(ctx context.Context) (*operations.DeleteUserTagRequest, diag.Diagnostics)

type TagsListDataSource

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

TagsListDataSource is the data source implementation.

func (*TagsListDataSource) Configure

func (*TagsListDataSource) Metadata

Metadata returns the data source type name.

func (*TagsListDataSource) Read

func (*TagsListDataSource) Schema

Schema defines the schema for the data source.

type TagsListDataSourceModel

type TagsListDataSourceModel struct {
	Cursor   types.String  `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next     types.String  `tfsdk:"next"`
	PageSize types.Int64   `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous types.String  `tfsdk:"previous"`
	Results  []tfTypes.Tag `tfsdk:"results"`
}

TagsListDataSourceModel describes the data model.

func (*TagsListDataSourceModel) RefreshFromSharedPaginatedTagsList

func (r *TagsListDataSourceModel) RefreshFromSharedPaginatedTagsList(ctx context.Context, resp *shared.PaginatedTagsList) diag.Diagnostics

func (*TagsListDataSourceModel) ToOperationsGetTagsRequest

func (r *TagsListDataSourceModel) ToOperationsGetTagsRequest(ctx context.Context) (*operations.GetTagsRequest, diag.Diagnostics)

type UARSListDataSource

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

UARSListDataSource is the data source implementation.

func (*UARSListDataSource) Configure

func (*UARSListDataSource) Metadata

Metadata returns the data source type name.

func (*UARSListDataSource) Read

func (*UARSListDataSource) Schema

Schema defines the schema for the data source.

type UARSListDataSourceModel

type UARSListDataSourceModel struct {
	Cursor   types.String  `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next     types.String  `tfsdk:"next"`
	PageSize types.Int64   `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous types.String  `tfsdk:"previous"`
	Results  []tfTypes.Uar `tfsdk:"results"`
}

UARSListDataSourceModel describes the data model.

func (*UARSListDataSourceModel) RefreshFromSharedPaginatedUARsList

func (r *UARSListDataSourceModel) RefreshFromSharedPaginatedUARsList(ctx context.Context, resp *shared.PaginatedUARsList) diag.Diagnostics

func (*UARSListDataSourceModel) ToOperationsGetUARsRequest

func (r *UARSListDataSourceModel) ToOperationsGetUARsRequest(ctx context.Context) (*operations.GetUARsRequest, diag.Diagnostics)

type UarDataSource

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

UarDataSource is the data source implementation.

func (*UarDataSource) Configure

func (*UarDataSource) Metadata

Metadata returns the data source type name.

func (*UarDataSource) Read

func (*UarDataSource) Schema

Schema defines the schema for the data source.

type UarDataSourceModel

type UarDataSourceModel struct {
	Deadline                           types.String      `tfsdk:"deadline"`
	Name                               types.String      `tfsdk:"name"`
	ReviewerAssignmentPolicy           types.String      `tfsdk:"reviewer_assignment_policy"`
	SelfReviewAllowed                  types.Bool        `tfsdk:"self_review_allowed"`
	SendReviewerAssignmentNotification types.Bool        `tfsdk:"send_reviewer_assignment_notification"`
	TimeZone                           types.String      `tfsdk:"time_zone"`
	UarID                              types.String      `tfsdk:"uar_id"`
	UarScope                           *tfTypes.UARScope `tfsdk:"uar_scope"`
}

UarDataSourceModel describes the data model.

func (*UarDataSourceModel) RefreshFromSharedUar

func (r *UarDataSourceModel) RefreshFromSharedUar(ctx context.Context, resp *shared.Uar) diag.Diagnostics

func (*UarDataSourceModel) ToOperationsGetUARIDRequest

func (r *UarDataSourceModel) ToOperationsGetUARIDRequest(ctx context.Context) (*operations.GetUARIDRequest, diag.Diagnostics)

type UserDataSource

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

UserDataSource is the data source implementation.

func (*UserDataSource) Configure

func (*UserDataSource) Metadata

Metadata returns the data source type name.

func (*UserDataSource) Read

func (*UserDataSource) Schema

Schema defines the schema for the data source.

type UserDataSourceModel

type UserDataSourceModel struct {
	Email       types.String `queryParam:"style=form,explode=true,name=email" tfsdk:"email"`
	FirstName   types.String `tfsdk:"first_name"`
	HrIdpStatus types.String `tfsdk:"hr_idp_status"`
	ID          types.String `queryParam:"style=form,explode=true,name=user_id" tfsdk:"id"`
	LastName    types.String `tfsdk:"last_name"`
	Name        types.String `tfsdk:"name"`
	Position    types.String `tfsdk:"position"`
}

UserDataSourceModel describes the data model.

func (*UserDataSourceModel) RefreshFromSharedUser

func (r *UserDataSourceModel) RefreshFromSharedUser(ctx context.Context, resp *shared.User) diag.Diagnostics

func (*UserDataSourceModel) ToOperationsGetUserRequest

func (r *UserDataSourceModel) ToOperationsGetUserRequest(ctx context.Context) (*operations.GetUserRequest, diag.Diagnostics)

type UserTagsDataSource

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

UserTagsDataSource is the data source implementation.

func (*UserTagsDataSource) Configure

func (*UserTagsDataSource) Metadata

Metadata returns the data source type name.

func (*UserTagsDataSource) Read

func (*UserTagsDataSource) Schema

Schema defines the schema for the data source.

type UserTagsDataSourceModel

type UserTagsDataSourceModel struct {
	Tags   []tfTypes.Tag `tfsdk:"tags"`
	UserID types.String  `tfsdk:"user_id"`
}

UserTagsDataSourceModel describes the data model.

func (*UserTagsDataSourceModel) RefreshFromSharedTagsList

func (r *UserTagsDataSourceModel) RefreshFromSharedTagsList(ctx context.Context, resp *shared.TagsList) diag.Diagnostics

func (*UserTagsDataSourceModel) ToOperationsGetUserTagsRequest

func (r *UserTagsDataSourceModel) ToOperationsGetUserTagsRequest(ctx context.Context) (*operations.GetUserTagsRequest, diag.Diagnostics)

type UsersDataSource

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

UsersDataSource is the data source implementation.

func (*UsersDataSource) Configure

func (*UsersDataSource) Metadata

Metadata returns the data source type name.

func (*UsersDataSource) Read

func (*UsersDataSource) Schema

Schema defines the schema for the data source.

type UsersDataSourceModel

type UsersDataSourceModel struct {
	Cursor   types.String   `queryParam:"style=form,explode=true,name=cursor" tfsdk:"cursor"`
	Next     types.String   `tfsdk:"next"`
	PageSize types.Int64    `queryParam:"style=form,explode=true,name=page_size" tfsdk:"page_size"`
	Previous types.String   `tfsdk:"previous"`
	Results  []tfTypes.User `tfsdk:"results"`
}

UsersDataSourceModel describes the data model.

func (*UsersDataSourceModel) RefreshFromSharedPaginatedUsersList

func (r *UsersDataSourceModel) RefreshFromSharedPaginatedUsersList(ctx context.Context, resp *shared.PaginatedUsersList) diag.Diagnostics

func (*UsersDataSourceModel) ToOperationsGetUsersRequest

func (r *UsersDataSourceModel) ToOperationsGetUsersRequest(ctx context.Context) (*operations.GetUsersRequest, diag.Diagnostics)

Source Files

Directories

Path Synopsis
Package reflect is a forked version of https://github.com/hashicorp/terraform-plugin-framework/tree/main/internal/reflect that has been modified to support speakeasy's terraform generator.
Package reflect is a forked version of https://github.com/hashicorp/terraform-plugin-framework/tree/main/internal/reflect that has been modified to support speakeasy's terraform generator.

Jump to

Keyboard shortcuts

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