Documentation
¶
Index ¶
- func InstanceDataSourceSchema(ctx context.Context) schema.Schema
- func InstancesDataSourceSchema(ctx context.Context) schema.Schema
- type ConnectionInfoType
- func (t ConnectionInfoType) Equal(o attr.Type) bool
- func (t ConnectionInfoType) String() string
- func (t ConnectionInfoType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ConnectionInfoType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ConnectionInfoType) ValueType(ctx context.Context) attr.Value
- type ConnectionInfoValue
- func NewConnectionInfoValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConnectionInfoValue, diag.Diagnostics)
- func NewConnectionInfoValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConnectionInfoValue
- func NewConnectionInfoValueNull() ConnectionInfoValue
- func NewConnectionInfoValueUnknown() ConnectionInfoValue
- func (v ConnectionInfoValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ConnectionInfoValue) Equal(o attr.Value) bool
- func (v ConnectionInfoValue) IsNull() bool
- func (v ConnectionInfoValue) IsUnknown() bool
- func (v ConnectionInfoValue) String() string
- func (v ConnectionInfoValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ConnectionInfoValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ConnectionInfoValue) Type(ctx context.Context) attr.Type
- type EncryptionType
- func (t EncryptionType) Equal(o attr.Type) bool
- func (t EncryptionType) String() string
- func (t EncryptionType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t EncryptionType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t EncryptionType) ValueType(ctx context.Context) attr.Value
- type EncryptionValue
- func NewEncryptionValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EncryptionValue, diag.Diagnostics)
- func NewEncryptionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EncryptionValue
- func NewEncryptionValueNull() EncryptionValue
- func NewEncryptionValueUnknown() EncryptionValue
- func (v EncryptionValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v EncryptionValue) Equal(o attr.Value) bool
- func (v EncryptionValue) IsNull() bool
- func (v EncryptionValue) IsUnknown() bool
- func (v EncryptionValue) String() string
- func (v EncryptionValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v EncryptionValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v EncryptionValue) Type(ctx context.Context) attr.Type
- type InstanceModel
- type InstancesModel
- type InstancesType
- func (t InstancesType) Equal(o attr.Type) bool
- func (t InstancesType) String() string
- func (t InstancesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t InstancesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t InstancesType) ValueType(ctx context.Context) attr.Value
- type InstancesValue
- func NewInstancesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstancesValue, diag.Diagnostics)
- func NewInstancesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstancesValue
- func NewInstancesValueNull() InstancesValue
- func NewInstancesValueUnknown() InstancesValue
- func (v InstancesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v InstancesValue) Equal(o attr.Value) bool
- func (v InstancesValue) IsNull() bool
- func (v InstancesValue) IsUnknown() bool
- func (v InstancesValue) String() string
- func (v InstancesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v InstancesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v InstancesValue) Type(ctx context.Context) attr.Type
- type NetworkType
- func (t NetworkType) Equal(o attr.Type) bool
- func (t NetworkType) String() string
- func (t NetworkType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t NetworkType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t NetworkType) ValueType(ctx context.Context) attr.Value
- type NetworkValue
- func NewNetworkValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NetworkValue, diag.Diagnostics)
- func NewNetworkValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NetworkValue
- func NewNetworkValueNull() NetworkValue
- func NewNetworkValueUnknown() NetworkValue
- func (v NetworkValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v NetworkValue) Equal(o attr.Value) bool
- func (v NetworkValue) IsNull() bool
- func (v NetworkValue) IsUnknown() bool
- func (v NetworkValue) String() string
- func (v NetworkValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v NetworkValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v NetworkValue) Type(ctx context.Context) attr.Type
- type PaginationType
- func (t PaginationType) Equal(o attr.Type) bool
- func (t PaginationType) String() string
- func (t PaginationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PaginationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PaginationType) ValueType(ctx context.Context) attr.Value
- type PaginationValue
- func NewPaginationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PaginationValue, diag.Diagnostics)
- func NewPaginationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PaginationValue
- func NewPaginationValueNull() PaginationValue
- func NewPaginationValueUnknown() PaginationValue
- func (v PaginationValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PaginationValue) Equal(o attr.Value) bool
- func (v PaginationValue) IsNull() bool
- func (v PaginationValue) IsUnknown() bool
- func (v PaginationValue) String() string
- func (v PaginationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PaginationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PaginationValue) Type(ctx context.Context) attr.Type
- type StorageType
- func (t StorageType) Equal(o attr.Type) bool
- func (t StorageType) String() string
- func (t StorageType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t StorageType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t StorageType) ValueType(ctx context.Context) attr.Value
- type StorageValue
- func NewStorageValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StorageValue, diag.Diagnostics)
- func NewStorageValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StorageValue
- func NewStorageValueNull() StorageValue
- func NewStorageValueUnknown() StorageValue
- func (v StorageValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v StorageValue) Equal(o attr.Value) bool
- func (v StorageValue) IsNull() bool
- func (v StorageValue) IsUnknown() bool
- func (v StorageValue) String() string
- func (v StorageValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v StorageValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v StorageValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionInfoType ¶
type ConnectionInfoType struct {
basetypes.ObjectType
}
func (ConnectionInfoType) String ¶
func (t ConnectionInfoType) String() string
func (ConnectionInfoType) ValueFromObject ¶
func (t ConnectionInfoType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ConnectionInfoType) ValueFromTerraform ¶
type ConnectionInfoValue ¶
type ConnectionInfoValue struct {
Host basetypes.StringValue `tfsdk:"host"`
Port basetypes.Int64Value `tfsdk:"port"`
// contains filtered or unexported fields
}
func NewConnectionInfoValue ¶
func NewConnectionInfoValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConnectionInfoValue, diag.Diagnostics)
func NewConnectionInfoValueNull ¶
func NewConnectionInfoValueNull() ConnectionInfoValue
func NewConnectionInfoValueUnknown ¶
func NewConnectionInfoValueUnknown() ConnectionInfoValue
func (ConnectionInfoValue) AttributeTypes ¶
func (ConnectionInfoValue) IsNull ¶
func (v ConnectionInfoValue) IsNull() bool
func (ConnectionInfoValue) IsUnknown ¶
func (v ConnectionInfoValue) IsUnknown() bool
func (ConnectionInfoValue) String ¶
func (v ConnectionInfoValue) String() string
func (ConnectionInfoValue) ToObjectValue ¶
func (v ConnectionInfoValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ConnectionInfoValue) ToTerraformValue ¶
type EncryptionType ¶
type EncryptionType struct {
basetypes.ObjectType
}
func (EncryptionType) String ¶
func (t EncryptionType) String() string
func (EncryptionType) ValueFromObject ¶
func (t EncryptionType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (EncryptionType) ValueFromTerraform ¶
type EncryptionValue ¶
type EncryptionValue struct {
KekKeyId basetypes.StringValue `tfsdk:"kek_key_id"`
KekKeyRingId basetypes.StringValue `tfsdk:"kek_key_ring_id"`
KekKeyVersion basetypes.StringValue `tfsdk:"kek_key_version"`
ServiceAccount basetypes.StringValue `tfsdk:"service_account"`
// contains filtered or unexported fields
}
func NewEncryptionValue ¶
func NewEncryptionValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EncryptionValue, diag.Diagnostics)
func NewEncryptionValueMust ¶
func NewEncryptionValueNull ¶
func NewEncryptionValueNull() EncryptionValue
func NewEncryptionValueUnknown ¶
func NewEncryptionValueUnknown() EncryptionValue
func (EncryptionValue) AttributeTypes ¶
func (EncryptionValue) IsNull ¶
func (v EncryptionValue) IsNull() bool
func (EncryptionValue) IsUnknown ¶
func (v EncryptionValue) IsUnknown() bool
func (EncryptionValue) String ¶
func (v EncryptionValue) String() string
func (EncryptionValue) ToObjectValue ¶
func (v EncryptionValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (EncryptionValue) ToTerraformValue ¶
type InstanceModel ¶
type InstanceModel struct {
Acl types.List `tfsdk:"acl"`
BackupSchedule types.String `tfsdk:"backup_schedule"`
ConnectionInfo ConnectionInfoValue `tfsdk:"connection_info"`
Encryption EncryptionValue `tfsdk:"encryption"`
FlavorId types.String `tfsdk:"flavor_id"`
Id types.String `tfsdk:"tf_original_api_id"`
InstanceId types.String `tfsdk:"instance_id"`
IsDeletable types.Bool `tfsdk:"is_deletable"`
Name types.String `tfsdk:"name"`
Network NetworkValue `tfsdk:"network"`
ProjectId types.String `tfsdk:"project_id"`
Region types.String `tfsdk:"region"`
Replicas types.Int64 `tfsdk:"replicas"`
RetentionDays types.Int64 `tfsdk:"retention_days"`
Status types.String `tfsdk:"status"`
Storage StorageValue `tfsdk:"storage"`
Version types.String `tfsdk:"version"`
}
type InstancesModel ¶
type InstancesType ¶
type InstancesType struct {
basetypes.ObjectType
}
func (InstancesType) String ¶
func (t InstancesType) String() string
func (InstancesType) ValueFromObject ¶
func (t InstancesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (InstancesType) ValueFromTerraform ¶
type InstancesValue ¶
type InstancesValue struct {
Id basetypes.StringValue `tfsdk:"id"`
IsDeletable basetypes.BoolValue `tfsdk:"is_deletable"`
Name basetypes.StringValue `tfsdk:"name"`
Status basetypes.StringValue `tfsdk:"status"`
// contains filtered or unexported fields
}
func NewInstancesValue ¶
func NewInstancesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstancesValue, diag.Diagnostics)
func NewInstancesValueMust ¶
func NewInstancesValueNull ¶
func NewInstancesValueNull() InstancesValue
func NewInstancesValueUnknown ¶
func NewInstancesValueUnknown() InstancesValue
func (InstancesValue) AttributeTypes ¶
func (InstancesValue) IsNull ¶
func (v InstancesValue) IsNull() bool
func (InstancesValue) IsUnknown ¶
func (v InstancesValue) IsUnknown() bool
func (InstancesValue) String ¶
func (v InstancesValue) String() string
func (InstancesValue) ToObjectValue ¶
func (v InstancesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (InstancesValue) ToTerraformValue ¶
type NetworkType ¶
type NetworkType struct {
basetypes.ObjectType
}
func (NetworkType) String ¶
func (t NetworkType) String() string
func (NetworkType) ValueFromObject ¶
func (t NetworkType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (NetworkType) ValueFromTerraform ¶
type NetworkValue ¶
type NetworkValue struct {
AccessScope basetypes.StringValue `tfsdk:"access_scope"`
Acl basetypes.ListValue `tfsdk:"acl"`
InstanceAddress basetypes.StringValue `tfsdk:"instance_address"`
RouterAddress basetypes.StringValue `tfsdk:"router_address"`
// contains filtered or unexported fields
}
func NewNetworkValue ¶
func NewNetworkValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NetworkValue, diag.Diagnostics)
func NewNetworkValueMust ¶
func NewNetworkValueNull ¶
func NewNetworkValueNull() NetworkValue
func NewNetworkValueUnknown ¶
func NewNetworkValueUnknown() NetworkValue
func (NetworkValue) AttributeTypes ¶
func (NetworkValue) IsNull ¶
func (v NetworkValue) IsNull() bool
func (NetworkValue) IsUnknown ¶
func (v NetworkValue) IsUnknown() bool
func (NetworkValue) String ¶
func (v NetworkValue) String() string
func (NetworkValue) ToObjectValue ¶
func (v NetworkValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (NetworkValue) ToTerraformValue ¶
type PaginationType ¶
type PaginationType struct {
basetypes.ObjectType
}
func (PaginationType) String ¶
func (t PaginationType) String() string
func (PaginationType) ValueFromObject ¶
func (t PaginationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PaginationType) ValueFromTerraform ¶
type PaginationValue ¶
type PaginationValue struct {
Page basetypes.Int64Value `tfsdk:"page"`
Size basetypes.Int64Value `tfsdk:"size"`
Sort basetypes.StringValue `tfsdk:"sort"`
TotalPages basetypes.Int64Value `tfsdk:"total_pages"`
TotalRows basetypes.Int64Value `tfsdk:"total_rows"`
// contains filtered or unexported fields
}
func NewPaginationValue ¶
func NewPaginationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PaginationValue, diag.Diagnostics)
func NewPaginationValueMust ¶
func NewPaginationValueNull ¶
func NewPaginationValueNull() PaginationValue
func NewPaginationValueUnknown ¶
func NewPaginationValueUnknown() PaginationValue
func (PaginationValue) AttributeTypes ¶
func (PaginationValue) IsNull ¶
func (v PaginationValue) IsNull() bool
func (PaginationValue) IsUnknown ¶
func (v PaginationValue) IsUnknown() bool
func (PaginationValue) String ¶
func (v PaginationValue) String() string
func (PaginationValue) ToObjectValue ¶
func (v PaginationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PaginationValue) ToTerraformValue ¶
type StorageType ¶
type StorageType struct {
basetypes.ObjectType
}
func (StorageType) String ¶
func (t StorageType) String() string
func (StorageType) ValueFromObject ¶
func (t StorageType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (StorageType) ValueFromTerraform ¶
type StorageValue ¶
type StorageValue struct {
PerformanceClass basetypes.StringValue `tfsdk:"performance_class"`
Size basetypes.Int64Value `tfsdk:"size"`
// contains filtered or unexported fields
}
func NewStorageValue ¶
func NewStorageValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StorageValue, diag.Diagnostics)
func NewStorageValueMust ¶
func NewStorageValueNull ¶
func NewStorageValueNull() StorageValue
func NewStorageValueUnknown ¶
func NewStorageValueUnknown() StorageValue
func (StorageValue) AttributeTypes ¶
func (StorageValue) IsNull ¶
func (v StorageValue) IsNull() bool
func (StorageValue) IsUnknown ¶
func (v StorageValue) IsUnknown() bool
func (StorageValue) String ¶
func (v StorageValue) String() string
func (StorageValue) ToObjectValue ¶
func (v StorageValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (StorageValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.