Documentation ¶
Index ¶
- Constants
- func CheckErrorMessageAndStatus(model *admin.EARPrivateEndpoint) diag.Diagnostics
- func DSAttributes(withArguments bool) map[string]schema.Attribute
- func DataSource() datasource.DataSource
- func DataSourceSchema(ctx context.Context) schema.Schema
- func NewEarPrivateEndpointReq(tfPlan *TFEarPrivateEndpointModel) *admin.EARPrivateEndpoint
- func PluralDataSource() datasource.DataSource
- func PluralDataSourceSchema(ctx context.Context) schema.Schema
- func Resource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- func WaitDeleteStateTransition(ctx context.Context, projectID, cloudProvider, endpointID string, ...) (*admin.EARPrivateEndpoint, error)
- func WaitDeleteStateTransitionWithMinTimeout(ctx context.Context, minTimeout time.Duration, ...) (*admin.EARPrivateEndpoint, error)
- func WaitStateTransitionWithMinTimeout(ctx context.Context, minTimeout time.Duration, ...) (*admin.EARPrivateEndpoint, error)
- type TFEarPrivateEndpointModel
- type TFEncryptionAtRestPrivateEndpointsDSModel
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 DataSource ¶
func DataSource() datasource.DataSource
func NewEarPrivateEndpointReq ¶
func NewEarPrivateEndpointReq(tfPlan *TFEarPrivateEndpointModel) *admin.EARPrivateEndpoint
func PluralDataSource ¶
func PluralDataSource() datasource.DataSource
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
Click to show internal directories.
Click to hide internal directories.