Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Using getWorkloadScalingPolicies
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 getWorkloadScalingPolicies(args: GetWorkloadScalingPoliciesArgs, opts?: InvokeOptions): Promise<GetWorkloadScalingPoliciesResult>
function getWorkloadScalingPoliciesOutput(args: GetWorkloadScalingPoliciesOutputArgs, opts?: InvokeOutputOptions): Output<GetWorkloadScalingPoliciesResult>def get_workload_scaling_policies(cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadScalingPoliciesResult
def get_workload_scaling_policies_output(cluster_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkloadScalingPoliciesResult]func GetWorkloadScalingPolicies(ctx *Context, args *GetWorkloadScalingPoliciesArgs, opts ...InvokeOption) (*GetWorkloadScalingPoliciesResult, error)
func GetWorkloadScalingPoliciesOutput(ctx *Context, args *GetWorkloadScalingPoliciesOutputArgs, opts ...InvokeOption) GetWorkloadScalingPoliciesResultOutput> Note: This function is named GetWorkloadScalingPolicies in the Go SDK.
public static class GetWorkloadScalingPolicies
{
public static Task<GetWorkloadScalingPoliciesResult> InvokeAsync(GetWorkloadScalingPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadScalingPoliciesResult> Invoke(GetWorkloadScalingPoliciesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadScalingPoliciesResult> Invoke(GetWorkloadScalingPoliciesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkloadScalingPoliciesResult> getWorkloadScalingPolicies(GetWorkloadScalingPoliciesArgs args, InvokeOptions options)
public static Output<GetWorkloadScalingPoliciesResult> getWorkloadScalingPolicies(GetWorkloadScalingPoliciesArgs args, InvokeOptions options)
public static Output<GetWorkloadScalingPoliciesResult> getWorkloadScalingPolicies(GetWorkloadScalingPoliciesArgs args, InvokeOutputOptions options)
fn::invoke:
function: castai:workload:getWorkloadScalingPolicies
arguments:
# arguments dictionarydata "castai_get_workload_scaling_policies" "name" {
# arguments
}The following arguments are supported:
- Cluster
Id string
- Cluster
Id string
- cluster_
id string
- cluster
Id String
- cluster
Id string
- cluster_
id str
- cluster
Id String
getWorkloadScalingPolicies Result
The following output properties are available:
- Cluster
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Policies
List<Pulumi.
Cast AI. Workload. Outputs. Get Workload Scaling Policies Policy> - Policies
By Dictionary<string, string>Name
- Cluster
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Policies
Get
Workload Scaling Policies Policy - Policies
By map[string]stringName
- cluster_
id string - id string
- The provider-assigned unique ID for this managed resource.
- policies list(object)
- policies_
by_ map(string)name
- cluster
Id String - id String
- The provider-assigned unique ID for this managed resource.
- policies
List<Get
Workload Scaling Policies Policy> - policies
By Map<String,String>Name
- cluster
Id string - id string
- The provider-assigned unique ID for this managed resource.
- policies
workload
Get Workload Scaling Policies Policy[] - policies
By {[key: string]: string}Name
- cluster_
id str - id str
- The provider-assigned unique ID for this managed resource.
- policies
Sequence[workload.
Get Workload Scaling Policies Policy] - policies_
by_ Mapping[str, str]name
- cluster
Id String - id String
- The provider-assigned unique ID for this managed resource.
- policies List<Property Map>
- policies
By Map<String>Name
Supporting Types
GetWorkloadScalingPoliciesPolicy
- Id string
- Policy UUID.
- Is
Castware bool - Whether this policy is managed by CAST AI and only applies to castware workloads.
- Is
Default bool - Whether this is the default scaling policy for the cluster.
- Is
Readonly bool - Whether this policy is read-only (cannot be updated or deleted).
- Name string
- Policy name.
- Id string
- Policy UUID.
- Is
Castware bool - Whether this policy is managed by CAST AI and only applies to castware workloads.
- Is
Default bool - Whether this is the default scaling policy for the cluster.
- Is
Readonly bool - Whether this policy is read-only (cannot be updated or deleted).
- Name string
- Policy name.
- id string
- Policy UUID.
- is_
castware bool - Whether this policy is managed by CAST AI and only applies to castware workloads.
- is_
default bool - Whether this is the default scaling policy for the cluster.
- is_
readonly bool - Whether this policy is read-only (cannot be updated or deleted).
- name string
- Policy name.
- id String
- Policy UUID.
- is
Castware Boolean - Whether this policy is managed by CAST AI and only applies to castware workloads.
- is
Default Boolean - Whether this is the default scaling policy for the cluster.
- is
Readonly Boolean - Whether this policy is read-only (cannot be updated or deleted).
- name String
- Policy name.
- id string
- Policy UUID.
- is
Castware boolean - Whether this policy is managed by CAST AI and only applies to castware workloads.
- is
Default boolean - Whether this is the default scaling policy for the cluster.
- is
Readonly boolean - Whether this policy is read-only (cannot be updated or deleted).
- name string
- Policy name.
- id str
- Policy UUID.
- is_
castware bool - Whether this policy is managed by CAST AI and only applies to castware workloads.
- is_
default bool - Whether this is the default scaling policy for the cluster.
- is_
readonly bool - Whether this policy is read-only (cannot be updated or deleted).
- name str
- Policy name.
- id String
- Policy UUID.
- is
Castware Boolean - Whether this policy is managed by CAST AI and only applies to castware workloads.
- is
Default Boolean - Whether this is the default scaling policy for the cluster.
- is
Readonly Boolean - Whether this policy is read-only (cannot be updated or deleted).
- name String
- Policy name.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI