Documentation
¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewDatabasePostgresDataSource() datasource.DataSource
- func NewDatabaseVitessDataSource() datasource.DataSource
- func NewDatabasesDataSource() datasource.DataSource
- func NewOrganizationDataSource() datasource.DataSource
- func NewOrganizationsDataSource() datasource.DataSource
- func NewPostgresBackupPoliciesDataSource() datasource.DataSource
- func NewPostgresBackupPolicyDataSource() datasource.DataSource
- func NewPostgresBackupPolicyResource() resource.Resource
- func NewPostgresBranchBackupDataSource() datasource.DataSource
- func NewPostgresBranchBackupResource() resource.Resource
- func NewPostgresBranchBackupsDataSource() datasource.DataSource
- func NewPostgresBranchDataSource() datasource.DataSource
- func NewPostgresBranchResource() resource.Resource
- func NewPostgresBranchRoleDataSource() datasource.DataSource
- func NewPostgresBranchRoleResource() resource.Resource
- func NewPostgresBranchRolesDataSource() datasource.DataSource
- func NewPostgresRedactedBranchRoleDataSource() datasource.DataSource
- func NewPostgresRedactedBranchRoleResource() resource.Resource
- func NewProviderHTTPTransport(opts ProviderHTTPTransportOpts) *providerHttpTransport
- func NewVitessBackupPoliciesDataSource() datasource.DataSource
- func NewVitessBackupPolicyDataSource() datasource.DataSource
- func NewVitessBackupPolicyResource() resource.Resource
- func NewVitessBranchBackupDataSource() datasource.DataSource
- func NewVitessBranchBackupResource() resource.Resource
- func NewVitessBranchBackupsDataSource() datasource.DataSource
- func NewVitessBranchDataSource() datasource.DataSource
- func NewVitessBranchPasswordDataSource() datasource.DataSource
- func NewVitessBranchPasswordResource() resource.Resource
- func NewVitessBranchPasswordsDataSource() datasource.DataSource
- func NewVitessBranchResource() resource.Resource
- type DatabasePostgresDataSource
- func (r *DatabasePostgresDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *DatabasePostgresDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *DatabasePostgresDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *DatabasePostgresDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatabasePostgresDataSourceModel
- func (r *DatabasePostgresDataSourceModel) RefreshFromOperationsGetPostgresDatabaseResponseBody(ctx context.Context, resp *operations.GetPostgresDatabaseResponseBody) diag.Diagnostics
- func (r *DatabasePostgresDataSourceModel) ToOperationsGetPostgresDatabaseRequest(ctx context.Context) (*operations.GetPostgresDatabaseRequest, diag.Diagnostics)
- type DatabaseVitessDataSource
- func (r *DatabaseVitessDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *DatabaseVitessDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *DatabaseVitessDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *DatabaseVitessDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatabaseVitessDataSourceModel
- func (r *DatabaseVitessDataSourceModel) RefreshFromOperationsGetVitessDatabaseResponseBody(ctx context.Context, resp *operations.GetVitessDatabaseResponseBody) diag.Diagnostics
- func (r *DatabaseVitessDataSourceModel) ToOperationsGetVitessDatabaseRequest(ctx context.Context) (*operations.GetVitessDatabaseRequest, diag.Diagnostics)
- type DatabasesDataSource
- func (r *DatabasesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *DatabasesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *DatabasesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *DatabasesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatabasesDataSourceModel
- func (r *DatabasesDataSourceModel) RefreshFromOperationsListDatabasesResponseBody(ctx context.Context, resp *operations.ListDatabasesResponseBody) diag.Diagnostics
- func (r *DatabasesDataSourceModel) ToOperationsListDatabasesRequest(ctx context.Context) (*operations.ListDatabasesRequest, diag.Diagnostics)
- type OrganizationDataSource
- func (r *OrganizationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *OrganizationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *OrganizationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *OrganizationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OrganizationDataSourceModel
- func (r *OrganizationDataSourceModel) RefreshFromOperationsGetOrganizationResponseBody(ctx context.Context, resp *operations.GetOrganizationResponseBody) diag.Diagnostics
- func (r *OrganizationDataSourceModel) ToOperationsGetOrganizationRequest(ctx context.Context) (*operations.GetOrganizationRequest, diag.Diagnostics)
- type OrganizationsDataSource
- func (r *OrganizationsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *OrganizationsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *OrganizationsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *OrganizationsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OrganizationsDataSourceModel
- func (r *OrganizationsDataSourceModel) RefreshFromOperationsListOrganizationsResponseBody(ctx context.Context, resp *operations.ListOrganizationsResponseBody) diag.Diagnostics
- func (r *OrganizationsDataSourceModel) ToOperationsListOrganizationsRequest(ctx context.Context) (*operations.ListOrganizationsRequest, diag.Diagnostics)
- type PlanetscaleProvider
- func (p *PlanetscaleProvider) Actions(_ context.Context) []func() action.Action
- func (p *PlanetscaleProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PlanetscaleProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PlanetscaleProvider) EphemeralResources(ctx context.Context) []func() ephemeral.EphemeralResource
- func (p *PlanetscaleProvider) Functions(_ context.Context) []func() function.Function
- func (p *PlanetscaleProvider) ListResources(ctx context.Context) []func() list.ListResource
- func (p *PlanetscaleProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PlanetscaleProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PlanetscaleProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PlanetscaleProviderModel
- type PostgresBackupPoliciesDataSource
- func (r *PostgresBackupPoliciesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBackupPoliciesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBackupPoliciesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBackupPoliciesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBackupPoliciesDataSourceModel
- func (r *PostgresBackupPoliciesDataSourceModel) RefreshFromOperationsListPostgresBackupPoliciesResponseBody(ctx context.Context, resp *operations.ListPostgresBackupPoliciesResponseBody) diag.Diagnostics
- func (r *PostgresBackupPoliciesDataSourceModel) ToOperationsListPostgresBackupPoliciesRequest(ctx context.Context) (*operations.ListPostgresBackupPoliciesRequest, diag.Diagnostics)
- type PostgresBackupPolicyDataSource
- func (r *PostgresBackupPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBackupPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBackupPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBackupPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBackupPolicyDataSourceModel
- func (r *PostgresBackupPolicyDataSourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.GetPostgresBackupPolicyResponseBody) diag.Diagnostics
- func (r *PostgresBackupPolicyDataSourceModel) ToOperationsGetPostgresBackupPolicyRequest(ctx context.Context) (*operations.GetPostgresBackupPolicyRequest, diag.Diagnostics)
- type PostgresBackupPolicyResource
- func (r *PostgresBackupPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PostgresBackupPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PostgresBackupPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PostgresBackupPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PostgresBackupPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PostgresBackupPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PostgresBackupPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PostgresBackupPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PostgresBackupPolicyResourceModel
- func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsCreatePostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.CreatePostgresBackupPolicyResponseBody) diag.Diagnostics
- func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.GetPostgresBackupPolicyResponseBody) diag.Diagnostics
- func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsUpdatePostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.UpdatePostgresBackupPolicyResponseBody) diag.Diagnostics
- func (r *PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequest(ctx context.Context) (*operations.CreatePostgresBackupPolicyRequest, diag.Diagnostics)
- func (r *PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequestBody(ctx context.Context) (*operations.CreatePostgresBackupPolicyRequestBody, diag.Diagnostics)
- func (r *PostgresBackupPolicyResourceModel) ToOperationsDeletePostgresBackupPolicyRequest(ctx context.Context) (*operations.DeletePostgresBackupPolicyRequest, diag.Diagnostics)
- func (r *PostgresBackupPolicyResourceModel) ToOperationsGetPostgresBackupPolicyRequest(ctx context.Context) (*operations.GetPostgresBackupPolicyRequest, diag.Diagnostics)
- func (r *PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequest(ctx context.Context) (*operations.UpdatePostgresBackupPolicyRequest, diag.Diagnostics)
- func (r *PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequestBody(ctx context.Context) (*operations.UpdatePostgresBackupPolicyRequestBody, diag.Diagnostics)
- type PostgresBranchBackupDataSource
- func (r *PostgresBranchBackupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBranchBackupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBranchBackupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBranchBackupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBranchBackupDataSourceModel
- func (r *PostgresBranchBackupDataSourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody(ctx context.Context, resp *operations.GetPostgresBranchBackupResponseBody) diag.Diagnostics
- func (r *PostgresBranchBackupDataSourceModel) ToOperationsGetPostgresBranchBackupRequest(ctx context.Context) (*operations.GetPostgresBranchBackupRequest, diag.Diagnostics)
- type PostgresBranchBackupResource
- func (r *PostgresBranchBackupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PostgresBranchBackupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PostgresBranchBackupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PostgresBranchBackupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PostgresBranchBackupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PostgresBranchBackupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PostgresBranchBackupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PostgresBranchBackupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PostgresBranchBackupResourceModel
- func (r *PostgresBranchBackupResourceModel) RefreshFromOperationsCreatePostgresBranchBackupResponseBody(ctx context.Context, resp *operations.CreatePostgresBranchBackupResponseBody) diag.Diagnostics
- func (r *PostgresBranchBackupResourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody(ctx context.Context, resp *operations.GetPostgresBranchBackupResponseBody) diag.Diagnostics
- func (r *PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequest(ctx context.Context) (*operations.CreatePostgresBranchBackupRequest, diag.Diagnostics)
- func (r *PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequestBody(ctx context.Context) (*operations.CreatePostgresBranchBackupRequestBody, diag.Diagnostics)
- func (r *PostgresBranchBackupResourceModel) ToOperationsDeletePostgresBranchBackupRequest(ctx context.Context) (*operations.DeletePostgresBranchBackupRequest, diag.Diagnostics)
- func (r *PostgresBranchBackupResourceModel) ToOperationsGetPostgresBranchBackupRequest(ctx context.Context) (*operations.GetPostgresBranchBackupRequest, diag.Diagnostics)
- type PostgresBranchBackupsDataSource
- func (r *PostgresBranchBackupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBranchBackupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBranchBackupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBranchBackupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBranchBackupsDataSourceModel
- func (r *PostgresBranchBackupsDataSourceModel) RefreshFromOperationsListPostgresBranchBackupsResponseBody(ctx context.Context, resp *operations.ListPostgresBranchBackupsResponseBody) diag.Diagnostics
- func (r *PostgresBranchBackupsDataSourceModel) ToOperationsListPostgresBranchBackupsRequest(ctx context.Context) (*operations.ListPostgresBranchBackupsRequest, diag.Diagnostics)
- type PostgresBranchDataSource
- func (r *PostgresBranchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBranchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBranchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBranchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBranchDataSourceModel
- func (r *PostgresBranchDataSourceModel) RefreshFromOperationsGetPostgresBranchResponseBody(ctx context.Context, resp *operations.GetPostgresBranchResponseBody) diag.Diagnostics
- func (r *PostgresBranchDataSourceModel) ToOperationsGetPostgresBranchRequest(ctx context.Context) (*operations.GetPostgresBranchRequest, diag.Diagnostics)
- type PostgresBranchResource
- func (r *PostgresBranchResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PostgresBranchResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PostgresBranchResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PostgresBranchResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PostgresBranchResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PostgresBranchResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PostgresBranchResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PostgresBranchResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PostgresBranchResourceModel
- func (r *PostgresBranchResourceModel) RefreshFromOperationsApplyPostgresBranchTerraformChangesResponseBody(ctx context.Context, ...) diag.Diagnostics
- func (r *PostgresBranchResourceModel) RefreshFromOperationsCreatePostgresBranchResponseBody(ctx context.Context, resp *operations.CreatePostgresBranchResponseBody) diag.Diagnostics
- func (r *PostgresBranchResourceModel) RefreshFromOperationsGetBranchChangeRequestResponseBody(ctx context.Context, resp *operations.GetBranchChangeRequestResponseBody) diag.Diagnostics
- func (r *PostgresBranchResourceModel) RefreshFromOperationsGetPostgresBranchResponseBody(ctx context.Context, resp *operations.GetPostgresBranchResponseBody) diag.Diagnostics
- func (r *PostgresBranchResourceModel) RefreshFromOperationsUpdatePostgresBranchResponseBody(ctx context.Context, resp *operations.UpdatePostgresBranchResponseBody) diag.Diagnostics
- func (r *PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequest(ctx context.Context) (*operations.ApplyPostgresBranchTerraformChangesRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequestBody(ctx context.Context) (*operations.ApplyPostgresBranchTerraformChangesRequestBody, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequest(ctx context.Context) (*operations.CreatePostgresBranchRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsCreatePostgresBranchRequestBody(ctx context.Context) (*operations.CreatePostgresBranchRequestBody, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsDeletePostgresBranchRequest(ctx context.Context) (*operations.DeletePostgresBranchRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsGetBranchChangeRequestRequest(ctx context.Context) (*operations.GetBranchChangeRequestRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsGetPostgresBranchRequest(ctx context.Context) (*operations.GetPostgresBranchRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequest(ctx context.Context) (*operations.UpdatePostgresBranchRequest, diag.Diagnostics)
- func (r *PostgresBranchResourceModel) ToOperationsUpdatePostgresBranchRequestBody(ctx context.Context) (*operations.UpdatePostgresBranchRequestBody, diag.Diagnostics)
- type PostgresBranchRoleDataSource
- func (r *PostgresBranchRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBranchRoleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBranchRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBranchRoleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBranchRoleDataSourceModel
- type PostgresBranchRoleResource
- func (r *PostgresBranchRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PostgresBranchRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PostgresBranchRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PostgresBranchRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PostgresBranchRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PostgresBranchRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PostgresBranchRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PostgresBranchRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PostgresBranchRoleResourceModel
- func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsCreateRoleResponseBody(ctx context.Context, resp *operations.CreateRoleResponseBody) diag.Diagnostics
- func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsGetRoleResponseBody(ctx context.Context, resp *operations.GetRoleResponseBody) diag.Diagnostics
- func (r *PostgresBranchRoleResourceModel) RefreshFromOperationsUpdateRoleResponseBody(ctx context.Context, resp *operations.UpdateRoleResponseBody) diag.Diagnostics
- func (r *PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequest(ctx context.Context) (*operations.CreateRoleRequest, diag.Diagnostics)
- func (r *PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequestBody(ctx context.Context) (*operations.CreateRoleRequestBody, diag.Diagnostics)
- func (r *PostgresBranchRoleResourceModel) ToOperationsDeleteRoleRequest(ctx context.Context) (*operations.DeleteRoleRequest, diag.Diagnostics)
- func (r *PostgresBranchRoleResourceModel) ToOperationsGetRoleRequest(ctx context.Context) (*operations.GetRoleRequest, diag.Diagnostics)
- func (r *PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequest(ctx context.Context) (*operations.UpdateRoleRequest, diag.Diagnostics)
- func (r *PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequestBody(ctx context.Context) (*operations.UpdateRoleRequestBody, diag.Diagnostics)
- type PostgresBranchRolesDataSource
- func (r *PostgresBranchRolesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresBranchRolesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresBranchRolesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresBranchRolesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresBranchRolesDataSourceModel
- func (r *PostgresBranchRolesDataSourceModel) RefreshFromOperationsListRolesResponseBody(ctx context.Context, resp *operations.ListRolesResponseBody) diag.Diagnostics
- func (r *PostgresBranchRolesDataSourceModel) ToOperationsListRolesRequest(ctx context.Context) (*operations.ListRolesRequest, diag.Diagnostics)
- type PostgresRedactedBranchRoleDataSource
- func (r *PostgresRedactedBranchRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *PostgresRedactedBranchRoleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *PostgresRedactedBranchRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *PostgresRedactedBranchRoleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PostgresRedactedBranchRoleDataSourceModel
- func (r *PostgresRedactedBranchRoleDataSourceModel) RefreshFromOperationsGetRedactedRoleResponseBody(ctx context.Context, resp *operations.GetRedactedRoleResponseBody) diag.Diagnostics
- func (r *PostgresRedactedBranchRoleDataSourceModel) ToOperationsGetRedactedRoleRequest(ctx context.Context) (*operations.GetRedactedRoleRequest, diag.Diagnostics)
- type PostgresRedactedBranchRoleResource
- func (r *PostgresRedactedBranchRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PostgresRedactedBranchRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PostgresRedactedBranchRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PostgresRedactedBranchRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PostgresRedactedBranchRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PostgresRedactedBranchRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PostgresRedactedBranchRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PostgresRedactedBranchRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PostgresRedactedBranchRoleResourceModel
- func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsCreateRedactedRoleResponseBody(ctx context.Context, resp *operations.CreateRedactedRoleResponseBody) diag.Diagnostics
- func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsGetRedactedRoleResponseBody(ctx context.Context, resp *operations.GetRedactedRoleResponseBody) diag.Diagnostics
- func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsUpdateRedactedRoleResponseBody(ctx context.Context, resp *operations.UpdateRedactedRoleResponseBody) diag.Diagnostics
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequest(ctx context.Context) (*operations.CreateRedactedRoleRequest, diag.Diagnostics)
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequestBody(ctx context.Context) (*operations.CreateRedactedRoleRequestBody, diag.Diagnostics)
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsDeleteRedactedRoleRequest(ctx context.Context) (*operations.DeleteRedactedRoleRequest, diag.Diagnostics)
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsGetRedactedRoleRequest(ctx context.Context) (*operations.GetRedactedRoleRequest, diag.Diagnostics)
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequest(ctx context.Context) (*operations.UpdateRedactedRoleRequest, diag.Diagnostics)
- func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequestBody(ctx context.Context) (*operations.UpdateRedactedRoleRequestBody, diag.Diagnostics)
- type ProviderHTTPTransportOpts
- type VitessBackupPoliciesDataSource
- func (r *VitessBackupPoliciesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBackupPoliciesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBackupPoliciesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBackupPoliciesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBackupPoliciesDataSourceModel
- func (r *VitessBackupPoliciesDataSourceModel) RefreshFromOperationsListVitessBackupPoliciesResponseBody(ctx context.Context, resp *operations.ListVitessBackupPoliciesResponseBody) diag.Diagnostics
- func (r *VitessBackupPoliciesDataSourceModel) ToOperationsListVitessBackupPoliciesRequest(ctx context.Context) (*operations.ListVitessBackupPoliciesRequest, diag.Diagnostics)
- type VitessBackupPolicyDataSource
- func (r *VitessBackupPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBackupPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBackupPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBackupPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBackupPolicyDataSourceModel
- func (r *VitessBackupPolicyDataSourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.GetVitessBackupPolicyResponseBody) diag.Diagnostics
- func (r *VitessBackupPolicyDataSourceModel) ToOperationsGetVitessBackupPolicyRequest(ctx context.Context) (*operations.GetVitessBackupPolicyRequest, diag.Diagnostics)
- type VitessBackupPolicyResource
- func (r *VitessBackupPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VitessBackupPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VitessBackupPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VitessBackupPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VitessBackupPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VitessBackupPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VitessBackupPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VitessBackupPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VitessBackupPolicyResourceModel
- func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsCreateVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.CreateVitessBackupPolicyResponseBody) diag.Diagnostics
- func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.GetVitessBackupPolicyResponseBody) diag.Diagnostics
- func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsUpdateVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.UpdateVitessBackupPolicyResponseBody) diag.Diagnostics
- func (r *VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequest(ctx context.Context) (*operations.CreateVitessBackupPolicyRequest, diag.Diagnostics)
- func (r *VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequestBody(ctx context.Context) (*operations.CreateVitessBackupPolicyRequestBody, diag.Diagnostics)
- func (r *VitessBackupPolicyResourceModel) ToOperationsDeleteVitessBackupPolicyRequest(ctx context.Context) (*operations.DeleteVitessBackupPolicyRequest, diag.Diagnostics)
- func (r *VitessBackupPolicyResourceModel) ToOperationsGetVitessBackupPolicyRequest(ctx context.Context) (*operations.GetVitessBackupPolicyRequest, diag.Diagnostics)
- func (r *VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequest(ctx context.Context) (*operations.UpdateVitessBackupPolicyRequest, diag.Diagnostics)
- func (r *VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequestBody(ctx context.Context) (*operations.UpdateVitessBackupPolicyRequestBody, diag.Diagnostics)
- type VitessBranchBackupDataSource
- func (r *VitessBranchBackupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBranchBackupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBranchBackupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBranchBackupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBranchBackupDataSourceModel
- func (r *VitessBranchBackupDataSourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody(ctx context.Context, resp *operations.GetVitessBranchBackupResponseBody) diag.Diagnostics
- func (r *VitessBranchBackupDataSourceModel) ToOperationsGetVitessBranchBackupRequest(ctx context.Context) (*operations.GetVitessBranchBackupRequest, diag.Diagnostics)
- type VitessBranchBackupResource
- func (r *VitessBranchBackupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VitessBranchBackupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VitessBranchBackupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VitessBranchBackupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VitessBranchBackupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VitessBranchBackupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VitessBranchBackupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VitessBranchBackupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VitessBranchBackupResourceModel
- func (r *VitessBranchBackupResourceModel) RefreshFromOperationsCreateVitessBranchBackupResponseBody(ctx context.Context, resp *operations.CreateVitessBranchBackupResponseBody) diag.Diagnostics
- func (r *VitessBranchBackupResourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody(ctx context.Context, resp *operations.GetVitessBranchBackupResponseBody) diag.Diagnostics
- func (r *VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequest(ctx context.Context) (*operations.CreateVitessBranchBackupRequest, diag.Diagnostics)
- func (r *VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequestBody(ctx context.Context) (*operations.CreateVitessBranchBackupRequestBody, diag.Diagnostics)
- func (r *VitessBranchBackupResourceModel) ToOperationsDeleteVitessBranchBackupRequest(ctx context.Context) (*operations.DeleteVitessBranchBackupRequest, diag.Diagnostics)
- func (r *VitessBranchBackupResourceModel) ToOperationsGetVitessBranchBackupRequest(ctx context.Context) (*operations.GetVitessBranchBackupRequest, diag.Diagnostics)
- type VitessBranchBackupsDataSource
- func (r *VitessBranchBackupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBranchBackupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBranchBackupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBranchBackupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBranchBackupsDataSourceModel
- func (r *VitessBranchBackupsDataSourceModel) RefreshFromOperationsListVitessBranchBackupsResponseBody(ctx context.Context, resp *operations.ListVitessBranchBackupsResponseBody) diag.Diagnostics
- func (r *VitessBranchBackupsDataSourceModel) ToOperationsListVitessBranchBackupsRequest(ctx context.Context) (*operations.ListVitessBranchBackupsRequest, diag.Diagnostics)
- type VitessBranchDataSource
- func (r *VitessBranchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBranchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBranchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBranchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBranchDataSourceModel
- func (r *VitessBranchDataSourceModel) RefreshFromOperationsGetVitessBranchResponseBody(ctx context.Context, resp *operations.GetVitessBranchResponseBody) diag.Diagnostics
- func (r *VitessBranchDataSourceModel) ToOperationsGetVitessBranchRequest(ctx context.Context) (*operations.GetVitessBranchRequest, diag.Diagnostics)
- type VitessBranchPasswordDataSource
- func (r *VitessBranchPasswordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBranchPasswordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBranchPasswordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBranchPasswordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBranchPasswordDataSourceModel
- func (r *VitessBranchPasswordDataSourceModel) RefreshFromOperationsGetPasswordResponseBody(ctx context.Context, resp *operations.GetPasswordResponseBody) diag.Diagnostics
- func (r *VitessBranchPasswordDataSourceModel) ToOperationsGetPasswordRequest(ctx context.Context) (*operations.GetPasswordRequest, diag.Diagnostics)
- type VitessBranchPasswordResource
- func (r *VitessBranchPasswordResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VitessBranchPasswordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VitessBranchPasswordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VitessBranchPasswordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VitessBranchPasswordResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VitessBranchPasswordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VitessBranchPasswordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VitessBranchPasswordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VitessBranchPasswordResourceModel
- func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsCreatePasswordResponseBody(ctx context.Context, resp *operations.CreatePasswordResponseBody) diag.Diagnostics
- func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsGetPasswordResponseBody(ctx context.Context, resp *operations.GetPasswordResponseBody) diag.Diagnostics
- func (r *VitessBranchPasswordResourceModel) RefreshFromOperationsUpdatePasswordResponseBody(ctx context.Context, resp *operations.UpdatePasswordResponseBody) diag.Diagnostics
- func (r *VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequest(ctx context.Context) (*operations.CreatePasswordRequest, diag.Diagnostics)
- func (r *VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequestBody(ctx context.Context) (*operations.CreatePasswordRequestBody, diag.Diagnostics)
- func (r *VitessBranchPasswordResourceModel) ToOperationsDeletePasswordRequest(ctx context.Context) (*operations.DeletePasswordRequest, diag.Diagnostics)
- func (r *VitessBranchPasswordResourceModel) ToOperationsGetPasswordRequest(ctx context.Context) (*operations.GetPasswordRequest, diag.Diagnostics)
- func (r *VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequest(ctx context.Context) (*operations.UpdatePasswordRequest, diag.Diagnostics)
- func (r *VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequestBody(ctx context.Context) (*operations.UpdatePasswordRequestBody, diag.Diagnostics)
- type VitessBranchPasswordsDataSource
- func (r *VitessBranchPasswordsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *VitessBranchPasswordsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *VitessBranchPasswordsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *VitessBranchPasswordsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VitessBranchPasswordsDataSourceModel
- func (r *VitessBranchPasswordsDataSourceModel) RefreshFromOperationsListPasswordsResponseBody(ctx context.Context, resp *operations.ListPasswordsResponseBody) diag.Diagnostics
- func (r *VitessBranchPasswordsDataSourceModel) ToOperationsListPasswordsRequest(ctx context.Context) (*operations.ListPasswordsRequest, diag.Diagnostics)
- type VitessBranchResource
- func (r *VitessBranchResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VitessBranchResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VitessBranchResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VitessBranchResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VitessBranchResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VitessBranchResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VitessBranchResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VitessBranchResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VitessBranchResourceModel
- func (r *VitessBranchResourceModel) RefreshFromOperationsCreateVitessBranchResponseBody(ctx context.Context, resp *operations.CreateVitessBranchResponseBody) diag.Diagnostics
- func (r *VitessBranchResourceModel) RefreshFromOperationsGetVitessBranchResponseBody(ctx context.Context, resp *operations.GetVitessBranchResponseBody) diag.Diagnostics
- func (r *VitessBranchResourceModel) RefreshFromOperationsUpdateVitessBranchResponseBody(ctx context.Context, resp *operations.UpdateVitessBranchResponseBody) diag.Diagnostics
- func (r *VitessBranchResourceModel) ToOperationsCreateVitessBranchRequest(ctx context.Context) (*operations.CreateVitessBranchRequest, diag.Diagnostics)
- func (r *VitessBranchResourceModel) ToOperationsCreateVitessBranchRequestBody(ctx context.Context) (*operations.CreateVitessBranchRequestBody, diag.Diagnostics)
- func (r *VitessBranchResourceModel) ToOperationsDeleteVitessBranchRequest(ctx context.Context) (*operations.DeleteVitessBranchRequest, diag.Diagnostics)
- func (r *VitessBranchResourceModel) ToOperationsGetVitessBranchRequest(ctx context.Context) (*operations.GetVitessBranchRequest, diag.Diagnostics)
- func (r *VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequest(ctx context.Context) (*operations.UpdateVitessBranchRequest, diag.Diagnostics)
- func (r *VitessBranchResourceModel) ToOperationsUpdateVitessBranchRequestBody(ctx context.Context) (*operations.UpdateVitessBranchRequestBody, diag.Diagnostics)
Constants ¶
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 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 NewPostgresBackupPoliciesDataSource ¶ added in v1.2.0
func NewPostgresBackupPoliciesDataSource() datasource.DataSource
func NewPostgresBackupPolicyDataSource ¶ added in v1.2.0
func NewPostgresBackupPolicyDataSource() datasource.DataSource
func NewPostgresBackupPolicyResource ¶ added in v1.2.0
func NewPostgresBranchBackupDataSource ¶ added in v1.2.0
func NewPostgresBranchBackupDataSource() datasource.DataSource
func NewPostgresBranchBackupResource ¶ added in v1.2.0
func NewPostgresBranchBackupsDataSource ¶ added in v1.2.0
func NewPostgresBranchBackupsDataSource() datasource.DataSource
func NewPostgresBranchDataSource ¶ added in v1.0.0
func NewPostgresBranchDataSource() datasource.DataSource
func NewPostgresBranchResource ¶ added in v1.0.0
func NewPostgresBranchRoleDataSource ¶ added in v1.0.0
func NewPostgresBranchRoleDataSource() datasource.DataSource
func NewPostgresBranchRoleResource ¶ added in v1.0.0
func NewPostgresBranchRolesDataSource ¶ added in v1.0.0
func NewPostgresBranchRolesDataSource() datasource.DataSource
func NewPostgresRedactedBranchRoleDataSource ¶ added in v1.3.0
func NewPostgresRedactedBranchRoleDataSource() datasource.DataSource
func NewPostgresRedactedBranchRoleResource ¶ added in v1.3.0
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 NewVitessBackupPoliciesDataSource ¶ added in v1.2.0
func NewVitessBackupPoliciesDataSource() datasource.DataSource
func NewVitessBackupPolicyDataSource ¶ added in v1.2.0
func NewVitessBackupPolicyDataSource() datasource.DataSource
func NewVitessBackupPolicyResource ¶ added in v1.2.0
func NewVitessBranchBackupDataSource ¶ added in v1.2.0
func NewVitessBranchBackupDataSource() datasource.DataSource
func NewVitessBranchBackupResource ¶ added in v1.2.0
func NewVitessBranchBackupsDataSource ¶ added in v1.2.0
func NewVitessBranchBackupsDataSource() datasource.DataSource
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 NewVitessBranchPasswordsDataSource ¶ added in v1.0.0
func NewVitessBranchPasswordsDataSource() datasource.DataSource
func NewVitessBranchResource ¶ added in v1.0.0
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 (r *DatabasePostgresDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatabasePostgresDataSource) Metadata ¶ added in v1.0.0
func (r *DatabasePostgresDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*DatabasePostgresDataSource) Read ¶ added in v1.0.0
func (r *DatabasePostgresDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatabasePostgresDataSource) Schema ¶ added in v1.0.0
func (r *DatabasePostgresDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *DatabaseVitessDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatabaseVitessDataSource) Metadata ¶ added in v1.0.0
func (r *DatabaseVitessDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*DatabaseVitessDataSource) Read ¶ added in v1.0.0
func (r *DatabaseVitessDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatabaseVitessDataSource) Schema ¶ added in v1.0.0
func (r *DatabaseVitessDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *DatabasesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatabasesDataSource) Metadata ¶ added in v1.0.0
func (r *DatabasesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*DatabasesDataSource) Read ¶ added in v1.0.0
func (r *DatabasesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatabasesDataSource) Schema ¶ added in v1.0.0
func (r *DatabasesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"`
Type types.String `tfsdk:"type"`
}
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 (r *OrganizationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OrganizationDataSource) Metadata ¶ added in v1.0.0
func (r *OrganizationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*OrganizationDataSource) Read ¶ added in v1.0.0
func (r *OrganizationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OrganizationDataSource) Schema ¶ added in v1.0.0
func (r *OrganizationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *OrganizationsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OrganizationsDataSource) Metadata ¶ added in v1.0.0
func (r *OrganizationsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*OrganizationsDataSource) Read ¶ added in v1.0.0
func (r *OrganizationsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OrganizationsDataSource) Schema ¶ added in v1.0.0
func (r *OrganizationsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type OrganizationsDataSourceModel ¶ added in v1.0.0
type OrganizationsDataSourceModel struct {
Data []tfTypes.ListOrganizationsData `tfsdk:"data"`
Type types.String `tfsdk:"type"`
}
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 (p *PlanetscaleProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
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 (p *PlanetscaleProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
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
func (p *PlanetscaleProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
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 PostgresBackupPoliciesDataSource ¶ added in v1.2.0
type PostgresBackupPoliciesDataSource struct {
// contains filtered or unexported fields
}
PostgresBackupPoliciesDataSource is the data source implementation.
func (*PostgresBackupPoliciesDataSource) Configure ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBackupPoliciesDataSource) Metadata ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBackupPoliciesDataSource) Read ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBackupPoliciesDataSource) Schema ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type PostgresBackupPoliciesDataSourceModel ¶ added in v1.2.0
type PostgresBackupPoliciesDataSourceModel struct {
Data []tfTypes.ListPostgresBackupPoliciesData `tfsdk:"data"`
Database types.String `tfsdk:"database"`
Organization types.String `tfsdk:"organization"`
}
PostgresBackupPoliciesDataSourceModel describes the data model.
func (*PostgresBackupPoliciesDataSourceModel) RefreshFromOperationsListPostgresBackupPoliciesResponseBody ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSourceModel) RefreshFromOperationsListPostgresBackupPoliciesResponseBody(ctx context.Context, resp *operations.ListPostgresBackupPoliciesResponseBody) diag.Diagnostics
func (*PostgresBackupPoliciesDataSourceModel) ToOperationsListPostgresBackupPoliciesRequest ¶ added in v1.2.0
func (r *PostgresBackupPoliciesDataSourceModel) ToOperationsListPostgresBackupPoliciesRequest(ctx context.Context) (*operations.ListPostgresBackupPoliciesRequest, diag.Diagnostics)
type PostgresBackupPolicyDataSource ¶ added in v1.2.0
type PostgresBackupPolicyDataSource struct {
// contains filtered or unexported fields
}
PostgresBackupPolicyDataSource is the data source implementation.
func (*PostgresBackupPolicyDataSource) Configure ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBackupPolicyDataSource) Metadata ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBackupPolicyDataSource) Read ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBackupPolicyDataSource) Schema ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type PostgresBackupPolicyDataSourceModel ¶ added in v1.2.0
type PostgresBackupPolicyDataSourceModel struct {
Database types.String `tfsdk:"database"`
DisplayName types.String `tfsdk:"display_name"`
FrequencyUnit types.String `tfsdk:"frequency_unit"`
FrequencyValue types.Int64 `tfsdk:"frequency_value"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
ScheduleDay types.Int64 `tfsdk:"schedule_day"`
ScheduleTime types.String `tfsdk:"schedule_time"`
ScheduleWeek types.Int64 `tfsdk:"schedule_week"`
Target types.String `tfsdk:"target"`
}
PostgresBackupPolicyDataSourceModel describes the data model.
func (*PostgresBackupPolicyDataSourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.GetPostgresBackupPolicyResponseBody) diag.Diagnostics
func (*PostgresBackupPolicyDataSourceModel) ToOperationsGetPostgresBackupPolicyRequest ¶ added in v1.2.0
func (r *PostgresBackupPolicyDataSourceModel) ToOperationsGetPostgresBackupPolicyRequest(ctx context.Context) (*operations.GetPostgresBackupPolicyRequest, diag.Diagnostics)
type PostgresBackupPolicyResource ¶ added in v1.2.0
type PostgresBackupPolicyResource struct {
// contains filtered or unexported fields
}
PostgresBackupPolicyResource defines the resource implementation.
func (*PostgresBackupPolicyResource) Configure ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PostgresBackupPolicyResource) Create ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PostgresBackupPolicyResource) Delete ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PostgresBackupPolicyResource) ImportState ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PostgresBackupPolicyResource) Metadata ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PostgresBackupPolicyResource) Read ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PostgresBackupPolicyResource) Schema ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PostgresBackupPolicyResource) Update ¶ added in v1.2.0
func (r *PostgresBackupPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PostgresBackupPolicyResourceModel ¶ added in v1.2.0
type PostgresBackupPolicyResourceModel struct {
Database types.String `tfsdk:"database"`
DisplayName types.String `tfsdk:"display_name"`
FrequencyUnit types.String `tfsdk:"frequency_unit"`
FrequencyValue types.Int64 `tfsdk:"frequency_value"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
ScheduleDay types.Int64 `tfsdk:"schedule_day"`
ScheduleTime types.String `tfsdk:"schedule_time"`
ScheduleWeek types.Int64 `tfsdk:"schedule_week"`
Target types.String `tfsdk:"target"`
}
PostgresBackupPolicyResourceModel describes the resource data model.
func (*PostgresBackupPolicyResourceModel) RefreshFromOperationsCreatePostgresBackupPolicyResponseBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsCreatePostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.CreatePostgresBackupPolicyResponseBody) diag.Diagnostics
func (*PostgresBackupPolicyResourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsGetPostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.GetPostgresBackupPolicyResponseBody) diag.Diagnostics
func (*PostgresBackupPolicyResourceModel) RefreshFromOperationsUpdatePostgresBackupPolicyResponseBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) RefreshFromOperationsUpdatePostgresBackupPolicyResponseBody(ctx context.Context, resp *operations.UpdatePostgresBackupPolicyResponseBody) diag.Diagnostics
func (*PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequest ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequest(ctx context.Context) (*operations.CreatePostgresBackupPolicyRequest, diag.Diagnostics)
func (*PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequestBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsCreatePostgresBackupPolicyRequestBody(ctx context.Context) (*operations.CreatePostgresBackupPolicyRequestBody, diag.Diagnostics)
func (*PostgresBackupPolicyResourceModel) ToOperationsDeletePostgresBackupPolicyRequest ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsDeletePostgresBackupPolicyRequest(ctx context.Context) (*operations.DeletePostgresBackupPolicyRequest, diag.Diagnostics)
func (*PostgresBackupPolicyResourceModel) ToOperationsGetPostgresBackupPolicyRequest ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsGetPostgresBackupPolicyRequest(ctx context.Context) (*operations.GetPostgresBackupPolicyRequest, diag.Diagnostics)
func (*PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequest ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequest(ctx context.Context) (*operations.UpdatePostgresBackupPolicyRequest, diag.Diagnostics)
func (*PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequestBody ¶ added in v1.2.0
func (r *PostgresBackupPolicyResourceModel) ToOperationsUpdatePostgresBackupPolicyRequestBody(ctx context.Context) (*operations.UpdatePostgresBackupPolicyRequestBody, diag.Diagnostics)
type PostgresBranchBackupDataSource ¶ added in v1.2.0
type PostgresBranchBackupDataSource struct {
// contains filtered or unexported fields
}
PostgresBranchBackupDataSource is the data source implementation.
func (*PostgresBranchBackupDataSource) Configure ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBranchBackupDataSource) Metadata ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBranchBackupDataSource) Read ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBranchBackupDataSource) Schema ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type PostgresBranchBackupDataSourceModel ¶ added in v1.2.0
type PostgresBranchBackupDataSourceModel struct {
Actor *tfTypes.GetPostgresBranchBackupActor `tfsdk:"actor"`
BackupPolicy *tfTypes.GetPostgresBranchBackupBackupPolicy `tfsdk:"backup_policy"`
Branch types.String `tfsdk:"branch"`
CompletedAt types.String `tfsdk:"completed_at"`
Database types.String `tfsdk:"database"`
DatabaseBranch *tfTypes.GetPostgresBranchBackupDatabaseBranch `tfsdk:"database_branch"`
DeletedAt types.String `tfsdk:"deleted_at"`
EstimatedStorageCost types.Float64 `tfsdk:"estimated_storage_cost"`
ExpiresAt types.String `tfsdk:"expires_at"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
Protected types.Bool `tfsdk:"protected"`
PvcSize types.Int64 `tfsdk:"pvc_size"`
Size types.Int64 `tfsdk:"size"`
StartedAt types.String `tfsdk:"started_at"`
State types.String `tfsdk:"state"`
}
PostgresBranchBackupDataSourceModel describes the data model.
func (*PostgresBranchBackupDataSourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody(ctx context.Context, resp *operations.GetPostgresBranchBackupResponseBody) diag.Diagnostics
func (*PostgresBranchBackupDataSourceModel) ToOperationsGetPostgresBranchBackupRequest ¶ added in v1.2.0
func (r *PostgresBranchBackupDataSourceModel) ToOperationsGetPostgresBranchBackupRequest(ctx context.Context) (*operations.GetPostgresBranchBackupRequest, diag.Diagnostics)
type PostgresBranchBackupResource ¶ added in v1.2.0
type PostgresBranchBackupResource struct {
// contains filtered or unexported fields
}
PostgresBranchBackupResource defines the resource implementation.
func (*PostgresBranchBackupResource) Configure ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PostgresBranchBackupResource) Create ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PostgresBranchBackupResource) Delete ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PostgresBranchBackupResource) ImportState ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PostgresBranchBackupResource) Metadata ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PostgresBranchBackupResource) Read ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PostgresBranchBackupResource) Schema ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PostgresBranchBackupResource) Update ¶ added in v1.2.0
func (r *PostgresBranchBackupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PostgresBranchBackupResourceModel ¶ added in v1.2.0
type PostgresBranchBackupResourceModel struct {
Actor *tfTypes.GetPostgresBranchBackupActor `tfsdk:"actor"`
BackupPolicy *tfTypes.GetPostgresBranchBackupBackupPolicy `tfsdk:"backup_policy"`
Branch types.String `tfsdk:"branch"`
CompletedAt types.String `tfsdk:"completed_at"`
Database types.String `tfsdk:"database"`
DatabaseBranch *tfTypes.GetPostgresBranchBackupDatabaseBranch `tfsdk:"database_branch"`
DeletedAt types.String `tfsdk:"deleted_at"`
Emergency types.Bool `tfsdk:"emergency"`
EstimatedStorageCost types.Float64 `tfsdk:"estimated_storage_cost"`
ExpiresAt types.String `tfsdk:"expires_at"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
Protected types.Bool `tfsdk:"protected"`
PvcSize types.Int64 `tfsdk:"pvc_size"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
Size types.Int64 `tfsdk:"size"`
StartedAt types.String `tfsdk:"started_at"`
State types.String `tfsdk:"state"`
}
PostgresBranchBackupResourceModel describes the resource data model.
func (*PostgresBranchBackupResourceModel) RefreshFromOperationsCreatePostgresBranchBackupResponseBody ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) RefreshFromOperationsCreatePostgresBranchBackupResponseBody(ctx context.Context, resp *operations.CreatePostgresBranchBackupResponseBody) diag.Diagnostics
func (*PostgresBranchBackupResourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) RefreshFromOperationsGetPostgresBranchBackupResponseBody(ctx context.Context, resp *operations.GetPostgresBranchBackupResponseBody) diag.Diagnostics
func (*PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequest ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequest(ctx context.Context) (*operations.CreatePostgresBranchBackupRequest, diag.Diagnostics)
func (*PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequestBody ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) ToOperationsCreatePostgresBranchBackupRequestBody(ctx context.Context) (*operations.CreatePostgresBranchBackupRequestBody, diag.Diagnostics)
func (*PostgresBranchBackupResourceModel) ToOperationsDeletePostgresBranchBackupRequest ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) ToOperationsDeletePostgresBranchBackupRequest(ctx context.Context) (*operations.DeletePostgresBranchBackupRequest, diag.Diagnostics)
func (*PostgresBranchBackupResourceModel) ToOperationsGetPostgresBranchBackupRequest ¶ added in v1.2.0
func (r *PostgresBranchBackupResourceModel) ToOperationsGetPostgresBranchBackupRequest(ctx context.Context) (*operations.GetPostgresBranchBackupRequest, diag.Diagnostics)
type PostgresBranchBackupsDataSource ¶ added in v1.2.0
type PostgresBranchBackupsDataSource struct {
// contains filtered or unexported fields
}
PostgresBranchBackupsDataSource is the data source implementation.
func (*PostgresBranchBackupsDataSource) Configure ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBranchBackupsDataSource) Metadata ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBranchBackupsDataSource) Read ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBranchBackupsDataSource) Schema ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type PostgresBranchBackupsDataSourceModel ¶ added in v1.2.0
type PostgresBranchBackupsDataSourceModel struct {
All types.Bool `queryParam:"style=form,explode=true,name=all" tfsdk:"all"`
Branch types.String `tfsdk:"branch"`
Data []tfTypes.ListPostgresBranchBackupsData `tfsdk:"data"`
Database types.String `tfsdk:"database"`
From types.String `queryParam:"style=form,explode=true,name=from" tfsdk:"from"`
Organization types.String `tfsdk:"organization"`
Policy types.String `queryParam:"style=form,explode=true,name=policy" tfsdk:"policy"`
Production types.Bool `queryParam:"style=form,explode=true,name=production" tfsdk:"production"`
RunningAt types.String `queryParam:"style=form,explode=true,name=running_at" tfsdk:"running_at"`
State types.String `queryParam:"style=form,explode=true,name=state" tfsdk:"state"`
To types.String `queryParam:"style=form,explode=true,name=to" tfsdk:"to"`
}
PostgresBranchBackupsDataSourceModel describes the data model.
func (*PostgresBranchBackupsDataSourceModel) RefreshFromOperationsListPostgresBranchBackupsResponseBody ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSourceModel) RefreshFromOperationsListPostgresBranchBackupsResponseBody(ctx context.Context, resp *operations.ListPostgresBranchBackupsResponseBody) diag.Diagnostics
func (*PostgresBranchBackupsDataSourceModel) ToOperationsListPostgresBranchBackupsRequest ¶ added in v1.2.0
func (r *PostgresBranchBackupsDataSourceModel) ToOperationsListPostgresBranchBackupsRequest(ctx context.Context) (*operations.ListPostgresBranchBackupsRequest, diag.Diagnostics)
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 (r *PostgresBranchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBranchDataSource) Metadata ¶ added in v1.0.0
func (r *PostgresBranchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBranchDataSource) Read ¶ added in v1.0.0
func (r *PostgresBranchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBranchDataSource) Schema ¶ added in v1.0.0
func (r *PostgresBranchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"`
Parameters map[string]map[string]types.String `tfsdk:"parameters"`
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 (r *PostgresBranchResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PostgresBranchResource) Create ¶ added in v1.0.0
func (r *PostgresBranchResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PostgresBranchResource) Delete ¶ added in v1.0.0
func (r *PostgresBranchResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PostgresBranchResource) ImportState ¶ added in v1.0.0
func (r *PostgresBranchResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PostgresBranchResource) Metadata ¶ added in v1.0.0
func (r *PostgresBranchResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PostgresBranchResource) Read ¶ added in v1.0.0
func (r *PostgresBranchResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PostgresBranchResource) Schema ¶ added in v1.0.0
func (r *PostgresBranchResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PostgresBranchResource) Update ¶ added in v1.0.0
func (r *PostgresBranchResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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"`
DeleteDescendants types.Bool `queryParam:"style=form,explode=true,name=delete_descendants" tfsdk:"delete_descendants"`
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"`
Parameters map[string]map[string]types.String `tfsdk:"parameters"`
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) RefreshFromOperationsApplyPostgresBranchTerraformChangesResponseBody ¶ added in v1.2.0
func (r *PostgresBranchResourceModel) RefreshFromOperationsApplyPostgresBranchTerraformChangesResponseBody(ctx context.Context, resp *operations.ApplyPostgresBranchTerraformChangesResponseBody) diag.Diagnostics
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) RefreshFromOperationsUpdatePostgresBranchResponseBody ¶ added in v1.0.0
func (r *PostgresBranchResourceModel) RefreshFromOperationsUpdatePostgresBranchResponseBody(ctx context.Context, resp *operations.UpdatePostgresBranchResponseBody) diag.Diagnostics
func (*PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequest ¶ added in v1.2.0
func (r *PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequest(ctx context.Context) (*operations.ApplyPostgresBranchTerraformChangesRequest, diag.Diagnostics)
func (*PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequestBody ¶ added in v1.2.0
func (r *PostgresBranchResourceModel) ToOperationsApplyPostgresBranchTerraformChangesRequestBody(ctx context.Context) (*operations.ApplyPostgresBranchTerraformChangesRequestBody, 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) 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 (r *PostgresBranchRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBranchRoleDataSource) Metadata ¶ added in v1.0.0
func (r *PostgresBranchRoleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBranchRoleDataSource) Read ¶ added in v1.0.0
func (r *PostgresBranchRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBranchRoleDataSource) Schema ¶ added in v1.0.0
func (r *PostgresBranchRoleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"`
BaseUsername types.String `tfsdk:"base_username"`
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
func (r *PostgresBranchRoleDataSourceModel) ToOperationsGetRoleRequest(ctx context.Context) (*operations.GetRoleRequest, diag.Diagnostics)
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 (r *PostgresBranchRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PostgresBranchRoleResource) Create ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PostgresBranchRoleResource) Delete ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PostgresBranchRoleResource) ImportState ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PostgresBranchRoleResource) Metadata ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PostgresBranchRoleResource) Read ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PostgresBranchRoleResource) Schema ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PostgresBranchRoleResource) Update ¶ added in v1.0.0
func (r *PostgresBranchRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PostgresBranchRoleResourceModel ¶ added in v1.0.0
type PostgresBranchRoleResourceModel struct {
AccessHostURL types.String `tfsdk:"access_host_url"`
ActorData *tfTypes.GetRoleActorData `tfsdk:"actor_data"`
BaseUsername types.String `tfsdk:"base_username"`
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 `queryParam:"style=form,explode=true,name=successor" 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 (r *PostgresBranchRoleResourceModel) ToOperationsCreateRoleRequest(ctx context.Context) (*operations.CreateRoleRequest, diag.Diagnostics)
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 (r *PostgresBranchRoleResourceModel) ToOperationsDeleteRoleRequest(ctx context.Context) (*operations.DeleteRoleRequest, diag.Diagnostics)
func (*PostgresBranchRoleResourceModel) ToOperationsGetRoleRequest ¶ added in v1.0.0
func (r *PostgresBranchRoleResourceModel) ToOperationsGetRoleRequest(ctx context.Context) (*operations.GetRoleRequest, diag.Diagnostics)
func (*PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequest ¶ added in v1.0.0
func (r *PostgresBranchRoleResourceModel) ToOperationsUpdateRoleRequest(ctx context.Context) (*operations.UpdateRoleRequest, diag.Diagnostics)
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 (r *PostgresBranchRolesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresBranchRolesDataSource) Metadata ¶ added in v1.0.0
func (r *PostgresBranchRolesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresBranchRolesDataSource) Read ¶ added in v1.0.0
func (r *PostgresBranchRolesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresBranchRolesDataSource) Schema ¶ added in v1.0.0
func (r *PostgresBranchRolesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"`
Q types.String `queryParam:"style=form,explode=true,name=q" tfsdk:"q"`
Status types.String `queryParam:"style=form,explode=true,name=status" tfsdk:"status"`
Type types.String `tfsdk:"type"`
}
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
func (r *PostgresBranchRolesDataSourceModel) ToOperationsListRolesRequest(ctx context.Context) (*operations.ListRolesRequest, diag.Diagnostics)
type PostgresRedactedBranchRoleDataSource ¶ added in v1.3.0
type PostgresRedactedBranchRoleDataSource struct {
// contains filtered or unexported fields
}
PostgresRedactedBranchRoleDataSource is the data source implementation.
func (*PostgresRedactedBranchRoleDataSource) Configure ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PostgresRedactedBranchRoleDataSource) Metadata ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*PostgresRedactedBranchRoleDataSource) Read ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PostgresRedactedBranchRoleDataSource) Schema ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type PostgresRedactedBranchRoleDataSourceModel ¶ added in v1.3.0
type PostgresRedactedBranchRoleDataSourceModel struct {
AccessHostURL types.String `tfsdk:"access_host_url"`
ActorData *tfTypes.GetRedactedRoleActorData `tfsdk:"actor_data"`
BaseUsername types.String `tfsdk:"base_username"`
Branch types.String `tfsdk:"branch"`
BranchData *tfTypes.GetRedactedRoleBranchData `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.GetRedactedRoleQuerySafetySettings `tfsdk:"query_safety_settings"`
TTL types.Int64 `tfsdk:"ttl"`
UpdatedAt types.String `tfsdk:"updated_at"`
Username types.String `tfsdk:"username"`
}
PostgresRedactedBranchRoleDataSourceModel describes the data model.
func (*PostgresRedactedBranchRoleDataSourceModel) RefreshFromOperationsGetRedactedRoleResponseBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSourceModel) RefreshFromOperationsGetRedactedRoleResponseBody(ctx context.Context, resp *operations.GetRedactedRoleResponseBody) diag.Diagnostics
func (*PostgresRedactedBranchRoleDataSourceModel) ToOperationsGetRedactedRoleRequest ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleDataSourceModel) ToOperationsGetRedactedRoleRequest(ctx context.Context) (*operations.GetRedactedRoleRequest, diag.Diagnostics)
type PostgresRedactedBranchRoleResource ¶ added in v1.3.0
type PostgresRedactedBranchRoleResource struct {
// contains filtered or unexported fields
}
PostgresRedactedBranchRoleResource defines the resource implementation.
func (*PostgresRedactedBranchRoleResource) Configure ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PostgresRedactedBranchRoleResource) Create ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PostgresRedactedBranchRoleResource) Delete ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PostgresRedactedBranchRoleResource) ImportState ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PostgresRedactedBranchRoleResource) Metadata ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PostgresRedactedBranchRoleResource) Read ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PostgresRedactedBranchRoleResource) Schema ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PostgresRedactedBranchRoleResource) Update ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PostgresRedactedBranchRoleResourceModel ¶ added in v1.3.0
type PostgresRedactedBranchRoleResourceModel struct {
AccessHostURL types.String `tfsdk:"access_host_url"`
ActorData *tfTypes.GetRedactedRoleActorData `tfsdk:"actor_data"`
BaseUsername types.String `tfsdk:"base_username"`
Branch types.String `tfsdk:"branch"`
BranchData *tfTypes.GetRedactedRoleBranchData `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.GetRedactedRoleQuerySafetySettings `tfsdk:"query_safety_settings"`
Successor types.String `queryParam:"style=form,explode=true,name=successor" tfsdk:"successor"`
TTL types.Int64 `tfsdk:"ttl"`
UpdatedAt types.String `tfsdk:"updated_at"`
Username types.String `tfsdk:"username"`
}
PostgresRedactedBranchRoleResourceModel describes the resource data model.
func (*PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsCreateRedactedRoleResponseBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsCreateRedactedRoleResponseBody(ctx context.Context, resp *operations.CreateRedactedRoleResponseBody) diag.Diagnostics
func (*PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsGetRedactedRoleResponseBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsGetRedactedRoleResponseBody(ctx context.Context, resp *operations.GetRedactedRoleResponseBody) diag.Diagnostics
func (*PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsUpdateRedactedRoleResponseBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) RefreshFromOperationsUpdateRedactedRoleResponseBody(ctx context.Context, resp *operations.UpdateRedactedRoleResponseBody) diag.Diagnostics
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequest ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequest(ctx context.Context) (*operations.CreateRedactedRoleRequest, diag.Diagnostics)
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequestBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsCreateRedactedRoleRequestBody(ctx context.Context) (*operations.CreateRedactedRoleRequestBody, diag.Diagnostics)
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsDeleteRedactedRoleRequest ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsDeleteRedactedRoleRequest(ctx context.Context) (*operations.DeleteRedactedRoleRequest, diag.Diagnostics)
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsGetRedactedRoleRequest ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsGetRedactedRoleRequest(ctx context.Context) (*operations.GetRedactedRoleRequest, diag.Diagnostics)
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequest ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequest(ctx context.Context) (*operations.UpdateRedactedRoleRequest, diag.Diagnostics)
func (*PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequestBody ¶ added in v1.3.0
func (r *PostgresRedactedBranchRoleResourceModel) ToOperationsUpdateRedactedRoleRequestBody(ctx context.Context) (*operations.UpdateRedactedRoleRequestBody, diag.Diagnostics)
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 VitessBackupPoliciesDataSource ¶ added in v1.2.0
type VitessBackupPoliciesDataSource struct {
// contains filtered or unexported fields
}
VitessBackupPoliciesDataSource is the data source implementation.
func (*VitessBackupPoliciesDataSource) Configure ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBackupPoliciesDataSource) Metadata ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBackupPoliciesDataSource) Read ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBackupPoliciesDataSource) Schema ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type VitessBackupPoliciesDataSourceModel ¶ added in v1.2.0
type VitessBackupPoliciesDataSourceModel struct {
Data []tfTypes.ListVitessBackupPoliciesData `tfsdk:"data"`
Database types.String `tfsdk:"database"`
Organization types.String `tfsdk:"organization"`
}
VitessBackupPoliciesDataSourceModel describes the data model.
func (*VitessBackupPoliciesDataSourceModel) RefreshFromOperationsListVitessBackupPoliciesResponseBody ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSourceModel) RefreshFromOperationsListVitessBackupPoliciesResponseBody(ctx context.Context, resp *operations.ListVitessBackupPoliciesResponseBody) diag.Diagnostics
func (*VitessBackupPoliciesDataSourceModel) ToOperationsListVitessBackupPoliciesRequest ¶ added in v1.2.0
func (r *VitessBackupPoliciesDataSourceModel) ToOperationsListVitessBackupPoliciesRequest(ctx context.Context) (*operations.ListVitessBackupPoliciesRequest, diag.Diagnostics)
type VitessBackupPolicyDataSource ¶ added in v1.2.0
type VitessBackupPolicyDataSource struct {
// contains filtered or unexported fields
}
VitessBackupPolicyDataSource is the data source implementation.
func (*VitessBackupPolicyDataSource) Configure ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBackupPolicyDataSource) Metadata ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBackupPolicyDataSource) Read ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBackupPolicyDataSource) Schema ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type VitessBackupPolicyDataSourceModel ¶ added in v1.2.0
type VitessBackupPolicyDataSourceModel struct {
Database types.String `tfsdk:"database"`
DisplayName types.String `tfsdk:"display_name"`
FrequencyUnit types.String `tfsdk:"frequency_unit"`
FrequencyValue types.Int64 `tfsdk:"frequency_value"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
ScheduleDay types.Int64 `tfsdk:"schedule_day"`
ScheduleTime types.String `tfsdk:"schedule_time"`
ScheduleWeek types.Int64 `tfsdk:"schedule_week"`
Target types.String `tfsdk:"target"`
}
VitessBackupPolicyDataSourceModel describes the data model.
func (*VitessBackupPolicyDataSourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.GetVitessBackupPolicyResponseBody) diag.Diagnostics
func (*VitessBackupPolicyDataSourceModel) ToOperationsGetVitessBackupPolicyRequest ¶ added in v1.2.0
func (r *VitessBackupPolicyDataSourceModel) ToOperationsGetVitessBackupPolicyRequest(ctx context.Context) (*operations.GetVitessBackupPolicyRequest, diag.Diagnostics)
type VitessBackupPolicyResource ¶ added in v1.2.0
type VitessBackupPolicyResource struct {
// contains filtered or unexported fields
}
VitessBackupPolicyResource defines the resource implementation.
func (*VitessBackupPolicyResource) Configure ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VitessBackupPolicyResource) Create ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VitessBackupPolicyResource) Delete ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VitessBackupPolicyResource) ImportState ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VitessBackupPolicyResource) Metadata ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VitessBackupPolicyResource) Read ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VitessBackupPolicyResource) Schema ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VitessBackupPolicyResource) Update ¶ added in v1.2.0
func (r *VitessBackupPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VitessBackupPolicyResourceModel ¶ added in v1.2.0
type VitessBackupPolicyResourceModel struct {
Database types.String `tfsdk:"database"`
DisplayName types.String `tfsdk:"display_name"`
FrequencyUnit types.String `tfsdk:"frequency_unit"`
FrequencyValue types.Int64 `tfsdk:"frequency_value"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
ScheduleDay types.Int64 `tfsdk:"schedule_day"`
ScheduleTime types.String `tfsdk:"schedule_time"`
ScheduleWeek types.Int64 `tfsdk:"schedule_week"`
Target types.String `tfsdk:"target"`
}
VitessBackupPolicyResourceModel describes the resource data model.
func (*VitessBackupPolicyResourceModel) RefreshFromOperationsCreateVitessBackupPolicyResponseBody ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsCreateVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.CreateVitessBackupPolicyResponseBody) diag.Diagnostics
func (*VitessBackupPolicyResourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsGetVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.GetVitessBackupPolicyResponseBody) diag.Diagnostics
func (*VitessBackupPolicyResourceModel) RefreshFromOperationsUpdateVitessBackupPolicyResponseBody ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) RefreshFromOperationsUpdateVitessBackupPolicyResponseBody(ctx context.Context, resp *operations.UpdateVitessBackupPolicyResponseBody) diag.Diagnostics
func (*VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequest ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequest(ctx context.Context) (*operations.CreateVitessBackupPolicyRequest, diag.Diagnostics)
func (*VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequestBody ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsCreateVitessBackupPolicyRequestBody(ctx context.Context) (*operations.CreateVitessBackupPolicyRequestBody, diag.Diagnostics)
func (*VitessBackupPolicyResourceModel) ToOperationsDeleteVitessBackupPolicyRequest ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsDeleteVitessBackupPolicyRequest(ctx context.Context) (*operations.DeleteVitessBackupPolicyRequest, diag.Diagnostics)
func (*VitessBackupPolicyResourceModel) ToOperationsGetVitessBackupPolicyRequest ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsGetVitessBackupPolicyRequest(ctx context.Context) (*operations.GetVitessBackupPolicyRequest, diag.Diagnostics)
func (*VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequest ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequest(ctx context.Context) (*operations.UpdateVitessBackupPolicyRequest, diag.Diagnostics)
func (*VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequestBody ¶ added in v1.2.0
func (r *VitessBackupPolicyResourceModel) ToOperationsUpdateVitessBackupPolicyRequestBody(ctx context.Context) (*operations.UpdateVitessBackupPolicyRequestBody, diag.Diagnostics)
type VitessBranchBackupDataSource ¶ added in v1.2.0
type VitessBranchBackupDataSource struct {
// contains filtered or unexported fields
}
VitessBranchBackupDataSource is the data source implementation.
func (*VitessBranchBackupDataSource) Configure ¶ added in v1.2.0
func (r *VitessBranchBackupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBranchBackupDataSource) Metadata ¶ added in v1.2.0
func (r *VitessBranchBackupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBranchBackupDataSource) Read ¶ added in v1.2.0
func (r *VitessBranchBackupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBranchBackupDataSource) Schema ¶ added in v1.2.0
func (r *VitessBranchBackupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type VitessBranchBackupDataSourceModel ¶ added in v1.2.0
type VitessBranchBackupDataSourceModel struct {
Actor *tfTypes.GetVitessBranchBackupActor `tfsdk:"actor"`
BackupPolicy *tfTypes.GetVitessBranchBackupBackupPolicy `tfsdk:"backup_policy"`
Branch types.String `tfsdk:"branch"`
CompletedAt types.String `tfsdk:"completed_at"`
Database types.String `tfsdk:"database"`
DatabaseBranch *tfTypes.GetVitessBranchBackupDatabaseBranch `tfsdk:"database_branch"`
DeletedAt types.String `tfsdk:"deleted_at"`
EstimatedStorageCost types.Float64 `tfsdk:"estimated_storage_cost"`
ExpiresAt types.String `tfsdk:"expires_at"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
Protected types.Bool `tfsdk:"protected"`
PvcSize types.Int64 `tfsdk:"pvc_size"`
Size types.Int64 `tfsdk:"size"`
StartedAt types.String `tfsdk:"started_at"`
State types.String `tfsdk:"state"`
}
VitessBranchBackupDataSourceModel describes the data model.
func (*VitessBranchBackupDataSourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody ¶ added in v1.2.0
func (r *VitessBranchBackupDataSourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody(ctx context.Context, resp *operations.GetVitessBranchBackupResponseBody) diag.Diagnostics
func (*VitessBranchBackupDataSourceModel) ToOperationsGetVitessBranchBackupRequest ¶ added in v1.2.0
func (r *VitessBranchBackupDataSourceModel) ToOperationsGetVitessBranchBackupRequest(ctx context.Context) (*operations.GetVitessBranchBackupRequest, diag.Diagnostics)
type VitessBranchBackupResource ¶ added in v1.2.0
type VitessBranchBackupResource struct {
// contains filtered or unexported fields
}
VitessBranchBackupResource defines the resource implementation.
func (*VitessBranchBackupResource) Configure ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VitessBranchBackupResource) Create ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VitessBranchBackupResource) Delete ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VitessBranchBackupResource) ImportState ¶ added in v1.2.0
func (r *VitessBranchBackupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VitessBranchBackupResource) Metadata ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VitessBranchBackupResource) Read ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VitessBranchBackupResource) Schema ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VitessBranchBackupResource) Update ¶ added in v1.2.0
func (r *VitessBranchBackupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VitessBranchBackupResourceModel ¶ added in v1.2.0
type VitessBranchBackupResourceModel struct {
Actor *tfTypes.GetVitessBranchBackupActor `tfsdk:"actor"`
BackupPolicy *tfTypes.GetVitessBranchBackupBackupPolicy `tfsdk:"backup_policy"`
Branch types.String `tfsdk:"branch"`
CompletedAt types.String `tfsdk:"completed_at"`
Database types.String `tfsdk:"database"`
DatabaseBranch *tfTypes.GetVitessBranchBackupDatabaseBranch `tfsdk:"database_branch"`
DeletedAt types.String `tfsdk:"deleted_at"`
EstimatedStorageCost types.Float64 `tfsdk:"estimated_storage_cost"`
ExpiresAt types.String `tfsdk:"expires_at"`
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Organization types.String `tfsdk:"organization"`
Protected types.Bool `tfsdk:"protected"`
PvcSize types.Int64 `tfsdk:"pvc_size"`
RetentionUnit types.String `tfsdk:"retention_unit"`
RetentionValue types.Int64 `tfsdk:"retention_value"`
Size types.Int64 `tfsdk:"size"`
StartedAt types.String `tfsdk:"started_at"`
State types.String `tfsdk:"state"`
}
VitessBranchBackupResourceModel describes the resource data model.
func (*VitessBranchBackupResourceModel) RefreshFromOperationsCreateVitessBranchBackupResponseBody ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) RefreshFromOperationsCreateVitessBranchBackupResponseBody(ctx context.Context, resp *operations.CreateVitessBranchBackupResponseBody) diag.Diagnostics
func (*VitessBranchBackupResourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) RefreshFromOperationsGetVitessBranchBackupResponseBody(ctx context.Context, resp *operations.GetVitessBranchBackupResponseBody) diag.Diagnostics
func (*VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequest ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequest(ctx context.Context) (*operations.CreateVitessBranchBackupRequest, diag.Diagnostics)
func (*VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequestBody ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) ToOperationsCreateVitessBranchBackupRequestBody(ctx context.Context) (*operations.CreateVitessBranchBackupRequestBody, diag.Diagnostics)
func (*VitessBranchBackupResourceModel) ToOperationsDeleteVitessBranchBackupRequest ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) ToOperationsDeleteVitessBranchBackupRequest(ctx context.Context) (*operations.DeleteVitessBranchBackupRequest, diag.Diagnostics)
func (*VitessBranchBackupResourceModel) ToOperationsGetVitessBranchBackupRequest ¶ added in v1.2.0
func (r *VitessBranchBackupResourceModel) ToOperationsGetVitessBranchBackupRequest(ctx context.Context) (*operations.GetVitessBranchBackupRequest, diag.Diagnostics)
type VitessBranchBackupsDataSource ¶ added in v1.2.0
type VitessBranchBackupsDataSource struct {
// contains filtered or unexported fields
}
VitessBranchBackupsDataSource is the data source implementation.
func (*VitessBranchBackupsDataSource) Configure ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBranchBackupsDataSource) Metadata ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBranchBackupsDataSource) Read ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBranchBackupsDataSource) Schema ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type VitessBranchBackupsDataSourceModel ¶ added in v1.2.0
type VitessBranchBackupsDataSourceModel struct {
All types.Bool `queryParam:"style=form,explode=true,name=all" tfsdk:"all"`
Branch types.String `tfsdk:"branch"`
Data []tfTypes.ListVitessBranchBackupsData `tfsdk:"data"`
Database types.String `tfsdk:"database"`
From types.String `queryParam:"style=form,explode=true,name=from" tfsdk:"from"`
Organization types.String `tfsdk:"organization"`
Policy types.String `queryParam:"style=form,explode=true,name=policy" tfsdk:"policy"`
Production types.Bool `queryParam:"style=form,explode=true,name=production" tfsdk:"production"`
RunningAt types.String `queryParam:"style=form,explode=true,name=running_at" tfsdk:"running_at"`
State types.String `queryParam:"style=form,explode=true,name=state" tfsdk:"state"`
To types.String `queryParam:"style=form,explode=true,name=to" tfsdk:"to"`
}
VitessBranchBackupsDataSourceModel describes the data model.
func (*VitessBranchBackupsDataSourceModel) RefreshFromOperationsListVitessBranchBackupsResponseBody ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSourceModel) RefreshFromOperationsListVitessBranchBackupsResponseBody(ctx context.Context, resp *operations.ListVitessBranchBackupsResponseBody) diag.Diagnostics
func (*VitessBranchBackupsDataSourceModel) ToOperationsListVitessBranchBackupsRequest ¶ added in v1.2.0
func (r *VitessBranchBackupsDataSourceModel) ToOperationsListVitessBranchBackupsRequest(ctx context.Context) (*operations.ListVitessBranchBackupsRequest, diag.Diagnostics)
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 (r *VitessBranchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBranchDataSource) Metadata ¶ added in v1.0.0
func (r *VitessBranchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBranchDataSource) Read ¶ added in v1.0.0
func (r *VitessBranchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBranchDataSource) Schema ¶ added in v1.0.0
func (r *VitessBranchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *VitessBranchPasswordDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBranchPasswordDataSource) Metadata ¶ added in v1.0.0
func (r *VitessBranchPasswordDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBranchPasswordDataSource) Read ¶ added in v1.0.0
func (r *VitessBranchPasswordDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBranchPasswordDataSource) Schema ¶ added in v1.0.0
func (r *VitessBranchPasswordDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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
func (r *VitessBranchPasswordDataSourceModel) ToOperationsGetPasswordRequest(ctx context.Context) (*operations.GetPasswordRequest, diag.Diagnostics)
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 (r *VitessBranchPasswordResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VitessBranchPasswordResource) Create ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VitessBranchPasswordResource) Delete ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VitessBranchPasswordResource) ImportState ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VitessBranchPasswordResource) Metadata ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VitessBranchPasswordResource) Read ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VitessBranchPasswordResource) Schema ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VitessBranchPasswordResource) Update ¶ added in v1.0.0
func (r *VitessBranchPasswordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (r *VitessBranchPasswordResourceModel) ToOperationsCreatePasswordRequest(ctx context.Context) (*operations.CreatePasswordRequest, diag.Diagnostics)
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 (r *VitessBranchPasswordResourceModel) ToOperationsDeletePasswordRequest(ctx context.Context) (*operations.DeletePasswordRequest, diag.Diagnostics)
func (*VitessBranchPasswordResourceModel) ToOperationsGetPasswordRequest ¶ added in v1.0.0
func (r *VitessBranchPasswordResourceModel) ToOperationsGetPasswordRequest(ctx context.Context) (*operations.GetPasswordRequest, diag.Diagnostics)
func (*VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequest ¶ added in v1.0.0
func (r *VitessBranchPasswordResourceModel) ToOperationsUpdatePasswordRequest(ctx context.Context) (*operations.UpdatePasswordRequest, diag.Diagnostics)
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 (r *VitessBranchPasswordsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VitessBranchPasswordsDataSource) Metadata ¶ added in v1.0.0
func (r *VitessBranchPasswordsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VitessBranchPasswordsDataSource) Read ¶ added in v1.0.0
func (r *VitessBranchPasswordsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VitessBranchPasswordsDataSource) Schema ¶ added in v1.0.0
func (r *VitessBranchPasswordsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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"`
Type types.String `tfsdk:"type"`
}
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
func (r *VitessBranchPasswordsDataSourceModel) ToOperationsListPasswordsRequest(ctx context.Context) (*operations.ListPasswordsRequest, diag.Diagnostics)
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 (r *VitessBranchResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VitessBranchResource) Create ¶ added in v1.0.0
func (r *VitessBranchResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VitessBranchResource) Delete ¶ added in v1.0.0
func (r *VitessBranchResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VitessBranchResource) ImportState ¶ added in v1.0.0
func (r *VitessBranchResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VitessBranchResource) Metadata ¶ added in v1.0.0
func (r *VitessBranchResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VitessBranchResource) Read ¶ added in v1.0.0
func (r *VitessBranchResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VitessBranchResource) Schema ¶ added in v1.0.0
func (r *VitessBranchResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VitessBranchResource) Update ¶ added in v1.0.0
func (r *VitessBranchResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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"`
DeleteDescendants types.Bool `queryParam:"style=form,explode=true,name=delete_descendants" tfsdk:"delete_descendants"`
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)
Source Files
¶
- databasepostgres_data_source.go
- databasepostgres_data_source_sdk.go
- databases_data_source.go
- databases_data_source_sdk.go
- databasevitess_data_source.go
- databasevitess_data_source_sdk.go
- organization_data_source.go
- organization_data_source_sdk.go
- organizations_data_source.go
- organizations_data_source_sdk.go
- postgresbackuppolicies_data_source.go
- postgresbackuppolicies_data_source_sdk.go
- postgresbackuppolicy_data_source.go
- postgresbackuppolicy_data_source_sdk.go
- postgresbackuppolicy_resource.go
- postgresbackuppolicy_resource_sdk.go
- postgresbranch_data_source.go
- postgresbranch_data_source_sdk.go
- postgresbranch_resource.go
- postgresbranch_resource_sdk.go
- postgresbranchbackup_data_source.go
- postgresbranchbackup_data_source_sdk.go
- postgresbranchbackup_resource.go
- postgresbranchbackup_resource_sdk.go
- postgresbranchbackups_data_source.go
- postgresbranchbackups_data_source_sdk.go
- postgresbranchrole_data_source.go
- postgresbranchrole_data_source_sdk.go
- postgresbranchrole_resource.go
- postgresbranchrole_resource_sdk.go
- postgresbranchroles_data_source.go
- postgresbranchroles_data_source_sdk.go
- postgresredactedbranchrole_data_source.go
- postgresredactedbranchrole_data_source_sdk.go
- postgresredactedbranchrole_resource.go
- postgresredactedbranchrole_resource_sdk.go
- provider.go
- utils.go
- vitessbackuppolicies_data_source.go
- vitessbackuppolicies_data_source_sdk.go
- vitessbackuppolicy_data_source.go
- vitessbackuppolicy_data_source_sdk.go
- vitessbackuppolicy_resource.go
- vitessbackuppolicy_resource_sdk.go
- vitessbranch_data_source.go
- vitessbranch_data_source_sdk.go
- vitessbranch_resource.go
- vitessbranch_resource_sdk.go
- vitessbranchbackup_data_source.go
- vitessbranchbackup_data_source_sdk.go
- vitessbranchbackup_resource.go
- vitessbranchbackup_resource_sdk.go
- vitessbranchbackups_data_source.go
- vitessbranchbackups_data_source_sdk.go
- vitessbranchpassword_data_source.go
- vitessbranchpassword_data_source_sdk.go
- vitessbranchpassword_resource.go
- vitessbranchpassword_resource_sdk.go
- vitessbranchpasswords_data_source.go
- vitessbranchpasswords_data_source_sdk.go
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. |