Documentation
¶
Index ¶
- func CoreVirtualMachineResourceSchema(ctx context.Context) schema.Schema
- type CoreVirtualMachineModel
- type EnvironmentType
- func (t EnvironmentType) Equal(o attr.Type) bool
- func (t EnvironmentType) String() string
- func (t EnvironmentType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t EnvironmentType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t EnvironmentType) ValueType(ctx context.Context) attr.Value
- type EnvironmentValue
- func NewEnvironmentValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EnvironmentValue, diag.Diagnostics)
- func NewEnvironmentValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EnvironmentValue
- func NewEnvironmentValueNull() EnvironmentValue
- func NewEnvironmentValueUnknown() EnvironmentValue
- func (v EnvironmentValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v EnvironmentValue) Equal(o attr.Value) bool
- func (v EnvironmentValue) IsNull() bool
- func (v EnvironmentValue) IsUnknown() bool
- func (v EnvironmentValue) String() string
- func (v EnvironmentValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v EnvironmentValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v EnvironmentValue) Type(ctx context.Context) attr.Type
- type FeaturesType
- func (t FeaturesType) Equal(o attr.Type) bool
- func (t FeaturesType) String() string
- func (t FeaturesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t FeaturesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FeaturesType) ValueType(ctx context.Context) attr.Value
- type FeaturesValue
- func NewFeaturesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FeaturesValue, diag.Diagnostics)
- func NewFeaturesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FeaturesValue
- func NewFeaturesValueNull() FeaturesValue
- func NewFeaturesValueUnknown() FeaturesValue
- func (v FeaturesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v FeaturesValue) Equal(o attr.Value) bool
- func (v FeaturesValue) IsNull() bool
- func (v FeaturesValue) IsUnknown() bool
- func (v FeaturesValue) String() string
- func (v FeaturesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v FeaturesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v FeaturesValue) Type(ctx context.Context) attr.Type
- type FlavorType
- func (t FlavorType) Equal(o attr.Type) bool
- func (t FlavorType) String() string
- func (t FlavorType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t FlavorType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FlavorType) ValueType(ctx context.Context) attr.Value
- type FlavorValue
- func NewFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FlavorValue, diag.Diagnostics)
- func NewFlavorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FlavorValue
- func NewFlavorValueNull() FlavorValue
- func NewFlavorValueUnknown() FlavorValue
- func (v FlavorValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v FlavorValue) Equal(o attr.Value) bool
- func (v FlavorValue) IsNull() bool
- func (v FlavorValue) IsUnknown() bool
- func (v FlavorValue) String() string
- func (v FlavorValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v FlavorValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v FlavorValue) Type(ctx context.Context) attr.Type
- type ImageType
- func (t ImageType) Equal(o attr.Type) bool
- func (t ImageType) String() string
- func (t ImageType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ImageType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ImageType) ValueType(ctx context.Context) attr.Value
- type ImageValue
- func NewImageValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ImageValue, diag.Diagnostics)
- func NewImageValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ImageValue
- func NewImageValueNull() ImageValue
- func NewImageValueUnknown() ImageValue
- func (v ImageValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ImageValue) Equal(o attr.Value) bool
- func (v ImageValue) IsNull() bool
- func (v ImageValue) IsUnknown() bool
- func (v ImageValue) String() string
- func (v ImageValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ImageValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ImageValue) Type(ctx context.Context) attr.Type
- type KeypairType
- func (t KeypairType) Equal(o attr.Type) bool
- func (t KeypairType) String() string
- func (t KeypairType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t KeypairType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t KeypairType) ValueType(ctx context.Context) attr.Value
- type KeypairValue
- func NewKeypairValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (KeypairValue, diag.Diagnostics)
- func NewKeypairValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) KeypairValue
- func NewKeypairValueNull() KeypairValue
- func NewKeypairValueUnknown() KeypairValue
- func (v KeypairValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v KeypairValue) Equal(o attr.Value) bool
- func (v KeypairValue) IsNull() bool
- func (v KeypairValue) IsUnknown() bool
- func (v KeypairValue) String() string
- func (v KeypairValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v KeypairValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v KeypairValue) Type(ctx context.Context) attr.Type
- type LabelsType
- func (t LabelsType) Equal(o attr.Type) bool
- func (t LabelsType) String() string
- func (t LabelsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t LabelsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t LabelsType) ValueType(ctx context.Context) attr.Value
- type LabelsValue
- func NewLabelsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LabelsValue, diag.Diagnostics)
- func NewLabelsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LabelsValue
- func NewLabelsValueNull() LabelsValue
- func NewLabelsValueUnknown() LabelsValue
- func (v LabelsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v LabelsValue) Equal(o attr.Value) bool
- func (v LabelsValue) IsNull() bool
- func (v LabelsValue) IsUnknown() bool
- func (v LabelsValue) String() string
- func (v LabelsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v LabelsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v LabelsValue) Type(ctx context.Context) attr.Type
- type ProfileType
- func (t ProfileType) Equal(o attr.Type) bool
- func (t ProfileType) String() string
- func (t ProfileType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ProfileType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ProfileType) ValueType(ctx context.Context) attr.Value
- type ProfileValue
- func NewProfileValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ProfileValue, diag.Diagnostics)
- func NewProfileValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ProfileValue
- func NewProfileValueNull() ProfileValue
- func NewProfileValueUnknown() ProfileValue
- func (v ProfileValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ProfileValue) Equal(o attr.Value) bool
- func (v ProfileValue) IsNull() bool
- func (v ProfileValue) IsUnknown() bool
- func (v ProfileValue) String() string
- func (v ProfileValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ProfileValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ProfileValue) Type(ctx context.Context) attr.Type
- type SecurityRulesType
- func (t SecurityRulesType) Equal(o attr.Type) bool
- func (t SecurityRulesType) String() string
- func (t SecurityRulesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t SecurityRulesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t SecurityRulesType) ValueType(ctx context.Context) attr.Value
- type SecurityRulesValue
- func NewSecurityRulesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SecurityRulesValue, diag.Diagnostics)
- func NewSecurityRulesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SecurityRulesValue
- func NewSecurityRulesValueNull() SecurityRulesValue
- func NewSecurityRulesValueUnknown() SecurityRulesValue
- func (v SecurityRulesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v SecurityRulesValue) Equal(o attr.Value) bool
- func (v SecurityRulesValue) IsNull() bool
- func (v SecurityRulesValue) IsUnknown() bool
- func (v SecurityRulesValue) String() string
- func (v SecurityRulesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v SecurityRulesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v SecurityRulesValue) Type(ctx context.Context) attr.Type
- type VolumeAttachmentsType
- func (t VolumeAttachmentsType) Equal(o attr.Type) bool
- func (t VolumeAttachmentsType) String() string
- func (t VolumeAttachmentsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t VolumeAttachmentsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t VolumeAttachmentsType) ValueType(ctx context.Context) attr.Value
- type VolumeAttachmentsValue
- func NewVolumeAttachmentsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VolumeAttachmentsValue, diag.Diagnostics)
- func NewVolumeAttachmentsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VolumeAttachmentsValue
- func NewVolumeAttachmentsValueNull() VolumeAttachmentsValue
- func NewVolumeAttachmentsValueUnknown() VolumeAttachmentsValue
- func (v VolumeAttachmentsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v VolumeAttachmentsValue) Equal(o attr.Value) bool
- func (v VolumeAttachmentsValue) IsNull() bool
- func (v VolumeAttachmentsValue) IsUnknown() bool
- func (v VolumeAttachmentsValue) String() string
- func (v VolumeAttachmentsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v VolumeAttachmentsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v VolumeAttachmentsValue) Type(ctx context.Context) attr.Type
- type VolumeType
- func (t VolumeType) Equal(o attr.Type) bool
- func (t VolumeType) String() string
- func (t VolumeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t VolumeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t VolumeType) ValueType(ctx context.Context) attr.Value
- type VolumeValue
- func NewVolumeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VolumeValue, diag.Diagnostics)
- func NewVolumeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VolumeValue
- func NewVolumeValueNull() VolumeValue
- func NewVolumeValueUnknown() VolumeValue
- func (v VolumeValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v VolumeValue) Equal(o attr.Value) bool
- func (v VolumeValue) IsNull() bool
- func (v VolumeValue) IsUnknown() bool
- func (v VolumeValue) String() string
- func (v VolumeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v VolumeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v VolumeValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoreVirtualMachineModel ¶
type CoreVirtualMachineModel struct {
AssignFloatingIp types.Bool `tfsdk:"assign_floating_ip"`
CallbackUrl types.String `tfsdk:"callback_url"`
CreateBootableVolume types.Bool `tfsdk:"create_bootable_volume"`
CreatedAt types.String `tfsdk:"created_at"`
EnablePortRandomization types.Bool `tfsdk:"enable_port_randomization"`
Environment EnvironmentValue `tfsdk:"environment"`
EnvironmentName types.String `tfsdk:"environment_name"`
FixedIp types.String `tfsdk:"fixed_ip"`
Flavor FlavorValue `tfsdk:"flavor"`
FlavorName types.String `tfsdk:"flavor_name"`
FloatingIp types.String `tfsdk:"floating_ip"`
FloatingIpStatus types.String `tfsdk:"floating_ip_status"`
Id types.Int64 `tfsdk:"id"`
Image ImageValue `tfsdk:"image"`
ImageName types.String `tfsdk:"image_name"`
KeyName types.String `tfsdk:"key_name"`
Keypair KeypairValue `tfsdk:"keypair"`
Labels types.Set `tfsdk:"labels"`
Locked types.Bool `tfsdk:"locked"`
Name types.String `tfsdk:"name"`
Os types.String `tfsdk:"os"`
PortRandomization types.Bool `tfsdk:"port_randomization"`
PortRandomizationStatus types.String `tfsdk:"port_randomization_status"`
PowerState types.String `tfsdk:"power_state"`
RequiresPublicIp types.Bool `tfsdk:"requires_public_ip"`
SecurityRules types.List `tfsdk:"security_rules"`
Status types.String `tfsdk:"status"`
UserData types.String `tfsdk:"user_data"`
VmId types.Int64 `tfsdk:"vm_id"`
VmState types.String `tfsdk:"vm_state"`
VolumeAttachments types.List `tfsdk:"volume_attachments"`
VolumeName types.String `tfsdk:"volume_name"`
Profile types.List `tfsdk:"profile"`
}
type EnvironmentType ¶
type EnvironmentType struct {
basetypes.ObjectType
}
func (EnvironmentType) String ¶
func (t EnvironmentType) String() string
func (EnvironmentType) ValueFromObject ¶
func (t EnvironmentType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (EnvironmentType) ValueFromTerraform ¶
type EnvironmentValue ¶
type EnvironmentValue struct {
Features basetypes.ObjectValue `tfsdk:"features"`
Id basetypes.Int64Value `tfsdk:"id"`
Name basetypes.StringValue `tfsdk:"name"`
OrgId basetypes.Int64Value `tfsdk:"org_id"`
Region basetypes.StringValue `tfsdk:"region"`
// contains filtered or unexported fields
}
func NewEnvironmentValue ¶
func NewEnvironmentValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EnvironmentValue, diag.Diagnostics)
func NewEnvironmentValueMust ¶
func NewEnvironmentValueNull ¶
func NewEnvironmentValueNull() EnvironmentValue
func NewEnvironmentValueUnknown ¶
func NewEnvironmentValueUnknown() EnvironmentValue
func (EnvironmentValue) AttributeTypes ¶
func (EnvironmentValue) IsNull ¶
func (v EnvironmentValue) IsNull() bool
func (EnvironmentValue) IsUnknown ¶
func (v EnvironmentValue) IsUnknown() bool
func (EnvironmentValue) String ¶
func (v EnvironmentValue) String() string
func (EnvironmentValue) ToObjectValue ¶
func (v EnvironmentValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (EnvironmentValue) ToTerraformValue ¶
type FeaturesType ¶
type FeaturesType struct {
basetypes.ObjectType
}
func (FeaturesType) String ¶
func (t FeaturesType) String() string
func (FeaturesType) ValueFromObject ¶
func (t FeaturesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (FeaturesType) ValueFromTerraform ¶
type FeaturesValue ¶
type FeaturesValue struct {
GreenStatus basetypes.StringValue `tfsdk:"green_status"`
NetworkOptimised basetypes.BoolValue `tfsdk:"network_optimised"`
// contains filtered or unexported fields
}
func NewFeaturesValue ¶
func NewFeaturesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FeaturesValue, diag.Diagnostics)
func NewFeaturesValueMust ¶
func NewFeaturesValueNull ¶
func NewFeaturesValueNull() FeaturesValue
func NewFeaturesValueUnknown ¶
func NewFeaturesValueUnknown() FeaturesValue
func (FeaturesValue) AttributeTypes ¶
func (FeaturesValue) IsNull ¶
func (v FeaturesValue) IsNull() bool
func (FeaturesValue) IsUnknown ¶
func (v FeaturesValue) IsUnknown() bool
func (FeaturesValue) String ¶
func (v FeaturesValue) String() string
func (FeaturesValue) ToObjectValue ¶
func (v FeaturesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (FeaturesValue) ToTerraformValue ¶
type FlavorType ¶
type FlavorType struct {
basetypes.ObjectType
}
func (FlavorType) String ¶
func (t FlavorType) String() string
func (FlavorType) ValueFromObject ¶
func (t FlavorType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (FlavorType) ValueFromTerraform ¶
type FlavorValue ¶
type FlavorValue struct {
Cpu basetypes.Int64Value `tfsdk:"cpu"`
Disk basetypes.Int64Value `tfsdk:"disk"`
Ephemeral basetypes.Int64Value `tfsdk:"ephemeral"`
Gpu basetypes.StringValue `tfsdk:"gpu"`
GpuCount basetypes.Int64Value `tfsdk:"gpu_count"`
Id basetypes.Int64Value `tfsdk:"id"`
Labels basetypes.ListValue `tfsdk:"labels"`
Name basetypes.StringValue `tfsdk:"name"`
Ram basetypes.NumberValue `tfsdk:"ram"`
// contains filtered or unexported fields
}
func NewFlavorValue ¶
func NewFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FlavorValue, diag.Diagnostics)
func NewFlavorValueMust ¶
func NewFlavorValueNull ¶
func NewFlavorValueNull() FlavorValue
func NewFlavorValueUnknown ¶
func NewFlavorValueUnknown() FlavorValue
func (FlavorValue) AttributeTypes ¶
func (FlavorValue) IsNull ¶
func (v FlavorValue) IsNull() bool
func (FlavorValue) IsUnknown ¶
func (v FlavorValue) IsUnknown() bool
func (FlavorValue) String ¶
func (v FlavorValue) String() string
func (FlavorValue) ToObjectValue ¶
func (v FlavorValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (FlavorValue) ToTerraformValue ¶
type ImageType ¶
type ImageType struct {
basetypes.ObjectType
}
func (ImageType) ValueFromObject ¶
func (t ImageType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ImageType) ValueFromTerraform ¶
type ImageValue ¶
type ImageValue struct {
Name basetypes.StringValue `tfsdk:"name"`
// contains filtered or unexported fields
}
func NewImageValue ¶
func NewImageValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ImageValue, diag.Diagnostics)
func NewImageValueMust ¶
func NewImageValueNull ¶
func NewImageValueNull() ImageValue
func NewImageValueUnknown ¶
func NewImageValueUnknown() ImageValue
func (ImageValue) AttributeTypes ¶
func (ImageValue) IsNull ¶
func (v ImageValue) IsNull() bool
func (ImageValue) IsUnknown ¶
func (v ImageValue) IsUnknown() bool
func (ImageValue) String ¶
func (v ImageValue) String() string
func (ImageValue) ToObjectValue ¶
func (v ImageValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ImageValue) ToTerraformValue ¶
type KeypairType ¶
type KeypairType struct {
basetypes.ObjectType
}
func (KeypairType) String ¶
func (t KeypairType) String() string
func (KeypairType) ValueFromObject ¶
func (t KeypairType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (KeypairType) ValueFromTerraform ¶
type KeypairValue ¶
type KeypairValue struct {
Name basetypes.StringValue `tfsdk:"name"`
// contains filtered or unexported fields
}
func NewKeypairValue ¶
func NewKeypairValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (KeypairValue, diag.Diagnostics)
func NewKeypairValueMust ¶
func NewKeypairValueNull ¶
func NewKeypairValueNull() KeypairValue
func NewKeypairValueUnknown ¶
func NewKeypairValueUnknown() KeypairValue
func (KeypairValue) AttributeTypes ¶
func (KeypairValue) IsNull ¶
func (v KeypairValue) IsNull() bool
func (KeypairValue) IsUnknown ¶
func (v KeypairValue) IsUnknown() bool
func (KeypairValue) String ¶
func (v KeypairValue) String() string
func (KeypairValue) ToObjectValue ¶
func (v KeypairValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (KeypairValue) ToTerraformValue ¶
type LabelsType ¶
type LabelsType struct {
basetypes.ObjectType
}
func (LabelsType) String ¶
func (t LabelsType) String() string
func (LabelsType) ValueFromObject ¶
func (t LabelsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (LabelsType) ValueFromTerraform ¶
type LabelsValue ¶
type LabelsValue struct {
Id basetypes.Int64Value `tfsdk:"id"`
Label basetypes.StringValue `tfsdk:"label"`
// contains filtered or unexported fields
}
func NewLabelsValue ¶
func NewLabelsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LabelsValue, diag.Diagnostics)
func NewLabelsValueMust ¶
func NewLabelsValueNull ¶
func NewLabelsValueNull() LabelsValue
func NewLabelsValueUnknown ¶
func NewLabelsValueUnknown() LabelsValue
func (LabelsValue) AttributeTypes ¶
func (LabelsValue) IsNull ¶
func (v LabelsValue) IsNull() bool
func (LabelsValue) IsUnknown ¶
func (v LabelsValue) IsUnknown() bool
func (LabelsValue) String ¶
func (v LabelsValue) String() string
func (LabelsValue) ToObjectValue ¶
func (v LabelsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (LabelsValue) ToTerraformValue ¶
type ProfileType ¶
type ProfileType struct {
basetypes.ObjectType
}
func (ProfileType) String ¶
func (t ProfileType) String() string
func (ProfileType) ValueFromObject ¶
func (t ProfileType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ProfileType) ValueFromTerraform ¶
type ProfileValue ¶
type ProfileValue struct {
Description basetypes.StringValue `tfsdk:"description"`
Name basetypes.StringValue `tfsdk:"name"`
// contains filtered or unexported fields
}
func NewProfileValue ¶
func NewProfileValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ProfileValue, diag.Diagnostics)
func NewProfileValueMust ¶
func NewProfileValueNull ¶
func NewProfileValueNull() ProfileValue
func NewProfileValueUnknown ¶
func NewProfileValueUnknown() ProfileValue
func (ProfileValue) AttributeTypes ¶
func (ProfileValue) IsNull ¶
func (v ProfileValue) IsNull() bool
func (ProfileValue) IsUnknown ¶
func (v ProfileValue) IsUnknown() bool
func (ProfileValue) String ¶
func (v ProfileValue) String() string
func (ProfileValue) ToObjectValue ¶
func (v ProfileValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ProfileValue) ToTerraformValue ¶
type SecurityRulesType ¶
type SecurityRulesType struct {
basetypes.ObjectType
}
func (SecurityRulesType) String ¶
func (t SecurityRulesType) String() string
func (SecurityRulesType) ValueFromObject ¶
func (t SecurityRulesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (SecurityRulesType) ValueFromTerraform ¶
type SecurityRulesValue ¶
type SecurityRulesValue struct {
CreatedAt basetypes.StringValue `tfsdk:"created_at"`
Direction basetypes.StringValue `tfsdk:"direction"`
Ethertype basetypes.StringValue `tfsdk:"ethertype"`
Id basetypes.Int64Value `tfsdk:"id"`
PortRangeMax basetypes.Int64Value `tfsdk:"port_range_max"`
PortRangeMin basetypes.Int64Value `tfsdk:"port_range_min"`
Protocol basetypes.StringValue `tfsdk:"protocol"`
RemoteIpPrefix basetypes.StringValue `tfsdk:"remote_ip_prefix"`
Status basetypes.StringValue `tfsdk:"status"`
VirtualMachineId basetypes.Int64Value `tfsdk:"virtual_machine_id"`
// contains filtered or unexported fields
}
func NewSecurityRulesValue ¶
func NewSecurityRulesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SecurityRulesValue, diag.Diagnostics)
func NewSecurityRulesValueNull ¶
func NewSecurityRulesValueNull() SecurityRulesValue
func NewSecurityRulesValueUnknown ¶
func NewSecurityRulesValueUnknown() SecurityRulesValue
func (SecurityRulesValue) AttributeTypes ¶
func (SecurityRulesValue) IsNull ¶
func (v SecurityRulesValue) IsNull() bool
func (SecurityRulesValue) IsUnknown ¶
func (v SecurityRulesValue) IsUnknown() bool
func (SecurityRulesValue) String ¶
func (v SecurityRulesValue) String() string
func (SecurityRulesValue) ToObjectValue ¶
func (v SecurityRulesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (SecurityRulesValue) ToTerraformValue ¶
type VolumeAttachmentsType ¶
type VolumeAttachmentsType struct {
basetypes.ObjectType
}
func (VolumeAttachmentsType) String ¶
func (t VolumeAttachmentsType) String() string
func (VolumeAttachmentsType) ValueFromObject ¶
func (t VolumeAttachmentsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (VolumeAttachmentsType) ValueFromTerraform ¶
type VolumeAttachmentsValue ¶
type VolumeAttachmentsValue struct {
CreatedAt basetypes.StringValue `tfsdk:"created_at"`
Device basetypes.StringValue `tfsdk:"device"`
Status basetypes.StringValue `tfsdk:"status"`
Volume basetypes.ObjectValue `tfsdk:"volume"`
// contains filtered or unexported fields
}
func NewVolumeAttachmentsValue ¶
func NewVolumeAttachmentsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VolumeAttachmentsValue, diag.Diagnostics)
func NewVolumeAttachmentsValueNull ¶
func NewVolumeAttachmentsValueNull() VolumeAttachmentsValue
func NewVolumeAttachmentsValueUnknown ¶
func NewVolumeAttachmentsValueUnknown() VolumeAttachmentsValue
func (VolumeAttachmentsValue) AttributeTypes ¶
func (VolumeAttachmentsValue) IsNull ¶
func (v VolumeAttachmentsValue) IsNull() bool
func (VolumeAttachmentsValue) IsUnknown ¶
func (v VolumeAttachmentsValue) IsUnknown() bool
func (VolumeAttachmentsValue) String ¶
func (v VolumeAttachmentsValue) String() string
func (VolumeAttachmentsValue) ToObjectValue ¶
func (v VolumeAttachmentsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (VolumeAttachmentsValue) ToTerraformValue ¶
type VolumeType ¶
type VolumeType struct {
basetypes.ObjectType
}
func (VolumeType) String ¶
func (t VolumeType) String() string
func (VolumeType) ValueFromObject ¶
func (t VolumeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (VolumeType) ValueFromTerraform ¶
type VolumeValue ¶
type VolumeValue struct {
Bootable basetypes.BoolValue `tfsdk:"bootable"`
Description basetypes.StringValue `tfsdk:"description"`
Id basetypes.Int64Value `tfsdk:"id"`
Name basetypes.StringValue `tfsdk:"name"`
Size basetypes.Int64Value `tfsdk:"size"`
VolumeType basetypes.StringValue `tfsdk:"volume_type"`
// contains filtered or unexported fields
}
func NewVolumeValue ¶
func NewVolumeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VolumeValue, diag.Diagnostics)
func NewVolumeValueMust ¶
func NewVolumeValueNull ¶
func NewVolumeValueNull() VolumeValue
func NewVolumeValueUnknown ¶
func NewVolumeValueUnknown() VolumeValue
func (VolumeValue) AttributeTypes ¶
func (VolumeValue) IsNull ¶
func (v VolumeValue) IsNull() bool
func (VolumeValue) IsUnknown ¶
func (v VolumeValue) IsUnknown() bool
func (VolumeValue) String ¶
func (v VolumeValue) String() string
func (VolumeValue) ToObjectValue ¶
func (v VolumeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (VolumeValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.