castai 7.49.0 published on Wednesday, Apr 30, 2025 by castai
castai.getHibernationSchedule
Explore with Pulumi AI
Retrieve Hibernation Schedule
Using getHibernationSchedule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHibernationSchedule(args: GetHibernationScheduleArgs, opts?: InvokeOptions): Promise<GetHibernationScheduleResult>
function getHibernationScheduleOutput(args: GetHibernationScheduleOutputArgs, opts?: InvokeOptions): Output<GetHibernationScheduleResult>
def get_hibernation_schedule(cluster_assignments: Optional[Sequence[GetHibernationScheduleClusterAssignment]] = None,
id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHibernationScheduleResult
def get_hibernation_schedule_output(cluster_assignments: Optional[pulumi.Input[Sequence[pulumi.Input[GetHibernationScheduleClusterAssignmentArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHibernationScheduleResult]
func LookupHibernationSchedule(ctx *Context, args *LookupHibernationScheduleArgs, opts ...InvokeOption) (*LookupHibernationScheduleResult, error)
func LookupHibernationScheduleOutput(ctx *Context, args *LookupHibernationScheduleOutputArgs, opts ...InvokeOption) LookupHibernationScheduleResultOutput
> Note: This function is named LookupHibernationSchedule
in the Go SDK.
public static class GetHibernationSchedule
{
public static Task<GetHibernationScheduleResult> InvokeAsync(GetHibernationScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetHibernationScheduleResult> Invoke(GetHibernationScheduleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHibernationScheduleResult> getHibernationSchedule(GetHibernationScheduleArgs args, InvokeOptions options)
public static Output<GetHibernationScheduleResult> getHibernationSchedule(GetHibernationScheduleArgs args, InvokeOptions options)
fn::invoke:
function: castai:index/getHibernationSchedule:getHibernationSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the schedule.
- Cluster
Assignments List<GetHibernation Schedule Cluster Assignment> - Id string
- The ID of this resource.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- Name string
- Name of the schedule.
- Cluster
Assignments []GetHibernation Schedule Cluster Assignment - Id string
- The ID of this resource.
- Organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- name String
- Name of the schedule.
- cluster
Assignments List<GetHibernation Schedule Cluster Assignment> - id String
- The ID of this resource.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- name string
- Name of the schedule.
- cluster
Assignments GetHibernation Schedule Cluster Assignment[] - id string
- The ID of this resource.
- organization
Id string - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- name str
- Name of the schedule.
- cluster_
assignments Sequence[GetHibernation Schedule Cluster Assignment] - id str
- The ID of this resource.
- organization_
id str - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
- name String
- Name of the schedule.
- cluster
Assignments List<Property Map> - id String
- The ID of this resource.
- organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
getHibernationSchedule Result
The following output properties are available:
- Enabled bool
- Enables or disables the schedule.
- Id string
- The ID of this resource.
- Name string
- Name of the schedule.
- Pause
Configs List<GetHibernation Schedule Pause Config> - Resume
Configs List<GetHibernation Schedule Resume Config> - Cluster
Assignments List<GetHibernation Schedule Cluster Assignment> - 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.
- Id string
- The ID of this resource.
- Name string
- Name of the schedule.
- Pause
Configs []GetHibernation Schedule Pause Config - Resume
Configs []GetHibernation Schedule Resume Config - Cluster
Assignments []GetHibernation Schedule Cluster Assignment - 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.
- id String
- The ID of this resource.
- name String
- Name of the schedule.
- pause
Configs List<GetHibernation Schedule Pause Config> - resume
Configs List<GetHibernation Schedule Resume Config> - cluster
Assignments List<GetHibernation Schedule Cluster Assignment> - 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.
- id string
- The ID of this resource.
- name string
- Name of the schedule.
- pause
Configs GetHibernation Schedule Pause Config[] - resume
Configs GetHibernation Schedule Resume Config[] - cluster
Assignments GetHibernation Schedule Cluster Assignment[] - 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.
- id str
- The ID of this resource.
- name str
- Name of the schedule.
- pause_
configs Sequence[GetHibernation Schedule Pause Config] - resume_
configs Sequence[GetHibernation Schedule Resume Config] - cluster_
assignments Sequence[GetHibernation Schedule Cluster Assignment] - 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.
- id String
- The ID of this resource.
- name String
- Name of the schedule.
- pause
Configs List<Property Map> - resume
Configs List<Property Map> - cluster
Assignments List<Property Map> - organization
Id String - ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
Supporting Types
GetHibernationScheduleClusterAssignment
GetHibernationScheduleClusterAssignmentAssignment
- 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.
GetHibernationSchedulePauseConfig
- enabled Boolean
- schedules List<Property Map>
GetHibernationSchedulePauseConfigSchedule
- Cron
Expression string
- Cron
Expression string
- cron
Expression String
- cron
Expression string
- cron_
expression str
- cron
Expression String
GetHibernationScheduleResumeConfig
GetHibernationScheduleResumeConfigJobConfig
GetHibernationScheduleResumeConfigJobConfigNodeConfig
- Config
Id string - Config
Name string - Gpu
Configs List<GetHibernation Schedule Resume Config Job Config Node Config Gpu Config> - Instance
Type string - Kubernetes
Labels Dictionary<string, string> - Kubernetes
Taints List<GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint> - Node
Affinities List<GetHibernation Schedule Resume Config Job Config Node Config Node Affinity> - Spot
Configs List<GetHibernation Schedule Resume Config Job Config Node Config Spot Config> - Subnet
Id string - Volumes
List<Get
Hibernation Schedule Resume Config Job Config Node Config Volume> - Zone string
- Config
Id string - Config
Name string - Gpu
Configs []GetHibernation Schedule Resume Config Job Config Node Config Gpu Config - Instance
Type string - Kubernetes
Labels map[string]string - Kubernetes
Taints []GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint - Node
Affinities []GetHibernation Schedule Resume Config Job Config Node Config Node Affinity - Spot
Configs []GetHibernation Schedule Resume Config Job Config Node Config Spot Config - Subnet
Id string - Volumes
[]Get
Hibernation Schedule Resume Config Job Config Node Config Volume - Zone string
- config
Id String - config
Name String - gpu
Configs List<GetHibernation Schedule Resume Config Job Config Node Config Gpu Config> - instance
Type String - kubernetes
Labels Map<String,String> - kubernetes
Taints List<GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint> - node
Affinities List<GetHibernation Schedule Resume Config Job Config Node Config Node Affinity> - spot
Configs List<GetHibernation Schedule Resume Config Job Config Node Config Spot Config> - subnet
Id String - volumes
List<Get
Hibernation Schedule Resume Config Job Config Node Config Volume> - zone String
- config
Id string - config
Name string - gpu
Configs GetHibernation Schedule Resume Config Job Config Node Config Gpu Config[] - instance
Type string - kubernetes
Labels {[key: string]: string} - kubernetes
Taints GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint[] - node
Affinities GetHibernation Schedule Resume Config Job Config Node Config Node Affinity[] - spot
Configs GetHibernation Schedule Resume Config Job Config Node Config Spot Config[] - subnet
Id string - volumes
Get
Hibernation Schedule Resume Config Job Config Node Config Volume[] - zone string
- config_
id str - config_
name str - gpu_
configs Sequence[GetHibernation Schedule Resume Config Job Config Node Config Gpu Config] - instance_
type str - kubernetes_
labels Mapping[str, str] - kubernetes_
taints Sequence[GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint] - node_
affinities Sequence[GetHibernation Schedule Resume Config Job Config Node Config Node Affinity] - spot_
configs Sequence[GetHibernation Schedule Resume Config Job Config Node Config Spot Config] - subnet_
id str - volumes
Sequence[Get
Hibernation Schedule Resume Config Job Config Node Config Volume] - zone str
- config
Id String - config
Name String - gpu
Configs List<Property Map> - instance
Type String - kubernetes
Labels Map<String> - kubernetes
Taints List<Property Map> - node
Affinities List<Property Map> - spot
Configs List<Property Map> - subnet
Id String - volumes List<Property Map>
- zone String
GetHibernationScheduleResumeConfigJobConfigNodeConfigGpuConfig
GetHibernationScheduleResumeConfigJobConfigNodeConfigKubernetesTaint
GetHibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinity
GetHibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinityAffinity
GetHibernationScheduleResumeConfigJobConfigNodeConfigSpotConfig
- Price
Hourly string - Spot bool
- Price
Hourly string - Spot bool
- price
Hourly String - spot Boolean
- price
Hourly string - spot boolean
- price_
hourly str - spot bool
- price
Hourly String - spot Boolean
GetHibernationScheduleResumeConfigJobConfigNodeConfigVolume
GetHibernationScheduleResumeConfigJobConfigNodeConfigVolumeRaidConfig
- Chunk
Size doubleKb
- Chunk
Size float64Kb
- chunk
Size DoubleKb
- chunk
Size numberKb
- chunk_
size_ floatkb
- chunk
Size NumberKb
GetHibernationScheduleResumeConfigSchedule
- Cron
Expression string
- Cron
Expression string
- cron
Expression String
- cron
Expression string
- cron_
expression str
- cron
Expression String
Package Details
- Repository
- castai castai/terraform-provider-castai
- License
- Notes
- This Pulumi package is based on the
castai
Terraform Provider.