provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 46 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 New

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

func NewDatabasePostgresDataSource added in v1.0.0

func NewDatabasePostgresDataSource() datasource.DataSource

func NewDatabaseVitessDataSource added in v1.0.0

func NewDatabaseVitessDataSource() datasource.DataSource

func NewDatabasesDataSource added in v1.0.0

func NewDatabasesDataSource() datasource.DataSource

func NewOrganizationDataSource added in v1.0.0

func NewOrganizationDataSource() datasource.DataSource

func NewOrganizationsDataSource added in v1.0.0

func NewOrganizationsDataSource() datasource.DataSource

func NewPostgresBranchDataSource added in v1.0.0

func NewPostgresBranchDataSource() datasource.DataSource

func NewPostgresBranchResource added in v1.0.0

func NewPostgresBranchResource() resource.Resource

func NewPostgresBranchRoleDataSource added in v1.0.0

func NewPostgresBranchRoleDataSource() datasource.DataSource

func NewPostgresBranchRoleResource added in v1.0.0

func NewPostgresBranchRoleResource() resource.Resource

func NewPostgresBranchRolesDataSource added in v1.0.0

func NewPostgresBranchRolesDataSource() datasource.DataSource

func NewProviderHTTPTransport added in v1.0.0

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 NewVitessBranchDataSource added in v1.0.0

func NewVitessBranchDataSource() datasource.DataSource

func NewVitessBranchPasswordDataSource added in v1.0.0

func NewVitessBranchPasswordDataSource() datasource.DataSource

func NewVitessBranchPasswordResource added in v1.0.0

func NewVitessBranchPasswordResource() resource.Resource

func NewVitessBranchPasswordsDataSource added in v1.0.0

func NewVitessBranchPasswordsDataSource() datasource.DataSource

func NewVitessBranchResource added in v1.0.0

func NewVitessBranchResource() resource.Resource

Types

type DatabasePostgresDataSource added in v1.0.0

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

DatabasePostgresDataSource is the data source implementation.

func (*DatabasePostgresDataSource) Configure added in v1.0.0

func (*DatabasePostgresDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*DatabasePostgresDataSource) Read added in v1.0.0

func (*DatabasePostgresDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type DatabasePostgresDataSourceModel added in v1.0.0

type DatabasePostgresDataSourceModel struct {
	AtBackupRestoreBranchesLimit      types.Bool                             `tfsdk:"at_backup_restore_branches_limit"`
	AtDevelopmentBranchUsageLimit     types.Bool                             `tfsdk:"at_development_branch_usage_limit"`
	BranchesCount                     types.Int64                            `tfsdk:"branches_count"`
	BranchesURL                       types.String                           `tfsdk:"branches_url"`
	CreatedAt                         types.String                           `tfsdk:"created_at"`
	DataImport                        *tfTypes.GetPostgresDatabaseDataImport `tfsdk:"data_import"`
	DefaultBranch                     types.String                           `tfsdk:"default_branch"`
	DefaultBranchReadOnlyRegionsCount types.Int64                            `tfsdk:"default_branch_read_only_regions_count"`
	DefaultBranchShardCount           types.Int64                            `tfsdk:"default_branch_shard_count"`
	DefaultBranchTableCount           types.Int64                            `tfsdk:"default_branch_table_count"`
	DevelopmentBranchesCount          types.Int64                            `tfsdk:"development_branches_count"`
	HTMLURL                           types.String                           `tfsdk:"html_url"`
	ID                                types.String                           `tfsdk:"id"`
	InsightsEnabled                   types.Bool                             `tfsdk:"insights_enabled"`
	InsightsRawQueries                types.Bool                             `tfsdk:"insights_raw_queries"`
	IssuesCount                       types.Int64                            `tfsdk:"issues_count"`
	MultipleAdminsRequiredForDeletion types.Bool                             `tfsdk:"multiple_admins_required_for_deletion"`
	Name                              types.String                           `tfsdk:"name"`
	OpenSchemaRecommendationsCount    types.Int64                            `tfsdk:"open_schema_recommendations_count"`
	Organization                      types.String                           `tfsdk:"organization"`
	Plan                              types.String                           `tfsdk:"plan"`
	ProductionBranchesCount           types.Int64                            `tfsdk:"production_branches_count"`
	ProductionBranchWebConsole        types.Bool                             `tfsdk:"production_branch_web_console"`
	Ready                             types.Bool                             `tfsdk:"ready"`
	RegionData                        *tfTypes.GetPostgresDatabaseRegionData `tfsdk:"region_data"`
	RequireApprovalForDeploy          types.Bool                             `tfsdk:"require_approval_for_deploy"`
	ResizeQueued                      types.Bool                             `tfsdk:"resize_queued"`
	Resizing                          types.Bool                             `tfsdk:"resizing"`
	RestrictBranchRegion              types.Bool                             `tfsdk:"restrict_branch_region"`
	SchemaLastUpdatedAt               types.String                           `tfsdk:"schema_last_updated_at"`
	State                             types.String                           `tfsdk:"state"`
	UpdatedAt                         types.String                           `tfsdk:"updated_at"`
	URL                               types.String                           `tfsdk:"url"`
}

DatabasePostgresDataSourceModel describes the data model.

func (*DatabasePostgresDataSourceModel) RefreshFromOperationsGetPostgresDatabaseResponseBody added in v1.0.0

func (r *DatabasePostgresDataSourceModel) RefreshFromOperationsGetPostgresDatabaseResponseBody(ctx context.Context, resp *operations.GetPostgresDatabaseResponseBody) diag.Diagnostics

func (*DatabasePostgresDataSourceModel) ToOperationsGetPostgresDatabaseRequest added in v1.0.0

func (r *DatabasePostgresDataSourceModel) ToOperationsGetPostgresDatabaseRequest(ctx context.Context) (*operations.GetPostgresDatabaseRequest, diag.Diagnostics)

type DatabaseVitessDataSource added in v1.0.0

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

DatabaseVitessDataSource is the data source implementation.

func (*DatabaseVitessDataSource) Configure added in v1.0.0

func (*DatabaseVitessDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*DatabaseVitessDataSource) Read added in v1.0.0

func (*DatabaseVitessDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type DatabaseVitessDataSourceModel added in v1.0.0

type DatabaseVitessDataSourceModel struct {
	AllowDataBranching                types.Bool                           `tfsdk:"allow_data_branching"`
	AtBackupRestoreBranchesLimit      types.Bool                           `tfsdk:"at_backup_restore_branches_limit"`
	AtDevelopmentBranchUsageLimit     types.Bool                           `tfsdk:"at_development_branch_usage_limit"`
	AutomaticMigrations               types.Bool                           `tfsdk:"automatic_migrations"`
	BranchesCount                     types.Int64                          `tfsdk:"branches_count"`
	BranchesURL                       types.String                         `tfsdk:"branches_url"`
	CreatedAt                         types.String                         `tfsdk:"created_at"`
	DataImport                        *tfTypes.GetVitessDatabaseDataImport `tfsdk:"data_import"`
	DefaultBranch                     types.String                         `tfsdk:"default_branch"`
	DefaultBranchReadOnlyRegionsCount types.Int64                          `tfsdk:"default_branch_read_only_regions_count"`
	DefaultBranchShardCount           types.Int64                          `tfsdk:"default_branch_shard_count"`
	DefaultBranchTableCount           types.Int64                          `tfsdk:"default_branch_table_count"`
	DevelopmentBranchesCount          types.Int64                          `tfsdk:"development_branches_count"`
	ForeignKeysEnabled                types.Bool                           `tfsdk:"foreign_keys_enabled"`
	HTMLURL                           types.String                         `tfsdk:"html_url"`
	ID                                types.String                         `tfsdk:"id"`
	InsightsEnabled                   types.Bool                           `tfsdk:"insights_enabled"`
	InsightsRawQueries                types.Bool                           `tfsdk:"insights_raw_queries"`
	IssuesCount                       types.Int64                          `tfsdk:"issues_count"`
	MigrationFramework                types.String                         `tfsdk:"migration_framework"`
	MigrationTableName                types.String                         `tfsdk:"migration_table_name"`
	MultipleAdminsRequiredForDeletion types.Bool                           `tfsdk:"multiple_admins_required_for_deletion"`
	Name                              types.String                         `tfsdk:"name"`
	OpenSchemaRecommendationsCount    types.Int64                          `tfsdk:"open_schema_recommendations_count"`
	Organization                      types.String                         `tfsdk:"organization"`
	Plan                              types.String                         `tfsdk:"plan"`
	ProductionBranchesCount           types.Int64                          `tfsdk:"production_branches_count"`
	ProductionBranchWebConsole        types.Bool                           `tfsdk:"production_branch_web_console"`
	Ready                             types.Bool                           `tfsdk:"ready"`
	RegionData                        *tfTypes.GetVitessDatabaseRegionData `tfsdk:"region_data"`
	RequireApprovalForDeploy          types.Bool                           `tfsdk:"require_approval_for_deploy"`
	ResizeQueued                      types.Bool                           `tfsdk:"resize_queued"`
	Resizing                          types.Bool                           `tfsdk:"resizing"`
	RestrictBranchRegion              types.Bool                           `tfsdk:"restrict_branch_region"`
	SchemaLastUpdatedAt               types.String                         `tfsdk:"schema_last_updated_at"`
	Sharded                           types.Bool                           `tfsdk:"sharded"`
	State                             types.String                         `tfsdk:"state"`
	UpdatedAt                         types.String                         `tfsdk:"updated_at"`
	URL                               types.String                         `tfsdk:"url"`
}

DatabaseVitessDataSourceModel describes the data model.

func (*DatabaseVitessDataSourceModel) RefreshFromOperationsGetVitessDatabaseResponseBody added in v1.0.0

func (r *DatabaseVitessDataSourceModel) RefreshFromOperationsGetVitessDatabaseResponseBody(ctx context.Context, resp *operations.GetVitessDatabaseResponseBody) diag.Diagnostics

func (*DatabaseVitessDataSourceModel) ToOperationsGetVitessDatabaseRequest added in v1.0.0

func (r *DatabaseVitessDataSourceModel) ToOperationsGetVitessDatabaseRequest(ctx context.Context) (*operations.GetVitessDatabaseRequest, diag.Diagnostics)

type DatabasesDataSource added in v1.0.0

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

DatabasesDataSource is the data source implementation.

func (*DatabasesDataSource) Configure added in v1.0.0

func (*DatabasesDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*DatabasesDataSource) Read added in v1.0.0

func (*DatabasesDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type DatabasesDataSourceModel added in v1.0.0

type DatabasesDataSourceModel struct {
	Data         []tfTypes.ListDatabasesData `tfsdk:"data"`
	Organization types.String                `tfsdk:"organization"`
	Q            types.String                `queryParam:"style=form,explode=true,name=q" tfsdk:"q"`
}

DatabasesDataSourceModel describes the data model.

func (*DatabasesDataSourceModel) RefreshFromOperationsListDatabasesResponseBody added in v1.0.0

func (r *DatabasesDataSourceModel) RefreshFromOperationsListDatabasesResponseBody(ctx context.Context, resp *operations.ListDatabasesResponseBody) diag.Diagnostics

func (*DatabasesDataSourceModel) ToOperationsListDatabasesRequest added in v1.0.0

func (r *DatabasesDataSourceModel) ToOperationsListDatabasesRequest(ctx context.Context) (*operations.ListDatabasesRequest, diag.Diagnostics)

type OrganizationDataSource added in v1.0.0

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

OrganizationDataSource is the data source implementation.

func (*OrganizationDataSource) Configure added in v1.0.0

func (*OrganizationDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*OrganizationDataSource) Read added in v1.0.0

func (*OrganizationDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type OrganizationDataSourceModel added in v1.0.0

type OrganizationDataSourceModel struct {
	BillingEmail        types.String                    `tfsdk:"billing_email"`
	CreatedAt           types.String                    `tfsdk:"created_at"`
	DatabaseCount       types.Int64                     `tfsdk:"database_count"`
	Features            map[string]jsontypes.Normalized `tfsdk:"features"`
	HasCard             types.Bool                      `tfsdk:"has_card"`
	HasPastDueInvoices  types.Bool                      `tfsdk:"has_past_due_invoices"`
	ID                  types.String                    `tfsdk:"id"`
	IdpManagedRoles     types.Bool                      `tfsdk:"idp_managed_roles"`
	InvoiceBudgetAmount types.String                    `tfsdk:"invoice_budget_amount"`
	KeyspaceShardLimit  types.Int64                     `tfsdk:"keyspace_shard_limit"`
	ManagedTenancy      types.Bool                      `tfsdk:"managed_tenancy"`
	Name                types.String                    `tfsdk:"name"`
	Organization        types.String                    `tfsdk:"organization"`
	PaymentInfoRequired types.Bool                      `tfsdk:"payment_info_required"`
	Plan                types.String                    `tfsdk:"plan"`
	SingleTenancy       types.Bool                      `tfsdk:"single_tenancy"`
	Sso                 types.Bool                      `tfsdk:"sso"`
	SsoDirectory        types.Bool                      `tfsdk:"sso_directory"`
	SsoPortalURL        types.String                    `tfsdk:"sso_portal_url"`
	UpdatedAt           types.String                    `tfsdk:"updated_at"`
	ValidBillingInfo    types.Bool                      `tfsdk:"valid_billing_info"`
}

OrganizationDataSourceModel describes the data model.

func (*OrganizationDataSourceModel) RefreshFromOperationsGetOrganizationResponseBody added in v1.0.0

func (r *OrganizationDataSourceModel) RefreshFromOperationsGetOrganizationResponseBody(ctx context.Context, resp *operations.GetOrganizationResponseBody) diag.Diagnostics

func (*OrganizationDataSourceModel) ToOperationsGetOrganizationRequest added in v1.0.0

func (r *OrganizationDataSourceModel) ToOperationsGetOrganizationRequest(ctx context.Context) (*operations.GetOrganizationRequest, diag.Diagnostics)

type OrganizationsDataSource added in v1.0.0

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

OrganizationsDataSource is the data source implementation.

func (*OrganizationsDataSource) Configure added in v1.0.0

func (*OrganizationsDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*OrganizationsDataSource) Read added in v1.0.0

func (*OrganizationsDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type OrganizationsDataSourceModel added in v1.0.0

type OrganizationsDataSourceModel struct {
	Data []tfTypes.ListOrganizationsData `tfsdk:"data"`
}

OrganizationsDataSourceModel describes the data model.

func (*OrganizationsDataSourceModel) RefreshFromOperationsListOrganizationsResponseBody added in v1.0.0

func (r *OrganizationsDataSourceModel) RefreshFromOperationsListOrganizationsResponseBody(ctx context.Context, resp *operations.ListOrganizationsResponseBody) diag.Diagnostics

func (*OrganizationsDataSourceModel) ToOperationsListOrganizationsRequest added in v1.0.0

func (r *OrganizationsDataSourceModel) ToOperationsListOrganizationsRequest(ctx context.Context) (*operations.ListOrganizationsRequest, diag.Diagnostics)

type PlanetscaleProvider added in v1.0.0

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

func (*PlanetscaleProvider) Actions added in v1.0.0

func (p *PlanetscaleProvider) Actions(_ context.Context) []func() action.Action

func (*PlanetscaleProvider) Configure added in v1.0.0

func (*PlanetscaleProvider) DataSources added in v1.0.0

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

func (*PlanetscaleProvider) EphemeralResources added in v1.0.0

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

func (*PlanetscaleProvider) Functions added in v1.0.0

func (p *PlanetscaleProvider) Functions(_ context.Context) []func() function.Function

func (*PlanetscaleProvider) ListResources added in v1.0.0

func (p *PlanetscaleProvider) ListResources(ctx context.Context) []func() list.ListResource

func (*PlanetscaleProvider) Metadata added in v1.0.0

func (*PlanetscaleProvider) Resources added in v1.0.0

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

func (*PlanetscaleProvider) Schema added in v1.0.0

type PlanetscaleProviderModel added in v1.0.0

type PlanetscaleProviderModel struct {
	ServerURL      types.String `tfsdk:"server_url"`
	ServiceToken   types.String `tfsdk:"service_token"`
	ServiceTokenID types.String `tfsdk:"service_token_id"`
}

PlanetscaleProviderModel describes the provider data model.

type PostgresBranchDataSource added in v1.0.0

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

PostgresBranchDataSource is the data source implementation.

func (*PostgresBranchDataSource) Configure added in v1.0.0

func (*PostgresBranchDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*PostgresBranchDataSource) Read added in v1.0.0

func (*PostgresBranchDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type PostgresBranchDataSourceModel added in v1.0.0

type PostgresBranchDataSourceModel struct {
	Actor        *tfTypes.GetPostgresBranchActor      `tfsdk:"actor"`
	ClusterSize  types.String                         `tfsdk:"cluster_size"`
	Database     types.String                         `tfsdk:"database"`
	HTMLURL      types.String                         `tfsdk:"html_url"`
	ID           types.String                         `tfsdk:"id"`
	Name         types.String                         `tfsdk:"name"`
	Organization types.String                         `tfsdk:"organization"`
	ParentBranch types.String                         `tfsdk:"parent_branch"`
	Ready        types.Bool                           `tfsdk:"ready"`
	RegionData   *tfTypes.GetPostgresBranchRegionData `tfsdk:"region_data"`
	Replicas     types.Int64                          `tfsdk:"replicas"`
	State        types.String                         `tfsdk:"state"`
	URL          types.String                         `tfsdk:"url"`
}

PostgresBranchDataSourceModel describes the data model.

func (*PostgresBranchDataSourceModel) RefreshFromOperationsGetPostgresBranchResponseBody added in v1.0.0

func (r *PostgresBranchDataSourceModel) RefreshFromOperationsGetPostgresBranchResponseBody(ctx context.Context, resp *operations.GetPostgresBranchResponseBody) diag.Diagnostics

func (*PostgresBranchDataSourceModel) ToOperationsGetPostgresBranchRequest added in v1.0.0

func (r *PostgresBranchDataSourceModel) ToOperationsGetPostgresBranchRequest(ctx context.Context) (*operations.GetPostgresBranchRequest, diag.Diagnostics)

type PostgresBranchResource added in v1.0.0

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

PostgresBranchResource defines the resource implementation.

func (*PostgresBranchResource) Configure added in v1.0.0

func (*PostgresBranchResource) Create added in v1.0.0

func (*PostgresBranchResource) Delete added in v1.0.0

func (*PostgresBranchResource) ImportState added in v1.0.0

func (*PostgresBranchResource) Metadata added in v1.0.0

func (*PostgresBranchResource) Read added in v1.0.0

func (*PostgresBranchResource) Schema added in v1.0.0

func (*PostgresBranchResource) Update added in v1.0.0

type PostgresBranchResourceModel added in v1.0.0

type PostgresBranchResourceModel struct {
	Actor              *tfTypes.GetPostgresBranchActor      `tfsdk:"actor"`
	BackupID           types.String                         `tfsdk:"backup_id"`
	ChangeRequestID    types.String                         `tfsdk:"-"`
	ChangeRequestState types.String                         `tfsdk:"-"`
	ClusterSize        types.String                         `tfsdk:"cluster_size"`
	Database           types.String                         `tfsdk:"database"`
	HTMLURL            types.String                         `tfsdk:"html_url"`
	ID                 types.String                         `tfsdk:"id"`
	MajorVersion       types.String                         `tfsdk:"major_version"`
	Name               types.String                         `tfsdk:"name"`
	Organization       types.String                         `tfsdk:"organization"`
	ParentBranch       types.String                         `tfsdk:"parent_branch"`
	Ready              types.Bool                           `tfsdk:"ready"`
	Region             types.String                         `tfsdk:"region"`
	RegionData         *tfTypes.GetPostgresBranchRegionData `tfsdk:"region_data"`
	Replicas           types.Int64                          `tfsdk:"replicas"`
	RestorePoint       types.String                         `tfsdk:"restore_point"`
	State              types.String                         `tfsdk:"state"`
	URL                types.String                         `tfsdk:"url"`
}

PostgresBranchResourceModel describes the resource data model.

func (*PostgresBranchResourceModel) RefreshFromOperationsCreatePostgresBranchResponseBody added in v1.0.0

func (r *PostgresBranchResourceModel) RefreshFromOperationsCreatePostgresBranchResponseBody(ctx context.Context, resp *operations.CreatePostgresBranchResponseBody) diag.Diagnostics

func (*PostgresBranchResourceModel) RefreshFromOperationsGetBranchChangeRequestResponseBody added in v1.0.0

func (r *PostgresBranchResourceModel) RefreshFromOperationsGetBranchChangeRequestResponseBody(ctx context.Context, resp *operations.GetBranchChangeRequestResponseBody) diag.Diagnostics

func (*PostgresBranchResourceModel) RefreshFromOperationsGetPostgresBranchResponseBody added in v1.0.0

func (r *PostgresBranchResourceModel) RefreshFromOperationsGetPostgresBranchResponseBody(ctx context.Context, resp *operations.GetPostgresBranchResponseBody) diag.Diagnostics

func (*PostgresBranchResourceModel) RefreshFromOperationsUpdateBranchChangeRequestResponseBody added in v1.0.0

func (r *PostgresBranchResourceModel) RefreshFromOperationsUpdateBranchChangeRequestResponseBody(ctx context.Context, resp *operations.UpdateBranchChangeRequestResponseBody) diag.Diagnostics

func (*PostgresBranchResourceModel) RefreshFromOperationsUpdatePostgresBranchResponseBody added in v1.0.0

func (r *PostgresBranchResourceModel) RefreshFromOperationsUpdatePostgresBranchResponseBody(ctx context.Context, resp *operations.UpdatePostgresBranchResponseBody) diag.Diagnostics

func (*PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequest(ctx context.Context) (*operations.CreatePostgresBranchRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequestBody added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequestBody(ctx context.Context) (*operations.CreatePostgresBranchRequestBody, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsDeletePostgresBranchRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsDeletePostgresBranchRequest(ctx context.Context) (*operations.DeletePostgresBranchRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsGetBranchChangeRequestRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsGetBranchChangeRequestRequest(ctx context.Context) (*operations.GetBranchChangeRequestRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsGetPostgresBranchRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsGetPostgresBranchRequest(ctx context.Context) (*operations.GetPostgresBranchRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsUpdateBranchChangeRequestRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsUpdateBranchChangeRequestRequest(ctx context.Context) (*operations.UpdateBranchChangeRequestRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsUpdateBranchChangeRequestRequestBody added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsUpdateBranchChangeRequestRequestBody(ctx context.Context) (*operations.UpdateBranchChangeRequestRequestBody, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequest added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequest(ctx context.Context) (*operations.UpdatePostgresBranchRequest, diag.Diagnostics)

func (*PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequestBody added in v1.0.0

func (r *PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequestBody(ctx context.Context) (*operations.UpdatePostgresBranchRequestBody, diag.Diagnostics)

type PostgresBranchRoleDataSource added in v1.0.0

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

PostgresBranchRoleDataSource is the data source implementation.

func (*PostgresBranchRoleDataSource) Configure added in v1.0.0

func (*PostgresBranchRoleDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*PostgresBranchRoleDataSource) Read added in v1.0.0

func (*PostgresBranchRoleDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type PostgresBranchRoleDataSourceModel added in v1.0.0

type PostgresBranchRoleDataSourceModel struct {
	AccessHostURL                types.String                        `tfsdk:"access_host_url"`
	ActorData                    *tfTypes.GetRoleActorData           `tfsdk:"actor_data"`
	Branch                       types.String                        `tfsdk:"branch"`
	BranchData                   *tfTypes.GetRoleBranchData          `tfsdk:"branch_data"`
	CreatedAt                    types.String                        `tfsdk:"created_at"`
	Database                     types.String                        `tfsdk:"database"`
	DatabaseName                 types.String                        `tfsdk:"database_name"`
	Default                      types.Bool                          `tfsdk:"default"`
	DeletedAt                    types.String                        `tfsdk:"deleted_at"`
	DisabledAt                   types.String                        `tfsdk:"disabled_at"`
	DropFailed                   types.String                        `tfsdk:"drop_failed"`
	DroppedAt                    types.String                        `tfsdk:"dropped_at"`
	Expired                      types.Bool                          `tfsdk:"expired"`
	ExpiresAt                    types.String                        `tfsdk:"expires_at"`
	ID                           types.String                        `tfsdk:"id"`
	InheritedRoles               []types.String                      `tfsdk:"inherited_roles"`
	Name                         types.String                        `tfsdk:"name"`
	Organization                 types.String                        `tfsdk:"organization"`
	PrivateAccessHostURL         types.String                        `tfsdk:"private_access_host_url"`
	PrivateConnectionServiceName types.String                        `tfsdk:"private_connection_service_name"`
	QuerySafetySettings          *tfTypes.GetRoleQuerySafetySettings `tfsdk:"query_safety_settings"`
	TTL                          types.Int64                         `tfsdk:"ttl"`
	UpdatedAt                    types.String                        `tfsdk:"updated_at"`
	Username                     types.String                        `tfsdk:"username"`
}

PostgresBranchRoleDataSourceModel describes the data model.

func (*PostgresBranchRoleDataSourceModel) RefreshFromOperationsGetRoleResponseBody added in v1.0.0

func (r *PostgresBranchRoleDataSourceModel) RefreshFromOperationsGetRoleResponseBody(ctx context.Context, resp *operations.GetRoleResponseBody) diag.Diagnostics

func (*PostgresBranchRoleDataSourceModel) ToOperationsGetRoleRequest added in v1.0.0

type PostgresBranchRoleResource added in v1.0.0

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

PostgresBranchRoleResource defines the resource implementation.

func (*PostgresBranchRoleResource) Configure added in v1.0.0

func (*PostgresBranchRoleResource) Create added in v1.0.0

func (*PostgresBranchRoleResource) Delete added in v1.0.0

func (*PostgresBranchRoleResource) ImportState added in v1.0.0

func (*PostgresBranchRoleResource) Metadata added in v1.0.0

func (*PostgresBranchRoleResource) Read added in v1.0.0

func (*PostgresBranchRoleResource) Schema added in v1.0.0

func (*PostgresBranchRoleResource) Update added in v1.0.0

type PostgresBranchRoleResourceModel added in v1.0.0

type PostgresBranchRoleResourceModel struct {
	AccessHostURL                types.String                        `tfsdk:"access_host_url"`
	ActorData                    *tfTypes.GetRoleActorData           `tfsdk:"actor_data"`
	Branch                       types.String                        `tfsdk:"branch"`
	BranchData                   *tfTypes.GetRoleBranchData          `tfsdk:"branch_data"`
	CreatedAt                    types.String                        `tfsdk:"created_at"`
	Database                     types.String                        `tfsdk:"database"`
	DatabaseName                 types.String                        `tfsdk:"database_name"`
	Default                      types.Bool                          `tfsdk:"default"`
	DeletedAt                    types.String                        `tfsdk:"deleted_at"`
	DisabledAt                   types.String                        `tfsdk:"disabled_at"`
	DropFailed                   types.String                        `tfsdk:"drop_failed"`
	DroppedAt                    types.String                        `tfsdk:"dropped_at"`
	Expired                      types.Bool                          `tfsdk:"expired"`
	ExpiresAt                    types.String                        `tfsdk:"expires_at"`
	ID                           types.String                        `tfsdk:"id"`
	InheritedRoles               []types.String                      `tfsdk:"inherited_roles"`
	Name                         types.String                        `tfsdk:"name"`
	Organization                 types.String                        `tfsdk:"organization"`
	Password                     types.String                        `tfsdk:"password"`
	PrivateAccessHostURL         types.String                        `tfsdk:"private_access_host_url"`
	PrivateConnectionServiceName types.String                        `tfsdk:"private_connection_service_name"`
	QuerySafetySettings          *tfTypes.GetRoleQuerySafetySettings `tfsdk:"query_safety_settings"`
	Successor                    types.String                        `tfsdk:"successor"`
	TTL                          types.Int64                         `tfsdk:"ttl"`
	UpdatedAt                    types.String                        `tfsdk:"updated_at"`
	Username                     types.String                        `tfsdk:"username"`
}

PostgresBranchRoleResourceModel describes the resource data model.

func (*PostgresBranchRoleResourceModel) RefreshFromOperationsCreateRoleResponseBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsCreateRoleResponseBody(ctx context.Context, resp *operations.CreateRoleResponseBody) diag.Diagnostics

func (*PostgresBranchRoleResourceModel) RefreshFromOperationsGetRoleResponseBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsGetRoleResponseBody(ctx context.Context, resp *operations.GetRoleResponseBody) diag.Diagnostics

func (*PostgresBranchRoleResourceModel) RefreshFromOperationsUpdateRoleResponseBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsUpdateRoleResponseBody(ctx context.Context, resp *operations.UpdateRoleResponseBody) diag.Diagnostics

func (*PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequest added in v1.0.0

func (*PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequestBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequestBody(ctx context.Context) (*operations.CreateRoleRequestBody, diag.Diagnostics)

func (*PostgresBranchRoleResourceModel) ToOperationsDeleteRoleRequest added in v1.0.0

func (*PostgresBranchRoleResourceModel) ToOperationsDeleteRoleRequestBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) ToOperationsDeleteRoleRequestBody(ctx context.Context) (*operations.DeleteRoleRequestBody, diag.Diagnostics)

func (*PostgresBranchRoleResourceModel) ToOperationsGetRoleRequest added in v1.0.0

func (*PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequest added in v1.0.0

func (*PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequestBody added in v1.0.0

func (r *PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequestBody(ctx context.Context) (*operations.UpdateRoleRequestBody, diag.Diagnostics)

type PostgresBranchRolesDataSource added in v1.0.0

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

PostgresBranchRolesDataSource is the data source implementation.

func (*PostgresBranchRolesDataSource) Configure added in v1.0.0

func (*PostgresBranchRolesDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*PostgresBranchRolesDataSource) Read added in v1.0.0

func (*PostgresBranchRolesDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type PostgresBranchRolesDataSourceModel added in v1.0.0

type PostgresBranchRolesDataSourceModel struct {
	Branch       types.String            `tfsdk:"branch"`
	Data         []tfTypes.ListRolesData `tfsdk:"data"`
	Database     types.String            `tfsdk:"database"`
	Organization types.String            `tfsdk:"organization"`
}

PostgresBranchRolesDataSourceModel describes the data model.

func (*PostgresBranchRolesDataSourceModel) RefreshFromOperationsListRolesResponseBody added in v1.0.0

func (r *PostgresBranchRolesDataSourceModel) RefreshFromOperationsListRolesResponseBody(ctx context.Context, resp *operations.ListRolesResponseBody) diag.Diagnostics

func (*PostgresBranchRolesDataSourceModel) ToOperationsListRolesRequest added in v1.0.0

type ProviderHTTPTransportOpts added in v1.0.0

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 VitessBranchDataSource added in v1.0.0

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

VitessBranchDataSource is the data source implementation.

func (*VitessBranchDataSource) Configure added in v1.0.0

func (*VitessBranchDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*VitessBranchDataSource) Read added in v1.0.0

func (*VitessBranchDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type VitessBranchDataSourceModel added in v1.0.0

type VitessBranchDataSourceModel struct {
	Actor            *tfTypes.GetVitessBranchActor      `tfsdk:"actor"`
	ClusterSize      types.String                       `tfsdk:"cluster_size"`
	Database         types.String                       `tfsdk:"database"`
	HTMLURL          types.String                       `tfsdk:"html_url"`
	ID               types.String                       `tfsdk:"id"`
	MysqlAddress     types.String                       `tfsdk:"mysql_address"`
	MysqlEdgeAddress types.String                       `tfsdk:"mysql_edge_address"`
	Name             types.String                       `tfsdk:"name"`
	Organization     types.String                       `tfsdk:"organization"`
	ParentBranch     types.String                       `tfsdk:"parent_branch"`
	Ready            types.Bool                         `tfsdk:"ready"`
	RegionData       *tfTypes.GetVitessBranchRegionData `tfsdk:"region_data"`
	State            types.String                       `tfsdk:"state"`
	URL              types.String                       `tfsdk:"url"`
}

VitessBranchDataSourceModel describes the data model.

func (*VitessBranchDataSourceModel) RefreshFromOperationsGetVitessBranchResponseBody added in v1.0.0

func (r *VitessBranchDataSourceModel) RefreshFromOperationsGetVitessBranchResponseBody(ctx context.Context, resp *operations.GetVitessBranchResponseBody) diag.Diagnostics

func (*VitessBranchDataSourceModel) ToOperationsGetVitessBranchRequest added in v1.0.0

func (r *VitessBranchDataSourceModel) ToOperationsGetVitessBranchRequest(ctx context.Context) (*operations.GetVitessBranchRequest, diag.Diagnostics)

type VitessBranchPasswordDataSource added in v1.0.0

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

VitessBranchPasswordDataSource is the data source implementation.

func (*VitessBranchPasswordDataSource) Configure added in v1.0.0

func (*VitessBranchPasswordDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*VitessBranchPasswordDataSource) Read added in v1.0.0

func (*VitessBranchPasswordDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type VitessBranchPasswordDataSourceModel added in v1.0.0

type VitessBranchPasswordDataSourceModel struct {
	AccessHostRegionalURL  types.String                       `tfsdk:"access_host_regional_url"`
	AccessHostRegionalUrls []types.String                     `tfsdk:"access_host_regional_urls"`
	AccessHostURL          types.String                       `tfsdk:"access_host_url"`
	Actor                  *tfTypes.GetPasswordActor          `tfsdk:"actor"`
	Branch                 types.String                       `tfsdk:"branch"`
	Cidrs                  []types.String                     `tfsdk:"cidrs"`
	CreatedAt              types.String                       `tfsdk:"created_at"`
	Database               types.String                       `tfsdk:"database"`
	DatabaseBranch         *tfTypes.GetPasswordDatabaseBranch `tfsdk:"database_branch"`
	DeletedAt              types.String                       `tfsdk:"deleted_at"`
	DirectVtgate           types.Bool                         `tfsdk:"direct_vtgate"`
	DirectVtgateAddresses  []types.String                     `tfsdk:"direct_vtgate_addresses"`
	Expired                types.Bool                         `tfsdk:"expired"`
	ExpiresAt              types.String                       `tfsdk:"expires_at"`
	ID                     types.String                       `tfsdk:"id"`
	LastUsedAt             types.String                       `tfsdk:"last_used_at"`
	Name                   types.String                       `tfsdk:"name"`
	Organization           types.String                       `tfsdk:"organization"`
	Region                 *tfTypes.GetPasswordRegion         `tfsdk:"region"`
	Renewable              types.Bool                         `tfsdk:"renewable"`
	Replica                types.Bool                         `tfsdk:"replica"`
	Role                   types.String                       `tfsdk:"role"`
	TTLSeconds             types.Int64                        `tfsdk:"ttl_seconds"`
	Username               types.String                       `tfsdk:"username"`
}

VitessBranchPasswordDataSourceModel describes the data model.

func (*VitessBranchPasswordDataSourceModel) RefreshFromOperationsGetPasswordResponseBody added in v1.0.0

func (r *VitessBranchPasswordDataSourceModel) RefreshFromOperationsGetPasswordResponseBody(ctx context.Context, resp *operations.GetPasswordResponseBody) diag.Diagnostics

func (*VitessBranchPasswordDataSourceModel) ToOperationsGetPasswordRequest added in v1.0.0

type VitessBranchPasswordResource added in v1.0.0

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

VitessBranchPasswordResource defines the resource implementation.

func (*VitessBranchPasswordResource) Configure added in v1.0.0

func (*VitessBranchPasswordResource) Create added in v1.0.0

func (*VitessBranchPasswordResource) Delete added in v1.0.0

func (*VitessBranchPasswordResource) ImportState added in v1.0.0

func (*VitessBranchPasswordResource) Metadata added in v1.0.0

func (*VitessBranchPasswordResource) Read added in v1.0.0

func (*VitessBranchPasswordResource) Schema added in v1.0.0

func (*VitessBranchPasswordResource) Update added in v1.0.0

type VitessBranchPasswordResourceModel added in v1.0.0

type VitessBranchPasswordResourceModel struct {
	AccessHostRegionalURL  types.String                       `tfsdk:"access_host_regional_url"`
	AccessHostRegionalUrls []types.String                     `tfsdk:"access_host_regional_urls"`
	AccessHostURL          types.String                       `tfsdk:"access_host_url"`
	Actor                  *tfTypes.GetPasswordActor          `tfsdk:"actor"`
	Branch                 types.String                       `tfsdk:"branch"`
	Cidrs                  []types.String                     `tfsdk:"cidrs"`
	CreatedAt              types.String                       `tfsdk:"created_at"`
	Database               types.String                       `tfsdk:"database"`
	DatabaseBranch         *tfTypes.GetPasswordDatabaseBranch `tfsdk:"database_branch"`
	DeletedAt              types.String                       `tfsdk:"deleted_at"`
	DirectVtgate           types.Bool                         `tfsdk:"direct_vtgate"`
	DirectVtgateAddresses  []types.String                     `tfsdk:"direct_vtgate_addresses"`
	Expired                types.Bool                         `tfsdk:"expired"`
	ExpiresAt              types.String                       `tfsdk:"expires_at"`
	ID                     types.String                       `tfsdk:"id"`
	LastUsedAt             types.String                       `tfsdk:"last_used_at"`
	Name                   types.String                       `tfsdk:"name"`
	Organization           types.String                       `tfsdk:"organization"`
	PlainText              types.String                       `tfsdk:"plain_text"`
	Region                 *tfTypes.GetPasswordRegion         `tfsdk:"region"`
	Renewable              types.Bool                         `tfsdk:"renewable"`
	Replica                types.Bool                         `tfsdk:"replica"`
	Role                   types.String                       `tfsdk:"role"`
	TTL                    types.Int64                        `tfsdk:"ttl"`
	TTLSeconds             types.Int64                        `tfsdk:"ttl_seconds"`
	Username               types.String                       `tfsdk:"username"`
}

VitessBranchPasswordResourceModel describes the resource data model.

func (*VitessBranchPasswordResourceModel) RefreshFromOperationsCreatePasswordResponseBody added in v1.0.0

func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsCreatePasswordResponseBody(ctx context.Context, resp *operations.CreatePasswordResponseBody) diag.Diagnostics

func (*VitessBranchPasswordResourceModel) RefreshFromOperationsGetPasswordResponseBody added in v1.0.0

func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsGetPasswordResponseBody(ctx context.Context, resp *operations.GetPasswordResponseBody) diag.Diagnostics

func (*VitessBranchPasswordResourceModel) RefreshFromOperationsUpdatePasswordResponseBody added in v1.0.0

func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsUpdatePasswordResponseBody(ctx context.Context, resp *operations.UpdatePasswordResponseBody) diag.Diagnostics

func (*VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequest added in v1.0.0

func (*VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequestBody added in v1.0.0

func (r *VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequestBody(ctx context.Context) (*operations.CreatePasswordRequestBody, diag.Diagnostics)

func (*VitessBranchPasswordResourceModel) ToOperationsDeletePasswordRequest added in v1.0.0

func (*VitessBranchPasswordResourceModel) ToOperationsGetPasswordRequest added in v1.0.0

func (*VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequest added in v1.0.0

func (*VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequestBody added in v1.0.0

func (r *VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequestBody(ctx context.Context) (*operations.UpdatePasswordRequestBody, diag.Diagnostics)

type VitessBranchPasswordsDataSource added in v1.0.0

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

VitessBranchPasswordsDataSource is the data source implementation.

func (*VitessBranchPasswordsDataSource) Configure added in v1.0.0

func (*VitessBranchPasswordsDataSource) Metadata added in v1.0.0

Metadata returns the data source type name.

func (*VitessBranchPasswordsDataSource) Read added in v1.0.0

func (*VitessBranchPasswordsDataSource) Schema added in v1.0.0

Schema defines the schema for the data source.

type VitessBranchPasswordsDataSourceModel added in v1.0.0

type VitessBranchPasswordsDataSourceModel struct {
	Branch           types.String                `tfsdk:"branch"`
	Data             []tfTypes.ListPasswordsData `tfsdk:"data"`
	Database         types.String                `tfsdk:"database"`
	Organization     types.String                `tfsdk:"organization"`
	ReadOnlyRegionID types.String                `queryParam:"style=form,explode=true,name=read_only_region_id" tfsdk:"read_only_region_id"`
}

VitessBranchPasswordsDataSourceModel describes the data model.

func (*VitessBranchPasswordsDataSourceModel) RefreshFromOperationsListPasswordsResponseBody added in v1.0.0

func (r *VitessBranchPasswordsDataSourceModel) RefreshFromOperationsListPasswordsResponseBody(ctx context.Context, resp *operations.ListPasswordsResponseBody) diag.Diagnostics

func (*VitessBranchPasswordsDataSourceModel) ToOperationsListPasswordsRequest added in v1.0.0

type VitessBranchResource added in v1.0.0

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

VitessBranchResource defines the resource implementation.

func (*VitessBranchResource) Configure added in v1.0.0

func (*VitessBranchResource) Create added in v1.0.0

func (*VitessBranchResource) Delete added in v1.0.0

func (*VitessBranchResource) ImportState added in v1.0.0

func (*VitessBranchResource) Metadata added in v1.0.0

func (*VitessBranchResource) Read added in v1.0.0

func (*VitessBranchResource) Schema added in v1.0.0

func (*VitessBranchResource) Update added in v1.0.0

type VitessBranchResourceModel added in v1.0.0

type VitessBranchResourceModel struct {
	Actor            *tfTypes.GetVitessBranchActor      `tfsdk:"actor"`
	BackupID         types.String                       `tfsdk:"backup_id"`
	ClusterSize      types.String                       `tfsdk:"cluster_size"`
	Database         types.String                       `tfsdk:"database"`
	HTMLURL          types.String                       `tfsdk:"html_url"`
	ID               types.String                       `tfsdk:"id"`
	MysqlAddress     types.String                       `tfsdk:"mysql_address"`
	MysqlEdgeAddress types.String                       `tfsdk:"mysql_edge_address"`
	Name             types.String                       `tfsdk:"name"`
	Organization     types.String                       `tfsdk:"organization"`
	ParentBranch     types.String                       `tfsdk:"parent_branch"`
	Ready            types.Bool                         `tfsdk:"ready"`
	Region           types.String                       `tfsdk:"region"`
	RegionData       *tfTypes.GetVitessBranchRegionData `tfsdk:"region_data"`
	SeedData         types.String                       `tfsdk:"seed_data"`
	State            types.String                       `tfsdk:"state"`
	URL              types.String                       `tfsdk:"url"`
}

VitessBranchResourceModel describes the resource data model.

func (*VitessBranchResourceModel) RefreshFromOperationsCreateVitessBranchResponseBody added in v1.0.0

func (r *VitessBranchResourceModel) RefreshFromOperationsCreateVitessBranchResponseBody(ctx context.Context, resp *operations.CreateVitessBranchResponseBody) diag.Diagnostics

func (*VitessBranchResourceModel) RefreshFromOperationsGetVitessBranchResponseBody added in v1.0.0

func (r *VitessBranchResourceModel) RefreshFromOperationsGetVitessBranchResponseBody(ctx context.Context, resp *operations.GetVitessBranchResponseBody) diag.Diagnostics

func (*VitessBranchResourceModel) RefreshFromOperationsUpdateVitessBranchResponseBody added in v1.0.0

func (r *VitessBranchResourceModel) RefreshFromOperationsUpdateVitessBranchResponseBody(ctx context.Context, resp *operations.UpdateVitessBranchResponseBody) diag.Diagnostics

func (*VitessBranchResourceModel) ToOperationsCreateVitessBranchRequest added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsCreateVitessBranchRequest(ctx context.Context) (*operations.CreateVitessBranchRequest, diag.Diagnostics)

func (*VitessBranchResourceModel) ToOperationsCreateVitessBranchRequestBody added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsCreateVitessBranchRequestBody(ctx context.Context) (*operations.CreateVitessBranchRequestBody, diag.Diagnostics)

func (*VitessBranchResourceModel) ToOperationsDeleteVitessBranchRequest added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsDeleteVitessBranchRequest(ctx context.Context) (*operations.DeleteVitessBranchRequest, diag.Diagnostics)

func (*VitessBranchResourceModel) ToOperationsGetVitessBranchRequest added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsGetVitessBranchRequest(ctx context.Context) (*operations.GetVitessBranchRequest, diag.Diagnostics)

func (*VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequest added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequest(ctx context.Context) (*operations.UpdateVitessBranchRequest, diag.Diagnostics)

func (*VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequestBody added in v1.0.0

func (r *VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequestBody(ctx context.Context) (*operations.UpdateVitessBranchRequestBody, diag.Diagnostics)

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