Documentation ¶
Index ¶
- Constants
- func DataSource() datasource.DataSource
- func NewPushBasedLogExportCreateReq(plan *TFPushBasedLogExportRSModel) *admin.CreatePushBasedLogExportProjectRequest
- func NewPushBasedLogExportUpdateReq(plan *TFPushBasedLogExportRSModel) *admin.PushBasedLogExportProject
- func Resource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- func WaitResourceDelete(ctx context.Context, projectID string, client admin.PushBasedLogExportApi, ...) error
- func WaitStateTransition(ctx context.Context, projectID string, client admin.PushBasedLogExportApi, ...) (*admin.PushBasedLogExportProject, error)
- type TFPushBasedLogExportDSModel
- type TFPushBasedLogExportRSModel
Constants ¶
View Source
const ( ActiveState = "ACTIVE" UnconfiguredState = "UNCONFIGURED" InitiatingState = "INITIATING" BucketVerifiedState = "BUCKET_VERIFIED" BucketVerificationFailedState = "BUCKET_VERIFICATION_FAILED" AssumeRoleFailedState = "ASSUME_ROLE_FAILED" )
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶
func DataSource() datasource.DataSource
func NewPushBasedLogExportCreateReq ¶
func NewPushBasedLogExportCreateReq(plan *TFPushBasedLogExportRSModel) *admin.CreatePushBasedLogExportProjectRequest
func NewPushBasedLogExportUpdateReq ¶
func NewPushBasedLogExportUpdateReq(plan *TFPushBasedLogExportRSModel) *admin.PushBasedLogExportProject
func WaitResourceDelete ¶
func WaitResourceDelete(ctx context.Context, projectID string, client admin.PushBasedLogExportApi, timeConfig retrystrategy.TimeConfig) error
func WaitStateTransition ¶
func WaitStateTransition(ctx context.Context, projectID string, client admin.PushBasedLogExportApi, timeConfig retrystrategy.TimeConfig) (*admin.PushBasedLogExportProject, error)
Types ¶
type TFPushBasedLogExportDSModel ¶
type TFPushBasedLogExportDSModel struct { BucketName types.String `tfsdk:"bucket_name"` CreateDate types.String `tfsdk:"create_date"` ProjectID types.String `tfsdk:"project_id"` IamRoleID types.String `tfsdk:"iam_role_id"` PrefixPath types.String `tfsdk:"prefix_path"` State types.String `tfsdk:"state"` }
type TFPushBasedLogExportRSModel ¶
type TFPushBasedLogExportRSModel struct { BucketName types.String `tfsdk:"bucket_name"` CreateDate types.String `tfsdk:"create_date"` ProjectID types.String `tfsdk:"project_id"` IamRoleID types.String `tfsdk:"iam_role_id"` PrefixPath types.String `tfsdk:"prefix_path"` State types.String `tfsdk:"state"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
func NewTFPushBasedLogExport ¶
func NewTFPushBasedLogExport(ctx context.Context, projectID string, apiResp *admin.PushBasedLogExportProject, timeout *timeouts.Value) (*TFPushBasedLogExportRSModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.