Documentation ¶
Index ¶
- func UpgradeSiteDevicesResourceSchema(ctx context.Context) schema.Schema
- type CountsType
- func (t CountsType) Equal(o attr.Type) bool
- func (t CountsType) String() string
- func (t CountsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t CountsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t CountsType) ValueType(ctx context.Context) attr.Value
- type CountsValue
- func NewCountsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CountsValue, diag.Diagnostics)
- func NewCountsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CountsValue
- func NewCountsValueNull() CountsValue
- func NewCountsValueUnknown() CountsValue
- func (v CountsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v CountsValue) Equal(o attr.Value) bool
- func (v CountsValue) IsNull() bool
- func (v CountsValue) IsUnknown() bool
- func (v CountsValue) String() string
- func (v CountsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v CountsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v CountsValue) Type(ctx context.Context) attr.Type
- type UpgradePlanType
- func (t UpgradePlanType) Equal(o attr.Type) bool
- func (t UpgradePlanType) String() string
- func (t UpgradePlanType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t UpgradePlanType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t UpgradePlanType) ValueType(ctx context.Context) attr.Value
- type UpgradePlanValue
- func NewUpgradePlanValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (UpgradePlanValue, diag.Diagnostics)
- func NewUpgradePlanValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UpgradePlanValue
- func NewUpgradePlanValueNull() UpgradePlanValue
- func NewUpgradePlanValueUnknown() UpgradePlanValue
- func (v UpgradePlanValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v UpgradePlanValue) Equal(o attr.Value) bool
- func (v UpgradePlanValue) IsNull() bool
- func (v UpgradePlanValue) IsUnknown() bool
- func (v UpgradePlanValue) String() string
- func (v UpgradePlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v UpgradePlanValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v UpgradePlanValue) Type(ctx context.Context) attr.Type
- type UpgradeSiteDevicesModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CountsType ¶
type CountsType struct {
basetypes.ObjectType
}
func (CountsType) String ¶
func (t CountsType) String() string
func (CountsType) ValueFromObject ¶
func (t CountsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (CountsType) ValueFromTerraform ¶
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 NewCountsValueNull ¶
func NewCountsValueNull() CountsValue
func NewCountsValueUnknown ¶
func NewCountsValueUnknown() CountsValue
func (CountsValue) AttributeTypes ¶
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 (v CountsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (CountsValue) ToTerraformValue ¶
type UpgradePlanType ¶
type UpgradePlanType struct {
basetypes.ObjectType
}
func (UpgradePlanType) String ¶
func (t UpgradePlanType) String() string
func (UpgradePlanType) ValueFromObject ¶
func (t UpgradePlanType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (UpgradePlanType) ValueFromTerraform ¶
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 NewUpgradePlanValueNull ¶
func NewUpgradePlanValueNull() UpgradePlanValue
func NewUpgradePlanValueUnknown ¶
func NewUpgradePlanValueUnknown() UpgradePlanValue
func (UpgradePlanValue) AttributeTypes ¶
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 (v UpgradePlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (UpgradePlanValue) ToTerraformValue ¶
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"` }
Click to show internal directories.
Click to hide internal directories.