1. Packages
  2. Hpegl Provider
  3. API Docs
  4. CaasClusterBlueprint
hpegl 0.4.20 published on Monday, Mar 2, 2026 by hpe
hpegl logo
hpegl 0.4.20 published on Monday, Mar 2, 2026 by hpe

    The cluster blueprint resource facilitates the creation and deletion of a CaaS cluster blueprint. Update is currently not supported. The required inputs when creating a cluster blueprint are name, kubernetes_version, site-id, cluster_provider, control_plane, worker_nodes and default_storage_class

    Create CaasClusterBlueprint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CaasClusterBlueprint(name: string, args: CaasClusterBlueprintArgs, opts?: CustomResourceOptions);
    @overload
    def CaasClusterBlueprint(resource_name: str,
                             args: CaasClusterBlueprintArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CaasClusterBlueprint(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             cluster_provider: Optional[str] = None,
                             control_plane_count: Optional[float] = None,
                             default_storage_class: Optional[str] = None,
                             kubernetes_version: Optional[str] = None,
                             site_id: Optional[str] = None,
                             worker_nodes: Optional[Sequence[CaasClusterBlueprintWorkerNodeArgs]] = None,
                             caas_cluster_blueprint_id: Optional[str] = None,
                             name: Optional[str] = None)
    func NewCaasClusterBlueprint(ctx *Context, name string, args CaasClusterBlueprintArgs, opts ...ResourceOption) (*CaasClusterBlueprint, error)
    public CaasClusterBlueprint(string name, CaasClusterBlueprintArgs args, CustomResourceOptions? opts = null)
    public CaasClusterBlueprint(String name, CaasClusterBlueprintArgs args)
    public CaasClusterBlueprint(String name, CaasClusterBlueprintArgs args, CustomResourceOptions options)
    
    type: hpegl:CaasClusterBlueprint
    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 CaasClusterBlueprintArgs
    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 CaasClusterBlueprintArgs
    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 CaasClusterBlueprintArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CaasClusterBlueprintArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CaasClusterBlueprintArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var caasClusterBlueprintResource = new Hpegl.CaasClusterBlueprint("caasClusterBlueprintResource", new()
    {
        ClusterProvider = "string",
        ControlPlaneCount = 0,
        DefaultStorageClass = "string",
        KubernetesVersion = "string",
        SiteId = "string",
        WorkerNodes = new[]
        {
            new Hpegl.Inputs.CaasClusterBlueprintWorkerNodeArgs
            {
                MachineBlueprintId = "string",
                MaxSize = 0,
                MinSize = 0,
                Name = "string",
            },
        },
        CaasClusterBlueprintId = "string",
        Name = "string",
    });
    
    example, err := hpegl.NewCaasClusterBlueprint(ctx, "caasClusterBlueprintResource", &hpegl.CaasClusterBlueprintArgs{
    	ClusterProvider:     pulumi.String("string"),
    	ControlPlaneCount:   pulumi.Float64(0),
    	DefaultStorageClass: pulumi.String("string"),
    	KubernetesVersion:   pulumi.String("string"),
    	SiteId:              pulumi.String("string"),
    	WorkerNodes: hpegl.CaasClusterBlueprintWorkerNodeArray{
    		&hpegl.CaasClusterBlueprintWorkerNodeArgs{
    			MachineBlueprintId: pulumi.String("string"),
    			MaxSize:            pulumi.Float64(0),
    			MinSize:            pulumi.Float64(0),
    			Name:               pulumi.String("string"),
    		},
    	},
    	CaasClusterBlueprintId: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    })
    
    var caasClusterBlueprintResource = new CaasClusterBlueprint("caasClusterBlueprintResource", CaasClusterBlueprintArgs.builder()
        .clusterProvider("string")
        .controlPlaneCount(0.0)
        .defaultStorageClass("string")
        .kubernetesVersion("string")
        .siteId("string")
        .workerNodes(CaasClusterBlueprintWorkerNodeArgs.builder()
            .machineBlueprintId("string")
            .maxSize(0.0)
            .minSize(0.0)
            .name("string")
            .build())
        .caasClusterBlueprintId("string")
        .name("string")
        .build());
    
    caas_cluster_blueprint_resource = hpegl.CaasClusterBlueprint("caasClusterBlueprintResource",
        cluster_provider="string",
        control_plane_count=0,
        default_storage_class="string",
        kubernetes_version="string",
        site_id="string",
        worker_nodes=[{
            "machine_blueprint_id": "string",
            "max_size": 0,
            "min_size": 0,
            "name": "string",
        }],
        caas_cluster_blueprint_id="string",
        name="string")
    
    const caasClusterBlueprintResource = new hpegl.CaasClusterBlueprint("caasClusterBlueprintResource", {
        clusterProvider: "string",
        controlPlaneCount: 0,
        defaultStorageClass: "string",
        kubernetesVersion: "string",
        siteId: "string",
        workerNodes: [{
            machineBlueprintId: "string",
            maxSize: 0,
            minSize: 0,
            name: "string",
        }],
        caasClusterBlueprintId: "string",
        name: "string",
    });
    
    type: hpegl:CaasClusterBlueprint
    properties:
        caasClusterBlueprintId: string
        clusterProvider: string
        controlPlaneCount: 0
        defaultStorageClass: string
        kubernetesVersion: string
        name: string
        siteId: string
        workerNodes:
            - machineBlueprintId: string
              maxSize: 0
              minSize: 0
              name: string
    

    CaasClusterBlueprint 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 CaasClusterBlueprint resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CaasClusterBlueprint 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 CaasClusterBlueprint Resource

    Get an existing CaasClusterBlueprint 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?: CaasClusterBlueprintState, opts?: CustomResourceOptions): CaasClusterBlueprint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            caas_cluster_blueprint_id: Optional[str] = None,
            cluster_provider: Optional[str] = None,
            control_plane_count: Optional[float] = None,
            default_storage_class: Optional[str] = None,
            kubernetes_version: Optional[str] = None,
            name: Optional[str] = None,
            site_id: Optional[str] = None,
            worker_nodes: Optional[Sequence[CaasClusterBlueprintWorkerNodeArgs]] = None) -> CaasClusterBlueprint
    func GetCaasClusterBlueprint(ctx *Context, name string, id IDInput, state *CaasClusterBlueprintState, opts ...ResourceOption) (*CaasClusterBlueprint, error)
    public static CaasClusterBlueprint Get(string name, Input<string> id, CaasClusterBlueprintState? state, CustomResourceOptions? opts = null)
    public static CaasClusterBlueprint get(String name, Output<String> id, CaasClusterBlueprintState state, CustomResourceOptions options)
    resources:  _:    type: hpegl:CaasClusterBlueprint    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.
    The following state arguments are supported:

    Supporting Types

    CaasClusterBlueprintWorkerNode, CaasClusterBlueprintWorkerNodeArgs

    MachineBlueprintId string
    MaxSize double
    MinSize double
    Name string
    MachineBlueprintId string
    MaxSize float64
    MinSize float64
    Name string
    machineBlueprintId String
    maxSize Double
    minSize Double
    name String
    machineBlueprintId string
    maxSize number
    minSize number
    name string
    machineBlueprintId String
    maxSize Number
    minSize Number
    name String

    Package Details

    Repository
    hpegl hpe/terraform-provider-hpegl
    License
    Notes
    This Pulumi package is based on the hpegl Terraform Provider.
    hpegl logo
    hpegl 0.4.20 published on Monday, Mar 2, 2026 by hpe
      Meet Neo: Your AI Platform Teammate