encryptionatrestprivateendpoint

package
v1.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FailedStatusErrorMessageSummary  = "Private endpoint is in a failed status"
	NonEmptyErrorMessageFieldSummary = "Something went wrong. Please review the `status` field of this resource"
	PendingAcceptanceWarnMsgSummary  = "Private endpoint may be in PENDING_ACCEPTANCE status"
	PendingAcceptanceWarnMsg         = "" /* 181-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func CheckErrorMessageAndStatus

func CheckErrorMessageAndStatus(model *admin.EARPrivateEndpoint) diag.Diagnostics

func DSAttributes

func DSAttributes(withArguments bool) map[string]schema.Attribute

func DataSource

func DataSource() datasource.DataSource

func DataSourceSchema

func DataSourceSchema(ctx context.Context) schema.Schema

func NewEarPrivateEndpointReq

func NewEarPrivateEndpointReq(tfPlan *TFEarPrivateEndpointModel) *admin.EARPrivateEndpoint

func PluralDataSource

func PluralDataSource() datasource.DataSource

func PluralDataSourceSchema

func PluralDataSourceSchema(ctx context.Context) schema.Schema

func Resource

func Resource() resource.Resource

func ResourceSchema

func ResourceSchema(ctx context.Context) schema.Schema

func WaitDeleteStateTransition

func WaitDeleteStateTransition(ctx context.Context, projectID, cloudProvider, endpointID string, client admin.EncryptionAtRestUsingCustomerKeyManagementApi) (*admin.EARPrivateEndpoint, error)

func WaitDeleteStateTransitionWithMinTimeout

func WaitDeleteStateTransitionWithMinTimeout(ctx context.Context, minTimeout time.Duration, projectID, cloudProvider, endpointID string, client admin.EncryptionAtRestUsingCustomerKeyManagementApi) (*admin.EARPrivateEndpoint, error)

func WaitStateTransitionWithMinTimeout

func WaitStateTransitionWithMinTimeout(ctx context.Context, minTimeout time.Duration, projectID, cloudProvider, endpointID string, client admin.EncryptionAtRestUsingCustomerKeyManagementApi) (*admin.EARPrivateEndpoint, error)

Types

type TFEarPrivateEndpointModel

type TFEarPrivateEndpointModel struct {
	CloudProvider                 types.String `tfsdk:"cloud_provider"`
	ErrorMessage                  types.String `tfsdk:"error_message"`
	ProjectID                     types.String `tfsdk:"project_id"`
	ID                            types.String `tfsdk:"id"`
	PrivateEndpointConnectionName types.String `tfsdk:"private_endpoint_connection_name"`
	RegionName                    types.String `tfsdk:"region_name"`
	Status                        types.String `tfsdk:"status"`
}

func NewTFEarPrivateEndpoint

func NewTFEarPrivateEndpoint(apiResp admin.EARPrivateEndpoint, projectID string) TFEarPrivateEndpointModel

type TFEncryptionAtRestPrivateEndpointsDSModel

type TFEncryptionAtRestPrivateEndpointsDSModel struct {
	CloudProvider types.String                `tfsdk:"cloud_provider"`
	ProjectID     types.String                `tfsdk:"project_id"`
	Results       []TFEarPrivateEndpointModel `tfsdk:"results"`
}

func NewTFEarPrivateEndpoints

func NewTFEarPrivateEndpoints(projectID, cloudProvider string, sdkResults []admin.EARPrivateEndpoint) *TFEncryptionAtRestPrivateEndpointsDSModel

Jump to

Keyboard shortcuts

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