castai 7.45.0 published on Wednesday, Apr 16, 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 dictionaryThe following arguments are supported:
- Name string
- Name of the schedule.
- ClusterAssignments List<GetHibernation Schedule Cluster Assignment> 
- Id string
- The ID of this resource.
- OrganizationId 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.
- ClusterAssignments []GetHibernation Schedule Cluster Assignment 
- Id string
- The ID of this resource.
- OrganizationId 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.
- clusterAssignments List<GetHibernation Schedule Cluster Assignment> 
- id String
- The ID of this resource.
- organizationId 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.
- clusterAssignments GetHibernation Schedule Cluster Assignment[] 
- id string
- The ID of this resource.
- organizationId 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.
- clusterAssignments List<Property Map>
- id String
- The ID of this resource.
- organizationId 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.
- PauseConfigs List<GetHibernation Schedule Pause Config> 
- ResumeConfigs List<GetHibernation Schedule Resume Config> 
- ClusterAssignments List<GetHibernation Schedule Cluster Assignment> 
- OrganizationId 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.
- PauseConfigs []GetHibernation Schedule Pause Config 
- ResumeConfigs []GetHibernation Schedule Resume Config 
- ClusterAssignments []GetHibernation Schedule Cluster Assignment 
- OrganizationId 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.
- pauseConfigs List<GetHibernation Schedule Pause Config> 
- resumeConfigs List<GetHibernation Schedule Resume Config> 
- clusterAssignments List<GetHibernation Schedule Cluster Assignment> 
- organizationId 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.
- pauseConfigs GetHibernation Schedule Pause Config[] 
- resumeConfigs GetHibernation Schedule Resume Config[] 
- clusterAssignments GetHibernation Schedule Cluster Assignment[] 
- organizationId 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.
- pauseConfigs List<Property Map>
- resumeConfigs List<Property Map>
- clusterAssignments List<Property Map>
- organizationId String
- ID of the organization. If not provided, then will attempt to infer it using CAST AI API client.
Supporting Types
GetHibernationScheduleClusterAssignment    
GetHibernationScheduleClusterAssignmentAssignment     
- ClusterId string
- ID of the cluster.
- ClusterId string
- ID of the cluster.
- clusterId String
- ID of the cluster.
- clusterId string
- ID of the cluster.
- cluster_id str
- ID of the cluster.
- clusterId String
- ID of the cluster.
GetHibernationSchedulePauseConfig    
- enabled Boolean
- schedules List<Property Map>
GetHibernationSchedulePauseConfigSchedule     
- CronExpression string
- CronExpression string
- cronExpression String
- cronExpression string
- cron_expression str
- cronExpression String
GetHibernationScheduleResumeConfig    
GetHibernationScheduleResumeConfigJobConfig      
GetHibernationScheduleResumeConfigJobConfigNodeConfig        
- ConfigId string
- ConfigName string
- GpuConfigs List<GetHibernation Schedule Resume Config Job Config Node Config Gpu Config> 
- InstanceType string
- KubernetesLabels Dictionary<string, string>
- KubernetesTaints List<GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint> 
- NodeAffinities List<GetHibernation Schedule Resume Config Job Config Node Config Node Affinity> 
- SpotConfigs List<GetHibernation Schedule Resume Config Job Config Node Config Spot Config> 
- SubnetId string
- Volumes
List<GetHibernation Schedule Resume Config Job Config Node Config Volume> 
- Zone string
- ConfigId string
- ConfigName string
- GpuConfigs []GetHibernation Schedule Resume Config Job Config Node Config Gpu Config 
- InstanceType string
- KubernetesLabels map[string]string
- KubernetesTaints []GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint 
- NodeAffinities []GetHibernation Schedule Resume Config Job Config Node Config Node Affinity 
- SpotConfigs []GetHibernation Schedule Resume Config Job Config Node Config Spot Config 
- SubnetId string
- Volumes
[]GetHibernation Schedule Resume Config Job Config Node Config Volume 
- Zone string
- configId String
- configName String
- gpuConfigs List<GetHibernation Schedule Resume Config Job Config Node Config Gpu Config> 
- instanceType String
- kubernetesLabels Map<String,String>
- kubernetesTaints List<GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint> 
- nodeAffinities List<GetHibernation Schedule Resume Config Job Config Node Config Node Affinity> 
- spotConfigs List<GetHibernation Schedule Resume Config Job Config Node Config Spot Config> 
- subnetId String
- volumes
List<GetHibernation Schedule Resume Config Job Config Node Config Volume> 
- zone String
- configId string
- configName string
- gpuConfigs GetHibernation Schedule Resume Config Job Config Node Config Gpu Config[] 
- instanceType string
- kubernetesLabels {[key: string]: string}
- kubernetesTaints GetHibernation Schedule Resume Config Job Config Node Config Kubernetes Taint[] 
- nodeAffinities GetHibernation Schedule Resume Config Job Config Node Config Node Affinity[] 
- spotConfigs GetHibernation Schedule Resume Config Job Config Node Config Spot Config[] 
- subnetId string
- volumes
GetHibernation 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[GetHibernation Schedule Resume Config Job Config Node Config Volume] 
- zone str
- configId String
- configName String
- gpuConfigs List<Property Map>
- instanceType String
- kubernetesLabels Map<String>
- kubernetesTaints List<Property Map>
- nodeAffinities List<Property Map>
- spotConfigs List<Property Map>
- subnetId String
- volumes List<Property Map>
- zone String
GetHibernationScheduleResumeConfigJobConfigNodeConfigGpuConfig          
GetHibernationScheduleResumeConfigJobConfigNodeConfigKubernetesTaint          
GetHibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinity          
GetHibernationScheduleResumeConfigJobConfigNodeConfigNodeAffinityAffinity           
GetHibernationScheduleResumeConfigJobConfigNodeConfigSpotConfig          
- PriceHourly string
- Spot bool
- PriceHourly string
- Spot bool
- priceHourly String
- spot Boolean
- priceHourly string
- spot boolean
- price_hourly str
- spot bool
- priceHourly String
- spot Boolean
GetHibernationScheduleResumeConfigJobConfigNodeConfigVolume         
GetHibernationScheduleResumeConfigJobConfigNodeConfigVolumeRaidConfig           
- ChunkSize doubleKb 
- ChunkSize float64Kb 
- chunkSize DoubleKb 
- chunkSize numberKb 
- chunk_size_ floatkb 
- chunkSize NumberKb 
GetHibernationScheduleResumeConfigSchedule     
- CronExpression string
- CronExpression string
- cronExpression String
- cronExpression string
- cron_expression str
- cronExpression String
Package Details
- Repository
- castai castai/terraform-provider-castai
- License
- Notes
- This Pulumi package is based on the castaiTerraform Provider.