resource_upgrade_site_devices

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeSiteDevicesResourceSchema

func UpgradeSiteDevicesResourceSchema(ctx context.Context) schema.Schema

Types

type CountsType

type CountsType struct {
	basetypes.ObjectType
}

func (CountsType) Equal

func (t CountsType) Equal(o attr.Type) bool

func (CountsType) String

func (t CountsType) String() string

func (CountsType) ValueFromObject

func (CountsType) ValueFromTerraform

func (t CountsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (CountsType) ValueType

func (t CountsType) ValueType(ctx context.Context) attr.Value

type CountsValue

type CountsValue struct {
	DownloadRequested basetypes.ListValue  `tfsdk:"download_requested"`
	Downloaded        basetypes.ListValue  `tfsdk:"downloaded"`
	Failed            basetypes.ListValue  `tfsdk:"failed"`
	RebootInProgress  basetypes.ListValue  `tfsdk:"reboot_in_progress"`
	Rebooted          basetypes.ListValue  `tfsdk:"rebooted"`
	Scheduled         basetypes.ListValue  `tfsdk:"scheduled"`
	Skipped           basetypes.ListValue  `tfsdk:"skipped"`
	Total             basetypes.Int64Value `tfsdk:"total"`
	Upgraded          basetypes.ListValue  `tfsdk:"upgraded"`
	// contains filtered or unexported fields
}

func NewCountsValue

func NewCountsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CountsValue, diag.Diagnostics)

func NewCountsValueMust

func NewCountsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CountsValue

func NewCountsValueNull

func NewCountsValueNull() CountsValue

func NewCountsValueUnknown

func NewCountsValueUnknown() CountsValue

func (CountsValue) AttributeTypes

func (v CountsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (CountsValue) Equal

func (v CountsValue) Equal(o attr.Value) bool

func (CountsValue) IsNull

func (v CountsValue) IsNull() bool

func (CountsValue) IsUnknown

func (v CountsValue) IsUnknown() bool

func (CountsValue) String

func (v CountsValue) String() string

func (CountsValue) ToObjectValue

func (CountsValue) ToTerraformValue

func (v CountsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (CountsValue) Type

func (v CountsValue) Type(ctx context.Context) attr.Type

type UpgradePlanType

type UpgradePlanType struct {
	basetypes.ObjectType
}

func (UpgradePlanType) Equal

func (t UpgradePlanType) Equal(o attr.Type) bool

func (UpgradePlanType) String

func (t UpgradePlanType) String() string

func (UpgradePlanType) ValueFromObject

func (UpgradePlanType) ValueFromTerraform

func (t UpgradePlanType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (UpgradePlanType) ValueType

func (t UpgradePlanType) ValueType(ctx context.Context) attr.Value

type UpgradePlanValue

type UpgradePlanValue struct {
	// contains filtered or unexported fields
}

func NewUpgradePlanValue

func NewUpgradePlanValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (UpgradePlanValue, diag.Diagnostics)

func NewUpgradePlanValueMust

func NewUpgradePlanValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UpgradePlanValue

func NewUpgradePlanValueNull

func NewUpgradePlanValueNull() UpgradePlanValue

func NewUpgradePlanValueUnknown

func NewUpgradePlanValueUnknown() UpgradePlanValue

func (UpgradePlanValue) AttributeTypes

func (v UpgradePlanValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (UpgradePlanValue) Equal

func (v UpgradePlanValue) Equal(o attr.Value) bool

func (UpgradePlanValue) IsNull

func (v UpgradePlanValue) IsNull() bool

func (UpgradePlanValue) IsUnknown

func (v UpgradePlanValue) IsUnknown() bool

func (UpgradePlanValue) String

func (v UpgradePlanValue) String() string

func (UpgradePlanValue) ToObjectValue

func (UpgradePlanValue) ToTerraformValue

func (v UpgradePlanValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (UpgradePlanValue) Type

type UpgradeSiteDevicesModel

type UpgradeSiteDevicesModel struct {
	CanaryPhases            types.List       `tfsdk:"canary_phases"`
	Counts                  CountsValue      `tfsdk:"counts"`
	CurrentPhase            types.Int64      `tfsdk:"current_phase"`
	DeviceIds               types.List       `tfsdk:"device_ids"`
	EnableP2p               types.Bool       `tfsdk:"enable_p2p"`
	Force                   types.Bool       `tfsdk:"force"`
	Id                      types.String     `tfsdk:"id"`
	MaxFailurePercentage    types.Number     `tfsdk:"max_failure_percentage"`
	MaxFailures             types.List       `tfsdk:"max_failures"`
	Models                  types.List       `tfsdk:"models"`
	P2pClusterSize          types.Int64      `tfsdk:"p2p_cluster_size"`
	P2pParallelism          types.Int64      `tfsdk:"p2p_parallelism"`
	Reboot                  types.Bool       `tfsdk:"reboot"`
	RebootAt                types.Number     `tfsdk:"reboot_at"`
	RrmFirstBatchPercentage types.Int64      `tfsdk:"rrm_first_batch_percentage"`
	RrmMaxBatchPercentage   types.Int64      `tfsdk:"rrm_max_batch_percentage"`
	RrmMeshUpgrade          types.String     `tfsdk:"rrm_mesh_upgrade"`
	RrmNodeOrder            types.String     `tfsdk:"rrm_node_order"`
	RrmSlowRamp             types.Bool       `tfsdk:"rrm_slow_ramp"`
	Rules                   types.List       `tfsdk:"rules"`
	SiteId                  types.String     `tfsdk:"site_id"`
	Snapshot                types.Bool       `tfsdk:"snapshot"`
	StartTime               types.Number     `tfsdk:"start_time"`
	Status                  types.String     `tfsdk:"status"`
	Strategy                types.String     `tfsdk:"strategy"`
	TargetVersion           types.String     `tfsdk:"target_version"`
	UpgradeId               types.String     `tfsdk:"upgrade_id"`
	UpgradePlan             UpgradePlanValue `tfsdk:"upgrade_plan"`
	Version                 types.String     `tfsdk:"version"`
}

Jump to

Keyboard shortcuts

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