castai.HibernationSchedule
Create HibernationSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HibernationSchedule(name: string, args: HibernationScheduleArgs, opts?: CustomResourceOptions);@overload
def HibernationSchedule(resource_name: str,
args: HibernationScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HibernationSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
pause_config: Optional[_rebalancing.HibernationSchedulePauseConfigArgs] = None,
resume_config: Optional[_rebalancing.HibernationScheduleResumeConfigArgs] = None,
cluster_assignments: Optional[_rebalancing.HibernationScheduleClusterAssignmentsArgs] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None)func NewHibernationSchedule(ctx *Context, name string, args HibernationScheduleArgs, opts ...ResourceOption) (*HibernationSchedule, error)public HibernationSchedule(string name, HibernationScheduleArgs args, CustomResourceOptions? opts = null)
public HibernationSchedule(String name, HibernationScheduleArgs args)
public HibernationSchedule(String name, HibernationScheduleArgs args, CustomResourceOptions options)
type: castai:rebalancing:HibernationSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HibernationScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HibernationScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HibernationScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HibernationScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HibernationScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HibernationSchedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HibernationSchedule resource accepts the following input properties:
- Enabled bool
- Enables or disables the schedule.
- Pause
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Pause Config - Resume
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config - Cluster
Assignments Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Cluster Assignments - Name string
- Name of the schedule.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- Enabled bool
- Enables or disables the schedule.
- Pause
Config HibernationSchedule Pause Config Args - Resume
Config HibernationSchedule Resume Config Args - Cluster
Assignments HibernationSchedule Cluster Assignments Args - Name string
- Name of the schedule.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- enabled Boolean
- Enables or disables the schedule.
- pause
Config HibernationSchedule Pause Config - resume
Config HibernationSchedule Resume Config - cluster
Assignments HibernationSchedule Cluster Assignments - name String
- Name of the schedule.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- enabled boolean
- Enables or disables the schedule.
- pause
Config rebalancingHibernation Schedule Pause Config - resume
Config rebalancingHibernation Schedule Resume Config - cluster
Assignments rebalancingHibernation Schedule Cluster Assignments - name string
- Name of the schedule.
- organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- enabled bool
- Enables or disables the schedule.
- pause_
config rebalancing.Hibernation Schedule Pause Config Args - resume_
config rebalancing.Hibernation Schedule Resume Config Args - cluster_
assignments rebalancing.Hibernation Schedule Cluster Assignments Args - name str
- Name of the schedule.
- organization_
id str - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- enabled Boolean
- Enables or disables the schedule.
- pause
Config Property Map - resume
Config Property Map - cluster
Assignments Property Map - name String
- Name of the schedule.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
Outputs
All input properties are implicitly available as output properties. Additionally, the HibernationSchedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing HibernationSchedule Resource
Get an existing HibernationSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HibernationScheduleState, opts?: CustomResourceOptions): HibernationSchedule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_assignments: Optional[_rebalancing.HibernationScheduleClusterAssignmentsArgs] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
pause_config: Optional[_rebalancing.HibernationSchedulePauseConfigArgs] = None,
resume_config: Optional[_rebalancing.HibernationScheduleResumeConfigArgs] = None) -> HibernationSchedulefunc GetHibernationSchedule(ctx *Context, name string, id IDInput, state *HibernationScheduleState, opts ...ResourceOption) (*HibernationSchedule, error)public static HibernationSchedule Get(string name, Input<string> id, HibernationScheduleState? state, CustomResourceOptions? opts = null)public static HibernationSchedule get(String name, Output<String> id, HibernationScheduleState state, CustomResourceOptions options)resources: _: type: castai:rebalancing:HibernationSchedule get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Assignments Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Cluster Assignments - Enabled bool
- Enables or disables the schedule.
- Name string
- Name of the schedule.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- Pause
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Pause Config - Resume
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config
- Cluster
Assignments HibernationSchedule Cluster Assignments Args - Enabled bool
- Enables or disables the schedule.
- Name string
- Name of the schedule.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- Pause
Config HibernationSchedule Pause Config Args - Resume
Config HibernationSchedule Resume Config Args
- cluster
Assignments HibernationSchedule Cluster Assignments - enabled Boolean
- Enables or disables the schedule.
- name String
- Name of the schedule.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- pause
Config HibernationSchedule Pause Config - resume
Config HibernationSchedule Resume Config
- cluster
Assignments rebalancingHibernation Schedule Cluster Assignments - enabled boolean
- Enables or disables the schedule.
- name string
- Name of the schedule.
- organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- pause
Config rebalancingHibernation Schedule Pause Config - resume
Config rebalancingHibernation Schedule Resume Config
- cluster_
assignments rebalancing.Hibernation Schedule Cluster Assignments Args - enabled bool
- Enables or disables the schedule.
- name str
- Name of the schedule.
- organization_
id str - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- pause_
config rebalancing.Hibernation Schedule Pause Config Args - resume_
config rebalancing.Hibernation Schedule Resume Config Args
- cluster
Assignments Property Map - enabled Boolean
- Enables or disables the schedule.
- name String
- Name of the schedule.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- pause
Config Property Map - resume
Config Property Map
Supporting Types
HibernationScheduleClusterAssignments, HibernationScheduleClusterAssignmentsArgs
HibernationScheduleClusterAssignmentsAssignment, HibernationScheduleClusterAssignmentsAssignmentArgs
- Cluster
Id string - ID of the cluster.
- Cluster
Id string - ID of the cluster.
- cluster
Id String - ID of the cluster.
- cluster
Id string - ID of the cluster.
- cluster_
id str - ID of the cluster.
- cluster
Id String - ID of the cluster.
HibernationSchedulePauseConfig, HibernationSchedulePauseConfigArgs
- Enabled bool
- Enables or disables the pause configuration.
- Schedule
Pulumi.
Cast AI. Rebalancing. Inputs. Hibernation Schedule Pause Config Schedule
- Enabled bool
- Enables or disables the pause configuration.
- Schedule
Hibernation
Schedule Pause Config Schedule
- enabled Boolean
- Enables or disables the pause configuration.
- schedule
Hibernation
Schedule Pause Config Schedule
- enabled boolean
- Enables or disables the pause configuration.
- schedule
rebalancing
Hibernation Schedule Pause Config Schedule
- enabled bool
- Enables or disables the pause configuration.
- schedule
rebalancing.
Hibernation Schedule Pause Config Schedule
- enabled Boolean
- Enables or disables the pause configuration.
- schedule Property Map
HibernationSchedulePauseConfigSchedule, HibernationSchedulePauseConfigScheduleArgs
- Cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- Cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression String Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron_
expression str Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression String Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
HibernationScheduleResumeConfig, HibernationScheduleResumeConfigArgs
- Enabled bool
- Enables or disables the pause configuration.
- Job
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config - Schedule
Pulumi.
Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Schedule
- Enabled bool
- Enables or disables the pause configuration.
- Job
Config HibernationSchedule Resume Config Job Config - Schedule
Hibernation
Schedule Resume Config Schedule
- enabled Boolean
- Enables or disables the pause configuration.
- job
Config HibernationSchedule Resume Config Job Config - schedule
Hibernation
Schedule Resume Config Schedule
- enabled boolean
- Enables or disables the pause configuration.
- job
Config rebalancingHibernation Schedule Resume Config Job Config - schedule
rebalancing
Hibernation Schedule Resume Config Schedule
- enabled bool
- Enables or disables the pause configuration.
- job_
config rebalancing.Hibernation Schedule Resume Config Job Config - schedule
rebalancing.
Hibernation Schedule Resume Config Schedule
- enabled Boolean
- Enables or disables the pause configuration.
- job
Config Property Map - schedule Property Map
HibernationScheduleResumeConfigJobConfig, HibernationScheduleResumeConfigJobConfigArgs
HibernationScheduleResumeConfigJobConfigNodeConfig, HibernationScheduleResumeConfigJobConfigNodeConfigArgs
- Instance
Type string - Instance type.
- Config
Id string - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- Config
Name string - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- Gpu
Config Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Gpu Config - Kubernetes
Labels Dictionary<string, string> - Custom labels to be added to the node.
- Kubernetes
Taints List<Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Kubernetes Taint> - Custom taints to be added to the node created from this configuration.
- Node
Affinities List<Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Node Affinity> - Custom taints to be added to the node created from this configuration.
- Spot
Configs List<Pulumi.Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Spot Config> - Custom taints to be added to the node created from this configuration.
- Subnet
Id string - Node subnet ID.
- Volumes
List<Pulumi.
Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Volume> - Zone string
- Zone of the node.
- Instance
Type string - Instance type.
- Config
Id string - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- Config
Name string - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- Gpu
Config HibernationSchedule Resume Config Job Config Node Config Gpu Config - Kubernetes
Labels map[string]string - Custom labels to be added to the node.
- Kubernetes
Taints HibernationSchedule Resume Config Job Config Node Config Kubernetes Taint - Custom taints to be added to the node created from this configuration.
- Node
Affinities HibernationSchedule Resume Config Job Config Node Config Node Affinity - Custom taints to be added to the node created from this configuration.
- Spot
Configs HibernationSchedule Resume Config Job Config Node Config Spot Config - Custom taints to be added to the node created from this configuration.
- Subnet
Id string - Node subnet ID.
- Volumes
Hibernation
Schedule Resume Config Job Config Node Config Volume - Zone string
- Zone of the node.
- instance
Type String - Instance type.
- config
Id String - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- config
Name String - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- gpu
Config HibernationSchedule Resume Config Job Config Node Config Gpu Config - kubernetes
Labels Map<String,String> - Custom labels to be added to the node.
- kubernetes
Taints List<HibernationSchedule Resume Config Job Config Node Config Kubernetes Taint> - Custom taints to be added to the node created from this configuration.
- node
Affinities List<HibernationSchedule Resume Config Job Config Node Config Node Affinity> - Custom taints to be added to the node created from this configuration.
- spot
Configs List<HibernationSchedule Resume Config Job Config Node Config Spot Config> - Custom taints to be added to the node created from this configuration.
- subnet
Id String - Node subnet ID.
- volumes
List<Hibernation
Schedule Resume Config Job Config Node Config Volume> - zone String
- Zone of the node.
- instance
Type string - Instance type.
- config
Id string - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- config
Name string - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- gpu
Config rebalancingHibernation Schedule Resume Config Job Config Node Config Gpu Config - kubernetes
Labels {[key: string]: string} - Custom labels to be added to the node.
- kubernetes
Taints rebalancingHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint[] - Custom taints to be added to the node created from this configuration.
- node
Affinities rebalancingHibernation Schedule Resume Config Job Config Node Config Node Affinity[] - Custom taints to be added to the node created from this configuration.
- spot
Configs rebalancingHibernation Schedule Resume Config Job Config Node Config Spot Config[] - Custom taints to be added to the node created from this configuration.
- subnet
Id string - Node subnet ID.
- volumes
rebalancing
Hibernation Schedule Resume Config Job Config Node Config Volume[] - zone string
- Zone of the node.
- instance_
type str - Instance type.
- config_
id str - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- config_
name str - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- gpu_
config rebalancing.Hibernation Schedule Resume Config Job Config Node Config Gpu Config - kubernetes_
labels Mapping[str, str] - Custom labels to be added to the node.
- kubernetes_
taints Sequence[rebalancing.Hibernation Schedule Resume Config Job Config Node Config Kubernetes Taint] - Custom taints to be added to the node created from this configuration.
- node_
affinities Sequence[rebalancing.Hibernation Schedule Resume Config Job Config Node Config Node Affinity] - Custom taints to be added to the node created from this configuration.
- spot_
configs Sequence[rebalancing.Hibernation Schedule Resume Config Job Config Node Config Spot Config] - Custom taints to be added to the node created from this configuration.
- subnet_
id str - Node subnet ID.
- volumes
Sequence[rebalancing.
Hibernation Schedule Resume Config Job Config Node Config Volume] - zone str
- Zone of the node.
- instance
Type String - Instance type.
- config
Id String - ID reference of Node Configuration to be used for node creation. Supersedes 'config_name' parameter.
- config
Name String - Name reference of Node Configuration to be used for node creation. Superseded if 'config_id' parameter is provided.
- gpu
Config Property Map - kubernetes
Labels Map<String> - Custom labels to be added to the node.
- kubernetes
Taints List<Property Map> - Custom taints to be added to the node created from this configuration.
- node
Affinities List<Property Map> - Custom taints to be added to the node created from this configuration.
- spot
Configs List<Property Map> - Custom taints to be added to the node created from this configuration.
- subnet
Id String - Node subnet ID.
- volumes List<Property Map>
- zone String
- Zone of the node.
HibernationScheduleResumeConfigJobConfigNodeConfigGpuConfig, HibernationScheduleResumeConfigJobConfigNodeConfigGpuConfigArgs
HibernationScheduleResumeConfigJobConfigNodeConfigKubernetesTaint, HibernationScheduleResumeConfigJobConfigNodeConfigKubernetesTaintArgs
HibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinity, HibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinityArgs
- Dedicated
Group string - Key of a taint to be added to nodes created from this template.
- Affinities
List<Pulumi.
Cast AI. Rebalancing. Inputs. Hibernation Schedule Resume Config Job Config Node Config Node Affinity Affinity>
- Dedicated
Group string - Key of a taint to be added to nodes created from this template.
- Affinities
Hibernation
Schedule Resume Config Job Config Node Config Node Affinity Affinity
- dedicated
Group String - Key of a taint to be added to nodes created from this template.
- affinities
List<Hibernation
Schedule Resume Config Job Config Node Config Node Affinity Affinity>
- dedicated
Group string - Key of a taint to be added to nodes created from this template.
- affinities
rebalancing
Hibernation Schedule Resume Config Job Config Node Config Node Affinity Affinity[]
- dedicated_
group str - Key of a taint to be added to nodes created from this template.
- affinities
Sequence[rebalancing.
Hibernation Schedule Resume Config Job Config Node Config Node Affinity Affinity]
- dedicated
Group String - Key of a taint to be added to nodes created from this template.
- affinities List<Property Map>
HibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinityAffinity, HibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinityAffinityArgs
HibernationScheduleResumeConfigJobConfigNodeConfigSpotConfig, HibernationScheduleResumeConfigJobConfigNodeConfigSpotConfigArgs
- Price
Hourly string - Spot instance price. Applicable only for AWS nodes.
- Spot bool
- Whether node should be created as spot instance.
- Price
Hourly string - Spot instance price. Applicable only for AWS nodes.
- Spot bool
- Whether node should be created as spot instance.
- price
Hourly String - Spot instance price. Applicable only for AWS nodes.
- spot Boolean
- Whether node should be created as spot instance.
- price
Hourly string - Spot instance price. Applicable only for AWS nodes.
- spot boolean
- Whether node should be created as spot instance.
- price_
hourly str - Spot instance price. Applicable only for AWS nodes.
- spot bool
- Whether node should be created as spot instance.
- price
Hourly String - Spot instance price. Applicable only for AWS nodes.
- spot Boolean
- Whether node should be created as spot instance.
HibernationScheduleResumeConfigJobConfigNodeConfigVolume, HibernationScheduleResumeConfigJobConfigNodeConfigVolumeArgs
- Raid
Configs HibernationSchedule Resume Config Job Config Node Config Volume Raid Config - Size
Gib int - Volume size in GiB.
- raid
Configs List<HibernationSchedule Resume Config Job Config Node Config Volume Raid Config> - size
Gib Integer - Volume size in GiB.
- raid
Configs rebalancingHibernation Schedule Resume Config Job Config Node Config Volume Raid Config[] - size
Gib number - Volume size in GiB.
- raid
Configs List<Property Map> - size
Gib Number - Volume size in GiB.
HibernationScheduleResumeConfigJobConfigNodeConfigVolumeRaidConfig, HibernationScheduleResumeConfigJobConfigNodeConfigVolumeRaidConfigArgs
- Chunk
Size intKb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
- Chunk
Size intKb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
- chunk
Size IntegerKb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
- chunk
Size numberKb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
- chunk_
size_ intkb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
- chunk
Size NumberKb - Specify the RAID0 chunk size in kilobytes, this parameter affects the read/write in the disk array and must be tailored for the type of data written by the workloads in the node. If not provided it will default to 64KB
HibernationScheduleResumeConfigSchedule, HibernationScheduleResumeConfigScheduleArgs
- Cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- Cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression String Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression string Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron_
expression str Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron
Expression String Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable at the beginning to specify the timezone in which the schedule should be interpreted.Example:
CRON_TZ=America/New_York 0 12 * * ?In the example above, the
CRON_TZvariable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.To retrieve a list of available timezone values, you can use the following API endpoint:
GET https://api.cast.ai/v1/time-zones
When using the
CRON_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
