pushbasedlogexport

package
v1.24.0 Latest Latest
Warning

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

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

Documentation

Index

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 Resource

func Resource() resource.Resource

func ResourceSchema

func ResourceSchema(ctx context.Context) schema.Schema

func WaitResourceDelete

func WaitResourceDelete(ctx context.Context, projectID string, client admin.PushBasedLogExportApi, timeConfig retrystrategy.TimeConfig) 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)

Jump to

Keyboard shortcuts

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